# cmHC explained: fixing how hyper-connections mix residual streams with one dial

Hyper-connections widen the residual stream of a transformer into several parallel streams. A new paper from China Telecom's Xingchen AGI Lab and partners finds those streams either barely mix or blur together, and proposes cmHC, a parameter-free contraction with a provable bound.

The residual connection is the simplest and most important trick in deep learning. Each layer adds its output to its input, so information and gradients can flow through a hundred layers without fading. For a decade almost every transformer has used exactly one such stream.

Hyper-connections change that. They widen the residual path into several parallel streams and let the model learn how those streams mix from layer to layer. DeepSeek's 2025 follow-up, manifold-constrained hyper-connections (mHC), made this stable by forcing the mixing matrices to be doubly stochastic: every row and every column sums to one, so mixing redistributes signal without amplifying it.

A paper posted to arXiv on 20 November 2026 looks closely at what those constrained mixing matrices actually do during training. The authors, led by China Telecom's Xingchen AGI Lab, find two opposite failures: streams that barely mix at all, and streams that mix so much they become copies of each other. Their fix, cmHC, adds one dial that pulls mixing toward the centre of the allowed space. It adds no parameters, comes with a provable bound, and in their tests gives slightly lower loss than mHC from 45M-parameter GPT-2 models up to a 300B mixture-of-experts run. It became the most upvoted entry on the Hugging Face daily papers list for 23 November.

## What happened

### cmHC paper posted to arXiv (20 November 2026)

"cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction" was posted as arXiv 2611.27193 in cs.LG. The thirteen authors are from Xingchen AGI Lab at China Telecom, the Hong Kong University of Science and Technology (Guangzhou), Harbin Institute of Technology (Shenzhen) and Huawei Technologies. It led the Hugging Face daily papers list for 23 November with 86 upvotes.

The paper claims:

- **A diagnosis**: existing doubly stochastic hyper-connections suffer from under-mixing, over-mixing, or both, depending on the layer.
- **A method**: cmHC contracts the space of allowed mixing matrices toward its centre, stays exactly doubly stochastic, adds no new parameterisation, and gives a provable bound on how fast streams converge.
- **Results**: lower or comparable training and validation loss against residual, HC, mHC, mHC-lite and KromHC baselines on nanoGPT models, and small loss advantages over mHC on 6B and 300B mixture-of-experts models.
- **Systems work**: fused operators for Huawei Ascend NPUs that cut hyper-connection latency by up to 44.8% against mHC.

### The earlier work it builds on

Three earlier papers set the stage. Hyper-connections, first posted by Defa Zhu and colleagues in September 2024 and cited in the paper as Zhu et al. (2025), introduced learnable mixing across multiple residual streams. DeepSeek's mHC, first posted on 31 December 2025 with Zhenda Xie as first author, projected the residual mixing matrix onto doubly stochastic matrices, approximated with iterative Sinkhorn-Knopp normalisation, to restore identity-like behaviour and stabilise training. mHC-lite, posted on 9 January 2026 by Yongyi Yang and Jianyang Gao, built exactly doubly stochastic matrices instead as weighted combinations of permutation matrices, which removed the need for those iterations. cmHC starts from the mHC-lite construction.

## The question the paper asks

If hyper-connections give a model several lanes of residual traffic, are the lanes actually being used well?

Picture a four-lane motorway with interchanges at every layer. A doubly stochastic mixing matrix is a rule for how cars move between lanes at each interchange: no cars appear or vanish, they only change lanes. Two things can go wrong. If nobody ever changes lane, you effectively have four separate roads, and the extra width buys little. This is under-mixing. If at every interchange all cars are spread evenly across all lanes, then after a few interchanges every lane carries exactly the same mix, and four lanes behave like one. This is over-mixing.

The authors measure both. For under-mixing, they track the learned mixing matrices over training and find that the coefficient on the initial permutation stays near 1: the matrices remain close to where they started, near the identity or another permutation. For over-mixing, they use three signals: Dobrushin's ergodicity coefficient τ of the cumulative mixing (τ near 0 means all rows are nearly identical, so every stream receives the same blend), the norm of the differences between streams, and the average cosine similarity between streams.

Their key observation is that the two failures are linked to depth. A product of many mixing matrices tends toward uniform mixing, so deep stacks risk over-mixing, while individual layers trained from an identity-like start often barely move. A fix needs to push shallow layers to mix more without driving the whole stack to uniformity.

## How cmHC works

### The geometry in plain words

All doubly stochastic n×n matrices form a shape called the Birkhoff polytope. Its corners are the permutation matrices, which just reorder streams with no blending. Its centre is the matrix J_n with every entry equal to 1/n, which averages all streams completely. Under-mixing means sitting near a corner; over-mixing means drifting to the centre.

mHC-lite writes each residual matrix as a weighted average of permutation matrices, so it always lies inside the polytope, but nothing stops it sitting at a corner. cmHC shrinks the whole polytope a little toward its centre, so every reachable matrix is guaranteed to do some mixing, but none can be fully uniform unless the dial is turned all the way.

### The formula

cmHC replaces each permutation P_m with a softened version:

P'_m = λ · P_m + ((1 − λ) / (n − 1)) · (1 1ᵀ − P_m), with λ between 1/n and 1

Each softened permutation keeps weight λ on its original pattern and spreads the rest evenly over the other positions. Because the residual matrix is a weighted average of these, the whole matrix becomes:

H' = λ' · H + (1 − λ') · J_n, where λ' = (nλ − 1) / (n − 1)

At λ = 1 this is exactly mHC-lite. At λ = 1/n every matrix collapses to uniform averaging. No new learnable weights are added; λ is a fixed hyperparameter. For the common setting of n = 4 streams and λ = 0.97, λ' works out to 0.96.

### What the authors prove

The paper gives four properties:

- **Stays valid**: contracted matrices remain doubly stochastic, with spectral norm at most 1, so they cannot amplify the residual signal.
- **Guaranteed mixing**: every entry is at least min(λ, (1 − λ)/(n − 1)), which is strictly positive. At n = 4 and λ = 0.97 that floor is 0.01, so every stream always receives at least a little of every other.
- **Contraction**: the map from H to H' shrinks distances by the factor λ' in the Frobenius norm.
- **Depth bound**: the Dobrushin coefficient of a product of contracted matrices is bounded by the product of their λ' values, so the product converges to uniform mixing exponentially in depth.

The last property cuts both ways, and the authors use it to set the schedule. As our own illustration of the bound, with λ' = 0.96 the guaranteed limit on τ after 10 contracted layers is 0.96^10 ≈ 0.66, a moderate push toward mixing. After 48 contracted layers it is about 0.14, close to full blending. With λ = 0.7 (λ' = 0.6), ten layers already give a bound of about 0.006. The bound limits how distinct the streams can stay, so strong or deep contraction invites over-mixing.

### The schedule: contract only shallow layers

This is why cmHC applies moderate contraction only to the first K hyper-connection layers and leaves deeper layers near-identity. Shallow layers get the nudge they need to start mixing, and the cumulative product never gets enough contraction to blur the streams. The authors note that the effect of shallow contraction lasts through the network, so λ and K both need care.

For a refresher on why residual paths and normalisation matter so much for stable training, our [initialisation, normalisation and dropout simulation](/ai-simulations/normalisation-and-dropout) shows the effect layer by layer, and the [normalization layers](/tools/normalization-layers) page covers the standard options.

## The measured results

All results are reported by the authors.

### nanoGPT models

The main controlled study trains nanoGPT models of about 45M, 0.12B and 0.36B parameters (12, 24 and 48 hyper-connection layers) for 10,000 iterations on OpenWebText and FineWeb-Edu, with n = 4 streams and three runs per setting. Validation losses on OpenWebText from Table 1 (mean of three runs):

| Method | S (45M) val loss | M (0.12B) val loss | L (0.36B) val loss | Average rank |
|---|---|---|---|---|
| Residual, 1 stream | 3.5636 | 3.3363 | 3.2442 | 11.8 |
| Residual, 4 streams | 3.4742 | 3.2587 | 3.1909 | 6.0 |
| HC | 3.4796 | 3.2681 | 3.2356 | 9.7 |
| mHC | 3.4775 | 3.2558 | 3.1920 | 6.0 |
| mHC-lite | 3.4759 | 3.2564 | 3.1949 | 6.7 |
| KromHC | 3.4766 | 3.2602 | 3.1934 | 8.0 |
| cmHC, λ = 0.70, all layers | 3.4756 | 3.2618 | 3.2169 | 9.0 |
| cmHC, λ = 0.97, all layers | 3.4713 | 3.2542 | 3.2026 | 4.2 |
| cmHC, λ = 0.97, K = 10 | 3.4718 | 3.2584 | 3.1893 | 4.2 |

Three lessons come from this table. First, the differences between hyper-connection variants are small, in the third decimal place of loss, while the jump from one stream to four is much larger (about 0.05 to 0.09). Second, strong contraction hurts: λ = 0.70 on all layers ranks 9.0 and is clearly worse at the L size. Third, the best L-size result comes from light contraction limited to shallow layers (K = 10), which gives the lowest validation loss in the table, 3.1893. Applying λ = 0.97 to all 48 layers of the L model is worse (3.2026), consistent with the depth bound above.

Gradient norms tell a similar story. cmHC's gradient norms are comparable to mHC and mHC-lite and much lower than unconstrained HC, whose L-model norm averages 0.5519 against 0.4346 for cmHC at λ = 0.70 and 0.4340 for cmHC with K = 10. On FineWeb-Edu the authors report that cmHC gives the lowest losses for the M model and the lowest training loss for the L model, and that contracting only a few layers works better than contracting all of them, especially in deeper networks.

### Mixture-of-experts at scale

The authors also train DeepSeek-style models with multi-head latent attention and sparse [mixture-of-experts](/ai-simulations/mixture-of-experts) layers on FineWeb-Edu, with four residual streams. With λ = 0.97 on a 6B model, cmHC ends with a loss 0.002 lower than mHC and 0.005 lower than mHC-lite at step 71,500, after an early phase where it is not ahead. On a 300B model with λ = 0.96, cmHC's loss is 0.0157 lower than mHC's at step 2,000. In both runs gradient norms are smaller and smoother than mHC's. The sections we read do not report token counts, downstream benchmark scores or the training hardware for these runs, and the 300B comparison is at an early step.

### Kernel latency

A direct implementation of cmHC launches several small operations per layer, which adds overhead even though the extra arithmetic is tiny. The authors wrote fused operators in Ascend C for Huawei's NPUs. On an Ascend 910C with a 4,096-token sequence, four streams and batch size one, forward plus backward hyper-connection latency compared with mHC is:

| Hidden size | mHC (μs) | cmHC fused (μs) | Reduction |
|---|---|---|---|
| 2,048 | 2,670.02 | 1,474.59 | 44.8% |
| 3,584 | 3,923.59 | 2,706.02 | 31.0% |
| 7,168 | 8,523.01 | 6,472.56 | 24.1% |

The 44.8% headline is the best case, at the smallest hidden size. The timing excludes the transformer sublayers themselves, so the saving on a full training step is far smaller than these percentages. The comparison is also kernel engineering as much as method: a fused mHC kernel would close part of the gap.

## Limits stated and unstated

The sections we read do not contain a dedicated limitations section. The authors do note that stronger contraction can cause over-mixing, that the lasting effect of shallow contraction raises that risk, so λ and K must be chosen carefully, and that stream-difference norms also depend on the training stability of the transformer layers.

A careful reader would add:

- **The gains are small.** On nanoGPT the improvement over mHC is usually a few thousandths of a nat of loss, often within one or two standard deviations of the three-run mean.
- **Two new hyperparameters.** "No new parameterisation" is true, but λ and K must be tuned, and the table shows a bad choice (λ = 0.70) is worse than plain mHC.
- **Large-scale evidence is thin.** The 6B gap is 0.002 in loss, and the 300B comparison is reported at step 2,000 without downstream evaluations.
- **Hardware-specific speed-ups.** The latency gains are for Ascend NPUs; GPU users would need their own fused kernels.
- **Loss is not capability.** No downstream benchmarks are shown in the sections we read, so it is unknown whether the loss differences turn into better answers.

## What it means in practice

For most practitioners, cmHC is not something to adopt tomorrow. It matters to teams that train their own base models and are already experimenting with hyper-connections, a line of work that includes DeepSeek's mHC. For them, the paper offers three useful things.

First, a diagnostic toolkit. Tracking the Dobrushin coefficient and cosine similarity between streams is a cheap way to check whether extra residual streams are actually being used. Second, a one-line change: blending the mixing matrix with the uniform matrix by a fixed weight is trivial to implement on top of mHC-lite. Third, a design rule: contraction belongs in shallow layers, because its effect compounds with depth.

It also illustrates a broader pattern in architecture research this year: small, principled changes to how information flows through depth, rather than new attention mechanisms. Our pieces on [SenseNova's looped transformer](/articles/sensenova-loop-9b-looped-transformer) and [Inkling 2 Mini's looped MoE](/articles/inkling-2-mini-looped-laptop-moe) cover other ways of rethinking depth, and [multi-head latent attention](/articles/multi-head-latent-attention-kv-cache) explains the attention design used in the paper's MoE runs. For how the rest of a transformer block fits together, see the [attention simulation](/ai-simulations/attention) and the [transformers](/tools/transformers) page.

## What to do now

1. **Measure before you fix.** If you use hyper-connections, log the cumulative mixing matrices and compute the Dobrushin coefficient and inter-stream cosine similarity during training.
2. **Start from mHC-lite.** cmHC is defined on top of the permutation-combination construction; implement that first and confirm it matches your mHC baseline.
3. **Try light contraction only.** Start near λ = 0.97 with four streams; the paper's results show strong contraction such as λ = 0.70 hurts.
4. **Limit it to shallow layers.** Sweep K, the number of contracted early layers, rather than contracting the whole network, especially in deep models.
5. **Run several seeds.** Differences of a few thousandths in loss need repeated runs to separate from noise, as the authors did with three runs.
6. **Check downstream tasks.** Do not stop at loss; evaluate a small benchmark suite before deciding the change is worth it.
7. **Fuse the kernels.** Much of the latency cost of hyper-connections comes from small kernel launches; fuse them on your hardware before judging overhead.
8. **Keep one-stream and four-stream baselines.** The jump from one to four streams is much larger than the gap between variants; make sure the extra streams are paying off at all.

## Risks and open questions

**Does it hold at frontier scale?** The 300B result is a loss gap at step 2,000. Long training runs are where stability tricks prove or disprove themselves.

**How sensitive is the dial?** The schedule needs λ and K. Without a rule for picking them at new depths and widths, tuning costs may eat the benefit.

**Is uniform mixing the right centre?** cmHC pulls toward equal averaging of all streams. Other targets might suit specialised streams better, and the paper does not test them.

**Will the idea reach GPU stacks?** The fused operators are written for Ascend. Adoption in PyTorch and CUDA training code depends on someone porting them.

**Watch next:** downstream benchmark results for the MoE runs, independent reproductions on GPU, and whether open model releases start reporting stream-mixing diagnostics alongside loss curves.

## Frequently asked questions

### What are hyper-connections?

Hyper-connections replace the single residual stream of a transformer with several parallel streams and learn how to mix them between layers. They were first posted by Zhu et al. in September 2024. DeepSeek's mHC, posted on 31 December 2025, made them stable at scale by constraining the mixing matrices to be doubly stochastic.

### What problem does cmHC solve?

The authors find that doubly stochastic mixing can fail in two ways: shallow layers stay close to their starting permutation and barely mix the streams, while deep stacks of mixing drive all streams toward the same blend. cmHC addresses this by guaranteeing a minimum amount of mixing in shallow layers while keeping deep layers close to identity.

### How does the contraction work?

Each mixing matrix H is replaced by λ' · H + (1 − λ') · J_n, where J_n averages all streams equally and λ' = (nλ − 1)/(n − 1). The result is still exactly doubly stochastic and has every entry strictly positive. It adds no learnable parameters; λ is a fixed setting, such as 0.97.

### How big are the improvements?

They are small. On nanoGPT models the validation loss improves by a few thousandths over mHC, and the best 0.36B result is 3.1893 against 3.1920 for mHC on OpenWebText. On a 6B MoE model the authors report a 0.002 loss advantage over mHC, and 0.0157 at step 2,000 on a 300B model.

### Where does the 44.8% speed-up come from?

It comes from fused operators the authors wrote for Huawei Ascend NPUs, compared with mHC at a hidden size of 2,048. The reduction falls to 24.1% at a hidden size of 7,168. The timing covers only the hyper-connection operators, not the full transformer layer, so the saving on a whole training step is much smaller.

## Summary

cmHC, posted on 20 November 2026 by China Telecom's Xingchen AGI Lab with HKUST (Guangzhou), HIT (Shenzhen) and Huawei, diagnoses under-mixing and over-mixing in doubly stochastic hyper-connections and fixes them by blending each mixing matrix with the uniform matrix, applied lightly to shallow layers only. The method adds no parameters, keeps matrices exactly doubly stochastic and comes with a provable bound on how fast streams converge with depth. The authors report small loss gains over mHC from 45M to 300B parameters and up to 44.8% lower hyper-connection latency with fused Ascend kernels. The gains are modest and downstream evaluations are missing, but the diagnostics and the shallow-layer rule are useful for anyone training models with multiple residual streams.

## Sources

- [arXiv: cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction (abstract)](https://arxiv.org/abs/2611.27193)
- [arXiv: cmHC full paper, HTML version](https://arxiv.org/html/2611.27193v1)
- [arXiv: mHC: Manifold-Constrained Hyper-Connections](https://arxiv.org/abs/2512.24880)
- [arXiv: mHC-lite: You Don't Need 20 Sinkhorn-Knopp Iterations](https://arxiv.org/abs/2601.05732)
- [Hugging Face: Daily Papers](https://huggingface.co/papers)
- [arXiv: Hyper-Connections](https://arxiv.org/abs/2409.19606)
