Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Natural Language Decathlon: Multitask Learn...
Search
Scatter Lab Inc.
July 10, 2019
Research
940
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Natural Language Decathlon: Multitask Learning as Question Answering
Scatter Lab Inc.
July 10, 2019
More Decks by Scatter Lab Inc.
See All by Scatter Lab Inc.
zeta introduction
scatterlab
0
2.2k
SimCLR: A Simple Framework for Contrastive Learning of Visual Representations
scatterlab
0
4.6k
Adversarial Filters of Dataset Biases
scatterlab
0
2.3k
Sparse, Dense, and Attentional Representations for Text Retrieval
scatterlab
0
2.4k
Weight Poisoning Attacks on Pre-trained Models
scatterlab
0
2.2k
Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
scatterlab
0
2.6k
Beyond Accuracy: Behavioral Testing of NLP Models with CheckList
scatterlab
0
2.4k
Open-Retrieval Conversational Question Answering
scatterlab
0
2.4k
What Can Neural Networks Reason About?
scatterlab
0
2.3k
Other Decks in Research
See All in Research
SLAMはどこまで解決されたのか?
tomonom
0
1.5k
Kaggle|AI Agent Security — しくじり先生、俺みたいになるな
pomcho555
1
120
高性能計算機クラスタを用いた大規模点群処理による森林の単木抽出と構造解析
kentaitakura
1
150
2026年 オープンキャンパス 研究室紹介
junkurihara
0
250
学術バーQ AI研究最前線:自己教師あり学習による画像モデルの事前学習
naok615
0
170
LA-Bench 2025:実験指示から実行可能手順を生成するためのデータセット/LA-Bench 2025: A Dataset for Generating Executable Experimental Procedures from Experimental Instructions
stktu
0
200
Visual SLAM未来予測 / Future Prediction in Visual SLAM
koide3
1
1.3k
OWASP AISVS - C7
shiell
2
830
【中間報告】国会議員の立法・政策実務を支える環境を巡る現状と課題
polipoli
0
770
Cross-Media Human-Information Interaction
signer
PRO
0
280
HAKARI-Bench - 実運用視点での情報検索モデル評価ベンチマーク
hotchpotch
1
810
Evaluating LLM Reliability Across Facts, Evidence, and Cultures
yukiar
0
210
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Technical Leadership for Architectural Decision Making
baasie
3
600
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
New Earth Scene 8
popppiees
4
2.7k
The Invisible Side of Design
smashingmag
301
52k
Transcript
스캐터랩(ScatterLab) ੌ࢚ച ੋҕמ Scatterlab ML Technical Seminar Session 2 (QA):
백영민 The Natural Language Decathlon: Multitask Learning as Question Answering McCann et al. Salesforce Research Machine Learning Engineer
#1. Concept
!3 Multitask Learning ৈ۞ о taskܳ э ण೧ࠁ!
• Method: ౠ objectiveܳ оҊ णػ model/representationਸ ܲ downstream taskী
ਊೞח Ѫ • ੌ߈ਵ۽ Language Modeling١ Natural Language ߈ੋ ౠࢿਸ णೡ ࣻ ח objective ਊ • : • Random initializeীࢲ दೞח Ѫ ࠁ જ Ѿҗܳ ࠁҊ, ࡅܲ ࣻ۴ਸ оמೞѱ ೧ષ • ߑध • Representation: Word2Vec, Glove ١ fixed representation, ULMFit, ELMO ١ intermediate representation(context aware)ਸ downstream taskীࢲ ਊೞח Ѫ(߹ب model ઓ) • Model: BERT, GPT١ pre-trainingী ਊ೮؍ modelਸ downstream taskীࢲ “fine-tuning” !4 #1 Concept Transfer Learning
• Method: ৈ۞ taskٜਸ ೞա ݽ؛۽ زदী णदఃח Ѫ •
Chunking, POS tagging, NER, SRL, dependency parsing, NLI ١ NLP taskٜਸ زੌೠ ݽ؛۽ زदী ण • : • ৈ۞ taskܳ زदী modelingೡ ࣻ • ੜ णغݶ ౠ taskী ೠػ Ѫ ইצ “General Representation”ਸ ਸ ࣻ • Zero-shot Learning, Meta-Learning ١ ਊ оמࢿ • ୭Ӕ ഝߊ োҳо ܖযҊ ח ࠙ঠ • ই singletask learningী ࠺Үؼ݅ೠ ࢿמਸ ࠁৈҊ ঋ݅, challengingೠ োҳٜ ݆ ܖযҊ . • Image classification + NLP • ࣗѐೡ ֤ޙ “MQAN” singletask learningী Ӓա݃ ࠺Үؼ݅ೠ ࢿמਸ ࠁ(BERT ֤ޙ ੑפ) !5 #1 Concept Multitask Learning
#2. Method
!7 Approach ݽٚ taskܳ QAഋधী ݏࠁ!
• য questionী ೠ ਸ “contextղীࢲ” ח ޙઁܳ ಿ (
Context ղࠗী Ҋ о) • Ex) SQuAD, RACE… • ࠁా द index৬ indexܳ ח ߑध !8 #2 Approach Question Answering
!9 #2 Approach Question Answering Idea: ݽٚ taskٜਸ “QAഋध”ਵ۽ ٜ݅যࢲ
“Multitask Learning”ਸ ೧ࠁ! QA Translation Summary NLI Sentiment Analysis
• ୨ 10ѐ taskܳ Multitask Learning !10 #2 Approach Decathlon
!11 Model Architecture Multitask Question Answering Network(MQAN)
!12 #2 Architecture Overview
!13 #2 Architecture I/O • Input: • Q: Question Sentences
• C: Context Sentences • A: Answer Sentences(for generation - autoregressive) • Output: • General QA: Contextীࢲ द, indexܳ • Q(Question Sentence) + C(Context Sentences) + Outer Vocabulary(Generation) ী ࢶఖ
!14 #2 Architecture Feature - Input Representation
!15 #2 Architecture Feature - Alignment <dummy dataܳ ֍ח ਬ>
!16 #2 Architecture Feature - Dual Coattention
!17 #2 Architecture Feature - Compression & Self-Attention
!18 #2 Architecture Feature - Answer Representation
!19 #2 Architecture Feature - Answer Representation
!20 #2 Architecture Feature - Answer
!21 Training Strategy Curriculum learning
!22 #3 Traning Strategy Multitask Learning Strategy • Round-robin Algorithm
• CPU scheduling ߑߨ ೞա۽ ஹೊఠ ਗਸ ࢎਊೡ ࣻ ח ӝഥܳ “۽ࣁझٜীѱ ҕ”ೞѱ ࠗৈ • п ۽ࣁझী ੌदрਸ ೡ, ೡػ दр աݶ Ӓ ۽ࣁझ ਫ਼द ࠁܨ, ܲ ۽ࣁझীѱ ӝഥܳ ષ • п Taskী ੌߓܳ ೡ, ೡػ ߓо աݶ Ӓ Taskਸ ਫ਼द ࠁܨ, ܲ Taskীѱ ӝഥܳ ષ • Fully Joint • п Task ࣽࢲܳ ҊೞҊ, round-robin algorithmਸ ా೧ batchܳ sampling • Single-task trainingীࢲ iterationਵ۽ب ࣻ۴೮؍ taskٜ ੜ غ݅ աݠח single-task݅ ण೮ ਸ ٸ݅ఀ ࢿמਸ ࠁৈ ޅೣ
!23 #3 Traning Strategy Multitask Learning Strategy • Curriculum Strategy
• Curriculumਸ ٜ݅যࢲ learningदெࠁ! • First Phase:࠺Ү ए taskٜਸ ݢ ण -> Second Phase:য۰ taskٜਸ ण • First Phase(SST, QA-SRL, QA-ZRE, WOZ, WikiSQL, MWSC) -> Second Phase(Others)
!24 #3 Traning Strategy Multitask Learning Strategy • Curriculum Strategy
• Curriculumਸ ٜ݅যࢲ learningदெࠁ! • First Phase:࠺Ү ए taskٜਸ ݢ ण -> Second Phase:য۰ taskٜਸ ण • First Phase(SST, QA-SRL, QA-ZRE, WOZ, WikiSQL, MWSC) -> Second Phase(Others) • Anti-Curriculum Strategy • Curriculumী “߈(Anti)ೞח” ۚ - Curriculum Learning Bengio et al. [2009] • ए taskח ܲ taskٜী بਸ ࣻ ח ਬਊೠ representationਸ णೡ ࣻ হ! • First Phase:য۰ taskٜਸ ݢ ण -> Second Phase:ए taskٜਸ ण • First Phase(SQuAD, IWSLT, CNN/DM, MNLI) -> Second Phase(Others)
#3. Result
!26 Result ־о־о ੜ೮ա?
!27 #1single vs multitask Single vs Multitask Training
!28 #2 curriculum Training Strategy
!29 #2 curriculum Pointer weight distribution
!30 Q & A хࢎפ