Explore the research collection
2 entries · Follow this search
- Paper
Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers
Motivated by speculation that Claude Mythos is a looped transformer: studies why looped-transformer LLMs are so powerful by testing implicit multi-hop reasoning — reasoning over parametric knowledge within a single forward pass, no chain-of-thought. Two generalization challenges: systematic generalization (combining knowledge never composed during training) and depth extrapolation (generalizing to deeper reasoning chains than seen in training). Finding: looped transformers generalize on both, vanilla transformers don't. Systematic generalization emerges only after a sharp 3-stage grokking transition (train accuracy first, OOD jumps later). Depth extrapolation: an LT trained on 20-hop questions generalizes to 30-hop at inference simply by scaling up the number of loop iterations — more loops enable deeper reasoning. Takeaway: most existing LLMs already encode rich knowledge; they lack the mechanisms to best combine/manipulate it, and recurrent depth provides that. Encouragement for pretraining LT-based LLMs. Part of the user's looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1563, 1566).
- Paper
A Theoretical Analysis of Generalization Dynamics in Neural Networks under Gradient Descent with Weight Decay
Theoretical framework characterizing how data, architecture, and training dynamics jointly shape generalization throughout training. Studies neural networks trained with L2 loss by gradient descent with weight decay; proves GD converges to a neighbourhood of the global minimizers of the empirical loss, then partitions the input space into data-centered cells and decomposes population risk into three explicit terms: E_opt (optimization error on training data), E_PV (propagation-variation error: how predictions oscillate within each cell), and E_A (approximation error: how far ground truth is from the function class). The culprit behind memorization without generalization is E_PV: E_opt vanishes early while E_PV stays large. Under approximate Euler homogeneity, layerwise variation satisfies a differential inequality with explicit contraction rate lambda_l >= 1 - 2(1 + L) eta_2 lambda-bar, bounding E_PV by the initial hypothesis variation decaying exponentially in steps at a rate proportional to weight decay. Yields a closed-form grokking residency time (Steps ~ Omega(log(Initial_Var / budget) / (lambda-bar * eta_2 * sum L_l))): weight decay accelerates generalization, deeper networks contract faster, smoother initialization shortens the delay. Bounds are qualitative -- constants depend on suprema over parameter balls and loss smoothness, so they give rates and scaling laws, not exact step counts.