cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction
ResearchPublished: Source: Hugging Face Daily Papers
TL;DR:The paper introduces Contraction for Manifold-Constrained Hyper-Connections (cmHC), a method for controlling how residual streams mix in multi-stream neural network connections.
The paper introduces Contraction for Manifold-Constrained Hyper-Connections (cmHC), a method for controlling how residual streams mix in multi-stream neural network connections. It contracts the Birkhoff polytope toward its interior to reduce under-mixing, while moderate contraction in shallow layers helps prevent over-mixing. Experiments across dense and mixture-of-experts models report scalable results, and fused Ascend NPU operators reduce hyper-connection execution latency by up to 44.8%.
Key points
- mHC constrains stream-mixing residual matrices to the Birkhoff polytope, but the paper identifies a trade-off between under-mixing and over-mixing.
- cmHC geometrically contracts the polytope toward its interior without introducing a new parameterization.
- Moderate contraction in shallow layers is used to prevent over-mixing and support stable gradient propagation.
- Experiments cover dense and mixture-of-experts models at multiple parameter scales.
- Fused cmHC operators on Ascend NPUs reduce hyper-connection execution latency by up to 44.8%.
Why it matters
For teams training large multi-stream models, cmHC offers a way to control residual-stream mixing without a new parameterization. The reported Ascend NPU kernels also point to a potential execution-speed benefit, though applicability depends on the hardware and implementation.
Companies and models mentioned
- cmHC
- mHC
- Birkhoff polytope
- Ascend NPU