DepthBench: Measuring How Residual Connections Enable More Computational Depth

Keyu Wang, Yangyi Huang, Jiale Kang, David González-Martínez, Weiyang Liu, Shiwei Liu

ELLIS Institute Tübingen · Max Planck Institute for Intelligent Systems · Tübingen AI Center · The Chinese University of Hong Kong

Published September 26, 2026 · on the feed September 29, 2026 · ▲ 31 · arXiv 2609.32534

The abstract

Depth is a natural way to increase the computational capacity in Transformers, yet the contribution of deeper layers can diminish as depth grows larger. Recent approaches enhance normalization (e.g., LayerNorm Scaling) or residual connections (e.g., mHC, AttnRes) to enable better information flow and depth utilization. However, it remains unclear whether they truly translate increased architectural depth into effective computational depth, and whether their reported gains stem from better access to information across depth, or unaccounted-for confounding factors. In this paper, we introduce DepthBench, a controlled benchmark for studying computational depth across various architectures. We systematically vary the width--depth aspect ratio (d_{model}/n_{layer}) from shallow--wide to deep--narrow shapes, while keeping the model size and pre-training recipe fixed. Across 10 representative architectures, we find that the benefit of allocating more capacity to depth is strongly architecture-dependent. Standard Pre-LN and most of its norm- and scaling-based variants provide little benefit and can even degrade performance as models become deeper and narrower, whereas HC and Full AttnRes improve consistently even at extreme deep shapes. These gains extend beyond pre-training loss and consistently translate into improved domain-specific performance and effective computation. Controlled layer-level analyses further show that the gains of HC and Full AttnRes are associated with more effective utilization of additional layers, revealing distinct mechanisms of computational depth across architectures. Overall, our results identify residual connection design as a key determinant of whether depth can serve as a meaningful scaling axis by enabling additional architectural depth to translate into effective computation.

The Brief

3:10

A short podcast summary of the paper. Written and voiced by AI.

Transcript

DepthBench. Measuring How Residual Connections Enable More Computational Depth. By Keyu Wang and five others, from the ELLIS Institute Tübingen, the Max Planck Institute for Intelligent Systems, and two other institutions. Published on the twenty-sixth of September. Its code repository is worked out: about four hundred and fifty source files, with a readme.

Adding depth is a natural way to give a Transformer more computational capacity, yet the deeper layers tend to contribute less and less as depth grows. Recent approaches try to fix this. Some strengthen normalization, as LayerNorm Scaling does. Others change the residual connections, as mHC and AttnRes do, aiming for better information flow and better use of depth. What has stayed unclear is whether these methods really turn extra architectural depth into effective computational depth, and whether their reported gains come from better access to information across layers or from confounding factors nobody accounted for.

DepthBench is a controlled benchmark for studying computational depth across architectures. The question it asks is simple to state: if you move capacity from width into depth, does the model get better, stay the same, or get worse? And does the answer depend on the architecture? The distinction it draws is between architectural depth and computational depth. The first is simply how many layers a model has. The second is how much of that stacking actually turns into useful computation. A model can be deep on paper and shallow in practice, if its later layers add little, and DepthBench is built to tell those two situations apart. It measures pre-training loss, but also domain-specific performance and how effectively the extra layers are used.

Control sits at the centre of the design. The authors systematically vary the ratio of model width to number of layers, sweeping from shallow and wide shapes to deep and narrow ones. Throughout, the total model size and the pre-training recipe are held fixed, so the only thing that changes is how the same capacity is arranged. Ten representative architectures are run through this sweep, which is what lets the benchmark separate the effect of depth from the confounding factors the gap described. If a method improves only when it is also given a different recipe or more parameters, this setup would not credit it.

The main result is that the benefit of putting more capacity into depth is strongly architecture-dependent. Standard Pre-LN, along with most of its variants based on normalization or scaling, gains little, and can even get worse as models become deeper and narrower. HC and Full AttnRes, by contrast, improve consistently, even at extreme deep shapes.

Those gains are not confined to pre-training loss. They translate consistently into better domain-specific performance and more effective computation. Controlled analyses at the level of individual layers go further, showing that the gains of HC and Full AttnRes come with more effective use of the additional layers, and revealing that different architectures achieve computational depth through distinct mechanisms.

The authors draw the conclusion at the level of scaling. Whether depth can serve as a meaningful axis to scale along depends, on this evidence, largely on how residual connections are designed. Get that design right and added layers become added computation. Otherwise, a deeper model at the same size may simply be a narrower one.

Paper Quest · 7 chapters · about 35 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

More layers should mean more thinking. Often they don't, and nobody is sure why.

You want more out of a Transformer without adding parameters. Stacking more layers seems the natural move, but in deep models the later layers often add weak, redundant updates that look like the ones before them.

The road ahead

  1. 1 · The problem ~6 min Stacking more layers should make a Transformer think harder, but late layers often add little, and rival fixes cannot be fairly compared.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Keep size and recipe fixed, reshape models from wide-shallow to narrow-deep, and see which residual designs actually turn depth into computation.
  4. 4 · Choose your own research ~3 min
  5. 5 · How it works ~3 min
  6. 6 · The experiment ~6 min You’ll guess: With model size and training recipe held fixed, what happened to standard Pre-LN Transformers as they were reshaped deeper and narrower?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.