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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Schuster, M., Paliwal, K.K.: Bidirectional recurrent neural networks. IEEE Trans. Signal Process. 45(11), 2673–2681 (1997)
Shi, X., et al.: Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting. MIT Press, Cambridge (2015)
Devlin, J., et al.: BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. CoRR. abs/1810.04805 (2018)
Vaswani, A., et al.: Attention Is All You Need. arXiv (2017)
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
Yu, L., et al.: SeqGAN: sequence generative adversarial nets with policy gradient. In: AAAI Conference on Artificial Intelligence, pp. 2852–2858 (2017)
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)
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)
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)
Diao, Y., Fan, X., Yang, L., et al.: Phonetics and ambiguity comprehension gated attention network for humor recognition. Complexity 2020, 1–9 (2020)
Sutton, R.S., et al.: Policy gradient methods for reinforcement learning with function approximation. In: NIPS, pp. 1057–1063 (1999)
Goodfellow, I., et al.: Generative adversarial nets. In: NIPS, pp. 2672–2680 (2014)
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)
Williams, R.J.: Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn. 8(3–4), 229–256 (1992)
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)
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
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)
Attardo, S.: Linguistic theories of humor. Language 72(72), 45–64 (1996)
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)
Fan, X., et al.: Humor detection via an internal and external neural network. Neurocomputing 394, 105–111 (2020)
Cortes, C., Vapnik, V.: Support-vector networks. Mach. Learn. 20, 273–297 (1995)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9, 1735–1780 (1997)
Oliva, J., Serrano, J.I., Del Castillo, M.D., Iglesias Á.: SyMSS: a syntax-based measure for short-text semantic similarity. DKE 390–405 (2011)
Yang, D., et al.: Humor recognition and humor anchor extraction. In: EMNLP, pp. 2367–2376. Lisbon (2015)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
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)