mHC: Manifold-Constrained Hyper-Connections (2025, Xie et al., DeepSeek)
arXiv: 2512.24880
Core Problem
Hyper-Connections (HC) offer dynamic residual weighting, but they break an important property of ResNet: the identity mapping. In ResNet, if all sublayer outputs are zero, the network output equals its input (y = x). This property is important for gradient propagation and initialization stability. In HC, whenever alpha_l is not 1, this property is broken. How can we keep the benefits of dynamic residual weighting while restoring the identity mapping?
Method
The core idea of mHC (manifold-constrained hyper-connections) is to project HC's residual space onto a specific manifold, forcing the identity mapping property to be restored.
1. Define a manifold — a set of parameter configurations satisfying the identity mapping property 2. HC's parameter updates are constrained to this manifold 3. This retains dynamic adjustment capability while guaranteeing stability during large-scale training
mHC also includes rigorous infrastructure optimizations (memory access optimization, communication optimization), ensuring the efficiency overhead of dynamic connections remains controlled.
Key Results
- "effective for training at scale"
- "tangible performance improvements and superior scalability"
- Resolves HC's "severe training instability and restricted scalability"
Impact Assessment
mHC is the "theoretical completion" of HC. It demonstrates that dynamic residual weights must not only "work" but also be "mathematically correct." The manifold constraint guarantees training stability for deep networks (100+ layers). DeepSeek's dual-track "engineering + theory" approach on its in-house architecture is cited as one reason for rapid iteration of Chinese large models.
Feynman-style Commentary
> mHC's thinking is "break first, then repair." HC breaks the identity mapping (for flexibility); mHC restores it (for stability). This break–repair loop is a standard pattern in deep architecture evolution: ResNet broke "direct mapping" → residuals restored trainability; HC broke "fixed weights" → mHC uses a manifold constraint to restore stability. A good physicist is not afraid of breaking things — as long as you can fix them, and fix them better. Destruction is the beginning of discovery; repair is the completion of understanding.
---
*Original tags: deep-paper-research, xiaokai, residual-connections*