Skip to main content

MFDG: A Multi-Factor Dialogue Graph Model for Dialogue Intent Classification

  • Conference paper
  • First Online:
Machine Learning and Knowledge Discovery in Databases (ECML PKDD 2022)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13714))

Abstract

Interest in speaker intent classification has been increasing in multi-turn dialogues, as the intention of a speaker is one of the components for dialogue understanding. While most existing methods perform speaker intent classification at utterance-level, the dialogue-level comprehension is ignored. To obtain a full understanding of dialogues, we propose a Multi-Factor Dialogue Graph Model (MFDG) for Dialogue Core Intent (DCI) classification. The model gains an understanding of the entire dialogue by explicitly modeling multi factors that are essential for speaker-specific and contextual information extraction across the dialogue. The main module of MFDG is a heterogeneous graph encoder, where speakers, local discourses, and utterances are modelled in a graph interaction manner. Based on the framework of MFDG, we propose two variants, MFDG-EN and MFDG-EE, to fuse domain knowledge into the dialogue graph. We apply MFDG and its two variants to a real-world online customer service dialogue system on the e-commerce website, JD, in which the MFDG can help achieving an automatic intent-oriented classification of finished service dialogues, and the MFDG-EE can further promote dialogue comprehension with a well-designed knowledge graph. Experiments on this in-house JD dataset and a public DailyDialog dataset demonstrate that MFDG performs reasonably well in multi-turn dialogue classification.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://huggingface.co/bert-base-cased.

  2. 2.

    https://github.com/pytorch/fairseq/tree/main/examples/roberta.

  3. 3.

    https://github.com/nghuyong/ERNIE-Pytorch.

  4. 4.

    https://github.com/xyease/Dialog-PrLM.

  5. 5.

    https://spacy.io/.

References

  1. Ortega, D., Vu, N.T.: Neural-based context representation learning for dialog act classification. In: Proceedings of SIGDIAL 2017 (2017)

    Google Scholar 

  2. Ghosal, D., Majumder, N., Poria, S., et al.: Utterance-level Dialogue Understanding: An Empirical Study. CoRR abs/2009.13902 (2020)

    Google Scholar 

  3. Ghosal, D., Majumder, N., Poria, S., et al.: DialogueGCN: a graph convolutional neural network for emotion recognition in conversation. In: Proceedings of EMNLP-IJCNLP, pp. 154–164. ACL (2019)

    Google Scholar 

  4. Feng, X., Feng, X., Qin, B., et al.: Dialogue discourse-aware graph model and data augmentation for meeting summarization. In: Proceedings of IJCAI 2021, pp. 3808–3814 (2021)

    Google Scholar 

  5. Li, J., Liu, M., Zheng, Z., et al.: DADgraph: a discourse-aware dialogue graph neural network for multiparty dialogue machine reading comprehension. In: Proceedings of IJCNN, pp. 1–8. IEEE (2021)

    Google Scholar 

  6. Ishiwatari, T., Yasuda, Y., Miyazaki, T., et al.: Relation-aware graph attention networks with relational position encodings for emotion recognition in conversations. In: Proceedings of EMNLP 2020, pp. 7360–7370. ACL (2020)

    Google Scholar 

  7. Kim, Y.: Convolutional neural networks for sentence classification. In: Proceedings of EMNLP 2014, pp. 1746–1751. ACL (2014)

    Google Scholar 

  8. Liu, P., Qiu, X., Huang, X.: Recurrent neural network for text classification with multi-task learning. In: Proceedings of IJCAI 2016, pp. 2873–2879. IJCAI/AAAI Press (2016)

    Google Scholar 

  9. Zhou, P., Shi, W., Tian, J., et al.: Attention-based bidirectional long short-term memory networks for relation classification. In: Proceedings of ACL 2016, Volume 2: Short Papers (2016)

    Google Scholar 

  10. Ravuri, S.V., Stolcke, A.: Recurrent neural network and LSTM models for lexical utterance classification. In: INTERSPEECH 2015, 16th Annual Conference of the International Speech Communication Association, pp. 135–139. ISCA (2015)

    Google Scholar 

  11. Majumder, N., Poria, S., Hazarika, D., et al.: DialogueRNN: an attentive RNN for emotion detection in conversations. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, pp. 6818–6825 (2019)

    Google Scholar 

  12. Ghosal, D., Majumder, N., Gelbukh, A., et al.: COSMIC: COmmonSense knowledge for eMotion identification in conversations. In: Proceedings of EMNLP 2020, pp. 2470–2481. ACL (2020)

    Google Scholar 

  13. Marcheggiani, D., Titov, I.: Encoding sentences with graph convolutional networks for semantic role labeling. In: Proceedings of EMNLP, pp. 1506–1515 (2017)

    Google Scholar 

  14. Schlichtkrull, M., Kipf, T.N., Bloem, P., van den Berg, R., Titov, I., Welling, M.: Modeling relational data with graph convolutional networks. In: Gangemi, A., et al. (eds.) ESWC 2018. LNCS, vol. 10843, pp. 593–607. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-93417-4_38

    Chapter  Google Scholar 

  15. Ishiwatari, T., Yasuda, Y., Miyazaki, T., et al.: Relation-aware graph attention networks with relational position encodings for emotion recognition in conversations. In: Proceedings of EMNLP 2020, pp. 7360–7370 (2020)

    Google Scholar 

  16. Li, S., Zhao, Z., Hu, R., et al.: Analogical reasoning on Chinese morphological and semantic relations. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 138–143 (2018)

    Google Scholar 

  17. Bordes, A., Usunier, N., Garcia-Duran, A., et al.: Translating embeddings for modeling multi-relational data. In: Advances in Neural Information Processing Systems, pp. 2787–2795 (2013)

    Google Scholar 

  18. Wang, Z., Zhang, J., Feng, J., et al.: Knowledge graph embedding by translating on hyperplanes. In: AAAI, pp. 1112–1119 (2014)

    Google Scholar 

  19. Lin, Y., Liu, Z., Sun, M., et al.: Learning entity and relation embeddings for knowledge graph completion. In: AAAI, pp. 2181–2187 (2015)

    Google Scholar 

  20. Yu, D., Yang, Y., Zhang, R., et al.: Knowledge embedding based graph convolutional network. In: Proceedings of the Web Conference 2021, pp. 1619–1628 (2021)

    Google Scholar 

  21. Shen, W., Wu, S., Yang, Y., et al.: Quan, directed acyclic graph network for conversational emotion recognition. In: Proceedings of ACL/IJCNLP, pp. 1551–1560 (2021)

    Google Scholar 

  22. Li, Y., Su, H., Shen, X., et al.: DailyDialog: a manually labelled multi-turn dialogue dataset. In: Proceedings of IJCNLP, pp. 986–995 (2017)

    Google Scholar 

  23. Pennington, J., Socher, R., Manning, C.D.: Glove: global vectors for word representation. In: Proceedings of EMNLP, pp. 1532–1543 (2014)

    Google Scholar 

  24. Guo, D., Tur, G., Yih, W., et al.: Joint semantic utterance classification and slot filling with recursive neural networks. In: IEEE Spoken Language Technology Workshop (SLT), pp. 554–559. IEEE (2014)

    Google Scholar 

  25. Ravuri, S., Stoicke, A.A.: Comparative study of neural network models for lexical intent classification. In: IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), pp. 368–374. IEEE (2015)

    Google Scholar 

  26. Xu, Y., Zhao, H.: Dialogue-oriented pre-training. Findings of the Association for Computational Linguistics, Online Event, 1–6 August 2021 (2021)

    Google Scholar 

Download references

Acknowledgement

This work was supported by the National Key R &D Program of China under Grant No. 2020AAA0108600 and Guizhou Province Science and Technology Plan Project-Research on Knowledge Management Technology Based on KG.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jinhui Pang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pang, J., Xu, H., Song, S., Zou, B., He, X. (2023). MFDG: A Multi-Factor Dialogue Graph Model for Dialogue Intent Classification. In: Amini, MR., Canu, S., Fischer, A., Guns, T., Kralj Novak, P., Tsoumakas, G. (eds) Machine Learning and Knowledge Discovery in Databases. ECML PKDD 2022. Lecture Notes in Computer Science(), vol 13714. Springer, Cham. https://doi.org/10.1007/978-3-031-26390-3_40

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-26390-3_40

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-26389-7

  • Online ISBN: 978-3-031-26390-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics