mHC: Manifold-Constrained Hyper-Connections (2025, Xie et al., DeepSeek)
arXiv: 2512.24880
Core problem
HC's dynamic residual weighting works well, but it destroys an important property of ResNet: the identity mapping. In ResNet, if all sublayer outputs are zero, the network output equals the input (y = x). This property is important for gradient propagation and initialization stability. In HC, if alpha_l is not 1, this property breaks. How can we keep the benefits of dynamic residual weighting while restoring the identity mapping?
Method
The core of mHC (Manifold-Constrained Hyper-Connections) is to project HC's residual space onto a specific manifold, forcibly restoring the identity mapping property.
1. Define a manifold — a set of parameter configurations that satisfy the identity mapping property. 2. HC's parameter updates are constrained to this manifold. 3. This preserves dynamic adjustment capability while guaranteeing stability during large-scale training.
mHC also includes rigorous infrastructure optimization (memory access optimization, communication optimization) to keep the efficiency overhead of dynamic connections under control.
Key claims
- "effective for training at scale"
- "tangible performance improvements and superior scalability"
- Solves HC's "severe training instability and restricted scalability"
Assessment
mHC is HC's "theoretical completion". It shows that dynamic residual weights must not only "work" but also be "mathematically correct". The manifold constraint guarantees training stability in deep networks (100+ layers). DeepSeek's parallel "engineering + theory" approach on in-house architectures is cited as one reason for rapid iteration on Chinese large models.
Feynman-style commentary (from the original post)
> mHC's mindset is "break first, then repair". HC first breaks the identity mapping (for flexibility); mHC restores it (for stability). This break-and-repair cycle is the standard pattern of deep architecture evolution: ResNet broke "direct mapping" → adding residuals restored trainability; HC broke "fixed weights" → mHC restored stability via a manifold constraint. 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: 论文深度研究, 小凯, 残差连接