mlsanityData to 24 Nov 2026

How Depth Growth and Looping Shape In-Context Learning in Language Models

arXiv 2610.31421 ↗Submitted 22 Oct 2026cs.CL cs.AI cs.LGcited by 0

On the map: LLM reasoning → Reasoning benchmarks and evaluation also fits: Prompting and chain-of-thought reasoning

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 39 of its 46 references that are in the map. Submitted 22 Oct 2026.

Builds on

39 of 46 references.

References · 39

  1. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  2. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  3. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,890
  4. 2018Universal Transformerscited by 769
  5. 2022Transformers learn in-context by gradient descentcited by 763
  6. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 754
  7. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 713
  8. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
  9. 2023Function Vectors in Large Language Modelscited by 353
  10. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 326
  11. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 303
  12. 2023Looped Transformers as Programmable Computerscited by 283
27 more
  1. 2015Net2Net: Accelerating Learning via Knowledge Transfercited by 261
  2. 2025Scaling Latent Reasoning via Looped Language Modelscited by 241
  3. 2025Hierarchical Reasoning Modelcited by 216
  4. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 186
  5. 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 186
  6. 2024OLMES: A Standard for Language Model Evaluationscited by 129
  7. 2024Looped Transformers for Length Generalizationcited by 119
  8. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 119
  9. 2024In-Context Language Learning: Architectures and Algorithmscited by 98
  10. 2024What needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formationcited by 98
  11. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 92
  12. 2023Learning to Grow Pretrained Models for Efficient Transformer Trainingcited by 87
  13. 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 87
  14. 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 76
  15. 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 72
  16. 2025Which Attention Heads Matter for In-Context Learning?cited by 68
  17. 2024ICLR: In-Context Learning of Representationscited by 58
  18. 2024Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Trainingcited by 45
  19. 2018Recurrent Stacking of Layers for Compact Neural Machine Translation Modelscited by 40
  20. 2023Masked Structural Growth for 2x Faster Language Model Pre-trainingcited by 36
  21. 2026SMELT: Scaling Laws for Compute-Matched MoE Looped Transformerscited by 33
  22. 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughtscited by 31
  23. 2024On the Inductive Bias of Stacking Towards Improving Reasoningcited by 22
  24. 2023Composable Function-preserving Expansions for Transformer Architecturescited by 15
  25. 2026From Growing to Looping: A Unified View of Iterative Computation in LLMscited by 11
  26. 2025Predicting the Emergence of Induction Heads in Language Model Pretrainingcited by 10
  27. 2025Do Depth-Grown Models Overcome the Curse of Depth? An In-Depth Analysiscited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scale
  2. 2025How Do LLMs Use Their Depth?
  3. 2023Is attention required for ICL? Exploring the Relationship Between Model Architecture and In-Context Learning Ability
  4. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  5. 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning
  6. 2026Attention Routing Stabilizes Early: Working-Set Inference for Recurrent Language Models
  7. 2026Persistent Depth Ordering amid Shifting Block-Bypass Responses in Language Model Pretraining
  8. 2026Learning from Recurrence: Internalizing Depth-Induced Preferences in Looped Language Models