Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Dialogue Natural Language Inference
Search
Scatter Lab Inc.
April 03, 2020
Research
2.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Dialogue Natural Language Inference
Scatter Lab Inc.
April 03, 2020
More Decks by Scatter Lab Inc.
See All by Scatter Lab Inc.
zeta introduction
scatterlab
0
1.9k
SimCLR: A Simple Framework for Contrastive Learning of Visual Representations
scatterlab
0
4.4k
Adversarial Filters of Dataset Biases
scatterlab
0
2.3k
Sparse, Dense, and Attentional Representations for Text Retrieval
scatterlab
0
2.3k
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.3k
Open-Retrieval Conversational Question Answering
scatterlab
0
2.3k
What Can Neural Networks Reason About?
scatterlab
0
2.3k
Other Decks in Research
See All in Research
Research Engineerという仕事 / Research Engineering: Bridging Research and Business
chck
1
230
Ghost in the 7‑Zip: The Shadow of Residential Proxies Creeping into Your Life
nttcom
0
1.6k
National high-resolution cropland classification of Japan with agricultural census information and multi-temporal multi-modality datasets
satai
3
370
Claude Code × autoresearch 実践
mathbullet
0
210
データセンター事業者を取り巻く近年の状況とその中での研究開発動向、テストベッドへの貢献の可能性
kikuzo
1
260
Apache Gravitinoで実現する Icebergカタログ統合とアクセスの一元化
matsumooon
0
350
Φ-Sat-2のAutoEncoderによる情報圧縮系論文
satai
4
850
はじまりの クエスチョンブック —余暇と豊かさにあふれた社会とは?
culturaltransition
PRO
0
570
衛星×エッジAI勉強会 衛星上におけるAI処理制約とそ取組について
satai
4
610
GLIM とMegaParticles:正規分布近似の限界とタイトカップリング&パーティクルフィルタの進展 / GLIM and MegaParticles : Progress of the distribution representation in SLAM
koide3
0
590
Data Visualization Tools in the Age of AI
flekschas
0
170
Spatial Active Noise Control Based onSound Field Interpolation Incorporating Physical Constraints
skoyamalab
0
120
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
Agile that works and the tools we love
rasmusluckow
331
22k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
420
Ethics towards AI in product and experience design
skipperchong
2
330
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
630
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
190
What's in a price? How to price your products and services
michaelherold
247
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Transcript
Dialogue Natural Language Inference Sean Welleck et al., ACL’19 ࢿࠁ
(ML Research Scientist, Pingpong)
ݾର ݾର 1. Dialogue Consistency and NLI 2. Dialogue NLI
Dataset 1. Triple Generation 2. Triple Annotation 3. Re-ranking with NLI 4. Evaluation 1. On Dialogue NLI 2. On Consistency in Dialogue
Dialogue Consistency and NLI Dialogue Consistency and NLI
Dialogue Consistency and NLI Dialogue Consistency and NLI • ചীࢲ
࠺ੌҙࢿ • ࢚ਵ۽ ൞ӈೞա ೠߣ ߊࢤೞݶ ఋѺ ఀ • Semanticೠ ޙਸ ݅٘ח ֢۱݅ਵ۽ח ೧Ѿ ࠛо • Natural Language Inference (NLI) • NLU, sentence representation ١ NLP ߈ਸ ੜೞӝ ਤೠ ࣻױਵ۽ॄ જ • NLI ݽ؛ downstream task ࢿמ ೱ࢚ী ӝৈ
Dialogue Consistency and NLI Dialogue Consistency and NLI • ಕܰࣗա:
ޙ ഋక۽ അ. • ചীࢲ ੌҙࢿ • ӝࠄਵ۽ Persona consistency • ֤ܻਵ۽ ߓغח ݈ ইפۄب э ࢎۈ ݈ೡ Ѫ э ঋ ޙ • : ച ղীࢲ ೠ ࢎۈ ೠ ف ݈ ߓغח • : Ӓ ࢎۈ ಕܰࣗա৬ ߓغח P = {p1 , …, pm } (uA i , uA j ) (uA i , pA k )
Dialogue Consistency and NLI
Dialogue NLI Dataset Dialogue NLI Dataset
Dialogue NLI Dataset Dialogue NLI Dataset • ߊച-ಕܰࣗա , ಕܰࣗա-ಕܰࣗա
हਵ۽ ܖয • ߊച-ߊച हب ನೣغয ਵա प ೞ ঋ (ui , pj ) (pi , pj ) (ui , uj )
Triple Generation Dialogue NLI Dataset • Triple • PersonaChatীࢲ ಕܰࣗա
ޙҗ ߊച ੌࠗ۽ Triple ۨ࠶ • ՙܻ Entailment, Neutral, Contradiction కӦ • Tripleਸ ӝળਵ۽ E, N, Cܳ ݅ٚ! • Entailment: э Tripleী ࣘೞח ف ޙՙܻ • Neutral, Contradiction: 3о ߑߨ (e1 , r, e2 ) (u, p), (p, p)
Neutral Pairs Dialogue NLI Dataset • Miscellaneous utterance যו Tripleীب
ࣘೞ ঋח ߊച ৬ ಕܰࣗա ޙ ҙ҅ח Neutral • Persona pairing Ground truth ಕܰࣗաՙܻח ࠂغѢա ݽࣽغ ঋחח ઁ ೞী э Tripleਸ ҕਬೞ ঋ ח ಕܰࣗաՙܻ Ҋ, ೞਤ ޙٜՙܻب • Relation swap ࢲ۽ ة݀ੋ ࢎपਸ աఋղח ҙ҅ ী ࣘೞח ޙٜՙܻ u p (r, r′ )
Contradiction Pairs Dialogue NLI Dataset • Relation swap ࢲ۽ ݽࣽغח
ҙ҅ ী ࣘೞח ޙٜՙܻ • Entity swap Triple ীࢲ ೧ࢲ о عਸ ٸ ݽࣽغח ҃ ف Tripleী ࣘೞח ޙٜ ՙܻ • Numeric Tripleী ನೣػ ंܳ ܲ ं۽ ߄Լࢲ ٜ݅য ޙҗ ਗې Tripleী ؍ ޙٜਸ (r, r′ ) (e1 , r, e2 ) e2 → e′ 2 (e1 , r, e′ 2 )
Triple Annotation Dialogue NLI Dataset • ಕܰࣗա ޙ →
<category> <relation> <category> ex) <person> have_pet <animal> relation , entity ա, entityח schemaী হਵݶ ੑ۱ • ٜ݅য Triple۽ ࠙ܨ ف ઑѤ ೞաܳ ݅ೞݶ 1. о sub-string 2. (e1 , r, e2 ) ∈ ℛ ∈ ℰ u ∈ U u ∈ (e1 , r, e2 ) e2 u sim(u, p) ≥ τ
Statistics Dialogue NLI Dataset • Gold-standard test set: test set
ۨ࠶ ݏҊ ೠ ࢎۈ 3ݺ 2ݺ ࢚ੋ ࢠ݅ ݽ Ѫ
Dialogue NLI Dataset
Re-ranking with NLI Re-ranking with NLI
Consistent Dialogue Agents via NLI Re-ranking with NLI •
ߊച ஏী NLI ݽ؛ ஏ Ѿҗ ഝਊ NLI ݽ؛ Contradictionۄ ౸ױೠ റࠁח confidence݅ఀ ಕօ౭ܳ ષ ࢜۽ ࣻ۽ Re-ranking
Evaluation Evaluation
On Dialogue NLI Evaluation • InferSent, ESIM ف ݽ؛ ࢎਊ
On Consistency in Dialogue Evaluation • ݽ؛ • ച ݽ؛:
Key-value memory networkܳ PersonaChatਵ۽ ण • NLI ݽ؛: ESIMਸ Dialogue NLI۽ ण • ಣо ࣇ • PersonaChatীࢲ Triple ী ೧ೞח ߊച ܳ Ҋ agent ಕܰࣗաী ী ࣘೞח ޙ ਵݶ ܳ ਵ۽ р • Entailment ޙ 10ѐ, Contradiction ޙ 10ѐ, ޙ 10ѐܳ റࠁ۽ م • ݫܼ • Hits@k, Entail@k, Contradict@k (e1 , r, e2 ) u (e1 , r, e2 ) u
Evaluation
Result Evaluation
Human Evaluation Evaluation • ParlAIܳ ా೧ w/o re-rankingҗ w/ re-rankingਸ
࠺Ү • ಣо ୋب • ݽ؛ ݃ա ಕܰࣗաܳ ੜ ߸೮חо? (1~5) • ݽ؛ п ߊചо ಕܰࣗա৬ ੌҙغחо? (0, 1) • ݽ؛ п ߊചо ݽ؛ ߊച, ݽ؛ ಕܰࣗա৬ ݽࣽغחо? (0, 1)
хࢎפ✌ ୶о ޙ ژח ҾӘೠ ݶ ઁٚ ইې োۅ۽
োۅ ࣁਃ! ࢿࠁ (ML Research Scientist, Pingpong)
[email protected]