논문 해설
Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers
Chain-of-Thought 은닉 상태가 직접 답변을 위한 태스크 해결 방향을 드러낸다
- 연구 문제 CoT가 항상 가장 짧은 정답 경로는 아니어서, 체인을 생성하지 않고도 직접 프롬프트에서 정답을 낼 수 있는지가 문제입니다.
- 연구 방법 CoT 은닉 상태를 직접 프롬프트에 패칭해 회복 여부로 레이블하고, 질문별 대조 방향으로 직접 프롬프트의 마지막 상태를 한 번 회전합니다.
- 주요 결과 LLaMA 3.1 8B에서 직접 프롬프트 정확도를 46%에서 85%로 높이며 생성 토큰은 19개로 줄였고, Qwen 2.5 7B에서는 52%에서 86%로 높였습니다.
CoT가 항상 가장 효율적인 경로인가
Chain-of-Thought 프롬프팅은 중간 추론 단계를 생성하게 해 LLM의 성능을 높이지만, 일부 과제에서는 직접 답변 프롬프트보다 정확도가 낮고 다른 과제에서는 정답에 이르기까지 수백 토큰을 생성해야 합니다. 이 논문은 CoT 체인의 은닉 상태 중 어떤 상태가 직접 프롬프트에 패칭되었을 때 정답을 복원하는지를 근거로, 체인을 생성하지 않고도 직접 프롬프트의 표현 공간에서 정답으로 이끄는 방향을 찾을 수 있는지 묻습니다. 기존 활성화 패칭 연구는 산술 추론에만 적용되고 상태를 탐지하는 데 머물렀으므로, 이 논문은 25개 과제로 범위를 넓히고 패칭 결과를 레이블로 사용합니다.

Table 1 : CoT and direct (Dir.) accuracy (%) on the 25 tasks, with the CoT gain ∆ (computed before rounding) and the mean number of tokens generated per question under CoT (direct prompting generates about one).
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.패칭 레이블과 선형 프로브
각 CoT 상태 h를 직접 프롬프트의 마지막 위치 상태 z에 같은 층에서 교체한 뒤, 모델이 생성한 답이 정답과 일치하면 회복 상태로, 아니면 실패 상태로 레이블합니다. 이 레이블을 예측하는 선형 프로브는 확률을 p = sigmoid(w의 전치 곱 h̃ + b)로 두고, 표준화된 은닉 상태에 대해 ℓ2 정규화된 이진 교차엔트로피를 최소화합니다. 회복 상태는 전체의 평균 17%(LLaMA 3.1 8B)와 28%(Qwen 2.5 7B)에 불과해 클래스가 불균형하므로 AUROC로 평가했고, 상태가 같은 체인에서 상관되어 있기 때문에 질문 단위의 다섯 겹 교차 검증을 사용했습니다.

Table 4 : Patch labels per task, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B. Questions is the number of questions; States is the mean number of labelled CoT states per question, one per token of the chain, which is capped at 400 tokens (Appendix A); Rec. is the percentage of these states that recover the answer when patched; Cov. is the percentage of questions with at least one recovering and one failed state, for which the directions of Section 5 are defined. The last row gives the total number of questions and, for the other columns, macro averages over tasks.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.질문별 대조 방향과 구면 회전
질문마다 회복 상태의 평균 c+와 실패 상태의 평균 c−를 구한 뒤, 방향 dq(λ)를 c+ − λc−를 정규화한 것에 회복 평균의 노름을 곱해 만듭니다. λ가 0이면 회복 평균이고 λ가 1이면 평균 차이 방향과 같아지므로, λ는 실패 평균에서 멀어지는 정도를 조절합니다. 개입은 직접 프롬프트의 마지막 상태 z를 구면 선형 보간 SLERP로 목표 방향 쪽으로 회전하며 노름은 유지합니다. 회전은 한 번만 적용하고 이후 생성은 모델이 평소처럼 수행합니다. 이 방식은 스칼라 가산 조종과 달리 방향만 바꾸므로 생성이 손상되는 것을 줄이려는 설계입니다.

Figure 1 : Overview of our analysis on one Multistep Arithmetic question. Each CoT state is patched in place of the last state z of the direct prompt and labelledrecoveringif the model then answers correctly andfailedotherwise. The failed states and recovering states occupy different parts of the representation space, so that a linear probe predicts this label from a single state. The means of the question’s recovering and failed states, c+ and c−, give the task-solving direction d∝c + −0.5c −. Before generation, we rotate z onto the direction of d, keeping its norm; the direct prompt then writes four short lines and answers48instead of−40, even though the CoT itself answers80.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.직접 프롬프트 회전의 정확도와 토큰
LLaMA 3.1 8B에서 직접 프롬프트의 평균 정확도는 46%였고 CoT는 69%였습니다. λ가 0.5인 질문별 방향 dq(0.5)를 적용하자 정확도는 85%가 되었고, 생성 토큰은 평균 19개로 CoT의 197개보다 짧았습니다. Qwen 2.5 7B에서는 52%에서 86%로 올랐고, CoT는 77%, 생성 토큰은 19개 대 245개였습니다. λ를 0.5까지 높이면 정확도가 오르고 0.75에서는 내려갔습니다. 단, 이 결과는 프로브와 패칭 레이블을 이용해 질문별로 구성한 방향을 직접 프롬프트 상태에 적용한 조건에서 얻은 것입니다.

Table 2 : Rotating the last state of the direct prompt, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B (t = 1). Acc. (%) is macro-averaged over the 25 tasks, counting a question without a direction as incorrect; ∆s, computed before rounding, are from the direct and CoT prompts, and Tok. is the mean number of generated tokens. Appendix D.2 gives every task.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 4 : Accuracy and generated tokens per task when the state of the direct prompt is aligned withdq(0.5) (green), against the direct (grey ring) and CoT (brown) prompts, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B (t= 1 ). The number at the end of each row is the accuracy with dq(0.5). Each token bar runs to the tokens CoT generates per question, and its green part to those generated withd q(0.5); the direct prompt generates about one.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 11 : Generations of LLaMA 3.1 8B under the direct prompt, with its last state pointed towards dq(0.5) at layer 29 (t= 1 ), and under CoT. In the first four examples the direct prompt is wrong, and the direction reaches the answer of CoT in a few tokens. In the next two, the CoT and direct prompts are both wrong, and the direction reaches the correct answer with a short computation. Over all 25 tasks, both prompts are wrong on 1,867 of the 9,120 questions for LLaMA 3.1 8B and on 1,441 for Qwen 2.5 7B , and the direction reaches the correct answer on 1,192 (64%) and 1,014 (70%) of them. The last two come from tasks where CoT falls below the direct prompt: the direct prompt is already correct, the steps of CoT sway the model away from this answer, and the direction keeps it. Questions and CoT outputs are truncated (. . . ) for space.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.프로브의 분리 능력과 전이
과제별 프로브는 LLaMA 3.1 8B에서 평균 AUROC 0.84(범위 0.71에서 0.92), Qwen 2.5 7B에서 평균 0.80(범위 0.52에서 0.93)을 보였습니다. 대조 프로브로 검사한 선택성은 위치 정보를 넘어서는 분리가 있음을 보여 줍니다. 한 과제에서 학습한 프로브를 다른 과제에 적용했을 때 LLaMA 3.1 8B는 600쌍 중 587쌍, Qwen 2.5 7B는 600쌍 중 587쌍에서 평균 이상의 AUROC를 보였습니다. 같은 추론 유형 안의 전이가 다른 유형 사이보다 높았지만, 이는 관찰된 평균 차이이며 전이 원인을 확정한 것은 아닙니다.

Figure 2 : Out-of-fold AUROC of each task’s probe, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Figure 3 : Transfer of the probes across reasoning types, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B . Each cell is the mean AUROC of probes trained on a task of the row’s type and evaluated on a different task of the column’s type; outlined cells pair tasks of the same type. Under each matrix is the mean AUROC over all pairs of tasks of the same type and over all pairs of tasks of different types.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Table 5 : Per-task probes at the layers reported in the main text. n: questions, all of which are scored out of fold. AUROC ± the standard deviation of the per-fold AUROC; Figure 2 shows the same AUROC values to two decimals, rounded from the unrounded values. Sel. orig./w.-pos.: selectivity against the origin and within-position controls (Appendix C.2).
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.
Table 6 : Probe performance on the original and control tasks at each layer of the late band, summarised over the 25 tasks. Probe: mean out-of-fold AUROC, computed over all questions of each task. Control: mean AUROC of the origin (Orig.) and within-position (W.-pos.) con- trol probes (Appendix C.2). Selectivity: probe AUROC minus control AUROC.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.
Figure 6 : Transfer of the probes between every pair of tasks, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B . Each cell is the AUROC of a probe trained on the row’s task and evaluated on the column’s task; tasks are grouped by reasoning type. Cells run from ivory at chance (0.5) to green, and the diagonal, a probe on its own task (Figure 2), is left white. Plum cells fall below chance. Figure 3 averages these matrices over reasoning types.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Table 7 : Probe transfer per layer. Diagonal: mean out-of-fold AUROC within each task. Off-diagonal: mean AUROC of a probe trained on all questions of one task and scored on every state of another; >0.5: cells above chance; Sel. w.-pos.: mean selectivity against the within-position control. Same/Different: mean off-diagonal AUROC between tasks of the same or of a different reasoning type.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.회전 범위와 모든 토큰 적용의 차이
이는 생성을 시작하는 한 지점의 상태를 바꾸는 것과 다른 결과입니다. 이는 방향이 노름보다 정확도에 더 큰 영향을 준다는 관찰입니다.

Table 8 : Variations of the intervention, macro-averaged over the 25 tasks: accuracy in percent and mean tokens generated per question. Unless the block says otherwise, the last state of the direct prompt is rotated once, at layer 29 of LLaMA 3.1 8B and layer 25 of Qwen 2.5 7B . The main text uses t= 1 towards dq(0.5), which gives 85% forLLaMA 3.1 8Band 86% forQwen 2.5 7B.
원문 · CC BY 4.0 · Mehrafarin, Houman, Konstas, Ioannis · Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 제약
방향은 해당 질문 체인의 패칭 레이블로 만들어지므로 새 질문에 바로 적용할 수 없습니다. 직접 프롬프트만으로 학습한 회귀 예측기는 직접 프롬프트 수준의 정확도에 머물렀습니다. 더 큰 모델이나 긴 추론에 특화된 모델에서 회복 상태가 다르게 인코딩될 수 있는지는 이 논문에서 확인하지 않았습니다.
논문 정보
- 저자
- Mehrafarin, Houman, Konstas, Ioannis
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 18일
- 등록일
- 2026년 11월 20일
- 수정일
- 2026년 11월 18일
- 버전
- v1
- arXiv
- 2611.24598
- 분류
- cs.CL · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Chain-of-Thought (CoT) prompting improves the performance of Large Language Models by eliciting intermediate reasoning steps. However, CoT is far from perfect: on some tasks, models perform worse than with direct-answer prompting, and on others they generate a few hundred tokens to reach the correct answer. We start by labelling each CoT hidden state as recovering if patching it into the direct prompt yields the correct answer, and failed otherwise. A linear probe shows that the model encodes these two classes differently. We then show that the representation space of the direct prompt holds a direction for each question that leads the model, in a short generation, to the correct answer more often than CoT does. Specifically, we rotate the direct prompt's last hidden state once, before generation, towards a direction built for each question from its own recovering and failed states. Across 25 tasks, these directions raise the direct prompt's mean accuracy from $46\%$ to $85\%$ on LLaMA 3.1 8B (CoT: $69\%$) and from $52\%$ to $86\%$ on Qwen 2.5 7B (CoT: $77\%$), with a tenth of CoT's tokens. CoT is thus not the shortest route to this accuracy, and these directions can be used in future work to train models to align their states with them.
원문 인용
Mehrafarin, Houman, Konstas, Ioannis (2026). Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers. arXiv:2611.24598v1. https://arxiv.org/abs/2611.24598v1
BibTeX
@misc{houman2026chain,
title = {{Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers}},
author = {Mehrafarin, Houman and Konstas, Ioannis},
year = {2026},
eprint = {2611.24598},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.24598v1}
}