Reproduce “Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Houman Mehrafarin, Ioannis Konstas

The authors use question-specific hidden-state directions to improve direct-answer accuracy. For each question, they identify chain states whose patches recover the correct answer, then rotate the direct run’s final hidden state toward their direction. Across 25 tasks, LLaMA 3.1 8B macro accuracy averages 85%, versus 46% with direct prompting and 69% with chain-of-thought; outputs average 19 versus 197 tokens. Each direction requires that question’s chain and patch outcomes.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.