DANGNT@SGU at SemEval-2026 Task 1: A Two-Stage Mistral Generator with DistilBERT Reranking for English Humor Generation

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

Summary

DANGNT@SGU developed a system for SemEval-2026 Task 1, Subtask A, focusing on English text-based humor generation. Their pipeline integrates a two-stage QLoRA-adapted generator, based on mistralai/Mistral-7B-Instruct-v0.2, with a DistilBERT reranker designed to differentiate jokes from non-jokes. The generator undergoes initial adaptation on a raw joke corpus for general humor style, followed by fine-tuning on synthetic instruction–response pairs for "Word Inclusion" and "News Headline" prompts. During inference, the system produces five candidate outputs per input, applies optional lexical constraints for "Word Inclusion" prompts, and then reranks these candidates using the DistilBERT classifier. DANGNT@SGU achieved an Elo score of 962 (95% CI: 926–986), securing 13th place in the official English Subtask A results. The system is practical, reproducible, and built entirely on open models and public data.

Key takeaway

For NLP Engineers developing text generation systems requiring specific stylistic or content constraints, consider adopting a multi-stage generation and reranking architecture. Your team can utilize QLoRA for efficient model adaptation and synthetic data for task-specific tuning, similar to the Mistral-DistilBERT pipeline. This approach enhances output quality and ensures adherence to complex requirements, offering a reproducible framework using open models for diverse generation challenges.

Key insights

A two-stage generator combined with a reranker effectively produces constrained and stylistic humor.

Principles

Method

A QLoRA-adapted Mistral-7B-Instruct-v0.2 generator is fine-tuned on a joke corpus then synthetic instruction pairs, generating five candidates, which a DistilBERT reranker then scores.

In practice

Topics

Best for: Research Scientist, AI Scientist, NLP Engineer

Related on AIssential

Open in AIssential →

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