4. Dialog System
◉ Classic model (rule-based)
○ 利点:interpretable
○ 欠点:スケールしない
◉ Neural model
○ 利点:泥臭い作業がいらない、スケールする
○ 欠点:not interpretable
4
5. Abstract
“We present an unsupervised discrete sentence
representation learning method that can
integrate with any existing encoder-decoder
dialog models for interpretable response
generation.” (Zhao et al.)
5
25. Latent Action Encoder Decoder (LEAD)
Input: c
Output: x
◉ Encoder decoder network: F: p(x|z,c)
○ Encoder: c → h
○ Decoder: h, z → x
◉ Policy network π: p(z|c)
○ multi-layer perceptron: h → z’
25
26. Attribute Forcing LAED
◉ Decoderのinputにzを加えてもそれがoutputに反映され
るとは限らない
⇨Controllable text generation framework[7]の利用
○ Recognition q(z|x)をdiscriminatorとしてDecoderの出力にzが反
映されていなかったらペナルティ
○ 離散値に対応するためにdeterministic continuous relaxation[7]
26
[7] Hu et al. Toward controlled generation of text. In ICML 2017.
27. Procedure
◉ Train
○ given c, x
○ Recognition x → z
○ Generation z →x
○ Encoder c → h
○ Decoder h, z →x
○ Policy h → z’
◉ Test
○ given c
○ Encoder c → h
○ Decoder h, z’ → x
○ Policy h → z’
27
33. Results
33
Homogeneity:
A clustering result satisfies homogeneity if all of its clusters contain
only data points which are members of a single class.
(http://scikit-learn.org/stable/modules/generated/sklearn.metrics.homogeneity_score.html)