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
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
2.1k
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.4k
Fukui Shibiten 39 - AI Art
butchi
0
190
【中間報告】国会議員の立法・政策実務を支える環境を巡る現状と課題
polipoli
0
620
超効率化への挑戦:1bit LLMの現状と展望
yumaichikawa
0
720
The story of RefactoringMiner. Slow research, long-term impact
tsantalis
0
160
プレイス・ワークショップ秋葉原
izumiyama_lab
1
100
ros2-perf-multihost: 分散システムにおける客観的なアーキテクチャ評価フレームワーク
takasehideki
0
260
COMETAを用いたデータ民主化運動の歴史
sazimai
0
250
2026年 オープンキャンパス 研究室紹介
junkurihara
0
200
第64回CV・PRML勉強会 論文紹介:Linguistic Priors for Visual Decoupling: Towards Symmetric Vision-Brain Alignment
sokikatayama
0
200
高性能計算機クラスタを用いた大規模点群処理による森林の単木抽出と構造解析
kentaitakura
1
130
研究室単位での自律的 IPv6接続性確立に向けたAS共同運用モデルの提案と実証
reokashiwa
PRO
0
210
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
670
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
360
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
690
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Thoughts on Productivity
jonyablonski
76
5.4k
Designing Powerful Visuals for Engaging Learning
tmiket
1
550
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 ੌ ࣻ ޥо ೧ࠁҊ र!! ࢎۈۢ ҳয۽ ೡ ࣻ ਸө??