How Depth Growth and Looping Shape In-Context Learning in Language Models
Ferdinand Kapl, Kaitlin Maile, Stefan Bauer, Johannes von Oswald
Abstract
Looped and depth-grown language models reuse computations across depth and have attracted interest for their reasoning capabilities. Building on prior suggestive evidence of improved in-context-learning (ICL), we investigate how such reuse favors ICL, including how it shapes the acquisition, retention, and mechanisms of this ability. Our analysis spans pretrained language models up to 3B parameters and controlled tasks. The experiments provide evidence for a shared inductive bias toward learning from context: grown and looped models rely more on information in context and, compared with a full-depth dense reference, acquire ICL earlier in controlled tasks and retain it more strongly when learning fixed associations in the weights is also possible. Tracing attention heads through training reveals that depth growth propagates early induction heads across layers. Ablations show that grown and looped models rely more strongly on induction-ranked heads for both few-shot performance and later-token prediction. Together, these findings provide evidence for a shared inductive bias toward learning from context and suggest that (soft) parameter reuse shapes how this ability develops and which attention mechanisms support it.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.LG
Related papers
Definition-Guided In-Context Learning for Zero-Shot Spoken Language Understanding
Shared title terminologycs.CLNeeraj Agrawala, Sriram Ganapathy
LimeTree: Linear-Memory Graph Neural Networks over Tree-Graphs for Resource-Efficient Language Modeling and Context Extrapolation
Shared title terminologycs.CLElisabeth Fink
Does the Outfit Change the Price? Context Halo in Vision-Language Model Valuation of an Identical Low-Cost Necklace
Shared title terminologycs.CLBrianne Lee
One Model, Two Paths: Balancing Single-Pass and Looped Performance in Language Models
Shared title terminologycs.CLJiarun Shen, Lei Zhao, Xiao Li
Do Halting Heads Really Save Compute in Looped Language Models?
Shared title terminologycs.CLTsung-Han Wu, Minsuk Heo, Kenny Tan
From Noisy Retrieval to Decision Evidence: Silver Evidence Demonstrations for In-Context Learning
Shared title terminologycs.CLMasoud Monajatipoor, Fazlolah Mohaghegh, Hamid Reza Hassanzadeh et al.