DeepSeek mHC: Training Method Explained
DeepSeek's new paper on mHC (Manifold-Constrained Hyper-Connections) addresses a critical aspect of LLM training: the connections between layers. These unobtrusive elements determine, in large training runs, the stability and scalability of models by influencing signal and gradient propagation.
Introduction to mHC
Residual connections have been standard for years, as they make deep networks trainable in the first place. The basic idea is simple: a layer learns an additional correction, while a skip path carries information unadulterated. Later, the principle of identity mappings was highlighted as a stability anchor: if the skip path remains an identity, signals and gradients can propagate more easily through many blocks. In Transformers, the same pattern appears as "Add & Norm" around sub-layers, including residual addition and normalization. This is one reason why very deep Transformer stacks can be trained stably in practice.
The problem arises when one wants more expressiveness and no longer treats the residual path merely as "identity + small delta," but as a playground for richer information flows. DeepSeek formulates it directly: approaches like Hyper-Connections expand residual stream width and vary connectivity. They gain performance but sacrifice the identity mapping property – with instability and limited scalability as side effects.
Hyper-Connections (HC)
Hyper-Connections (HC) were introduced as an alternative to classical residual connections to mitigate typical trade-offs in residual variants, such as between gradient vanishing and representation collapse. The idea: the network can adjust the strength of connections between depths more dynamically and "rewire" layer relationships more flexibly, instead of strictly using only the direct skip.
Technically, this is realized in the HC setting, among other things, by the residual stream no longer being a single vector per token, but being conceived as multiple "streams" that interact with each other. DeepSeek describes precisely this n-stream view: the input of a layer is expanded by a factor of n and considered as a matrix with n residual streams.
The catch lies in the mathematics: as soon as the skip path is no longer an "identity" but effectively acts as a learnable matrix, these deviations multiply over many layers. DeepSeek explicitly shows instability metrics over layer compositions (composite residual mappings) and connects this to the risk of signal amplification or attenuation. "memory wall" as a central bottleneck and shows that the memory access cost per token in the HC residual layer can increase roughly proportionally to n, if kernel fusion is not used to counteract it.

Source: predibase.com
The iterative training process from DeepSeek-V3 to DeepSeek-R1, which uses Reinforcement Learning to improve performance.
DeepSeek mHC Method
DeepSeek has introduced mHC ("Manifold-Constrained Hyper-Connections") as a framework designed to address both these issues: stability of signal propagation and system overhead. The paper was published on December 31, 2025 on arXiv.
The central measure is not a new loss function, but a constraint on the residual mapping matrices to a specific set ("manifold") – specifically, doubly stochastic matrices. DeepSeek clearly defines this condition: non-negative entries, each row and each column sums to 1, and thus the matrix lies within the set of doubly stochastic matrices.
This set is also described as the Birkhoff polytope, and DeepSeek explicitly uses the term. Mathematically, the Birkhoff polytope is the convex hull of permutation matrices and corresponds exactly to the set of doubly stochastic matrices.
DeepSeek justifies why this is important in the mHC context with three properties that they highlight as relevant for training:
- Norm Control: The spectral norm of a doubly stochastic matrix is bounded by 1, making the mapping "non-expansive" and intended to dampen gradient explosion.
- Closure Under Multiplication: If each residual matrix is doubly stochastic, the composite residual mapping over many layers also remains in this set, which is intended to support stability over depth.
- Geometric Interpretation: As a convex combination of permutation matrices, the residual mapping acts like a controlled "reordering and mixing" between streams, rather than an arbitrary linear amplification matrix.
For this constraint to be practical in training, a projection from "arbitrary" to "doubly stochastic" is needed. DeepSeek explicitly relies on the Sinkhorn-Knopp algorithm for this, i.e., iterative scaling of rows and columns to balance a matrix towards being doubly stochastic. The classic reference for this procedure is Sinkhorn-Knopp Algorithm, The classic reference for this procedure is Sinkhorn & Knopp (1967).
The paper also includes a concrete practical decision: DeepSeek chooses a finite cutoff (t_max) for the iterations and states t_max = 20 as the value used in the experiments.

Source: sebastianraschka.com
Detailed depiction of the training process from DeepSeek-V3 to DeepSeek-R1, highlighting the integration of different data sources.
Practical Benefits and Implementation
DeepSeek explicitly positions mHC as an extension of HC that "brings back" identity properties without sacrificing the benefits of a multi-stream design. The claim is not just "more stable," but "more scalable" – thus more robust precisely where layer composition otherwise begins to falter.
On the system side, DeepSeek goes unusually concretely towards engineering: they describe kernel fusion, reordering of RMSNorm operations, mixed precision, and merging multiple operations with common memory access into specialized kernels. They also provide a number for this: in their implementation (with n = 4), they report a marginal training overhead of 6,7 %.
This is the part that is often overlooked in discussions: an architectural trick that looks good theoretically is of little use if it burdens memory bandwidth so much that tokens-per-second plummet. DeepSeek addresses exactly these I/O costs explicitly, including the statement that without fused kernels, the excessive I/O demand can severely degrade throughput.
Market Relevance and Open Questions
Business Insider describes mHC as DeepSeek's new training approach and quotes analysts who consider the step a potential breakthrough for scaling The point that immediately resonates in the market also appears there: more performance at only slightly higher training costs would be an attractive ratio if it proves reproducible.
The South China Morning Post frames the paper as a signal for DeepSeek's engineering decisions around upcoming model generations and emphasizes the focus on „bigger models for less“. Yahoo Tech also picks up the SCMP's framing and names mHC as part of the effort to train models more cost-effectively.
Nevertheless, two clear benchmarks remain before classifying mHC as a new standard:
- How robust is the stability gain across other model families, optimizer setups, normalization variants, and parallelization strategies, beyond the configurations shown in the paper?
- How strongly does the "net benefit" depend on the quality of the system optimizations, i.e., whether other teams can achieve similar kernel fusion and memory path optimizations?
When reading mHC soberly, it appears less like a "magic trick" and more like a proposal to put the architectural topology under strict mathematical guardrails to make scaling more predictable. Exactly this type of change can determine the success or failure of a large run in practice because it optimizes not at the surface level, but at the stability of information pathways.
mHC is DeepSeek's attempt to "mature" Hyper-Connections for large training runs: more internal communication between residual streams, but under a constraint intended to limit signal and gradient growth. The real leverage is the projection onto doubly stochastic matrices via Sinkhorn-Knopp and the stability properties justified by it, combined with very concrete infrastructure tuning. Whether this becomes a "new LLM Training Technique 2026" in the sense of broad adoption depends less on the term mHC and more on whether other labs can reproduce the results and keep system costs truly low.