XTC: Head-Aware Sampling by Excluding Top Choices
Philipp E Weidmann, Allen Roush, Judah Goldfeder, Sanjay Basu, Ravid Shwartz-Ziv
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Autoregressive Reasoning and Decoding · Type: new method · Keywords: head-aware decoding, diversity improvement, creative text generation, repeat reduction, instruction following
Summary
XTC is a head-aware decoding operator that excludes top choices to improve diversity in language model generation.
Explained to a 5-year-old
When a computer writes a story, it often picks the most boring word even though there are many nice words it could use. We made a new trick that looks at the list of possible words, finds the good ones, and sometimes skips the biggest one to pick a less common word instead. This helps the story be more interesting and varied. It works on many computer brain models and keeps the story understandable. It also helps the computer follow instructions better.
Explained to a 5-year-old, longer
When a computer makes up a story, it chooses the next word from a list of possibilities. Usually it picks the word that seems most likely, which often ends up being the safest or most common word. Sometimes there are several good words that could fit, but the computer still picks the same boring one. This makes the story less creative and can sound repetitive. To fix this, we created a new method that looks at the list of possible words and finds which ones are good enough. If there are at least two good words, the method sometimes ignores the biggest, most popular one. Instead, it picks the weaker, less common word and uses that to continue the story. This makes the story more interesting because it uses words you haven't seen before. The method works on many different computer brain models, like small and big ones. It also works even when the brain model is not perfect or has limited memory. The new method helps the story stay understandable while being more creative. It also helps the computer follow instructions correctly, so the story still does what it's supposed to do.
For a technical reader
The paper addresses a limitation in autoregressive language model decoding where multiple plausible tokens compete but the model still over-concentrates on the most generic choice, hurting diversity. The proposed head-aware operator evaluates the next-token distribution, identifies tokens above a plausibility threshold, and when several exist, probabilistically discards the dominant ones and retains the weakest plausible alternative before renormalizing. This mechanism directly targets the “head-ambiguity” regime, improving metrics such as Distinct-2 (11-15% gains) and reducing repeat trigrams (27-47% reductions) across models ranging from 12B to 70B parameters. Evaluations on creative generation benchmarks, a Mechanical Turk creativity study, and an instruction-following test (IFEval) show that the approach boosts creativity without sacrificing fluency or strict accuracy. The effect is additive with temperature and repetition penalties, robust across quantization levels and model families, and consistent across diverse prompt genres.
Problem
In open-ended generation, models assign substantial probability to multiple plausible continuations yet still over-concentrate on the most generic choice, limiting diversity. This head-ambiguity regime is not adequately addressed by existing decoding strategies that rescale or truncate the distribution.
Method
Given a next-token distribution, the approach identifies tokens exceeding a plausibility threshold; when multiple such tokens exist, it probabilistically removes the dominant eligible choices and retains the weakest plausible alternative before renormalizing.
Results
The approach improves Distinct-2 by 11-15% and reduces repeat trigrams by 27-47% across models; a Mechanical Turk study shows a 62.3% creativity preference (p<10-4); instruction-following accuracy remains within 1.7 percentage points of baseline.
Contributions
A head-aware decoding operator that directly addresses the head-ambiguity regime by excluding top choices, an extensive evaluation across multiple model families and tasks, and evidence of improved creativity without sacrificing fluency or instruction-following accuracy.
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