arXiv Machine Learning By Ziyan Chen, Zhongzhu Zhou, Peilin Liu, Ding-Xuan Zhou

Linear RNN Scaling Laws: When Longer Sequences Beat More Sequences

Read the original on arXiv Machine Learning →

The paper presents empirical scaling laws for autoregressive language models, linking prediction loss to model size, data size, and compute, and investigates their theoretical basis using a teacher–student linear RNN framework. In this tractable setting, a stable latent linear RNN generates trajectories while a sketched linear recurrent student is trained via full‑batch WSD gradient descent on next‑token prediction. The study derives explicit approximation, optimization, and statistical scaling laws that depend on the sketch dimension, number of trajectories, and trajectory length, revealing how different power‑law exponents for innovation and initialization covariances affect the rates and crossovers between regimes.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
4d ago

Learning from Transients: Linear RNN Scaling Laws in Stationary Prediction

The paper investigates how organizing a fixed number of transitions into independent trajectories influences a stationary prediction task using a Gaussian‑sketched linear recurrent teacher–student model. It derives matching scaling laws for stationary approximation, bias, variance, and total risk under full‑batch gradient descent with stable learning rates, showing that trajectory count and length affect variance through their product when initialization decays spectrally. The study also finds that heavier initialization tails can improve finite‑time bias while keeping stationary oracle shift controlled, and demonstrates that constant‑length trajectories achieve optimal risk scaling under token and compute constraints, supported by synthetic experiments.

By Ziyan Chen, Linhe Zheng, Peilin Liu, Zhongzhu Zhou, Ding-Xuan Zhou
Hugging Face Trending Papers
Sep 2

Momentum in large-batch training: Polyak enlarges the critical batch size, Nesterov improves data efficiency

The paper investigates how momentum methods affect large‑batch training in a one‑pass setting using power‑law kernel regression. It derives critical learning rates for SGD, Polyak, and Nesterov, and shows how these rates depend on batch size, momentum, and model capacity. The authors provide scaling laws for risk dynamics, a three‑regime batch‑size phase diagram, and demonstrate that Polyak increases the critical batch size while Nesterov improves data efficiency in the large‑batch regime.

arXiv Machine Learning
Oct 5

Why Does Adaptive Batching Help LLM Pretraining? A Perspective from Unbounded Variance

The paper investigates why increasing batch size during large language model pretraining helps, challenging the common assumption of bounded stochastic gradient variance. By introducing a generalized Blum–Gladyshev noise model that allows variance to grow with a tunable exponent, the authors derive theoretical bounds on oracle complexity and design an adaptive batch scheduler that adjusts batch size dynamically. Experiments on OLMo2 models up to 1B parameters show that this scheduler achieves lower validation loss than fixed small or large batch training while using fewer iterations.

By Arda Fazla, Antesh Upadhyay, Ege C. Kaya, M. Berk Sahin, Abolfazl Hashemi
arXiv Machine Learning
Sep 3

Momentum in large-batch training: Polyak enlarges the critical batch size, Nesterov improves data efficiency

The paper investigates how momentum methods affect large‑batch training in a one‑pass setting using power‑law kernel regression. It derives critical learning rates for SGD, Polyak, and Nesterov, and shows how these rates depend on batch size, momentum, and a capacity exponent. The authors then analyze risk dynamics, optimize final‑step risk under a fixed data budget, and present a three‑regime batch‑size phase diagram that highlights Polyak’s ability to enlarge the critical batch size and Nesterov’s superior data efficiency in the large‑batch regime.

By Jia-Nan Wang, Zixun Huang, Kairui Li, Lei Wu