Recursive Language Models Generalize Out of Domain
Abstract
We study when limiting what a language model can see improves learning. We compare standard CoT, the more general learner that reads the full trace, with recursive language models, which restricts itself by solving each subtask in an isolated context. In-distribution, this generality comes for free: CoT can efficiently simulate the recursive rule, so the IID generalization guarantee changes only by a constant factor, and recursion does not offer much. But out of domain, CoT can fit training by relying on context outside the current subtask, i.e. a shortcut that breaks once those tokens change; recursive context isolation rules out this failure mode. Even though CoT's class still covers the recursive rule, simplicity bias picks the shortcut over the truth. Thus, to go beyond distributional accuracy and truly reason, covering the right rule is not enough; this contrasts with classical learning theory.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
Related papers
The Cross-Domain Generalization Cost of Offensive Language Detection
Shared title terminologycs.CLRuixing Ren, Junhui Zhao, Xiaoke Sun et al.
Trustworthiness Costs of Domain Adaptation in Small Language Models:A Cross-Architecture Empirical Study
Shared title terminologycs.CLRamesh B. Paramkusham
Internal Knowledge Without External Expression: Probing the Generalization Boundary of a Classical Chinese Language Model
Shared title terminologycs.CLJiuting Chen, Yuan Lian, Hao Wu et al.
Repairing the Trustworthiness of Distilled Language Models
Shared title terminologycs.CLKumar Shubham, Devendra Vyas, Vidushi Agarwal et al.
The Linguistic Knowledge Benchmark: Do Language Models Know the Foundations of Early-Grade Literacy?
Shared title terminologycs.CLMaxime Lelièvre, Alasdair Mackintosh, Dominic Andrews et al.
VulnSafe: Measuring Vulnerability-Aware Relational Safety in Large Language Models
Shared title terminologycs.CLJiaming Luo, Jiacheng Ji, Haoan Jin et al.