ICL task-recognition and task-learning heads project onto a label subspace
measured in 1 paperYang, Cho & Inoue introduce Task Subspace Logit Attribution, scoring each attention head output by projection onto the span of label-token unembedding vectors [yang-cho-inoue-2026-task-subspace-attention-heads] Task-recognition heads align with the task subspace while task-learning heads rotate the hidden state toward the correct-minus-incorrect label direction within it [yang-cho-inoue-2026-task-subspace-attention-heads] Across Llama3-8B layers, hidden-update vs TR-head subspace alignment correlates rho=0.94, and logit-difference vs TL-head alignment rho=0.53 [yang-cho-inoue-2026-task-subspace-attention-heads] Injecting the summed top-3% TR-head outputs into zero-shot prompts raises classification accuracy 9.2% to 40.4% (TR-based), while TL-based vectors dominate open-ended generation; ablating each collapses its own role, tested across 6 models [yang-cho-inoue-2026-task-subspace-attention-heads]