Where You Inject Diversity Matters: A Unified Framework for Diverse Generation

Cheng Zhang, Rui Xin, Chudi Zhong
6/9/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Open-ended generation tasks often require a set of meaningfully different outputs, yet large language models often produce similar generations. Existing test-time diversity methods operate at different stages of generation with varying effectiveness, but it remains unclear what design choices lead to meaningful diversity in the output. We introduce a framework that characterizes test-time diverse generation methods by the diversity source introduced during generation and provide a transmission score for measuring how effectively variation in the source reaches the final output. Guided by this framework, we propose fully automated specification-level generation methods that first generate diverse intermediate specifications and then condition on them to produce final responses. Across five open-ended tasks and four backbone models, specification-level injection improves output diversity over test-time baselines while maintaining comparable quality. Our analysis shows that successful diversity injection depends on both the diversity of the sources and their transmission to the output, highlighting source design and source-to-output realization as two key levers for building more diverse generation systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026where,
  title  = {Where You Inject Diversity Matters: A Unified Framework for Diverse Generation},
  author = {Cheng Zhang and Rui Xin and Chudi Zhong},
  year   = {2026},
  eprint = {2606.10302},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.10302v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.10302.svg)](https://codeofpaper.com/paper/2606.10302)

Discussion