Saved in:
Bibliographic Details
Main Authors: Ahmed, Eltayeb, Berdica, Uljad, Elliott, Martha, Horak, Danijela, Foerster, Jakob N.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.09659
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908404428046336
author Ahmed, Eltayeb
Berdica, Uljad
Elliott, Martha
Horak, Danijela
Foerster, Jakob N.
author_facet Ahmed, Eltayeb
Berdica, Uljad
Elliott, Martha
Horak, Danijela
Foerster, Jakob N.
contents Obtaining multiple meaningfully diverse, high quality samples from Large Language Models for a fixed prompt remains an open challenge. Current methods for increasing diversity often only operate at the token-level, paraphrasing the same response. This is problematic because it leads to poor exploration on reasoning problems and to unengaging, repetitive conversational agents. To address this we propose Intent Factored Generation (IFG), factorising the sampling process into two stages. First, we sample a semantically dense intent, e.g., a summary or keywords. Second, we sample the final response conditioning on both the original prompt and the intent from the first stage. This allows us to use a higher temperature during the intent step to promote conceptual diversity, and a lower temperature during the final generation to ensure the outputs are coherent and self-consistent. Additionally, we find that prompting the model to explicitly state its intent for each step of the chain-of-thought before generating the step is beneficial for reasoning tasks. We demonstrate our method's effectiveness across a diverse set of tasks. We show this method improves both pass@k and Reinforcement Learning from Verifier Feedback on maths and code tasks. For instruction-tuning, we combine IFG with Direct Preference Optimisation to increase conversational diversity without sacrificing reward. Finally, we achieve higher diversity while maintaining the quality of generations on a general language modelling task, using a new dataset of reader comments and news articles that we collect and open-source. In summary, we present a simple method of increasing the sample diversity of LLMs while maintaining performance. This method can be implemented by changing the prompt and varying the temperature during generation, making it easy to integrate into many algorithms for gains across various applications.
format Preprint
id arxiv_https___arxiv_org_abs_2506_09659
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Intent Factored Generation: Unleashing the Diversity in Your Language Model
Ahmed, Eltayeb
Berdica, Uljad
Elliott, Martha
Horak, Danijela
Foerster, Jakob N.
Artificial Intelligence
Computation and Language
Machine Learning
Obtaining multiple meaningfully diverse, high quality samples from Large Language Models for a fixed prompt remains an open challenge. Current methods for increasing diversity often only operate at the token-level, paraphrasing the same response. This is problematic because it leads to poor exploration on reasoning problems and to unengaging, repetitive conversational agents. To address this we propose Intent Factored Generation (IFG), factorising the sampling process into two stages. First, we sample a semantically dense intent, e.g., a summary or keywords. Second, we sample the final response conditioning on both the original prompt and the intent from the first stage. This allows us to use a higher temperature during the intent step to promote conceptual diversity, and a lower temperature during the final generation to ensure the outputs are coherent and self-consistent. Additionally, we find that prompting the model to explicitly state its intent for each step of the chain-of-thought before generating the step is beneficial for reasoning tasks. We demonstrate our method's effectiveness across a diverse set of tasks. We show this method improves both pass@k and Reinforcement Learning from Verifier Feedback on maths and code tasks. For instruction-tuning, we combine IFG with Direct Preference Optimisation to increase conversational diversity without sacrificing reward. Finally, we achieve higher diversity while maintaining the quality of generations on a general language modelling task, using a new dataset of reader comments and news articles that we collect and open-source. In summary, we present a simple method of increasing the sample diversity of LLMs while maintaining performance. This method can be implemented by changing the prompt and varying the temperature during generation, making it easy to integrate into many algorithms for gains across various applications.
title Intent Factored Generation: Unleashing the Diversity in Your Language Model
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2506.09659