Language Models Can Coarsely Modulate Entropy Under Instruction
Luca Baroni, Kola Ayonrinde, Shi Feng, Puria Radmard
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › Language Model Failure Analysis · Type: new method · Keywords: language model entropy control, output uncertainty modulation, activation steering, contrastive activation analysis, two-alternative forced-choice
Summary
The paper shows that language models can coarsely control output entropy under instruction and discovers a linear activation direction that enables entropy modulation via steering.
Explained to a 5-year-old
Some computer programs called language models try to guess what comes next in a sentence. We can tell them to be more sure or less sure when they have to pick between two choices. By looking at how the program works inside, we find a simple direction that helps change how uncertain they are. Using that direction, we can make the program more or less uncertain even without telling it to. This helps us understand how we might control what these programs say in the future.
Explained to a 5-year-old, longer
Language models are computer programs that write sentences like a person would. Sometimes we want them to be very sure about what they write, and sometimes we want them to be a bit unsure. The paper shows that these models can be told to be more sure or less sure when they have to choose between two answers. They did this by giving the models instructions that said "be more certain" or "be less certain." After giving these instructions, the models changed how uncertain they were in their answers. The researchers looked inside the model to see how it changed its thinking. They found a simple line or direction in the model's internal space that relates to how uncertain it is. This direction can be used like a knob to turn the model's uncertainty up or down. Even without giving new instructions, we can move the model along this direction to change its uncertainty. This means we might be able to control how random or predictable the model's outputs are. Such control could be useful for making the model more helpful or safer in different situations. Overall, the paper teaches us that models have a hidden way to adjust their uncertainty that we can now explore.
For a technical reader
The study shows that large language models can be instructed to be more or less certain in their answers. By analyzing how the models change their internal representations, the authors discovered a simple linear direction that controls output uncertainty. This direction can be used to adjust the model's randomness without giving it new instructions, essentially "steering" its behavior. The findings suggest a practical way to fine-tune model outputs for applications that need more predictable or diverse text. This approach could be integrated into existing pipelines to improve control over language model generation.
Problem
Current language models have limited ability to sample according to desired output distributions, leaving open whether they can exert any coarse control over output uncertainty.
Method
The authors instruct models to maximize or minimize output certainty in a two-alternative forced-choice setting and perform contrastive activation analysis to find a linear direction in activation space that correlates with entropy modulation. They then use activation steering along this direction to causally alter entropy without explicit instructions.
Contributions
It reveals that language models possess a coarse ability to modulate output entropy under instruction and discovers a linear activation direction that enables controllable entropy adjustment via steering.
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