Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- humor
|
| 4 |
+
- computational-humor
|
| 5 |
+
- cognitive-synergy-framework
|
| 6 |
+
- collection
|
| 7 |
+
license: apache-2.0
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# HumorGen
|
| 11 |
+
|
| 12 |
+
**SaLT Lab, Carnegie Mellon University**
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## Overview
|
| 17 |
+
|
| 18 |
+
Training language models to generate high-quality humor is fundamentally difficult.
|
| 19 |
+
Standard next-token prediction pushes models toward the most probable β and therefore
|
| 20 |
+
the safest, most generic β continuation. In humor, that failure mode is well-known:
|
| 21 |
+
models produce predictable, unfunny outputs.
|
| 22 |
+
|
| 23 |
+
HumorGen addresses this through the **Cognitive Synergy Framework (CSF)**, a
|
| 24 |
+
Mixture-of-Thought approach in which a teacher model generates humor from six distinct
|
| 25 |
+
cognitive personas, each grounded in a psychological theory of comedy. The resulting
|
| 26 |
+
candidate pool is diverse by construction. A compact student model (7B) is then
|
| 27 |
+
trained on this data, learning that a single input can support multiple valid comedic
|
| 28 |
+
interpretations. Preference alignment via DPO or Offline GRPO further refines which
|
| 29 |
+
comedic angle the model selects in context.
|
| 30 |
+
|
| 31 |
+
Full methodology: [arXiv:2604.09629](https://arxiv.org/abs/2604.09629)
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## Constrained Humor: HumorGen at CLEF 2026 JOKER
|
| 36 |
+
|
| 37 |
+
The CSF generalizes naturally to constrained humor generation. The CLEF 2026 JOKER
|
| 38 |
+
Task 4 requires producing a pun-brief β a sentence that simultaneously satisfies a
|
| 39 |
+
given pun word and two specified semantic senses. This is a significantly harder
|
| 40 |
+
setting than open-ended headline humor: the model must navigate strict lexical
|
| 41 |
+
constraints while still producing output that reads as genuinely funny.
|
| 42 |
+
|
| 43 |
+
To scale the framework to this multilingual, constrained task, we first train
|
| 44 |
+
domain-agnostic humor pretraining checkpoints at 14B and 32B scale (HumorGen_SFT_14B
|
| 45 |
+
and HumorGen_SFT_32B) on the full SemEval MWAHAHA corpus across all languages.
|
| 46 |
+
These serve as strong multilingual starting points and are released independently as
|
| 47 |
+
general-purpose multilingual humor generators. The JOKER-specific models are then
|
| 48 |
+
branched from these bases via per-language LoRA fine-tuning.
|
| 49 |
+
|
| 50 |
+
Full methodology: [HumorGen at CLEF 2026 JOKER Task 4](https://edwardajayi.github.io/assets/papers/HumorGen-JOKER.pdf)
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## Models
|
| 55 |
+
|
| 56 |
+
| Model | Description | Backbone |
|
| 57 |
+
|:---|:---|:---|
|
| 58 |
+
| [HumorGen_SFT_7B](https://huggingface.co/Jayi2424/HumorGen_SFT_7B) | SFT baseline | Qwen2.5-7B |
|
| 59 |
+
| [HumorGen_SFT_Think_7B](https://huggingface.co/Jayi2424/HumorGen_SFT_Think_7B) | SFT + Chain-of-Thought | Qwen2.5-7B |
|
| 60 |
+
| [HumorGen_DPO_7B](https://huggingface.co/Jayi2424/HumorGen_DPO_7B) | DPO | Qwen2.5-7B |
|
| 61 |
+
| [HumorGen_DPO_Think_7B](https://huggingface.co/Jayi2424/HumorGen_DPO_Think_7B) | DPO + Chain-of-Thought | Qwen2.5-7B |
|
| 62 |
+
| [HumorGen_GRPO_7B](https://huggingface.co/Jayi2424/HumorGen_GRPO_7B) | O-GRPO | Qwen2.5-7B |
|
| 63 |
+
| [HumorGen_GRPO_Think_7B](https://huggingface.co/Jayi2424/HumorGen_GRPO_Think_7B) | O-GRPO + Chain-of-Thought | Qwen2.5-7B |
|
| 64 |
+
| [HumorGen_SFT_14B](https://huggingface.co/Jayi2424/HumorGen_SFT_14B) | Multilingual SFT base (used in JOKER) | Qwen3-14B |
|
| 65 |
+
| [HumorGen_SFT_32B](https://huggingface.co/Jayi2424/HumorGen_SFT_32B) | Multilingual SFT base (used in JOKER) | Qwen3-32B |
|
| 66 |
+
| [HumorGen_JOKER_EN_14B](https://huggingface.co/Jayi2424/HumorGen_JOKER_EN_14B) | CLEF JOKER Task 4 β English, 14B | Qwen3-14B |
|
| 67 |
+
| [HumorGen_JOKER_EN_32B](https://huggingface.co/Jayi2424/HumorGen_JOKER_EN_32B) | CLEF JOKER Task 4 β English, 32B | Qwen3-32B |
|
| 68 |
+
| [HumorGen_JOKER_FR_14B](https://huggingface.co/Jayi2424/HumorGen_JOKER_FR_14B) | CLEF JOKER Task 4 β French, 14B | Qwen3-14B |
|
| 69 |
+
| [HumorGen_JOKER_FR_32B](https://huggingface.co/Jayi2424/HumorGen_JOKER_FR_32B) | CLEF JOKER Task 4 β French, 32B | Qwen3-32B |
|
| 70 |
+
| [HumorGen_JOKER_ES_14B](https://huggingface.co/Jayi2424/HumorGen_JOKER_ES_14B) | CLEF JOKER Task 4 β Spanish, 14B | Qwen3-14B |
|
| 71 |
+
| [HumorGen_JOKER_ES_32B](https://huggingface.co/Jayi2424/HumorGen_JOKER_ES_32B) | CLEF JOKER Task 4 β Spanish, 32B | Qwen3-32B |
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
## Citation
|
| 76 |
+
|
| 77 |
+
```bibtex
|
| 78 |
+
@misc{ajayi2026humorgen,
|
| 79 |
+
title = {HumorGen: Cognitive Synergy for Humor Generation in Large Language
|
| 80 |
+
Models via Persona-Based Distillation},
|
| 81 |
+
author = {Ajayi, Edward and others},
|
| 82 |
+
year = {2026},
|
| 83 |
+
eprint = {2604.09629},
|
| 84 |
+
archivePrefix = {arXiv},
|
| 85 |
+
primaryClass = {cs.CL},
|
| 86 |
+
url = {https://arxiv.org/abs/2604.09629}
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
@inproceedings{ajayi2026joker,
|
| 90 |
+
title = {HumorGen at CLEF 2026 JOKER Task 4: Cross-Lingual Constrained
|
| 91 |
+
Pun Generation via the Cognitive Synergy Framework},
|
| 92 |
+
author = {Ajayi, Edward and others},
|
| 93 |
+
booktitle = {Working Notes of CLEF 2026},
|
| 94 |
+
year = {2026},
|
| 95 |
+
url = {https://edwardajayi.github.io/assets/papers/HumorGen-JOKER.pdf}
|
| 96 |
+
}
|
| 97 |
+
```
|