arXiv:2609.35769cs.CLSep 2026

Manuscript Offprint

arXiv:2609.35769

Telescopic Language Models

Zhilin Guo, Boqiao Zhang, Hakan Aktas, Kyle Fogarty, Nursena Koprucu Aslan, Wenzhao Li, Canberk Baykal, Albert Miao, Siyu Hong, Yixiao Liu, Adam Wu, Ashish Kumar Singh, Sakar Khattar, Chenliang Zhou, Weihao Xia, Cristina Nader Vasconcelos, Cengiz Oztireli

ABSTRACT

One deployed language model must often serve many compute budgets, yet serving each budget still means a separate training or compression run per point. We train a Telescopic Language Model (TLM) to be that continuum: a nested-capacity Transformer supervised by stochastic prefix supervision with a full anchor. At every step, one randomly truncated prefix of the capacity axis is trained against the full next-token target, alongside one full-capacity pass, so the trained artifact is a valid language model at every depth. Two forward-backward passes per step, no architectural change, nothing extra at inference. Fixed-exit suites such as Matryoshka Language Model Suites (MLMS) occupy one point in this design space, and the point has a cost: supervising only a few fixed exits leaves the nested model at chance level everywhere else (perplexity 102−10510^{2}-10^{5} in our baselines). On a 200M proxy suite (20B FineWeb-Edu tokens, identical data stream for all methods), a single TLM run is a valid language model at every one of its twenty layer prefixes, in perplexity and on perplexity-sensitive downstream tasks, reducing the area under the quality-budget curve by 43–44% relative to the fixed-exit suites while matching them at full capacity, at ∼12%\sim12\% lower GPU cost per run. The prefix sampling density is a dial: concentrating it on a few depths recovers fixed-exit quality there at the price of the continuum, so the operating points become a training-time choice rather than an architectural one. These results indicate that the training objective, not the nesting itself, is what makes a model elastic.

1 INTRODUCTION

Language models are deployed across devices and latency budgets that differ by orders of magnitude, from on-device assistants to datacenter endpoints. Serving this range today means training a separate model per budget, or compressing a large model post hoc and accepting the quality loss. Both options multiply cost: either M full training runs for M operating points, or a compression pipeline whose products trail models trained natively at their size.

Nested-capacity cascades promise a cheaper route: sub-models of increasing width and depth stacked into one Transformer trained end-to-end, so a single run can in principle serve many sizes. The established instance, Matryoshka Language Model Suites (Godey & Artzi, 2026), supervises only M=3 fixed exits, with online distillation from the largest sub-model. We find that the objective, not the cascade, decides what gets served: at any depth other than a trained exit, the nested model is effectively unusable, validation perplexity rising from ∼20\sim20 at the exits to 102−10510^{2}-10^{5} (up to ∼4×105\sim4\times10^{5}) at untrained depths (Figure 2). The continuum of operating points that the cascade appears to offer is not realized.

The continuum needs no new architecture, only a new objective. We train the unchanged cascade with stochastic prefix supervision and a full anchor: at every optimization step, we sample one prefix length k from a distribution over all depths, evaluate the next-token loss of the k-prefix against the full training target, and add the loss of the full model on the same batch. The cost is two forward-backward passes per step; the architecture and inference are unchanged: the trained artifact

Figure

Figure 1: One training run, a valid language model at every depth. Top: vanilla LLMs train a separate standalone model per budget (our 50M/100M/200M twins, annotated with validation perplexity) — the best quality per size, but M runs, M artifacts, and nothing in between. Middle: MLMS (Godey & Artzi, 2026) nests the budgets in one 20-layer cascade but supervises only three fixed exits (green); every other prefix is untrained and collapses (hatched). Bottom: a Telescopic Language Model trains one random prefix per step against the full target, so every prefix of the same cascade is a valid language model (gradient: deeper prefixes are larger models). The result is a continuum of operating points from one run, with the full-size peak close to a separately trained twin (14.99 vs. 13.98 perplexity).

is truncated at any depth and used directly. We call the resulting model a Telescopic Language Model (TLM), because its capacity extends and collapses smoothly along a single ordered axis. The off-exit collapse, we will show, is a property of the fixed-exit objective, not of the nesting.

On the 200M-parameter MLMS proxy suite, trained on 20B FineWeb-Edu tokens with an identical data stream for every method, our main findings are:

• A continuum from one run. Trained with a uniform prefix sampler, TLM is a valid language model at every one of its twenty layer prefixes. At depths MLMS does not train, where its perplexity reaches 102−10510^{2}-10^{5}, TLM decreases smoothly (81 PPL at k=1k=1 to 15 at k=20k=20); the area under the quality-budget curve drops by 43–44% (AULB 3.28 vs. 5.73–5.90).

• Valid below the smallest exit. TLM serves ten operating points below MLMS’s 50M exit, down to 0.11×0.11 \times full latency at PPL 26–81, where MLMS’s own prefixes collapse.

• No added full-capacity tax. The same uniform arm is on par with the MLMS suites at the full 200M operating point (14.99 perplexity, within their 14.96–15.42 span). Shifting the sampler toward MLMS’s exits trades the continuum for full-size quality: a single seed reaches 14.65 (a 2.2% edge over MLMS, within seed noise) and cuts the remaining gap to a standalone vanilla twin by a third (4.8% vs. 7.1%).

• A dial, not a wall. The prefix sampling density π\pi controls the trade-off between prefix coverage and trained-exit quality: concentrating π\pi on the MLMS exit depths improves quality at those exits relative to uniform sampling but sacrifices off-exit coverage ( §4.3§4.3). That endpoint shares MLMS’s exit grid while retaining TLM’s sampled-prefix-plus-anchor objective — the operating points are a training-time choice, and no single setting dominates on both axes.

• Lower cost per operating point. The uniform TLM run costs 131 GPU-hours ( ∼\sim12% less than a distillation-free MLMS suite at 149, and 1.7×1.7\times less than the vanilla three-model suite at 216) while delivering twenty operating points instead of three.

These results instantiate a broader training principle, stochastic prefix supervision with a full anchor, previously validated on 3D Gaussian splatting (Guo et al., 2026): when a model's capacity lives in an ordered list of units, supervising one random prefix per step against the full target, alongside the full model, turns that model into a continuum of models. We show that on the language-model capacity axis this yields a single model that is a continuous quality-budget frontier — every depth served, the peak preserved relative to the fixed-exit suites — and characterize the trade-offs that govern where the sampler can be placed.

2 RELATED WORK

Nested and Matryoshka models. Matryoshka Representation Learning (Kusupati et al., 2022) trains embeddings that remain useful when truncated to any of a fixed grid of dimensions, and nested dropout (Rippel et al., 2014) showed that sampling a truncation point each step induces an ordered, continuously truncatable representation. On the language-model axis, MatFormer (Devvrit et al., 2023) nests FFN widths inside a decoder, and MLMS (Godey & Artzi, 2026) nests submodels in both width and depth with per-exit supervision plus distillation, delivering three operating points per run. MatFormer's headline finding is that never-trained intermediate widths remain usable (Mix'n'Match), which sits at odds with our motivating question: can one run deliver a valid model at every depth? The reconciliation is where the nesting lives and what is supervised along it: MatFormer nests width within each layer under a single output head trained on every step, so every truncation shares a calibrated readout, whereas MLMS nests depth across sub-models whose per-exit heads are each trained only at their own exit, so an off-exit prefix pairs a trained trunk with a head that never saw it (our readout-rescue control attributes most of the collapse to this miscalibration). TLM trains the same cascade with a different objective: one stochastically sampled prefix per step over a continuous depth grid, plus a full-capacity anchor — a continuum of operating points at a fixed two passes per step, with fixed-exit supervision as the special case.

Slimmable networks. Slimmable and universally slimmable networks (Yu et al., 2019; Yu & Huang, 2019) train CNNs that run at several widths via a sandwich rule with in-place distillation; SortedNet (Valipour et al., 2023) generalizes this to random sub-networks, and Once-for-All (Cai et al., 2020) and Flextron (Cai et al., 2024) train or build elastic supernets that supervise multiple configurations per step, with Once-for-All further distilling from the model's own full output; we supervise exactly one sampled prefix plus the full model, and match the full task target rather than a teacher distribution.

Early exits and random depth. Early-exit models (Teerapittayanon et al., 2016; Kaya et al., 2019; Xin et al., 2020; Elhoushi et al., 2024) attach heads at intermediate layers so easy inputs exit early, Mixture-of-Depths (Raposo et al., 2024) varies compute per token, and others learn per-token exit decisions (Elbayad et al., 2020; Schuster et al., 2022); the exits remain a fixed set of intended operating points. The closest training mechanism to ours is random-depth supervision: stochastic depth (Huang et al., 2016) and LayerDrop (Fan et al., 2020) drop blocks per step, and DynaBERT (Hou et al., 2020) trains width- and depth-adaptive sub-networks. These share our “train a random depth each step” skeleton, but they drop layers within a single shared-head stack rather than training one sampled prefix of a width-growing cascade against the full task target, and they add no full-capacity anchor; our LayerDrop control tests whether random-depth robustness alone yields a continuum. Early exits are complementary: a TLM prefix can itself serve as the draft in speculative decoding (Leviathan et al., 2023).

Other budget axes and post-hoc compression. MQT-LLaVA (Hu et al., 2024b) samples a token budget per step and MatryoshkaKV (Lin et al., 2025) samples KV-cache ranks, but neither combines a sampled budget, a full anchor, and full-target matching on an ordered capacity axis. Post-hoc compression — structured pruning of width (Ashkboos et al., 2024; Ma et al., 2023) or depth (Gromov et al., 2024; Men et al., 2024) and per-size distillation (Hinton et al., 2015; Sanh et al., 2019) — derives smaller models after the fact, one compression pass per target, and the products generally lag a natively trained model of the same size; we compare against independently trained vanilla models, the strongest in-hand competitor (§4).

The same objective elsewhere. Stochastic prefix supervision with a full anchor was previously instantiated on 3D Gaussian splatting (Guo et al., 2026), where the units are opacity-ordered splats and the same two-pass objective yields a smooth, concave quality–budget frontier with preserved peak quality. TLM carries the principle to language-model capacity, where the units are nested Transformer blocks and per-budget evaluation is expensive, which is precisely the regime in which the two-pass design beats per-exit supervision on cost.

References (40)