SublayerNets: What Depth Buys When Parameters Are Held Fixed

AbstractAn attractive proposition in architecture design is that depth can be bought without parameters: apply a block’scomputation more than once, keep one copy of its weights, and obtain a deeper model for free. SublayerNet is afamily of mechanisms built on that proposition — deep sub-layer composition, weight sharing across depth, gener-ated weights, conditional routing, recursive refinement and mixture routing — and the wider recursive-transformerliterature makes the same claim from several directions.This paper reports what happens when the claim is tested. We give a closed-form account of three failure modesthat a sublayer implementation encounters before it encounters any benefit. Dead bridges: if a sublayer’s output isgated by tanh(bg ) and the bridge branch is initialised so that bg = 0, then the gradient to both bridge matrices isexactly zero, so the sublayer cannot switch on. We measured the consequence directly: cross-entropy with sublayersenabled minus disabled was 0.0000 nats on a trained 0.8B-parameter graft, with every one of the 24 bridges stuckbelow 10−3 . Compounding: applying sublayers sequentially accumulates one modification per level into the nextlevel’s input, which is why the corrected design composes them in parallel around the block output. Drift: reusingone pretrained block 24× produced validation loss 5.54 with garbled output, against 1.41 and coherent arithmeticwhen each block is used exactly once.We then price the depth that survives. On a 99M-parameter probe with 8 sublayer blocks per layer, increasingsublayer depth from 1 to 2 to 3 leaves trainable parameters constant at 1,083,840 (1.09%) while step time rises0.0292 to 0.0573 to 0.0867 s and peak memory 175 to 313 to 450 MB. Depth is free in parameters and linear incompute and activation memory; it is not free. With 811K sublayer parameters (0.105% of the model) the initialdrift measured 0.97%, which is the size of the thing being bought.We close with the negative results we consider useful: hidden-state adapters that shift a norm-1656 residualstream by 0.6% produce degenerate repetition but the cause is placement, scale and zero-initialisation rather thanweight-space versus hidden-state form; a rank-16 factorised weight basis retained only 5–15% of SVD energy andreproduced unigram-level cross-entropy (6.689 nats), which makes low-rank generated weights a storage formatrather than a training substrate; and an equal-budget comparison against plain fine-tuning is still missing, so thereported +16% mathematics and +20% code result remains indicative rather than significant.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24530109
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

SublayerNets: What Depth Buys When Parameters Are Held Fixed

Irfan Mahir
1 links
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
article

SublayerNets: What Depth Buys When Parameters Are Held Fixed

Irfan Mahir
article en

Abstract

AbstractAn attractive proposition in architecture design is that depth can be bought without parameters: apply a block’scomputation more than once, keep one copy of its weights, and obtain a deeper model for free. SublayerNet is afamily of mechanisms built on that proposition — deep sub-layer composition, weight sharing across depth, gener-ated weights, conditional routing, recursive refinement and mixture routing — and the wider recursive-transformerliterature makes the same claim from several directions.This paper reports what happens when the claim is tested. We give a closed-form account of three failure modesthat a sublayer implementation encounters before it encounters any benefit. Dead bridges: if a sublayer’s output isgated by tanh(bg ) and the bridge branch is initialised so that bg = 0, then the gradient to both bridge matrices isexactly zero, so the sublayer cannot switch on. We measured the consequence directly: cross-entropy with sublayersenabled minus disabled was 0.0000 nats on a trained 0.8B-parameter graft, with every one of the 24 bridges stuckbelow 10−3 . Compounding: applying sublayers sequentially accumulates one modification per level into the nextlevel’s input, which is why the corrected design composes them in parallel around the block output. Drift: reusingone pretrained block 24× produced validation loss 5.54 with garbled output, against 1.41 and coherent arithmeticwhen each block is used exactly once.We then price the depth that survives. On a 99M-parameter probe with 8 sublayer blocks per layer, increasingsublayer depth from 1 to 2 to 3 leaves trainable parameters constant at 1,083,840 (1.09%) while step time rises0.0292 to 0.0573 to 0.0867 s and peak memory 175 to 313 to 450 MB. Depth is free in parameters and linear incompute and activation memory; it is not free. With 811K sublayer parameters (0.105% of the model) the initialdrift measured 0.97%, which is the size of the thing being bought.We close with the negative results we consider useful: hidden-state adapters that shift a norm-1656 residualstream by 0.6% produce degenerate repetition but the cause is placement, scale and zero-initialisation rather thanweight-space versus hidden-state form; a rank-16 factorised weight basis retained only 5–15% of SVD energy andreproduced unigram-level cross-entropy (6.689 nats), which makes low-rank generated weights a storage formatrather than a training substrate; and an equal-budget comparison against plain fine-tuning is still missing, so thereported +16% mathematics and +20% code result remains indicative rather than significant.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon