A Generative Attentional Neural Network Model for Dialogue Act Classification
Paper · 2017 · Quan Hung Tran, Gholamreza Haffari and Ingrid Zukerman
Summary
The paper addresses dialogue act (DA) classification, which assigns a speech-act label to each utterance in a conversation. The authors build a generative neural model of the whole dialogue. At each turn, the DA label depends on the previous label and the previous utterance, and the current utterance's tokens are then produced by an RNN conditioned on that label and on the prior turn. Although the model is generative, it is trained discriminatively by maximising the conditional likelihood of the label sequence. The model has two novelties. The first is an HMM-like link from one label to the next, implemented by switching softmax parameters (or only the bias) according to the previous DA. The second is a "gated attention" that rescales each input embedding before it enters the RNN, which avoids the usual tendency of attention to favour the end of a sequence. Because the utterance encodings do not depend on the labels, exact Viterbi decoding is possible. On MapTask and Switchboard, the model beats strong baselines. Ablations show that the label-transition link contributes more than attention.
Key points
- Data: the MapTask corpus has 128 dialogues, over 27k utterances and 13 DA types, split 103/13/12 into train/test/validation. Switchboard has 1155 calls, about 205k utterances and 42 DAs, collapsed from 226.
- On MapTask, the best variants reach 65.94% accuracy, compared with 60.97% for Ji et al. (2016) rerun under the same settings and 55.72% for an n-gram random forest.
- On Switchboard, the variant with gated attention and gated bias reaches 74.2%, compared with 73.9% for Kalchbrenner and Blunsom (2013) and 71.0% for an HMM (Stolcke et al., 2000).
- In a 3×3 ablation over label connection and attention type, gated attention beats standard attention by 0.49–1.21 points, while the HMM link adds 2.58–3.73 points. McNemar's test shows the full model beats the plain variant at α < 0.01.
- The implementation uses the CNN toolkit with Adagrad and dropout, 128-dimensional embeddings and 64-dimensional hidden states. Switchboard training on a CPU took up to four weeks.
Interesting ideas
- I1. Applying attention as a multiplicative gate on each token's embedding before the recurrent layer, rather than as weights over hidden states, removes the bias toward late positions, since late hidden states summarise everything that came before.
- I2. Conditioning the classifier for the current label on the previous label by swapping in label-specific output parameters, with a cheaper option that swaps only the bias, adds an explicit transition model to a neural classifier.
- I3. The model is deliberately designed so that utterance encodings do not depend on the label sequence, which keeps exact dynamic-programming decoding available even inside a neural model.
- I4. The method is evaluated as a full factorial ablation of two design choices, with McNemar's test on paired predictions, and competing systems' code is rerun under the same split instead of trusting reported numbers.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (frames): A speech-act cue can sit anywhere in a sentence, so scoring each token's relevance on its own lets prag explain which specific word triggered a question or request reading.
- I2 (frames): A learned table of transitions between successive speech acts (e.g. question followed by answer) could serve as an inspectable prior when prag labels utterances in a dialogue or a fable's exchanges.
- I3 (tokens): A tagger could keep its neural features label-independent and put all label interaction into transition scores, so Viterbi gives exact, explainable best sequences.
- I4 (learn): Mova's evaluation could adopt paired McNemar tests and factorial ablations of repair rules or witness parsers, so that each component's contribution is shown to be significant rather than noise.
Institutions
📚 Shelves 4 Computer Science · 9,086 works Artificial Intelligence · 8,889 works Arts and Humanities · 9,296 works Language and Linguistics · 9,206 works
🧭 Topics 2 Dialogue systems · 401 works Speech act theory · 160 works
Cite
Cite as Quan Hung Tran, Gholamreza Haffari and Ingrid Zukerman. 2017. A Generative Attentional Neural Network Model for Dialogue Act Classification. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).
@inproceedings{tran2017generative,
title = {{A Generative Attentional Neural Network Model for Dialogue Act Classification}},
author = {Quan Hung Tran, Gholamreza Haffari and Ingrid Zukerman},
booktitle = {Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
year = {2017},
doi = {10.18653/v1/p17-2083},
url = {https://doi.org/10.18653/v1/p17-2083}
}References
- Anne H Anderson, Miles Bader, Ellen Gurman Bard, Elizabeth Boyle, Gwyneth Doherty, Simon Garrod, Stephen Isard, Jacqueline Kowtko, Jan McAllister, Jim Miller, et al. 1991. The HCRC map task corpus. Language and speech 34(4):351–366. ↗
- Minh-Thang Luong, Hieu Pham, and Christopher D. Manning. 2015. Effective approaches to attention-based neural machine translation. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing. pages 1412–1421. http://aclweb.org/anthology/D15-1166. ↗ our card
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 . ↗ our card
- Sheng-syun Shen and Hung-yi Lee. 2016. Neural attention models for sequence classification: Analysis and application to key term extraction and dialogue act detection. arXiv preprint arXiv:1604.00077 . ↗
- Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. 2014. Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research 15(1):1929–1958. http://dl.acm.org/citation.cfm?id=2627435.2670313. ↗
- Andreas Stolcke, Noah Coccaro, Rebecca Bates, Paul Taylor, Carol Van Ess-Dykema, Klaus Ries, Elizabeth Shriberg, Daniel Jurafsky, Rachel Martin, and Marie Meteer. 2000. Dialogue act modeling for automatic tagging and recognition of conversational speech. Computational linguistics 26(3):339–373. ↗ our card
- Dinoj Surendran and Gina-Anne Levow. 2006. Dialog act tagging with support vector machines and hidden markov models. In Interspeech 2006 – Proceedings of the International Conference on Spoken Language Processing. pages 1950–1953. find
- Bingning Wang, Kang Liu, and Jun Zhao. 2016. Inner attention based recurrent neural networks for answer selection. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). pages 1288–1297. http://www.aclweb.org/anthology/P16-1122. ↗
- Nick Webb and Michael Ferguson. 2010. Automatic extraction of cue phrases for cross-corpus dialogue act classification. In Proceedings of the 23rd International Conference on Computational Linguistics: Posters. pages 1310–1317. our card
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/tran-2017-generative-attentional-neural-network-model/