Paper Reading AI Learner

Which State Should Prediction Read? A Mechanistic Analysis of State-Prediction Separation

2026-11-27 05:26:18
Ryan Kim

Abstract

Each hidden state in a decoder-only Transformer does two jobs: it stores context for later tokens and predicts the next token. To trace each job on its own, we give the two jobs separate towers with separate weights. In attention patterns, we find that state heads record the previous token at each position and prediction heads match against that record. Ablating these state heads, we observe that prediction's retrieval weakens more than its other predictions, and restoring one of them after the context is corrupted recovers part of it. Our probes show that state keeps previous-token information through all its layers, while prediction loses it in its later layers. Restricting prediction's reads and lesioning layers, we find that it depends most on later state layers and distant positions. We therefore design Sequential, in which every prediction layer reads the final state. At equal non-embedding parameters and floating-point operations (FLOPs), we show that Sequential beats the Transformer at all four sizes we compare, up to 327M non-embedding parameters: validation loss is lower by 0.042-0.079 nats/token and zero-shot accuracy is higher. Sequential also leads on out-of-domain text at 92M and 327M and, at 92M, keeps its lead across 32K-token documents. Against State-Prediction Separation (SPS), which spends nearly twice the FLOPs per token, Sequential matches or beats it per token at small sizes and beats it at equal training FLOPs.

Abstract (translated)

URL

https://arxiv.org/abs/2611.36917

PDF

https://arxiv.org/pdf/2611.36917.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot