Advertisement

Laughbot: Detecting Humor in Spoken Language with Language and Audio Cues

  • Kate Park
  • Annie Hu
  • Natalie Muenster
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 886)

Abstract

We propose detecting and responding to humor in spoken dialogue by extracting language and audio cues and subsequently feeding these features into a combined recurrent neural network (RNN) and logistic regression model. In this paper, we parse Switchboard phone conversations to build a corpus of punchlines and unfunny lines where punchlines precede laughter tokens in Switchboard transcripts. We create a combined RNN and logistic regression model that uses both acoustic and language cues to predict whether a conversational agent should respond to an utterance with laughter. Our model achieves an F1-score of 63.2 and accuracy of 73.9. This model outperforms our logistic language model (F1-score 56.6) and RNN acoustic model (59.4) as well as the final RNN model of D. Bertero, 2016 (52.9). Using our final model, we create a “laughbot” that audibly responds to a user with laughter when their utterance is classified as a punchline. A conversational agent outfitted with a humor-recognition system such as the one we present in this paper would be valuable as these agents gain utility in everyday life.

Keywords

Chatbots Spoken natural language processing Deep learning Machine learning 

Notes

Acknowledgments

We would like to thank our professor Andrew Maas, Dan Jurafsky and the Stanford University CS244S Spoken Natural Language Processing teaching team. Special thanks to Raghav and Jiwei for their direction on our combined RNN and regression model.

References

  1. 1.
    Nijholt, A.: Humor and embodied conversational agents (2003)Google Scholar
  2. 2.
    Piot, M.G.B., Pietquin, O.: Predicting when to laugh with structured classification. In: Interspeech (2014)Google Scholar
  3. 3.
    Piot, O.P.B., Geist, M.: Imitation learning applied to embodied conversational agents. In: MLIS (2015)Google Scholar
  4. 4.
    Bertero, D.: Deep learning of audio and language features for humor prediction (2016)Google Scholar
  5. 5.
    Klein, E., Bird, S., Loper, E.: Natural Language Processing with Python. O’Reilly Media Inc., Sebastopol (2009)zbMATHGoogle Scholar
  6. 6.
    Eyben, F., Weninger, F., Gross, F., Schuller, B.: Recent developments in openSMILE, the munich open-source multimedia feature extractor, pp. 835–838. ACM Multimedia (MM) (2013)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Computer ScienceStanford UniversityStanfordUSA

Personalised recommendations