HiRes
A Transformer architecture improvement method that decouples residual width from computational width. Within blocks it uses standard PreNorm layers, between blocks it uses wider PostNorm outer residual connections, and learnable read/write projections bridge the two dimensional spaces.
Timeline (last 90 days)
HiRes (Hierarchical Residuals) is an architectural modification that decouples the width of the residual stream in a Transformer from the internal computation width of each layer, allowing the residual stream to be wider while the computation width stays unchanged.
HiRes groups several consecutive Transformer layers into a block, and within a block the standard d-dimensional PreNorm layer structure remains unchanged.
HiRes uses wider D-dimensional (D>d) PostNorm outer residual connections between blocks, so that the residual state is passed across blocks in a wider space.
HiRes introduces learnable read/write projections at block boundaries: the write projection lifts the d-dimensional output to the D-dimensional residual stream, and the read projection reduces the D-dimensional residual state back to d dimensions.
HiRes's implementation consists only of dense projections and normalization, requires no custom CUDA kernel, and can run directly on existing training stacks.
Ablation experiments show that HiRes consistently brings gains over vanilla residual addition across different model sizes and depths.
By fitting scaling laws, the paper estimates that HiRes brings a 1.30× FLOPs efficiency improvement, that is, reaching the same loss requires only about 77% of vanilla's compute.
Pretrained on the OLMoE-1B-7B model for 500B tokens, HiRes achieves a training loss 0.0208 lower than the baseline.
Pretrained on OLMoE-1B-7B for 500B tokens, HiRes's downstream accuracy is 1.14 percentage points higher than the baseline.
The paper states that HiRes performs comparably to residual scaling methods such as VWN, mHC, and AttnRes, but with lower activation memory and I/O overhead.
2 more timeline events
All Facts (12)
HiRes (Hierarchical Residuals) is an architectural modification that decouples the width of the residual stream in a Transformer from the internal computation width of each layer, allowing the residual stream to be wider while the computation width stays unchanged.
50%UnverifiedHiRes groups several consecutive Transformer layers into a block, and within a block the standard d-dimensional PreNorm layer structure remains unchanged.
50%UnverifiedHiRes uses wider D-dimensional (D>d) PostNorm outer residual connections between blocks, so that the residual state is passed across blocks in a wider space.
50%UnverifiedHiRes introduces learnable read/write projections at block boundaries: the write projection lifts the d-dimensional output to the D-dimensional residual stream, and the read projection reduces the D-dimensional residual state back to d dimensions.
50%UnverifiedHiRes's implementation consists only of dense projections and normalization, requires no custom CUDA kernel, and can run directly on existing training stacks.
50%UnverifiedAblation experiments show that HiRes consistently brings gains over vanilla residual addition across different model sizes and depths.
50%UnverifiedHiRes turns residual width into an independently adjustable scaling variable, providing an additional optimization path when the compute width is constrained by hardware or latency budgets.
50%UnverifiedPretrained on the OLMoE-1B-7B model for 500B tokens, HiRes achieves a training loss 0.0208 lower than the baseline.
50%UnverifiedPretrained on OLMoE-1B-7B for 500B tokens, HiRes's downstream accuracy is 1.14 percentage points higher than the baseline.
50%UnverifiedThe paper states that HiRes performs comparably to residual scaling methods such as VWN, mHC, and AttnRes, but with lower activation memory and I/O overhead.
50%UnverifiedHiRes uses PreNorm inside blocks to maintain single-layer training stability, and uses PostNorm on the outer residual between blocks to maintain numerical stability in the wider D-dimensional residual space.
50%UnverifiedBy fitting scaling laws, the paper estimates that HiRes brings a 1.30× FLOPs efficiency improvement, that is, reaching the same loss requires only about 77% of vanilla's compute.
50%