Back to search

Hong Kong University of Science and Technology

Conversational humor recognition and generation through deep learning

Abstract

dc:description

<p>Humor is a very pervasive emotion and an important driver in human relations. Research on computational humor, especially in conversations, is very scarce, and it is hard for machines to understand humorous utterances, and to generate appropriate jokes for the situation.</p> <p>We first propose a novel framework to recognize humor in dialogues. We perform an initial attempt with a Conditional Random Field, trained on an ensemble of acoustic and language features, to exploit the discourse context and the combination of text and audio. For our experiments, we collected data from popular funny sitcoms, where we annotated the punchlines through the laugh track. We show that our CRF is effective in exploiting both speech and language, but bag-of-ngram features are not a good semantic representation of each utterance. We therefore replace the CRF with a deep learning framework. In order to get a fine-grained representation of meaning and prosody, two Convolutional Neural Network encoders model each sentence over pretrained word-embedding vectors and frame-based low-level acoustic features. A Long Short-Term Memory layer is then used to capture the discourse context. We managed in this way to achieve significant improvements over the CRF-based model and other baselines.</p> <p>We then propose the first ever conversational humor generation model, to produce punchlines in response to short input dialogues. Our aim is to overcome the limitations of state-of-the-art template-based models, which generate canned jokes only, and end-to-end dialogue generation, whose outputs are not necessarily funny. We enhance a sequence-to-sequence model with reinforcement learning, by defining and maximizing both a funniness and a relevance reward function, the former obtained from our proposed humor recognition model, and the latter through adversarial learning. By training our model on funny sitcom data, and applying human evaluation, we obtained funnier utterances than those produced by standard end-to-end and transfer learning baselines.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bertero, Dario

Subjects

dc:subject × 5

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Bertero, Dario. Conversational humor recognition and generation through deep learning. 2019. http://repository.hkust.edu.hk/ir/Record/1783.1-98384