Vibeleaderboard
← All Intel
Intel / article

One Model to Loop Them All: Elastic Latent Recurrence for Language Models

Source
arxiv.org
Author
Faisal Ladhak, Shantanu Acharya, Santiago Akle Serano, Simeng Sun, Boris Ginsburg, Krishna C Puvvada
Date

Context

Elastic Latent Recurrence lets one spend more computation by repeating part of its internal processing. The paper trains a shared block of layers to work at several loop counts, preserving useful performance when it runs only once. Additional passes reuse the same learned parameters.

In the four-billion-parameter experiment, the one-loop model averaged 65.1% across ten tasks, close to the matched non-recurrent baseline's 65.7%. Four loops raised that average to 72.4%. This offers a computation-versus-accuracy choice within one trained model: extra passes cost processing time without requiring a larger set of model weights.

Key takeaways · AI-distilled
  • Three choices remove the one-loop tax: a gated state update with a learned step size, loop counts mixed within each optimizer update, and conditioning each pass on its loop index and budget. The first two preserve one-loop accuracy; the third lowers loss at every extra loop.
  • Mixed loop depths can be introduced late in to limit added training cost. With zero-initialized conditioning added at the switch, the authors report this late schedule reaches lower loss than mixed-depth training from scratch.
  • At inference, keeping only the last loop's attention holds KV memory at its one-loop level while keeping most of the gain from extra loops. In models, reusing first-loop expert routes on later loops cut mixed-depth update time by 11.7% at no measurable accuracy cost.
  • On 4B dense and 30B-A3B MoE hybrids, one loop scores 0.52 points below and 1.04 points above matched baselines on a ten-task average; four loops add 7.25 and 4.75 points. The post-trained Koi-4B scores an estimated 18 on the AA Intelligence Index at one loop and 29 at four.
Terms in this piece · Glossary
  • Large language model — A model trained on large amounts of data to process and generate language.
  • pretraining — The first, biggest phase of building a model: training it on enormous amounts of text so it learns language, facts, and reasoning in general.
  • KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.
  • mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Tools in this story
Recommended reads