Value Probes: Learned Value Functions for Beam-Search Red Teaming

Jonathan F. Jao, Andrew Kyle LampinenarXiv 2026 · arXiv

TL;DR

This paper reframes automated red-teaming as a Markov Decision Process (MDP) and introduces Value Probes: simple linear readouts of a model's internal activations that predict future safety failures. By using these probes to guide a beam-search audit, the authors improved red-teaming success rates by roughly 50% compared to current state-of-the-art methods, matching the performance of expensive high-capacity LLM judges at a fraction of the computational cost.

What Problem Does This Paper Address?

As LLMs are increasingly deployed as multi-turn agents, safety risks like sycophancy, strategic deception, and blackmail often only surface several turns into a conversation. Finding these "needles in a haystack" requires automated red-teaming, where an "auditor" model tries to provoke a "target" model into misbehaving.

Current state-of-the-art frameworks (like Petri) treat this as a black-box search: an auditor model decides which conversation paths to pursue based only on the visible text. This is inefficient because it ignores the rich internal state of the target model and relies on expensive LLM calls to judge whether a conversation is "getting warmer" toward a safety violation. The authors ask: Can we use the target model's own internal activations to predict if a conversation is headed toward a failure before it actually happens?

Methods

The authors formalize red-teaming as an MDP where the state is the conversation history, the action is the auditor's next turn, and the reward is the score from an LLM judge. They introduce two key innovations:

  1. Beam-Search Audit Harness: Instead of a single-path search, the harness maintains a "beam" of $b$ promising conversation branches. At each turn, it generates $k$ candidate continuations for each branch and keeps only the top $b$ based on a heuristic.
  2. Value Probes: This is the core contribution. The authors train a simple linear probe on the mean-pooled activations of a single layer in the target model's residual stream. This probe is trained to predict the Value ($V$) of a state—the discounted sum of future judge scores.
Value-guided beam search eliciting delusion-sycophancy. The probe estimates the value $\hat{V}$ at each node to guide the search.

The training uses the Bellman equations to "back up" rewards from the end of a conversation to earlier turns. They tested two variants: an Expected Value Probe (predicting average future reward) and a Max Value Probe (predicting the best possible future reward).

Datasets

The researchers evaluated their method across 18 target behaviors (including sycophancy, blackmail, and animal welfare disregard) taken from the Bloom behavioral evaluation tool.

They tested these methods on several model scales:

  • Target Models: Gemma 3 (4B, 12B, and 27B parameters).
  • Transfer Target: Gemma 4 (31B).
  • Auditor Model: Claude 3.5 Sonnet.
  • Judge Models: Claude 3.5 Sonnet (for final scoring) and Claude 3 Opus (as a high-capacity heuristic baseline).

Key Insights and Ideas

  • The Model "Knows" It's Failing: The most striking finding is that a model's internal activations contain a linear signal that predicts future misbehavior. You don't need a complex "reasoning" model to judge a transcript; a simple linear readout of the target's own hidden states is just as effective.
  • Search Structure vs. Signal: The authors found that simply moving from depth-first search to beam search (even with random selection) improved results. However, adding the Value Probe signal provided a significant additional boost, especially in smaller models.
  • Off-Policy Transfer is Viable: You don't need to successfully red-team a highly aligned model to train its probe. You can train a probe using "off-policy" data—transcripts generated by auditing a smaller, weaker model—and then apply that probe to a larger, more secure model. This solves the "chicken-and-egg" problem of needing failures to train a failure-detector.
  • Efficiency: A Value Probe is just a single linear operation on activations the model already computed. In contrast, using an LLM judge as a search heuristic requires hundreds of additional high-capacity model calls per audit.

Key Results

  • 50% Improvement: Across all tested Gemma 3 models, Value Probes raised peak audit scores by approximately 50% compared to token-matched Petri audits.
  • Rivaling Claude Opus: The linear Value Probes performed on par with (and sometimes better than) a search guided by Claude 3 Opus, despite being orders of magnitude cheaper to run.
  • Cross-Generation Success: Probes trained on Gemma 3 4B rollouts successfully guided audits of the much larger Gemma 4 31B model, beating a random-selection baseline by +0.11 in mean peak judge score.
Figure 2: Peak judge score by branch-ranking method (↑higher is better). Bars are means over the same 18 behaviors in every arm, each behavior averaged over its 10 replicates; whiskers are 95% t-confidence intervals across behaviors (unpaired, hence conservative between arms). Paired comparisons in the text use the 18 per-behavior differences between two arms: their mean, 95% t-interval, and the number of behaviors won. 12 turns per audit. Table 1 in the appendix lists the values.

Limitations and Future Work

  • Open-Weights Only: Because the method requires access to internal activations, it cannot be used by external auditors on API-only models (like GPT-4 or Claude). It is primarily a tool for model developers and labs.
  • Hyperparameter Sensitivity: The authors only tested mean-pooling and a fixed discount factor ($\gamma = 0.9$). Future work could explore attention-weighted pooling or multi-layer probes.
  • Causality: While the probes are predictive, the paper doesn't prove the activations cause the behavior. The authors suggest that "activation steering" (adding the probe's weight vector to the residual stream) could be a promising way to test causality and potentially elicit behaviors without search.
  • Search Depth: The authors suggest that replacing beam search with more sophisticated techniques like Monte-Carlo Tree Search (MCTS) could further deepen the audit's reach.

Summary updated

Abstract

Automated red-team auditing of language models is an important way to evaluate safety-relevant behaviors. These audits implicitly search a tree of possible conversation pathways: at each turn an auditor model decides which conversation to continue, and an LLM judge scores the dialogue. We emphasize that this auditing procedure is a Markov decision process, where states are the conversation history, actions are candidate responses, and rewards are judge scores for the target behavior. By adopting this perspective, we introduce two major improvements to auditing. First, we propose adopting beam search for the audit rather than relying on the auditor alone. We then interpret the problem of finding states that are likely to lead to problematic behavior as value estimation. Surprisingly, we show that this value function can be estimated by linear probing from the target model's activations to predict discounted future rewards - a method we term "Value Probes." By using Value Probes as a heuristic in our beam-search audit, we are able to substantially improve auditing success. Across 18 target behaviors and 3 scales of models, our approach raises peak audit scores by roughly 50% compared to (token-matched) standard auditing approaches. Furthermore, we show that Value Probes can be fit using off-policy data from smaller models. We also ablate individual components, and show that our method offers a comparably-performant and more efficient alternative to more expensive language model follow-ups. We hope these methods will improve language model auditing and lead to safer models.
BibTeX
@misc{jao2026value,
  author = {Jonathan F. Jao and Andrew Kyle Lampinen},
  title = {{Value Probes: Learned Value Functions for Beam-Search Red Teaming}},
  year = {2026},
  eprint = {2610.38526},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.38526},
}
Figure