TL;DR
REACT is a one-shot activation steering method that intervenes at a single early token in a model's chain-of-thought (CoT) to redirect it toward safety. The authors discover a critical "early window" for control, demonstrating that the best time to intervene is not necessarily when the risk is most detectable, but when the model's future trajectory is most steerable.
What Problem Does This Paper Address?
Modern reasoning models generate an explicit chain-of-thought before producing a final answer. While this improves performance, it also provides a window into the model's "internal monologue," creating an opportunity to detect and stop unsafe behavior mid-generation.
However, a major question remains: When is the best time to intervene? Conventional wisdom might suggest waiting until the risk is obvious. This paper challenges that, distinguishing between readability (how well a probe can predict if a trajectory will become unsafe) and control (how effectively a small edit can actually change that outcome). The authors aim to find the "sweet spot" where a single, minimal intervention can maximize safety without destroying the model's utility.
Methods
The authors introduce REACT (Representational Early Analysis and Control of Trajectories), a four-stage pipeline:
- Target-Native Supervision: They collect paired safe and unsafe CoT trajectories for the same prompts and re-encode them using the target model to extract internal hidden states.
- Direction Learning: They learn a global "safety direction" ($\delta$) by optimizing for a direction that, when added to a hidden state, increases the likelihood of safe continuations and decreases the likelihood of unsafe ones.
- Gating: They train a simple linear gate to read an unedited early-CoT hidden state and decide whether to apply the safety edit or leave the state unchanged (a "no-op").
- Conditional Intervention: At inference, the model generates the first few tokens of the CoT normally. At a specific position (usually the third token, $t_2$), the gate evaluates the hidden state. If triggered, the safety direction is added exactly once. The model then continues generating the rest of the CoT and the final answer with no further intervention.
Datasets
- StrongREJECT-273: A source-independent benchmark of harmful prompts used for primary safety evaluation.
- SORRY-Bench-derived pool: A set of 450 prompts covering 45 harm categories, sharing a similar "ecology" to the training data.
- Benign-500: A subset of Alpaca instructions used to measure "false triggers" (over-refusal) and ensure the model remains useful for safe tasks.
- CAST/ReasoningShield: Sources for the paired trajectories used during the offline training stages.
Key Insights and Ideas
- The "Early Window" of Control: The most effective point to intervene is very early in the CoT—specifically between the second and third tokens ($t_1$ to $t_2$). Intervening here provides massive safety gains, but these gains collapse toward zero if the intervention happens just a few tokens later (e.g., at $t_4$).
- Readability $\neq$ Controllability: This is the paper's most striking finding. As the model generates more tokens, the "risk" becomes easier to read (probes become more accurate). However, the model simultaneously becomes harder to steer. By the time the risk is most legible, the model's trajectory is often already "locked in," making a one-shot edit ineffective.
- Position Matters More Than Magnitude: The collapse in effectiveness at later tokens isn't just because the edits are "too small." Even when matching the norm of the edit, later positions simply don't respond to the safety direction in a way that successfully redirects the full trajectory.
Key Results
The authors evaluated REACT on several distilled reasoning models, most notably DeepSeek-R1-Distill-Llama-8B.
- Safety Boost: REACT raised the rate of fully safe CoT-answer outputs on StrongREJECT from 29.06% to 82.05%.
- Utility Preservation: The method maintained high usefulness (91.86% vs. 91.96% baseline) and kept benign refusal low (5.40% vs. 5.33% baseline).
- Superiority over Baselines: REACT outperformed prompt-boundary steering (which happens before any CoT is generated) and other activation steering methods like CAST and AlphaSteer.
Limitations and Future Work
- Window Boundaries: While the "early window" exists across all tested models, its exact boundaries (e.g., whether it's $t_1-t_2$ or $t_2-t_3$) shift slightly depending on the model's size and architecture.
- Causal Mechanism: The paper identifies the phenomenon of the early window but notes that the exact dynamical mechanism—why the model becomes unsteerable so quickly—is not yet fully understood.
- Language and Domain: The gate and directions were trained primarily on English prompts. The authors suggest that deployment would require recalibration for different languages or specific user populations to avoid distribution shift issues.
- One-Shot Constraint: The study focused on a single, local edit. Future work could explore whether multiple interventions or different steering recipes could extend the window of effective control.
Summary updated