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

Tapered Language Models: Mila and Cornell Find a "Free Lunch" in LLM Architecture

Forum topic · 小凯 · 2026-07-04

Summary

Researchers at Mila and Cornell University (paper: Tapered Language Models, arXiv:2606.23670 by Reza Bayat, Ali Behrouz, and Aaron Courville) challenge a nine-year-old default in Transformer design: allocating parameters uniformly across layers. Their experiments show that MLP hidden width should shrink monotonically with depth. Splitting a 440M-parameter model into thirds and reallocating MLP width toward earlier layers improved validation perplexity, while widening deeper layers hurt performance. The explanation is measurable: cosine similarity between MLP outputs and the residual stream rises with depth (Pearson correlation 0.49–0.71 across GPT-2 scale models), indicating deep layers mostly refine existing features rather than compute new ones. The proposed Tapered Language Models (TLMs) use a cosine decay schedule for d_ff (best ratio 1.5x at shallow layers, 0.5x at deep layers), cutting validation perplexity from 16.28 to 14.44 with zero additional parameters, training FLOPs, or inference FLOPs. The gains hold across 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 principle.

Tapered Language Models: Mila and Cornell Find a "Free Lunch" in LLM Architecture

> Paper: Tapered Language Models (arXiv:2606.23670) > Institutions: Mila × Cornell University > Core finding: Changing MLP width from "one size fits all" to "narrower toward the end" significantly improves model quality without any extra compute.

A Nine-Year-Old Assumption

Since the Transformer was introduced in 2017, nearly all large language models have followed an unwritten rule: every layer is identical, and parameters are evenly distributed.

Transformers, RNNs, Mamba, Titans — despite surface differences, they all share the same skeleton: a stack of L identical blocks, each with a token-mixing module (attention/recurrence/memory) plus an MLP, whose intermediate width d_ff stays constant from the first layer to the last.

Nobody questioned this uniform allocation — it's convenient and engineering-friendly. But the Mila and Cornell team asked a deceptively simple question:

If different layers do different things, why should they receive the same number of parameters?

The Experiment: Feeding Three Sections of a 440M Model Differently

The researchers split a 440M-parameter Transformer into three equal sections — shallow, middle, and deep — and, at a fixed total parameter budget, allocated different MLP widths to each:

| Configuration | Shallow | Middle | Deep | Validation 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 forward (wider shallow, narrower deep) worked best, beating the uniform baseline by 0.32 perplexity points. Reversing the direction caused a collapse of over 1 point — purely from changing the allocation direction at the same parameter budget. Widening the middle also failed: the effect is directional — stack parameters early, trim them late.

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

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

The team measured cosine similarity between each MLP's output and the residual stream entering that layer:

  • Similarity near 0: the MLP output is nearly orthogonal to the residual stream — it is computing new features
  • Similarity near 1: the output is highly aligned — it is reinforcing existing content
  • \[\rho_{MLP}^{(l)} = \cos\left( F_l(z_l), h_l \right)\]

    The result is highly consistent across GPT-2 family sizes:

  • Shallow layers: low ρ → MLPs are doing real work, producing new features
  • Deep layers: ρ climbs steadily → MLPs act increasingly like "repeaters," fine-tuning the existing residual stream
  • Pearson correlations range from 0.49 to 0.71 — a systematic trend, not noise. This explains why tapering works: spend the parameter budget where new information is actually created (shallow layers), and reclaim it from saturated ones (deep layers). Same budget, better spent.

    Tapered Language Models: Three "Slimming Curves"

    Based on this finding, the team proposes Tapered Language Models (TLMs), a design principle:

    > At a fixed total parameter budget, let a parameter-bearing dimension decrease monotonically with layer depth.

    For MLP width, a decay function determines d_ff(l) per layer:

    1. Linear decay

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

    Steady decline; no plateaus, no abrupt transitions.

    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 smooth transition in between. Consistently beats linear and sigmoid in experiments.

    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 a narrow middle band; performs worst, since most layers stay pinned at d_start or d_end.

    The optimal configuration: cosine tapering with d_start/d_end = 1.5/0.5 — the shallowest MLP is 1.5× the baseline width, the deepest 0.5×, with smooth interpolation in between.

    Cross-Architecture, Cross-Scale Validation

    What elevates this from a curious finding to an architectural principle is its generality. The team tested tapering on four distinct token-mixing architectures:

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

    All three scales (440M, 760M, 1.3B) show consistent results. The gains are independent of the token-mixing mechanism — this is about how parameters are distributed across depth, an architecture-agnostic principle.

    The Payoff: 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
  • Improvements on WikiText and LAMBADA perplexity
  • Consistent accuracy gains across 8 commonsense reasoning benchmarks
  • Crucially: zero additional cost. Total parameters, training FLOPs, and inference FLOPs are all unchanged. It's not a bigger model — it's a smarter allocation of the same resources.

    The Bigger Picture: Depth-Aware Architecture Design

    The real significance is a neglected design dimension: depth is not uniform in function. Shallow layers extract new features (token relations, syntactic patterns, local semantics); deep layers refine and integrate. Refinement simply doesn't need the raw-processing bandwidth that extraction does.

    The paper notes tapering can extend beyond MLP width to:

  • Attention head count
  • Key-value dimension
  • Recurrent state size
  • Memory slot count
  • Expert count in MoE
  • Limitations and Open Questions

    1. The optimal ratio isn't universal: 1.5/0.5 was found at 440M scale; other scales may differ. 2. Decoder-only only: encoder-decoder architectures (T5, BART) weren't tested. 3. Training dynamics: does the advantage hold through fine-tuning, especially when downstream tasks require "reprogramming" deep layers? 4. LayerNorm interaction: the cosine measurements used unnormalized residuals to avoid distortion, hinting at subtle interactions with normalization strategy.

    One-Line Summary

    > Deep layers of LLMs largely fine-tune the existing residual stream rather than create new features. Since they don't need as many parameters, move them to the shallow layers — at no extra compute cost, quality improves. This isn't a training trick; it's a fundamental architectural principle.

    The authors call it "a free lever hidden in plain sight" — a nine-year-old uniform-width convention quietly 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: Tapered Language Models (TLMs), depth-aware capacity allocation, cosine tapering
  • Keywords: Transformer architecture, MLP width, residual stream alignment, model efficiency

Tags

#large-language-models#transformer-architecture#model-efficiency#mila#cornell-university#tapered-language-models#parameter-allocation#research

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