mHC-lite: You Don't Need 20 Sinkhorn-Knopp Iterations

Yongyi Yang, Jianyang Gao
1/9/2026
cs.LGcs.AI

Official code: FFTYYY/mhc-lite (96 stars, MIT, last commit 2026-01-12).

Abstract

Hyper-Connections (HC) generalizes residual connections by introducing dynamic residual matrices that mix information across multiple residual streams, accelerating convergence in deep neural networks. However, unconstrained residual matrices can compromise training stability. To address this, DeepSeek's Manifold-Constrained Hyper-Connections (mHC) approximately projects these matrices onto the Birkhoff polytope via iterative Sinkhorn--Knopp (SK) normalization. We identify two limitations of this approach: (i) finite SK iterations do not guarantee exact doubly stochasticity, leaving an approximation gap that can accumulate through network depth and undermine stability; (ii) efficient SK implementation requires highly specialized CUDA kernels, raising engineering barriers and reducing portability. Motivated by the Birkhoff--von Neumann theorem, we propose mHC-lite, a simple reparameterization that explicitly constructs doubly stochastic matrices as convex combinations of permutation matrices. This approach guarantees exact doubly stochasticity by construction and can be implemented using only native matrix operations. Extensive experiments demonstrate that mHC-lite matches or exceeds mHC in performance while achieving higher training throughput with a naive implementation and eliminating the residual instabilities observed in both HC and mHC. The code is publicly available at https://github.com/FFTYYY/mhc-lite.

View on arXivView PDF

Code Implementations(1)

FFTYYY/mhc-liteOfficial100%
MIT

mHC-lite: You Don’t Need 20 Sinkhorn-Knopp Iterations

969Shell, PythonJan 9, 20269 months agoMIT

Similar Papers

Cite this paper

@article{yang2026mhclite,
  title  = {mHC-lite: You Don't Need 20 Sinkhorn-Knopp Iterations},
  author = {Yongyi Yang and Jianyang Gao},
  year   = {2026},
  eprint = {2601.05732},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.05732v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.05732.svg)](https://codeofpaper.com/paper/2601.05732)

Discussion