English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Tapered Language Models: Mila and Cornell Show Deeper Layers Des Fewer Parameters

Forum topic · 小凯 · 2026-07-04

Summary

Researchers from Mila and Cornell University propose Tapered Language Models (TLMs), an architecture principle that redistributes MLP width across depth instead of keeping every layer identical. Their analysis shows that deeper layers' MLP outputs increasingly align with the residual stream (cosine similarity rising with depth, Pearson correlation 0.49–0.71), meaning late layers mostly refine existing features rather than compute new ones. By monotonically decreasing a capacity dimension with depth—best achieved with cosine tapering from 1.5x baseline width in shallow layers to 0.5x in deep layers—they improve validation perplexity from 16.28 to 14.44 on a 440M Transformer with zero extra parameters, training FLOPs, or inference FLOPs. The gains replicate across standard Transformers, Gated Attention, Hope-attention, and Titans architectures at 440M, 760M, and 1.3B scales, suggesting depth-aware capacity allocation is an architecture-agnostic design axis that also applies to attention heads, KV dimensions, recurrent state size, memory slots, and MoE expert counts.

Tapered Language Models: A "Free Lunch" Hidden in Plain Sight

> Paper: Tapered Language Models (arXiv:2606.23670) > Institutions: Mila × Cornell University > Core finding: Changing MLP width from a "one-size-fits-all" scheme to one that tapers with depth significantly improves model quality—without spending a single extra FLOP.

---

A Nine-Year-Old Unquestioned Assumption

Since the Transformer was born in 2017, nearly all large language models have followed an unwritten rule: every layer looks identical, with parameters distributed evenly.

Transformers, RNNs, Mamba, Titans... they differ on the surface, but share the same skeleton: a stack of L identical blocks, each containing a token-mixing module (attention/recurrence/memory) plus an MLP. The MLP's intermediate width d_ff stays exactly the same from the first layer to the last.

Nobody questioned this uniform allocation—it's convenient, intuitive, and easy to engineer. But the Mila/Cornell team asked a deceptively simple question:

If each layer does something different, why should they receive the same number of parameters?

---

The Experiment: Three Segments, Different "Diets"

The team split a 440M-parameter Transformer into three segments and, keeping total parameters fixed, gave each segment a different MLP width:

| Configuration | Shallow | Middle | Deep | Val. Perplexity | |------|------|------|------|-----------| | Uniform baseline | Standard | Standard | Standard | 16.28 | | Wide-front, narrow-back (A) | Wider | Standard | Narrower | 15.96 ✅ | | Narrow-front, wide-back (B) | Narrower | Standard | Wider | 17.29 ❌ | | Wide-middle (C) | Standard | Wider | Standard | 16.61 ❌ |

Pushing parameters toward the front (wider shallow layers, narrower deep layers) won, beating the uniform baseline by 0.32 perplexity points. Reversing the direction caused a collapse of over a full point—at the same parameter budget, only the *allocation direction* differed. Widening the middle layers also failed. The effect is directional: build up front, trim the back.

---

The Core Insight: Deep Layers Are "Slacking Off"—Mathematically

Why don't deep layers need as many parameters? Because they mostly coast.

The team measured how aligned each MLP's output is with the residual stream entering that layer, using cosine similarity:

  • Cosine similarity near 0: the MLP output is nearly orthogonal to the residual—it's computing new features
  • Cosine similarity near 1: the output reinforces existing content
  • \[\rho_{MLP}^{(l)} = \cos\left( F_l(z_l), h_l \right)\]

    Results were consistent across GPT-2 family scales:

  • Shallow layers: low ρ → MLPs genuinely working, producing new features
  • Deep layers: ρ climbs steadily → MLPs increasingly act as "repeaters," fine-tuning the existing residual stream
  • Pearson correlations between 0.49 and 0.71—this is a systematic trend, not noise. This explains why tapering works: spend the budget where new information is being created (shallow layers), reclaim it from saturated ones (deep layers).

    ---

    Tapered Language Models: Three "Slimming Curves"

    TLMs formalize the principle: with a fixed parameter budget, let some capacity dimension decrease monotonically with depth.

    1. Linear decay

    \[d_{ff}(l) = d_{start} - (d_{start} - d_{end}) \cdot \frac{l}{L-1}\]

    2. Cosine decay ⭐ Best

    \[d_{ff}(l) = d_{end} + \frac{d_{start} - d_{end}}{2} \left( 1 + \cos\frac{\pi l}{L-1} \right)\]

    Soft "plateaus" at both ends with a smooth middle transition. It consistently beat linear and sigmoid schedules.

    3. Sigmoid decay

    \[d_{ff}(l) = d_{end} + \frac{d_{start} - d_{end}}{1 + e^{k(\frac{l}{L-1} - 0.5)}}\]

    Change concentrated in one middle segment; worst performer.

    Best configuration: cosine + d_start/d_end = 1.5/0.5—shallowest MLPs at 1.5× baseline width, deepest at 0.5×, smoothly interpolated.

    ---

    Cross-Architecture, Cross-Scale Validation

    The gains held across four different token-mixing architectures:

    | Architecture | Mechanism | Tapering Effect | |------|---------|-------------| | Standard Transformer | Softmax self-attention | ✅ Perplexity and downstream improvements | | Gated Attention | Output-gated attention | ✅ | | Hope-attention | Self-modifying memory | ✅ | | Titans | Neural long-term memory | ✅ |

    Three scales (440M, 760M, 1.3B) all agreed. Tapering gains are independent of the token-mixing form—it's about how parameters are allocated along depth, an architecture-agnostic principle.

    ---

    Results: A Genuinely Free Lunch

    With cosine tapering (1.5/0.5) on a 440M Transformer:

  • Validation perplexity: 16.28 → 14.44, a 1.84-point improvement
  • WikiText and LAMBADA perplexity: improved
  • Average accuracy on 8 commonsense reasoning benchmarks: consistently improved
  • The key: zero extra cost. Total parameters unchanged, training FLOPs unchanged, inference FLOPs unchanged. Not a bigger model—a smarter allocation of the same model.

    ---

    The Bigger Picture: Depth-Aware Architecture Design

    Depth is not egalitarian. Shallow layers extract new features; deep layers refine and integrate—but refinement doesn't need the same bandwidth as extraction.

    Tapering also extends beyond MLP width to:

  • Attention head count
  • Key-value dimension
  • Recurrent state size
  • Memory slot count
  • MoE expert count
  • ---

    Limitations and Open Questions

    1. The optimal ratio isn't universal: 1.5/0.5 was found at 440M; other scales may differ. 2. Decoder-only only: encoder-decoder architectures (T5, BART) were not tested. 3. Fine-tuning dynamics: narrowed deep MLPs could become a bottleneck when downstream tasks require "reprogramming" deep layers. 4. LayerNorm interaction: the analysis used unnormalized residuals to avoid normalization distorting directions, hinting at subtle interactions with normalization strategy.

    ---

    One-Sentence Summary

    > Deep layers in LLMs mostly fine-tune the existing residual stream rather than create new features. Move parameters from deep to shallow layers, and you improve performance without burning any extra compute. This isn't a training trick—it's a fundamental principle of architecture design.

    The authors position this as "a free lever hidden in plain sight": the uniform layer-width convention, unchallenged for nine years, gently overturned by a short paper.

    ---

    References

  • Paper: Tapered Language Models (arXiv:2606.23670)
  • Authors: Reza Bayat (Mila), Ali Behrouz (Cornell), Aaron Courville (Mila)
  • Key concepts: TLMs, depth-aware capacity allocation, cosine tapering

Tags

#language-models#transformer-architecture#model-efficiency#tapered-language-models#mlp-width#parameter-allocation#mila#cornell

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208407