Skip to main content

Conversational Humor Identification Based on Adversarial Learning on Chinese Sitcoms

  • Conference paper
  • First Online:
Cognitive Computing – ICCC 2021 (ICCC 2021)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12992))

Included in the following conference series:

  • 289 Accesses

Abstract

Humor computing aims to recognize, interpret, and generate humorous expressions based on computational models, which has become one of the key issues in the field of natural language processing. Humor computing is essential for artificial intelligence to make machines more humane. However, most research focuses on one-liner, and few research has paid attention to humor identification in conversations, that is conversational humor identification. Conversational humor identification faces the following challenges: 1. dataset is difficult to be constructed; 2. key features indicating conversational humorous expressions are hard to be captured by traditional ways. Our work is based on a Chinese sitcom dataset, which consists of all the dialogues of the sitcom. Punchlines referring to the part of dialogues play a role in making people laugh are also annotated in the dataset. Conversational humor identification is to identify the punchline. To do this, we propose a humor identification model based on Adversarial Learning, where the generator is able to produce sequences similar to punchlines, while the discriminator can learn the features to distinguish punchlines from non-humor dialogue. In this way, when given an input dialogue, the discriminator will classify whether it is a punchline for each sentence. We conduct experiments to assess the performance of our model, and we also compare the experimental results with some strong baselines. There are 25.4% improvement over BERT with respect of F1-score. Moreover, we also design ablation experiment to analyze different factors in conversational humor identification. And we discover that the generator plays a more important role in the model.

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 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.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

References

  1. Schuster, M., Paliwal, K.K.: Bidirectional recurrent neural networks. IEEE Trans. Signal Process. 45(11), 2673–2681 (1997)

    Article  Google Scholar 

  2. Shi, X., et al.: Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting. MIT Press, Cambridge (2015)

    Google Scholar 

  3. Devlin, J., et al.: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. CoRR. abs/1810.04805 (2018)

    Google Scholar 

  4. Vaswani, A., et al.: Attention Is All You Need. arXiv (2017)

    Google Scholar 

  5. Sun, C., Qiu, X., Xu, Y., Huang, X.: How to fine-tune BERT for text classification? In: Sun, M., Huang, X., Ji, H., Liu, Z., Liu, Y. (eds.) CCL 2019. LNCS (LNAI), vol. 11856, pp. 194–206. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32381-3_16

    Chapter  Google Scholar 

  6. Yu, L., et al.: SeqGAN: sequence generative adversarial nets with policy gradient. In: AAAI Conference on Artificial Intelligence, pp. 2852–2858 (2017)

    Google Scholar 

  7. Morales, A., Zhai, C.: Identifying humor in reviews using background text sources. In: Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 492–501 (2017)

    Google Scholar 

  8. Chen, P.Y., Soo, V.W.: Humor recognition using deep learning. In: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, vol. 2 (Short Papers), pp. 113–117 (2018)

    Google Scholar 

  9. Zhou, Y., Jiang, J.Y., Zhao, J., Chang, K.W., Wang, W.: The Boating Store Had Its Best Sail Ever: Pronunciation-attentive Contextualized Pun Recognition. arXiv preprint arXiv:2004.14457 (2020)

  10. Diao, Y., Fan, X., Yang, L., et al.: Phonetics and ambiguity comprehension gated attention network for humor recognition. Complexity 2020, 1–9 (2020)

    Google Scholar 

  11. Sutton, R.S., et al.: Policy gradient methods for reinforcement learning with function approximation. In: NIPS, pp. 1057–1063 (1999)

    Google Scholar 

  12. Goodfellow, I., et al.: Generative adversarial nets. In: NIPS, pp. 2672–2680 (2014)

    Google Scholar 

  13. Silver, D., Huang, A., Maddison, C.J., Guez, A., Sifre, L., et al.: Mastering the game of go with deep neural networks and tree search. Nature 529(7587), 484–489 (2016)

    Article  Google Scholar 

  14. Williams, R.J.: Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn. 8(3–4), 229–256 (1992)

    MATH  Google Scholar 

  15. Reyes, A., Rosso, P., Buscaldi, D.: From humor recognition to irony detection: the figurative language of social media. Data Knowl. Eng. 74, 1–12 (2012)

    Article  Google Scholar 

  16. Mihalcea, R., Pulman, S.: Characterizing humour: an exploration of features in humorous texts. In: Gelbukh, A. (ed.) CICLing 2007. LNCS, vol. 4394, pp. 337–347. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-70939-8_30

  17. Yang, D., Lavie, A., Dyer, C., Hovy, E.: Humor recognition and humor anchor extraction. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015. The Association for Computational Linguistics, pp. 2367–2376 (2015)

    Google Scholar 

  18. Attardo, S.: Linguistic theories of humor. Language 72(72), 45–64 (1996)

    Google Scholar 

  19. Purandare, A., Litman, D.: Humor: prosody analysis and automatic recognition for F*R*I*E*N*D*S*. In: Proceedings of the Conference on Empirical Methods in Natural Language Processing, pp. 208–215. ACM, New York (2006)

    Google Scholar 

  20. Fan, X., et al.: Humor detection via an internal and external neural network. Neurocomputing 394, 105–111 (2020)

    Article  Google Scholar 

  21. Cortes, C., Vapnik, V.: Support-vector networks. Mach. Learn. 20, 273–297 (1995)

    MATH  Google Scholar 

  22. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9, 1735–1780 (1997)

    Article  Google Scholar 

  23. Oliva, J., Serrano, J.I., Del Castillo, M.D., Iglesias Á.: SyMSS: a syntax-based measure for short-text semantic similarity. DKE 390–405 (2011)

    Google Scholar 

  24. Yang, D., et al.: Humor recognition and humor anchor extraction. In: EMNLP, pp. 2367–2376. Lisbon (2015)

    Google Scholar 

Download references

Acknowledgements

We would like to thank for Xurui Sun, Yuan Chang, Chongyan Zhou, Aocheng Zhang, Yaoyao Qin, Tianyun Zhong, Xueyao Zhang, Ruiqi Cao, Jundan Zhou, Shuoyu Shi, Jiayue Bao, Bingqian Wen, Jinhui Zhao, Yize Zhao, Xinlu Li, Linjie Shi annotating the dataset. This work was partially supported by the National Natural Science Foundation of China (Grant number: 61976066), Beijing Natural Science Foundation (Grant number: 4212031), and the Fundamental Research Fund for the Central Universities (Grant numbers: 2019GA35, 2019GA43, 3262021T23).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Binyang Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Shang, W., Wei, J., Song, R., Xu, Y., Li, B. (2022). Conversational Humor Identification Based on Adversarial Learning on Chinese Sitcoms. In: Xu, R., Cai, C., Zhang, LJ. (eds) Cognitive Computing – ICCC 2021. ICCC 2021. Lecture Notes in Computer Science(), vol 12992. Springer, Cham. https://doi.org/10.1007/978-3-030-96419-1_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-96419-1_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-96418-4

  • Online ISBN: 978-3-030-96419-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics