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.
G2: Guided Generation for Enhanced Output Diversity in LLMs
Southern University of Science and Technology(南方科技大学);Tsinghua University(清华大学);Shanghai University of Finance and Economics(上海财经大学);Alibaba International Digital Commerce(阿里巴巴国际数字商业)
Post-training Large Language Models for Diverse High-Quality Responses
Boston University(波士顿大学);University of Maryland, College Park(马里兰大学学院公园分校);University College London(伦敦大学学院);Boston University Broad Institute of MIT and Harvard(MIT和哈佛大学波士顿大学Broad研究所)
How Diversely Can Language Models Solve Problems? Exploring the Algorithmic Diversity of Model-Generated Code
School of Computer Science and Engineering, Kyungpook National University(庆北国立大学计算机科学与工程学院);POSTECH(浦项科技大学);Department of Artificial Intelligence, Yonsei University(延世大学人工智能系)
Recurrence Boosts Diversity! Revisiting Recurrent Latent Variable in Transformer-Based Variational AutoEncoder for Diverse Text Generation
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京国家信息科学与技术研究中心);Institute for Artificial Intelligence, Tsinghua University(清华大学人工智能研究院);Microsoft Research Asia(微软亚洲研究院);Jiangsu Normal University(江苏师范大学);Jiangsu Collaborative Innovation Center for Language Ability(江苏省语言能力协同创新中心)
Culinary Crossroads: A RAG Framework for Enhancing Diversity in Cross-Cultural Recipe Adaptation
Aarhus University(奥胡斯大学);University of Copenhagen(哥本哈根大学);Dept. of Computer Science and Artificial Intelligence, University of Granada(格拉纳达大学计算机科学与人工智能系);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))