[KongchangAI]
ConceptHierarchical Residuals / 层级残差

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)

Nov 2

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.

Unverified50%
Nov 2

HiRes groups several consecutive Transformer layers into a block, and within a block the standard d-dimensional PreNorm layer structure remains unchanged.

Unverified50%
Nov 2

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.

Unverified50%
Nov 2

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.

Unverified50%
Nov 2

HiRes's implementation consists only of dense projections and normalization, requires no custom CUDA kernel, and can run directly on existing training stacks.

Unverified50%
Nov 2

Ablation experiments show that HiRes consistently brings gains over vanilla residual addition across different model sizes and depths.

Unverified50%
Nov 2

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.

Unverified50%
Nov 2

Pretrained on the OLMoE-1B-7B model for 500B tokens, HiRes achieves a training loss 0.0208 lower than the baseline.

Unverified50%
Nov 2

Pretrained on OLMoE-1B-7B for 500B tokens, HiRes's downstream accuracy is 1.14 percentage points higher than the baseline.

Unverified50%
Nov 2

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.

Unverified50%

2 more timeline events

All Facts (12)

Unverified

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%
Unverified

HiRes groups several consecutive Transformer layers into a block, and within a block the standard d-dimensional PreNorm layer structure remains unchanged.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

HiRes's implementation consists only of dense projections and normalization, requires no custom CUDA kernel, and can run directly on existing training stacks.

50%
Unverified

Ablation experiments show that HiRes consistently brings gains over vanilla residual addition across different model sizes and depths.

50%
Unverified

HiRes 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%
Unverified

Pretrained on the OLMoE-1B-7B model for 500B tokens, HiRes achieves a training loss 0.0208 lower than the baseline.

50%
Unverified

Pretrained on OLMoE-1B-7B for 500B tokens, HiRes's downstream accuracy is 1.14 percentage points higher than the baseline.

50%
Unverified

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.

50%
Unverified

HiRes 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%
Unverified

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.

50%

Source Articles