SlideShare a Scribd company logo
Learning to Control the
Specificity in Neural
Response Generation
Ruqing Zhang, Jiafeng Guo, Yixing Fan, Yanyan Lan, Jun Xu
and Xueqi Cheng
ACL 2018 読み会
M2 尾形朋哉
概要
• 会話においてある1つの汎用的な応答が多様な入力発話に対応
• 対話コーパスにもその傾向
• 従来の対話システムは汎用的で、ありふれた応答を出力しがち
• 制御変数を導入し、特異性に応じた出力を扱う生成機構の提案
貢献
• ガウスカーネルを通して用法表現に干渉する特異性の制御変数を
Seq2Seqモデルに導入
• 外部コーパスを使わずに特異性の制御変数を学習するためのラベ
ルを得る方法の提案
• 自動評価と人手評価において最高精度
関連研究
• Li et al. (2016)
• 相互情報量最大化を目的関数にし、出現数にペナルティ
• Xing et al. (2017)
• トピックに基づく単語の生成確率をDecoderに追加
• Mou et al. (2016)
• PMIでキーワードを予測し、キーワードに従って応答を生成
• Zhou et al. (2017)
• 潜在変数をSeq2Seqモデルに導入し、汎用的な応答を出力するのを避ける
• Yao et al. (2016)
• IDFを報酬とした強化学習
• Shen et al. (2017)
• conditional variational auto encoderを適用
提案手法
• Encoder
• bi-directional GRU
• Decoder
w: word indicator
e 𝑡−1: semantic representaion
W 𝑀
ℎ
, W 𝑀
𝑒
, b 𝑀: hyper parameter
h 𝑦𝑡: hidden state
c 𝑡: context vector
sが与えられた時の単語の生成確率
W 𝑈, b 𝑈: hyper parameter
Distant Supervision
• 学習
• ラベル
• Normalized Inverse Response Frequency
• Normalized Inverse Word Frequency
対数尤度最大化
[0, 1]に正規化
𝑅 : 応答の総数
𝑓𝑌:応答Yの頻度
𝑓𝑦:単語yを含む応答の数
実験(データセット)
• データ
• public Short Text Conversation dataset (NTCIR-13)
• Sina Weiboのpost-commentペア
• トークナイザ
• Jieba Chinese word segmenter
実験(モデル)
• ベースラインモデル
• Seq2Seq-att
• MIMI-bidi
• 相互情報量を目的関数に追加
• MARM
• 潜在変数を追加
• Seq2Seq+IDF
• IDFを報酬として強化学習による最適化
評価指標
• distinct-1 & distinct-2
1. 1gram、2gramの異なり数
2. 1gram、2gramの総和に対する異なり数の割合
• BLEU
• Average & Extrema
• 生成された応答文と正解の応答文の単語ベクトルの平均
または最大値のcos類似度
• Human evaluation
• 3人がランダムサンプルされた300文にラベル付け
• +2:意味的、文法的に正しく、情報に富み、面白い
• +1:文法的に正しいが、普遍的
• +0:意味的に無関係、文法的でない
提案モデルの比較
ベースラインとの比較
MMI-bidiはSeq2Seq-attより特異な応答を出力
MARMがdistinctの割合は最も良いが、個数が少ない(BLEUが極端に低い)
→特異ではあるが短い応答
Seq2Seq+IDFは特に目立った点はなく、MMI-bidiと同等
SC-Seq2Seq_NIWFのsを1にした場合、distinctは最良
sを0.5にした場合、正解の応答文にfitした応答を出力
人手評価
s=1は最も情報に富んでいる
s=0は最も汎用的
出力例
baselineは汎用的で短い応答文を出力する傾向
eye make-up, temparamentは特異で、トピックにも強く関係
用例表現の分析
(a)outsitとfatty liverは特異な表現であり、汎用的な表現のfatと距離が遠い
(b)fatとfatty liverは近く、outsitとは遠い
結論
• 特異性に応じた入力発話と応答の関係を扱う生
成機構を提案
• 提案手法は汎用的な応答、特異な応答を生成で
き、最高精度の生成手法
• コメント
• 対話の評価において特異性を考慮した方が良さそう
• どの程度汎用的な応答を出すべきかが難しい

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Learning to control the specificity in neural response generation

Editor's Notes

  1. NIRFはsを変えても効果なし→汎用的な応答の数が限られている 0.5が正解データに対して最も良い精度→正解データにも汎用的な応答が含まれていて、汎用的な応答と特異な応答のバランスを取るのが良い