cmHC contracts residual stream mixing inside the Birkhoff polytope
Original title: cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction
Fused operators for the method on Ascend NPUs cut hyper-connection execution latency by up to 44.8%.
The paper studies how manifold-constrained hyper-connections mix residual streams inside the Birkhoff polytope of doubly stochastic matrices. It argues under-mixing leaves nearly independent streams and over-mixing makes streams hard to tell apart, and bounds cumulative mixing, stream difference, and gradient difference. cmHC geometrically contracts the polytope toward its interior without a new parameterization, using moderate contraction in shallow layers for large-scale pretraining. Experiments cover dense and mixture-of-experts models at several scales. Fused operators on Ascend NPUs reduce hyper-connection execution latency by up to 44.8%.
- mHC constrains stream-mixing matrices to doubly stochastic matrices.
- cmHC adds no new parameterization and gives a stream-mixing bound.
- Moderate contraction at shallow layers is used to limit over-mixing.
- Tests span dense and mixture-of-experts models at various scales.
- Products
- cmHCAscend NPUs
From the original article
1 min read at huggingface.coManifold-constrained Hyper-Connections (mHC) extends residual connections to multiple streams and stabilizes residual propagation by constraining stream-mixing residual matrices to the Birkhoff polytope, the set of doubly stochastic matrices. In this work, we investigate how to effectively mix residual streams within the Birkhoff polytope.
By Haowei He, Ziwen Zhao, Chenshuo Pan · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.