INQUIRING LINE

Can a model learn to apply known skills in brand-new combinations just by looping its layers more times?

Can recurrent depth alone explain compositional generalization in reasoning tasks?

This explores whether re-running the same layers in a loop (recurrent depth) is enough, by itself, to make a model combine known skills in new ways on reasoning tasks — or whether other ingredients, like training data coverage and how skills are stored inside the network, do much of the work.


This explores whether looping a model's layers is, by itself, what lets it combine learned skills in new ways, or whether that's only one ingredient. The corpus says recurrent depth helps, but it can't carry the explanation alone. The strongest case for it comes from looped architectures, where re-applying the same layers beats larger feedforward networks on reasoning tasks: iteration lets the model track state step by step, something adding parameters doesn't buy Can models learn by looping instead of growing larger?. A related hint comes from small language models, where deep-and-thin designs beat wider ones because concepts get composed layer by layer Does depth matter more than width for tiny language models?.

The trouble for a depth-only story is that composition also shows up with no recurrence at all. Plain MLPs generalize compositionally through data and model scale alone, as long as training covers enough combinations of the underlying task pieces Can neural networks learn compositional skills without symbolic mechanisms?. And networks sort compositional tasks into separate subnetworks without being told to, with pretraining making that modular structure more reliable Do neural networks naturally learn modular compositional structure?. So two other things matter at least as much as the loop: what the model saw during training, and whether the pieces end up stored as cleanly separable parts. The MLP work even offers a test: if you can read the constituent parts out of the hidden activations with a simple linear probe, generalization tends to follow.

The failure cases point the same way. Standard transformers often succeed on compositional tasks by matching memorized fragments of computations from training, and they break down on novel combinations, with errors compounding at each step Do transformers actually learn systematic compositional reasoning?. Chain-of-thought is itself a kind of loop, since the model feeds its own output back in, yet it degrades predictably when the task, length, or format shifts away from training, producing fluent reasoning that doesn't hold together logically Does chain-of-thought reasoning actually generalize beyond training data?. More iterations give a model room to run a procedure; they don't guarantee it learned a procedure worth running.

There's also evidence that depth is the wrong axis for some problems. Spending test-time compute on a diverse set of abstractions, a breadth-first move, outperforms simply sampling more solutions at large budgets, and avoids the trap where a single deep chain commits early and underthinks Can abstractions guide exploration better than depth alone?.

The picture that emerges: recurrent depth supplies the steps, but composition needs reusable parts and training that covers how they combine. That is the reframing the corpus keeps returning to, that the open question is no longer whether neural networks can compose but how they manage it without explicit symbolic structure Can neural networks actually achieve compositional generalization?. One caveat: nothing here directly isolates looping from data coverage in a single experiment, so how much each contributes is still an inference across separate studies.


Sources 8 notes

Can models learn by looping instead of growing larger?

Models that re-apply layers in recurrent depth outperform larger feedforward networks on reasoning tasks. This works because recursion enables state tracking and compositional generalization that parameter scaling alone cannot achieve, with convergence signals providing natural halting.

Does depth matter more than width for tiny language models?

MobileLLM shows deep-and-thin architectures yield 2.7–4.3% accuracy gains over balanced designs at 125M–350M scale by composing abstract concepts through layers rather than spreading parameters across width.

Can neural networks learn compositional skills without symbolic mechanisms?

Standard MLPs achieve compositional generalization through data and model scaling alone, without architectural modifications, provided the training distribution sufficiently covers combinations of task modules. Linear decodability of constituents from hidden activations reliably predicts success.

Do neural networks naturally learn modular compositional structure?

Pruning experiments reveal that neural networks implement compositional subroutines in isolated subnetworks, with ablations affecting only their corresponding function. Pretraining substantially increases the consistency and reliability of this modular structure across architectures and domains.

Do transformers actually learn systematic compositional reasoning?

Research shows transformers succeed on in-distribution tasks by memorizing computation subgraphs from training data, not by learning systematic rules. They fail drastically on novel compositions, with errors compounding across reasoning steps.

Show all 8 sources
Does chain-of-thought reasoning actually generalize beyond training data?

DataAlchemy experiments show CoT fails systematically under distributional shifts in task, length, and format. Models produce fluent but logically inconsistent reasoning — imitating reasoning form without valid underlying logic.

Can abstractions guide exploration better than depth alone?

RLAD jointly trains abstraction and solution generators, showing that allocating test-time compute to diverse abstractions outperforms parallel solution sampling at large budgets. Abstractions create structured breadth-first exploration that prevents the underthinking failure mode of depth-only reasoning chains.

Can neural networks actually achieve compositional generalization?

DNNs and LLMs now demonstrate sophisticated compositional processing—complex syntax, logical reasoning chains, original code generation—challenging the classical Fodor-Pylyshyn argument that connectionism cannot support compositionality. The debate shifts from whether neural nets can compose to how they do so without explicit constituent structure.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.