TL;DR
In-context LLM agents tend to be chronically overconfident, prematurely committing to suboptimal actions rather than exploring their environment. This paper introduces Entropic Activation Steering (EAST), a representation-level technique that extracts an "uncertainty" steering vector from intermediate model activations weighted by action entropy. Adding this vector during generation directly increases action entropy and induces information-seeking thoughts without corrupting model outputs, whereas conventional token-level temperature scaling fails.
What Problem Does This Paper Address?
When deployed as autonomous decision-makers (e.g., using ReAct-style reasoning loops), Large Language Models (LLMs) often exhibit severe overconfidence. In multi-turn environments, they quickly latch onto a single decision after only a few trials—even when the underlying reward signals are noisy or identical.
Standard decoding interventions cannot resolve this: increasing the sampling temperature merely increases randomness at the token level, causing the agent to output malformed or unparseable text long before it meaningfully alters the high-level action distribution. The authors set out to investigate whether LLMs internally represent action uncertainty, and whether directly manipulating their latent activations can steer their exploration-exploitation trade-off.
Methods
EAST intervenes on the model's internal activations at a specific layer during autoregressive generation. It operates in two phases:
- Extracting the Steering Vector (Phase 1):
- The agent interacts with an environment across $K$ runs of horizon $T$. For each interaction prompt $P_t^k$, the authors record the layer-$\ell$ hidden state $z_t^k$ at the prompt's final token.
- Action entropy $h_t^k = -\sum_{a} \pi(a \mid P_t^k) \log \pi(a \mid P_t^k)$ is estimated by sampling $M = 25$ completions and parsing the resulting actions.
- Crucially, activations are centered per-run to remove trajectory-specific context noise before being weighted by their action entropy: $$u = \frac{1}{Z} \sum_{k=1}^K \sum_{t=1}^T h_t^k \left( z_t^k - \frac{1}{T}\sum_{t'=1}^T z_{t'}^k \right)$$
- Steering Generation (Phase 2):
- During new interactions, the normalized steering vector $u$ is scaled by a multiplier $\beta$ and added to the activations at target layer $\ell$ for every newly generated token position ($\hat{z}_i = z_i + \beta u$).
Datasets
The study evaluates agents in simulated Gaussian two-armed bandit environments:
- Task Variants: Bandit arms parameterized by reward means $(\mu_0, \mu_1) \in \{(95, 105), (99, 101), (100, 100)\}$ with fixed standard deviation $\sigma = 10$.
- Framings: Natural language prompts presenting choices as either pressing two "Buttons" or playing two "Slot Machines."
- Validation Split: 100 interaction prompts sampled randomly across different environment parameterizations.
Key Insights and Ideas
- Token entropy $\neq$ Action entropy: Simply turning up the temperature does not induce exploratory behavior; the agent continues committing to a single arm until its reasoning collapses into unparseable tokens.
- Abstract uncertainty representations: LLMs explicitly encode uncertainty over high-level actions in their latent geometry. Intervening along this vector shifts internal subjective beliefs.
- Thought modulation: Steering the forward pass does not just inject noise into action selection; it reshapes the agent’s generated reasoning chain (the "Thought:" field in ReAct). The agent explicitly reasons about variance, observation noise, and the need for further evidence.
- Semantic generalization: A steering vector derived from a "Button" bandit transfers seamlessly to a "Slot Machine" bandit, proving the learned direction represents task-agnostic decision uncertainty rather than superficial prompt keywords.
- Localization to middle layers: The intervention is most effective around the network's middle layers (peaking around layer 16 in a 32-layer model), matching prior interpretability findings on high-level concept representation.
Key Results
- Entropy Control vs. Output Validity: On
Mixtral-8x7B, scaling the EAST multiplier $\beta$ steadily increases action entropy from near 0 up toward the maximum ($\approx 0.69$ nats) across a wide range of values while maintaining over 90% valid, parseable completions. In contrast, raising token temperature produces virtually no entropy increase before the fraction of valid completions plummets. - Preventing Premature Commitment: In equal-mean bandits ($\mu_0 = 100, \mu_1 = 100$), default agents invariably commit to a single arm within the first 5–10 steps. With EAST, agents sustain exploration over all 50 steps.
- Directional Specificity: Shuffling the components of the steering vector completely eliminates the effect, demonstrating that increased exploration is driven by a specific semantic direction rather than random activation noise.
- Cross-Model Generality: The same behavior and steering dynamics replicate successfully on
DBRX. - Qualitative Lexicon Shift: An analysis of word frequencies in the agent’s thoughts shows that default runs over-index on words like reinforces, superior, and maximize, whereas EAST-steered runs over-index on variance, uncertainty, and volatility.
Limitations and Future Work
- Stylized Decision Tasks: Experiments are currently limited to two-armed Gaussian bandits; scaling to large action spaces, continuous actions, or long-horizon embodied/web agents remains to be demonstrated.
- Static Intervention: The steering vector is applied statically with a fixed multiplier $\beta$, rather than being dynamically adapted based on real-time task uncertainty.
- Architectural Scope: Evaluated primarily on open-weight MoE models (
Mixtral-8x7BandDBRX); applying EAST requires access to model weights and forward-pass hooks, making it incompatible with closed black-box model APIs.
Summary updated