Innovative Thinking, Infinite Humor: Humor Research of Large Language Models through Structured Thought Leaps

Han Wang, Yilin Zhao, Dian Li, Xiaohan Wang, Gang Liu, Xuguang Lan, Hui Wang · DOI

Abstract

Humor represents a significant challenge for artificial intelligence, requiring complex, non-linear reasoning and cultural nuance. We present LoL (Innovative Thinking, Infinite Humor), a novel framework designed to enhance the humorous capabilities of Large Language Models (LLMs). By implementing a multi-agent instruction expansion system and rationale-based reinforcement learning, LoL enables models to perform the "creative leaps" necessary for genuine wit, moving beyond simple pattern recognition toward structured multi-hop reasoning.

Introduction

While contemporary LLMs excel at logical and structured tasks such as mathematics and programming, humor remains a "final frontier." The difficulty lies in the "creative sparsity" of the knowledge graphs used by these models; they often lack the distant, non-obvious connections required for a punchline. Current models typically rely on simple question-answer pairs, leading to literal or overly verbose responses that fail to capture the essence of wit. The LoL framework addresses this by structuring the "thought leaps" that connect a setup to a humorous conclusion.

Comparison of humorous responses between LoL, GPT-4o, and CLoT across different cases.

Methodology

The LoL framework utilizes a two-stage training process to bridge the gap between literal understanding and creative expression.

Stage 1: Supervised Fine-Tuning with Automatic Instruction Expansion (AIE)

To overcome data sparsity, we employ an Automatic Instruction Expansion (AIE) system. This system uses three specialized agents:

  • Generator: Creates diverse instructions.
  • Imaginator: Hypothesizes potential contexts and storylines.
  • Selector: Filters generated content for quality and divergence.

Additionally, a Teacher-Student Prompt Loop is utilized, where a high-capability model (e.g., GPT-4o) provides iterative feedback and hints to a student model, refining its humorous reasoning through trial and error.

Stage 2: Guided Explorative Self-Improvement Tuning (GESIT)

The second stage focuses on deepening the logical underpinnings of humor through Guided Explorative Self-Improvement Tuning (GESIT). In this phase, the model generates multiple responses, and a judge model extracts the "reasoning rationale"—the logical path—for each. The model is then optimized using Direct Preference Optimization (DPO) to prefer responses that align with human humor preferences and possess sound logical rationales.

The Guided Explorative Self-Improvement Tuning (GESIT) framework, illustrating the iterative rationalization and preference optimization process.

Experimental Setup and Datasets

To ensure cross-cultural robustness, the framework was evaluated on a diverse set of English and Chinese benchmarks:

  • Oogiri-GO: Based on the Japanese "Oogiri" game, requiring unexpected responses to multimodal inputs.
  • SemEval 2020/2021 Task 7: Standard benchmarks for humor rating and offense detection.
  • Ruozhiba (Chinese Community Data): A dataset known for complex puns and paradoxical humor.
  • Divergent Association Task (DAT): A creativity metric measuring the semantic distance between generated concepts.

Key Insights and Results

The Mechanics of Wit

The research frames humor as a causal relationship where a punchline creates a "leap" between entities that are not obviously connected but share a hidden rationale. A significant finding is that conciseness is essential to wit. LoL-trained models produce shorter, more conversational responses compared to GPT-4o, which tends to over-explain jokes.

Performance Metrics

  • Superior Judgment: LoL outperformed GPT-4o and other baselines in humor judgment tasks. On the Ruozhiba dataset, LoL achieved 95.35% accuracy in identifying humorous responses, significantly higher than GPT-4o's 76.40%.
  • Human Preference: In a survey of 3,000 participants, users consistently preferred LoL's responses for their creativity and brevity.
  • Divergent Thinking: LoL demonstrated a higher semantic distance in the DAT test, proving its ability to think further "outside the box" than standard reasoning models.

Conclusion and Future Work

The LoL framework demonstrates that structured thought leaps can significantly improve LLM creativity. While humor remains subjective, the use of rationales and multi-agent expansion provides a scalable path toward more human-like AI. Future research will explore applying this framework to other creative domains, such as scientific discovery and cross-domain metaphorical reasoning.

Summary updated

BibTeX
@inproceedings{wang2025innovative,
  author = {Han Wang and Yilin Zhao and Dian Li and Xiaohan Wang and Gang Liu and Xuguang Lan and Hui Wang},
  title = {{Innovative Thinking, Infinite Humor: Humor Research of Large Language Models through Structured Thought Leaps}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=CGhgB8Kz8i},
}
Figure