RAGthoven at SemEval-2026 Task 1: A Multi-Stage Pipeline Walks Into a Benchmark and Barely Clears the Bar
Summary
The RAGthoven system, developed for SemEval-2026 Task 1 (MuWaHaHa), Subtask A, addresses multilingual constrained humor generation in English, Spanish, and Chinese. It employs a multi-stage large language model (LLM) pipeline comprising Planner, Writer, Reflector, and Judge components, grounded in computational humor theories like Benign Violation Theory. The system was iteratively refined through ten prompt engineering experiments. Its final configuration augments the Planner with retrieval-augmented generation (RAG) from a curated joke corpus. An agentic variant, featuring tool-calling agents orchestrated by a model loop with a ConstraintAudit checker, achieved full constraint compliance but showed no significant human-evaluated quality advantage over the non-agentic baseline. RAGthoven achieved Rank 1 in all three languages, with its strongest performance in Spanish (Elo 1182, 42 points above the Gemini 2.5 Flash baseline), though it shares Rank 1 due to overlapping confidence intervals, suggesting diminishing returns for complex prompt engineering with strong frontier models.
Key takeaway
For NLP engineers developing constrained creative text generation systems, RAGthoven demonstrates that a multi-stage LLM pipeline grounded in humor theories can achieve top performance. While RAG augmentation and iterative prompt engineering are effective, you should carefully evaluate the marginal gains of highly elaborate pipelines when integrating strong frontier models like Gemini 2.5 Flash, as complexity may not always translate to significantly better human-perceived quality or competitive advantage beyond a certain point.
Key insights
Decomposing creative text generation into a multi-stage LLM pipeline grounded in humor theories improves performance.
Principles
- Creative text generation benefits from multi-stage LLM pipelines.
- Grounding LLM generation in domain-specific theories (e.g., humor) improves quality.
- RAG from curated corpora can seed diverse generation mechanisms.
Method
RAGthoven uses a Planner, Writer, Reflector, Judge LLM pipeline, iteratively refined via prompt engineering, with optional RAG augmentation and an agentic variant featuring a ConstraintAudit checker.
In practice
- Augment the Planner stage with RAG from a relevant corpus.
- Implement a ConstraintAudit checker for agentic LLM systems.
- Iteratively refine prompts across multiple experiments.
Topics
- Humor Generation
- Multi-stage LLM Pipeline
- Retrieval-Augmented Generation
- Prompt Engineering
- Agentic LLMs
- SemEval-2026
Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.