NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Intent Factored Generation: Unleashing the Diversity in Your Language Model

Eltayeb Ahmed, Uljad Berdica, Martha Elliott, Danijela Horak, Jakob Foerster

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › LLM Reasoning Enhancement · Type: new method · Keywords: language model sampling, diversity generation, intent factoring, performance-diversity tradeoff, LLM text generation

Areas: LLM Reasoning › Reasoning Strategies › Inference-Time Scaling; RL for LLMs & Agents › LLM Policy Optimization › Reinforcement Learning for Language Models

Summary

Intent Factored Generation (IFG) factorises sampling into an intent stage and a final response stage to improve diversity and performance of LLM outputs.

Explained to a 5-year-old

A computer program called a language model sometimes says the same things over and over. We want it to say new ideas that still make sense. So we first pick a short idea, like a summary, to guide what will be said. Then we write the final answer using that idea and the original question. This helps the computer be both creative and clear.

Explained to a 5-year-old, longer

A language model is a computer program that writes sentences. When we ask it a question, it often writes answers that sound similar. Sometimes we want it to be more creative, like telling different stories. But we also want the answers to be correct and easy to understand. So researchers thought of a new way to help the model be both creative and accurate. First, the model makes a short idea, like a summary, that captures the main point. This idea is chosen using a special setting that lets the model explore many possibilities. Next, the model uses that idea together with the original question to write the final answer. Because the final step uses a different setting, the answer stays clear and logical. This two-step process helps the model think more deeply, like doing a chain of thoughts. It works well for solving math problems, writing code, and having conversations. The new method is simple to use and can be added to many existing language models.

For a technical reader

The paper proposes a two-stage sampling scheme for LLMs that first generates a semantically dense intent (e.g., summary or keywords) with high temperature, then produces the final response conditioned on the prompt and intent with lower temperature. By separating intent generation from final generation, the method encourages conceptual diversity while preserving coherence, and it can be combined with existing techniques like RLVF. The authors also show that prompting the model to articulate its intent for each chain-of-thought step improves reasoning performance on math and code tasks. Experiments across math, code, and language modelling tasks demonstrate improved exploration, higher quality diverse samples, and better performance-diversity trade-offs. The approach is straightforward to implement with off-the-shelf models and can be applied to increase diversity in instruction-tuned systems.

Problem

Obtaining meaningfully diverse high-quality samples from large language models for a fixed prompt is challenging, as current token-level paraphrasing methods lead to poor exploration and repetitive outputs.

Method

The approach splits sampling into two stages: first sampling a semantically dense intent (e.g., summary or keywords) with higher temperature, then generating the final response conditioned on the prompt and intent with lower temperature. It also encourages the model to state its intent for each chain-of-thought step to aid reasoning.

Results

The approach improves exploration and final performance on math and code tasks, works well with RLVF, increases diversity of instruction-tuned models, and yields higher quality diverse samples on a language modelling task.

Contributions

The paper introduces a two-stage sampling factorisation that decouples intent generation from final response generation, enabling higher conceptual diversity while preserving coherence, and demonstrates its effectiveness across reasoning, math, code, and language modelling tasks.

Practical relevance

It provides an easy-to-implement way to improve the performance-diversity tradeoff of existing LLMs for applications requiring varied and high-quality text generation.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction