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
Not only Retrieval, But also Generation
Search
Scatter Lab Inc.
June 12, 2019
Research
2.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Not only Retrieval, But also Generation
Scatter Lab Inc.
June 12, 2019
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
老舗ものづくり企業でリサーチが変革を起こすまで - 三菱重工DXの実践
skydats
0
220
AY 2026 Guide to Academic Writing Using Generative AI - Workshop
ks91
PRO
0
130
Cross-Media Human-Information Interaction
signer
PRO
0
120
NII S. Koyama's Lab Research Overview AY2026
skoyamalab
0
420
Data Visualization Tools in the Age of AI
flekschas
0
170
2026年3月1日(日)福島「除染土」の公共利用をかんがえる
atsukomasano2026
0
670
Apache Gravitinoで実現する Icebergカタログ統合とアクセスの一元化
matsumooon
0
350
SOTAのさらに先へ:厳しい推論制約下での高性能モデルのPost-Training
analokmaus
0
1.4k
Harness Engineering and Al Agent
kzinmr
3
1.8k
【ローカルAIに向き合う展示会vol.2】液体時間定数型モジュールを用いた オリジナルの双方向エンコーダーモデルNexteraBERT 推論速度向上検討並びにダウンストリーム評価
rikkabotan7
0
120
COFFEE-Japan PROJECT Impact Report(Uminomukou Coffee)
ontheslope
0
240
2026 東京科学大 情報通信系 研究室紹介 (大岡山)
icttitech
0
4k
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
590
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.6k
Crafting Experiences
bethany
1
220
The Curious Case for Waylosing
cassininazir
1
430
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2k
Tell your own story through comics
letsgokoyo
1
990
Thoughts on Productivity
jonyablonski
76
5.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
880
Discover your Explorer Soul
emna__ayadi
2
1.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
190
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Transcript
스캐터랩(ScatterLab) ੌ࢚ച ੋҕמ 핑퐁팀 ML 세미나: Dialog System 김준성 Not
only Retrieval But also Generation Machine Learning Engineer
#1. Introduction
!3 "An Adversarial Approach to High-Quality, Sentiment-Controlled Neural Dialogue Generation.”
Kong, Xiang, et al. arXiv preprint arXiv:1901.07129 (2019). য়ט ࣗѐೡ ֤ޙ #Dialog-Generation #DialogSystem #CVAE #CGAN
!4 ಽ۰Ҋ ೞח ޙઁ ࢎਊ ച History ( N-Turn) ী
ೠ ೠ ߸ਸ Generation ೞ! ױ! хਸ ઑ೧ࢲ ߸ਸ Generation ೡ ࣻ ਸө? : ݍয? -> (ӛ) ! ݍয / (ࠗ) ইפ ߹۽য
!5 ಽ۰Ҋ ೞח ޙઁ ࢎਊ ച History ( N-Turn) ী
ೠ ೠ ߸ਸ Generation ೞ! ױ! хਸ ઑ೧ࢲ ߸ਸ Generation ೡ ࣻ ਸө? : ݍয? -> (ӛ) ! ݍয / (ࠗ) ইפ ߹۽য Q. যڌѱ ࢎۈэ Quality ߸ਸ ٜ݅য յ Ԅؘ?
!6 ಽ۰Ҋ ೞח ޙઁ ࢎਊ ച History ( N-Turn) ী
ೠ ೠ ߸ਸ Generation ೞ! ױ! хਸ ઑ೧ࢲ ߸ਸ Generation ೡ ࣻ ਸө? : ݍয? -> (ӛ) ! ݍয / (ࠗ) ইפ ߹۽য Q. যڌѱ ࢎۈэ Quality ߸ਸ ٜ݅য յ Ԅؘ? Q. যڌѱ ౠ хী ೠ ߸ਸ ٜ݅য յ Ԅؘ?
DEEP-DIAL Workshop(at AAAI) The Second AAAI Workshop on Reasoning and
Learning for Human-Machine Dialogues
!8 Motivation Sentimentח Dialog Systemী যࢲ ࢎۈٜ Engaigingҗ Interest ࢚थਸ
݅ٞ ী ೠ ৈ۞ दبٜ ݅, ࠗ࠙ rule-based ژח template ӝ߈ ߑधਸ ࢎਊೣ → ח જ ߸ਸ ղӝ ਤ೧ࢲח ݆ మ݁җ ܙٜ ਃ۽ ೞח ޙઁ End-to-End ӝ߈ Generation ߑߨٜ Dialog System োҳীࢲ ਃೠ ઁ۽ ځয়ܰҊ → Reason: Rule-Base ࠁ ഻न ਬোೞҊ ࢎਊೞӝ ਊೠ ߑߨী োҳ ೯
!9 Previous Research ୡӝ োҳীࢲח SEQ2SEQ ӝ߈ ݽ؛ٜ ݆ ࢎਊ
غਵա, റ ؊ જ ௬ܻ౭৬ بೠ ߸ਸ յ ࣻ ب۾ ݽ؛ ࢿמ ೱ࢚ਸ ਤೠ ৈ۞ োҳٜ ܖয . ؘఠܳ ӝ߈ਵ۽ Dialog End-to-End Modelীࢲ Sentiment ࠁܳ Replyী ߈दః۰ח ݻݻ োҳٜ द ઓ೮חؘ, ৈ۞ ޙઁٜ ز߈೧ࢲ ߊࢤ ೮ 1.Hasegawa(2013): п emotion݃ ܲ ݽ؛ਸ णदఇ → ষդ training-cost, sparsity 2. Shen et al (2017): latent variableী emotion infoܳ ֍݅, response хਸ যڌѱ ஶ܀ೡ x 3.Zhou and Wang (2018): twitterী ח emojiо ೧ contextܳ ߈ೡ Ѫۄ оࢸਸ ࣁҊ ݽ؛ ࢸ҅, Cond Variational AutoEncoderਸ ਊ೧ࢲ Sentimentܳ Control ೡ ࣻ ח dialog-system ѐߊ
!10 Previous Research 1. Hasegawa(2013): п emotion݃ ܲ ݽ؛ਸ णदఇ
→ ষդ training-cost, sparsity 2. Shen et al (2017): latent variableী emotion infoܳ ֍݅, response хਸ যڌѱ ஶ܀ೡ x 3. Zhou and Wang (2018): twitterী ח emojiо ೧ contextܳ ߈ೡ Ѫۄ оࢸਸ ࣁҊ ݽ؛ ࢸ҅, Conditional Variational AutoEncoderਸ ਊ೧ࢲ Sentimentܳ Control ೡ ࣻ ח dialog-system ѐߊ
!11 Proposal ֤ޙীࢲח Conditional Generative Adversarial Network (CGAN)җ
Conditional Variational Auto Encoder (CVAE) ӝ߈ਵ۽ хਸ ઑೡ ࣻ ח ച ࢤࢿ ݽ؛ਸ ݅ٞ Fluency৬ Controlable فܻ݃ షՙܳ ӝ ਤ೧ࢲ فѐ ஹನք۽ ա־যઉ : Generator, Discriminator Generatorח History৬ Emotion Labelਸ ਊ೧ࢲ ߸ਸ Generation ೞҊ Discriminatorח History, Emotion Label, Responseܳ ࠁҊ ѱ Ground Truthੋ ݏ୶ѱ ण(դ) Generatorо Discriminatorܳ ҅ࣘ ࣘب۾ णೞݶࢲ োझۣѱ Response ௬ܻ౭ܳ ֫
#1. Background
GAN: Generative Adversarial Network Generator : ؊ э https://www.slideshare.net/ssuser5ac863/gan-77392547
GAN: Generative Adversarial Network Generator : ؊ э https://www.slideshare.net/ssuser5ac863/gan-77392547
VAE: Variational Auto Encoders Input X Reconstructed X Input Xܳ
ౠ Vector(Z: latent variable)۽ Abstraction दఃҊ ܳ द Reconstruct Encodeীࢲ աৡ Representationী ೠ ࠁ Ө ೧
Conditional GAN | VAE GANҗ VAE۽ ࢤࢿػ Ѿҗܳ ܻо Control
ೡ ࣻ হ GANҗ VAE ઁੌ ޙઁ : ࢎۈ ҷ Input ->Attribute(Ѩ࢝) ॆӖۄझܳ ՛ ࢎۈਸ ۱೧
Conditional GAN | VAE Ӓ۞ݶ GAN, VAEܳ णदఆ ٸ ౠب
э ֍ਵݶ غ ঋਸө? Conditional GAN, VAE Motivation
Conditional GAN | VAE https://arxiv.org/abs/1702.01983 Antipov, Grigory, Moez Baccouche, and
Jean-Luc Dugelay. "Face aging with conditional generative adversarial networks." 2017 IEEE International Conference on Image Processing (ICIP). IEEE, 2017. "Face aging with conditional generative adversarial networks."
Conditional GAN | VAE https://arxiv.org/abs/1702.01983 Antipov, Grigory, Moez Baccouche, and
Jean-Luc Dugelay. "Face aging with conditional generative adversarial networks." 2017 IEEE International Conference on Image Processing (ICIP). IEEE, 2017.
#1. Model
Base Model Dialog SEQ2SEQ with Attention 1-layer bi-directional GRU (128-hidden)
Dialog History (Previous Utterances)
Conditional Variational Auto Encoder 1. Utterance History Encoding -> Context
Vec C 2. Embedding Sentiment Label -> Sentiment Vec S 3. Concat Context + Sentiment Vector = Z 4. Decoding Reply Sequence with Z
Conditional Variational Auto Encoder
ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ
ݏࠊ! Wh Dialog History Context Vec C + S = Z Latent Variable Conditional Variational Auto Encoder Encoder Wr : ঌѷয ޤ ݡחؘ? Generator
ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ
ݏࠊ! Wh Dialog History Context Vec C + S = Z Latent Variable Conditional Variational Auto Encoder Encoder Wr : ইפ উҾӘೞҊ! Generator
Conditional Variational Auto Encoder https://hugrypiggykim.com/2018/09/07/variational-autoencoder%EC%99%80-elboevidence-lower-bound/ ੌ߈ੋ VAE Objective Function ҳઑ
| Minimize Dialog-CVAE Objective Function ҳઑ | Maximize
Conditional Variational Auto Encoder https://hugrypiggykim.com/2018/09/07/variational-autoencoder%EC%99%80-elboevidence-lower-bound/ ߸ Input -> Latent Variable(Z),
х чਸ ݏۄ! Latent Variable(Z) -> ߸, х чਸ ݏۄ! فѐ Objectܳ زदী णೞח ߑध
Conditional Variational Auto Encoder https://hugrypiggykim.com/2018/09/07/variational-autoencoder%EC%99%80-elboevidence-lower-bound/ : ইפ উҾӘೞҊ! Wr
х : Context Vector(Z) : ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ ݏࠊ! х : Context Vector(Z) : ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ ݏࠊ! : ইפ উҾӘೞҊ! Wr
Conditional Generative Adversarial Network 1. Utterance History Encoding -> Context
Vec C 2. Embedding Sentiment Label -> Sentiment Vec S 3. Concat Context + Sentiment Vector = Z 4. Decoding Reply Sequence with Z 5. Discriminator(Decoded_output, Context, Sentiment)
ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ
ݏࠊ! Wh Dialog History Context Vec C + S = Z Latent Variable Encoder Wr : ঌѷয ޤ ݡחؘ? Generator Conditional Generative Adversarial Network
ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ
ݏࠊ! Wh Dialog History Context Vec C + S = Z Latent Variable Encoder Wr : ঌѷয ޤ ݡחؘ? Generator Discriminator Ѥ о ೠ ݈ੌө ইפݶ Generatorо ࢤࢿೠ ݈ੌө? Conditional Generative Adversarial Network
ળࢿ: ղо যઁ ޤݡח ঌই? : উҾӘ೧ ળࢿ: ইפ ೠߣ
ݏࠊ! Wh Dialog History Context Vec C + S = Z Latent Variable Encoder Wr : ঌѷয ޤ ݡחؘ? Generator Discriminator Ѥ о ೠ ݈ੌө ইפݶ Generatorо ࢤࢿೠ ݈ੌө? Discriminatorܳ ࣘӝ ਤ೧ࢲ ؊ ۢ ঠӝ ೡకঠ Conditional Generative Adversarial Network
Conditional Generative Adversarial Network
Conditional Generative Adversarial Network VAE Loss
#1. Ѿҗ
ࢿמ: ಣо ױࣽೠ SEQ2SEQ ਵ۽ח ݈ ࢿמ ߹۽ જ ঋ
(ACC 55%, PPL 150+) ਵ۽ CVAEܳ ా೧ࢲ णػ Generation જ ࢿמਸ ࠁח Ѫ э (ACC 75%, PPL 81) CGAN݅ਸ ਊ೧ࢲח ѱ જਸ ࢿמਸ ࠁ ޅೣ -> ࢎۈਸ ղղח Ѫ ݅ਵ۽ח ൨ٞ (ACC 64%, PPL 120)
ࢿמ: ಣо CVAEо ೧֬ ߏী CGAN ઑܐ פ SOTA Generation
ػ Replyী ೠ ࠁ Ө ೧ : CVAE ࠁ ࢎۈۢ ߸ೡ ࣻ ח ղղӝ : CGAN
ࢿמ: ࢿಣо
୨ಣ Context-Aware Pretrained BERT۽ ച ࢤࢿ పझܳ Transfer-Learning ೞݶࢲ
ࢤࢿػ ߸ੋ ইפݶ पઁ ചੋ ҳ࠙ೞח Discriminatorܳ ୶о೧ࢲ োझۣѱ ച ௬ܻ౭ܳ ֫ৈ рݶ ࢎۈ э ചܳ ࢤࢿೞח ࠈਸ ٜ݅ ࣻ ঋਸө?!?! → Conditionalਸ ୶оೞݶ Blackbox rate ੌ ࣻ ޥо ೧ࠁҊ र!! ࢎۈۢ ҳয۽ ೡ ࣻ ਸө??