L52+-IIMAS-UNAM at SemEval-2026 Task 1 (MWAHAHA): Joke Selection Through a Multi-Stage Prompt-Engineering and Heuristic Pipeline

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, quick

Summary

L52+-IIMAS-UNAM developed a fully prompt-based system for headline-conditioned joke generation in English and Spanish for SemEval-2026 Task 1 (MWAHAHA). This approach deliberately avoids fine-tuning, relying instead on structured prompt engineering combined with a multi-stage heuristic pipeline. For Spanish, the system extracts a "stylistic-humor DNA" from a public joke corpus to guide generation. The pipeline integrates multi-candidate generation, diversity enhancement, iterative refinement, LLM-based rewriting, and constraint-aware selection. Human evaluation (n=180) demonstrated substantial gains in funniness and punchline clarity compared to single-pass generation. Despite modest official shared-task results (12th/16 Spanish, 24th/31 English) due to limited originality, the work highlights the value of linguistically grounded heuristics as an efficient, interpretable, and low-cost complement to large language models like GPT-4o and Grok.

Key takeaway

For NLP Engineers developing creative text generation systems, you should integrate structured prompt engineering and linguistically grounded heuristics alongside large language models. This approach, demonstrated in joke generation, offers greater interpretability, control over output, and cost efficiency compared to purely black-box LLM fine-tuning. Consider implementing multi-stage pipelines with iterative refinement and "stylistic-humor DNA" extraction to enhance quality and address originality bottlenecks in your applications.

Key insights

Structured prompt engineering and heuristics enhance LLM-based humor generation, offering interpretability and cost efficiency.

Principles

Method

The method involves multi-candidate generation, diversity enhancement, iterative refinement, LLM-based rewriting, and constraint-aware selection within a prompt-engineered pipeline.

In practice

Topics

Best for: Research Scientist, AI Scientist, NLP Engineer, Prompt Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.