cs.LGJun 18, 2026

Learning through Internalization

Authors: Nikolaos TsilivisNirmit JoshiMarko MedvedevJulia KempeNati Srebro

Organizations: New York University · Toyota Technological Institute at Chicago · University of Chicago

Abstract

We study internalization processes, by which neural-network-based systems absorb an explicit computational procedure into their own weights, and how they facilitate learning. We investigate how transformers internalize the simulation of semiautomata by internalizing chain-of-thought (CoT) tokens, which classes of semiautomata are harder to internalize, and expose the flip side of internalization, that is, a progressive degradation of out-of-distribution performance. We then provide the first provable analysis of successful internalization: for the task of learning parities, we show that a simplified one-layer transformer provably first learns the target with explicit CoT supervision and then internalizes the autoregressive generation as CoT tokens are progressively removed, learning to directly compute the parity. This task is computationally hard to learn from data without CoT supervision. Finally, we discuss how learning through internalization relates to the \textit{Positive Distribution Shift} phenomenon recently introduced by~\citet{Med+26}.

Explore similar work

CardsList
  1. Randomly Initialized Networks Can Learn from Peer-to-Peer Consensus

    Apr 20, 2026Esteban Rodríguez-Betancourt, Edgar Casasola-MurilloConsensus-Based ProtocolEmergence