Skip to main content
QUICK REVIEW

[Paper Review] Neural Joking Machine : Humorous image captioning

Kota Yoshida, Munetaka Minoguchi|arXiv (Cornell University)|May 30, 2018
Video Analysis and SummarizationComputer Science1 references12 citations
TL;DR

This paper proposes the Neural Joking Machine (NJM), a humorous image captioning system that leverages a fine-tuned CNN+LSTM model trained on BoketeDB—a large-scale dataset of image-caption pairs from the Bokete web service. By introducing the Funny Score, a loss function that weights captions based on user-star ratings (1–3 stars), the model optimizes for funniness, achieving higher human rankings than baseline methods and outperforming a Japanese translation of MS COCO captions in real-world user evaluations.

ABSTRACT

What is an effective expression that draws laughter from human beings? In the present paper, in order to consider this question from an academic standpoint, we generate an image caption that draws a "laugh" by a computer. A system that outputs funny captions based on the image caption proposed in the computer vision field is constructed. Moreover, we also propose the Funny Score, which flexibly gives weights according to an evaluation database. The Funny Score more effectively brings out "laughter" to optimize a model. In addition, we build a self-collected BoketeDB, which contains a theme (image) and funny caption (text) posted on "Bokete", which is an image Ogiri website. In an experiment, we use BoketeDB to verify the effectiveness of the proposed method by comparing the results obtained using the proposed method and those obtained using MS COCO Pre-trained CNN+LSTM, which is the baseline and idiot created by humans. We refer to the proposed method, which uses the BoketeDB pre-trained model, as the Neural Joking Machine (NJM).

Motivation & Objective

  • To develop a computational framework that generates captions designed to elicit laughter, addressing the challenge of quantifying humor in AI.
  • To create a large-scale, real-world dataset of funny image-caption pairs from the Bokete web service to support training and evaluation.
  • To design a novel loss function, the Funny Score, that weights caption quality based on user-provided star ratings (1–3 stars) to better optimize for humor.
  • To evaluate the model’s performance against human-generated captions and a pre-trained MS COCO baseline in both human evaluation and real-world deployment on Bokete.

Proposed method

  • The system uses a CNN+LSTM architecture with ResNet-152 for image feature extraction and LSTM for sequential caption generation, adapted from the Show and Tell model.
  • The Funny Score is a custom loss function that assigns higher penalty (L−1.0) to captions with over 100 stars, while normalizing loss (L) for lower-rated captions, thus prioritizing funnier outputs during training.
  • BoketeDB is constructed by scraping 999,571 image-caption pairs from the Bokete Ogiri website, forming a large-scale, user-evaluated dataset for humorous caption generation.
  • The model is fine-tuned on BoketeDB using the Funny Score as the primary optimization objective, replacing standard cross-entropy loss.
  • Human evaluation uses a blind questionnaire ranking captions from three sources: human-generated, NJM-generated, and STAIR-caption (translated MS COCO) outputs.
  • The system is also deployed on Bokete to collect real-world user feedback via star ratings, validating performance in live SNS conditions.

Experimental results

Research questions

  • RQ1Can a deep learning model be effectively trained to generate humorous image captions using only user-provided star ratings as supervision?
  • RQ2How does the performance of a humor-optimized model compare to a standard image captioning model fine-tuned on a general dataset?
  • RQ3Can a self-collected, user-rated dataset (BoketeDB) outperform existing benchmarks like MS COCO in generating funny captions?
  • RQ4Does the Funny Score loss function lead to more effective optimization for humor than standard cross-entropy loss?

Key findings

  • Human-generated captions were ranked as the funniest 67.99% of the time, significantly outperforming both the NJM and the STAIR caption baseline.
  • The NJM-generated captions were ranked as the funniest 22.59% of the time, outperforming the STAIR caption baseline, which was ranked highest only 9.41% of the time.
  • In real-world deployment on Bokete, NJM-generated captions averaged 3.23 stars, compared to 1.71 stars for STAIR captions, indicating stronger user engagement and perceived humor.
  • The Funny Score loss function effectively prioritized high-rated captions during training, leading to a measurable improvement in humor quality over standard training objectives.
  • BoketeDB, with 999,571 image-caption pairs, proved to be a valuable and scalable resource for training humor-aware captioning models, outperforming MS COCO in caption funniness despite having fewer images.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.