Table of Contents
Fetching ...

From Perception to Punchline: Empowering VLM with the Art of In-the-wild Meme

Xueyan Li, Yingyi Xue, Mengjie Jiang, Qingzi Zhu, Yazhe Niu

TL;DR

This paper tackles open-ended meme generation by introducing HUMOR, a framework that combines hierarchical multi-path Chain-of-Thought reasoning with group-wise human preferences and stable policy optimization. It formalizes meme generation as a group-aware problem with a latent humor function per template group, and provides theoretical guarantees that exploration followed by anchoring preserves a lower humor bound. A reward-modeling module learns within-group preferences and drives updates via Group-wise Relative Policy Optimization (GRPO), with additional auxiliary rewards to stabilize reasoning paths. Empirical results show HUMOR improves meme humor, readability, and originality while maintaining reliability across base models and unseen templates, highlighting its potential as a general paradigm for human-aligned, open-ended multimodal generation. The work demonstrates that hierarchical CoT plus group-wise, rank-consistent preferences enables robust, context-sensitive humor generation and suggests broad applicability beyond memes to other subjective multimodal tasks.

Abstract

Generating humorous memes is a challenging multimodal task that moves beyond direct image-to-caption supervision. It requires a nuanced reasoning over visual content, contextual cues, and subjective humor. To bridge this gap between visual perception and humorous punchline creation, we propose HUMOR}, a novel framework that guides VLMs through hierarchical reasoning and aligns them with group-wise human preferences. First, HUMOR employs a hierarchical, multi-path Chain-of-Thought (CoT): the model begins by identifying a template-level intent, then explores diverse reasoning paths under different contexts, and finally anchors onto a high-quality, context-specific path. This CoT supervision, which traces back from ground-truth captions, enhances reasoning diversity. We further analyze that this multi-path exploration with anchoring maintains a high expected humor quality, under the practical condition that high-quality paths retain significant probability mass. Second, to capture subjective humor, we train a pairwise reward model that operates within groups of memes sharing the same template. Following established theory, this approach ensures a consistent and robust proxy for human preference, even with subjective and noisy labels. The reward model then enables a group-wise reinforcement learning optimization, guaranteeing providing a theoretical guarantee for monotonic improvement within the trust region. Extensive experiments show that HUMOR empowers various VLMs with superior reasoning diversity, more reliable preference alignment, and higher overall meme quality. Beyond memes, our work presents a general training paradigm for open-ended, human-aligned multimodal generation, where success is guided by comparative judgment within coherent output group.

From Perception to Punchline: Empowering VLM with the Art of In-the-wild Meme

TL;DR

This paper tackles open-ended meme generation by introducing HUMOR, a framework that combines hierarchical multi-path Chain-of-Thought reasoning with group-wise human preferences and stable policy optimization. It formalizes meme generation as a group-aware problem with a latent humor function per template group, and provides theoretical guarantees that exploration followed by anchoring preserves a lower humor bound. A reward-modeling module learns within-group preferences and drives updates via Group-wise Relative Policy Optimization (GRPO), with additional auxiliary rewards to stabilize reasoning paths. Empirical results show HUMOR improves meme humor, readability, and originality while maintaining reliability across base models and unseen templates, highlighting its potential as a general paradigm for human-aligned, open-ended multimodal generation. The work demonstrates that hierarchical CoT plus group-wise, rank-consistent preferences enables robust, context-sensitive humor generation and suggests broad applicability beyond memes to other subjective multimodal tasks.

Abstract

Generating humorous memes is a challenging multimodal task that moves beyond direct image-to-caption supervision. It requires a nuanced reasoning over visual content, contextual cues, and subjective humor. To bridge this gap between visual perception and humorous punchline creation, we propose HUMOR}, a novel framework that guides VLMs through hierarchical reasoning and aligns them with group-wise human preferences. First, HUMOR employs a hierarchical, multi-path Chain-of-Thought (CoT): the model begins by identifying a template-level intent, then explores diverse reasoning paths under different contexts, and finally anchors onto a high-quality, context-specific path. This CoT supervision, which traces back from ground-truth captions, enhances reasoning diversity. We further analyze that this multi-path exploration with anchoring maintains a high expected humor quality, under the practical condition that high-quality paths retain significant probability mass. Second, to capture subjective humor, we train a pairwise reward model that operates within groups of memes sharing the same template. Following established theory, this approach ensures a consistent and robust proxy for human preference, even with subjective and noisy labels. The reward model then enables a group-wise reinforcement learning optimization, guaranteeing providing a theoretical guarantee for monotonic improvement within the trust region. Extensive experiments show that HUMOR empowers various VLMs with superior reasoning diversity, more reliable preference alignment, and higher overall meme quality. Beyond memes, our work presents a general training paradigm for open-ended, human-aligned multimodal generation, where success is guided by comparative judgment within coherent output group.
Paper Structure (92 sections, 7 theorems, 20 equations, 20 figures, 5 tables, 1 algorithm)

This paper contains 92 sections, 7 theorems, 20 equations, 20 figures, 5 tables, 1 algorithm.

Key Result

Proposition 1

Normalizing $\max \tilde{h}_G=1$, the expected humor after two stages CoT supervision satisfies:

Figures (20)

  • Figure 1: Overview of the HUMOR framework. Given a template image, it first performs hierarchical reasoning with a multi-path CoT: a template-level stage infers latent intent, and a context-level stage explores multiple paths grounded in visual content. One high-quality path is anchored by tracing back from ground-truth captions, supporting diversity while ensuring a conditional humor lower bound. A pairwise reward model then compares memes only within groups sharing the same template, maintaining rank consistency and providing a proxy signal of human-like preference. This reward enables group-wise RL to update the generation model in a stable way, ensuring expected humor does not degrade. Together, these components show how HUMOR combines structured reasoning, group-wise preference modeling, and stable optimization for me me.
  • Figure 2: This diagram shows the dataflow for constructing hierarchical CoT supervisions. Stage 1 explores multiple reasoning paths that bind a template to different context-specific details. Stage 2 anchors one high-quality path from ground-truth, preserving diversity while preventing collapse.
  • Figure 3: Training Pipeline of HUMOR. Multi-path CoT expands reasoning coverage and anchors a canonical path; the reward model translates pair data into a rank-consistent group-level signal (via EBC); GRPO then updates the generator toward higher-ranked captions.
  • Figure 4: (a) VLM-based absolute scoring fails to distinguish meme quality. (b) Group-wise ranking produces more reliable distinctions, better aligned with human.
  • Figure 5: Group-wise ranking results on 20 unseen meme templates. Lower is better. HUMOR-CoT generalizes well and remains competitive with human-created memes.
  • ...and 15 more figures

Theorems & Definitions (8)

  • Proposition 1: Conditional humor lower bound
  • Proposition 2: Rank consistency
  • Proposition 3: Robustness to label noise (margin-aware)
  • Proposition 4: Bounded change of expected humor under GRPO
  • Proposition : Rank consistency (main text Proposition 1)
  • Proposition : Noise robustness (main text Proposition 2)
  • Proposition : Bounded improvement under GRPO (main text Proposition 2)
  • Remark : Isotonic shaping and theoretical guarantees