# REACT: Representational Early Analysis and Control of Chain-of-Thought Trajectories

DevFeed: [REACT: Representational Early Analysis and Control of Chain-of-Thought Trajectories](<https://devfeed.tech/articles/react-representational-early-analysis-and-control-of-chain-of-thought-trajectories-99559.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32113>)

Author: Hanwen Zhang, Enyi Jiang, Ruike Zhu, Qinan Yu, Sanmi Koyejo

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Chain-of-thought](<https://devfeed.tech/topics/chain-of-thought.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [activation](<https://devfeed.tech/tags/activation.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [chain-of-thought](<https://devfeed.tech/tags/chain-of-thought.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deepseek](<https://devfeed.tech/tags/deepseek.md>), [deepseek-r1](<https://devfeed.tech/tags/deepseek-r1.md>), [generation](<https://devfeed.tech/tags/generation.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [llama](<https://devfeed.tech/tags/llama.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [readability](<https://devfeed.tech/tags/readability.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [reasoning-model](<https://devfeed.tech/tags/reasoning-model.md>), [risk](<https://devfeed.tech/tags/risk.md>), [safety](<https://devfeed.tech/tags/safety.md>), [timing](<https://devfeed.tech/tags/timing.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

REACT learns a safety direction from paired safe and unsafe reasoning trajectories, then applies it once to an early chain-of-thought hidden state while keeping model weights frozen and allowing full subsequent regeneration. Tests across three distilled reasoning models and three seeds found the strongest gains when intervening within the first two to three tokens. On DeepSeek-R1-Distill-Llama-8B, the effect fell to approximately zero at tokens four and five, although later states could be more predictive of risk. On that model, the rate of fully safe CoT-answer outputs on StrongREJECT-273 rose from 29.06% to 82.05%, with benign refusal and usefulness reported near baseline. The evidence is an abstract and does not provide further implementation or evaluation details.

## Source excerpt

arXiv:2610.32113v1 Announce Type: new Abstract: Chain-of-thought (CoT) generation offers an opportunity to intervene before a reasoning model completes its answer. But does the point at which risk is easiest to detect also offer the most effective control? We study this question with REACT, a conditional activation intervention that learns a safety direction from paired safe and unsafe trajectories and applies it once to an early CoT hidden state. The model weights remain frozen, and all subsequent tokens are generated without further edits. To study timing, we train directions separately at each of the first five CoT positions and evaluate ungated edits with full post-edit regeneration. Across three distilled reasoning models and three generation seeds, the strongest gains concentrate in a two- to three-token early window; on DeepSeek-R1-Distill-Llama-8B, the effect falls to approximately zero at the fourth and fifth tokens, even though later states can be more predictive of risk. This separates risk readability from effective control: intervention timing must be evaluated through its effect on subsequent generation. On the same 8B model, REACT raises the rate of fully safe CoT-answer outputs on StrongREJECT-273 from 29.06% to 82.05%, while keeping benign refusal and usefulness near baseline. An anonymized implementation is available at https://anonymous.4open.science/r/REACT_official2-333B.