Skip to main content
QUICK REVIEW

[Paper Review] Joint Detection and Location of English Puns

Yanyan Zou, Wei Lu|arXiv (Cornell University)|Aug 31, 2019
Humor Studies and ApplicationsPsychology26 references8 citations
TL;DR

This paper proposes a joint sequence labeling approach for English pun detection and location using a novel BPA tagging scheme that encodes pun position relative to the sentence. By modeling detection and location together with a BiLSTM-CRF architecture enhanced by character-level embeddings and positional features, the method achieves state-of-the-art performance on benchmark datasets for both homographic and heterographic puns.

ABSTRACT

A pun is a form of wordplay for an intended humorous or rhetorical effect, where a word suggests two or more meanings by exploiting polysemy (homographic pun) or phonological similarity to another word (heterographic pun). This paper presents an approach that addresses pun detection and pun location jointly from a sequence labeling perspective. We employ a new tagging scheme such that the model is capable of performing such a joint task, where useful structural information can be properly captured. We show that our proposed model is effective in handling both homographic and heterographic puns. Empirical results on the benchmark datasets demonstrate that our approach can achieve new state-of-the-art results.

Motivation & Objective

  • Address the limitations of pipeline approaches that treat pun detection and location as separate tasks.
  • Leverage structural constraints—such as the presence of at most one pun per context—to improve model generalization.
  • Capture the tendency for puns to appear in the second half of sentences through positional encoding.
  • Develop a unified framework applicable to both homographic and heterographic puns, overcoming the limitations of prior task-specific models.
  • Improve performance by enabling information exchange between detection and location via joint learning.

Proposed method

  • Introduce a novel three-tag BPA scheme: B (before pun), P (pun), A (after pun), which enforces the constraint of at most one pun per sentence.
  • Frame pun detection and location as a sequence labeling problem, where each word is assigned one of the three tags.
  • Employ a BiLSTM-CRF model with character-level embeddings to capture subword morphology and improve OOV word representation.
  • Incorporate word position features to encode the structural tendency that puns often occur in the second half of sentences.
  • Train the model end-to-end using cross-entropy loss with CRF decoding to ensure globally consistent tag sequences.
  • Use a deterministic procedure to generate gold-standard BPA tag sequences from annotated data, ensuring consistency with the structural constraint.

Experimental results

Research questions

  • RQ1Can pun detection and location be effectively unified under a single sequence labeling framework?
  • RQ2Does the proposed BPA tagging scheme improve performance by encoding structural constraints such as maximum one pun per sentence?
  • RQ3How does incorporating positional information (e.g., puns tending to appear in the second half) affect model performance?
  • RQ4Can a single model achieve state-of-the-art results for both homographic and heterographic puns without task-specific adaptation?
  • RQ5To what extent do joint learning and information sharing between detection and location improve overall performance?

Key findings

  • The proposed BPA tagging scheme effectively enforces the structural constraint that each context contains at most one pun, reducing ambiguity during inference.
  • The joint model achieves new state-of-the-art results on benchmark datasets for both pun detection and pun location tasks.
  • Error analysis shows that 40% of errors stem from low word coverage due to unseen words in test sets, highlighting a key challenge for OOV generalization.
  • Detection errors account for 40% of total errors, indicating that improving pun detection remains a critical bottleneck.
  • Short sentences with limited context, such as "Superglue! Tom rejoined," pose significant challenges due to insufficient contextual cues.
  • The model demonstrates generalizability to both homographic and heterographic puns, unlike prior systems that target only one type.

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.