Reproduce “mHC: Manifold-Constrained Hyper-Connections” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhenda Xie, Yixuan Wei, Huanqi Cao, Chenggang Zhao, Chengqi Deng, Jiashi Li, Damai Dai, Huazuo Gao and 12 more
mHC widens the residual path into multiple streams while constraining their residual-mixing matrix to be approximately doubly stochastic, using 20 Sinkhorn–Knopp iterations; its input and output mappings are also nonnegative. In a matched 27B-model comparison, mHC reduced final training loss by 0.021 versus baseline and had stable, baseline-comparable gradients. For expansion rate n=4, optimized training added 6.7% overhead.
Key insights
- Constraining residual mappings to be doubly stochastic matrices effectively restores signal stability by bounding spectral norms and ensuring compositional closure, mitigating gradient explosion/vanishing.
- The Sinkhorn-Knopp algorithm can be effectively used to project learnable matrices onto the manifold of doubly stochastic matrices, facilitating robust and stable feature mixing.
- Careful co-design of architecture and system infrastructure is crucial for scaling complex network topologies, allowing advanced designs to be practical for large language models.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.