Elena' s AI Blog

DeepSeek's mHC: Making Neural Networks Learn Better by Preserving Identity

06 Nov 2026 (updated: 19 Oct 2026) / 19 minutes to read

Elena Daehnhardt

Image credit or short note


TL;DR:
  • DeepSeek's mHC (Manifold-Constrained Hyper-Connections) fixes a problem in deep neural networks by constraining learned connections to preserve identity mapping. This maintains training stability while improving information flow, yielding gains of +2.1 points on BBH and +2.3 points on DROP over plain Hyper-Connections at the 27B parameter scale.

๐Ÿ“š This post is part of the "Neural Network Architecture" series

Series: Neural Network Architecture (Part 5 of 9)

Previous: Part 4 โ€” Attention Mechanisms Meet Residual Connections: How Transformers Use Skip Connections

Where this fits:DeepSeek Explore the AI Landscape →

What Is DeepSeek mHC (Manifold-Constrained Hyper-Connections)?

On December 31, 2025 โ€” literally the last day of the year โ€” DeepSeek published a research paper that addresses one of those fundamental problems in AI that most people never think about, but which shapes everything we build.

Manifold-Constrained Hyper-Connections (mHC) is a neural network architecture technique from DeepSeek that constrains learned residual-stream mixing matrices to the doubly stochastic manifold, restoring the identity mapping that makes deep networks trainable. The paper is titled โ€œmHC: Manifold-Constrained Hyper-Connectionsโ€, and it builds on recent work exploring alternatives to residual connections in neural networks. At first glance, it sounds extremely technical and abstract. Manifolds? Hyper-connections? What do these even mean, and why should we care?

What I find interesting is this: the paper takes an idea introduced in 2024 โ€” learnable connections between neural network layers โ€” and adds a mathematical constraint that solves a critical stability problem. The paper is a good example of how research actually progresses: someone proposes a promising idea, others discover its limitations, and then careful refinements make it practical for real-world use.

Let me explain what this problem is, the prior work that led here, and what DeepSeekโ€™s specific contribution actually does. I will try to make this accessible even if you have never thought about neural network architecture before, because the evolution of ideas is worth understanding.

What Are Residual Connections in Neural Networks?

Before we can understand what mHC does, we need to understand residual connections โ€” one of the most important architectural innovations in deep learning.

If you are new to this topic, I suggest reading my foundations post Understanding Neural Network Architecture.

The Problem Residual Connections Solved

In the early days of deep learning, researchers discovered a frustrating paradox: making neural networks deeper should theoretically make them more powerful, but in practice, very deep networks became impossible to train. Training would become unstable, gradients would vanish, and performance would actually get worse instead of better.

Think of it like a game of telephone. In the classic childrenโ€™s game, a message gets whispered from person to person, and by the end, it is completely distorted. Similarly, in very deep neural networks, the signal gets distorted as it passes through many layers.

The Residual Connection Solution

In 2016, researchers introduced residual connections (also called skip connections) in a landmark paper on ResNet (the arXiv preprint appeared in December 2015). The idea is simple:

Instead of forcing information to flow only through the transformations in each layer, create a shortcut that allows information to skip directly to later layers.

Mathematically:

Output = Transformation(Input) + Input

That + Input part is the residual connection. The residual connection creates an โ€œidentity mappingโ€ โ€” a direct path for information to flow unchanged through the network. Even if the transformations in the layers produce garbage during early training, the identity path ensures useful information still flows through.

Residual connections made it possible to train networks with hundreds of layers, which was previously impossible.

The 2024 hyper-connections idea, DeepSeekโ€™s manifold-constrained version, the benefits and the maths follow below.

Hyper-Connections: Can Learned Connections Beat Simple Skip Connections?

๐Ÿ”’ Subscribe to keep reading.

How Manifold-Constrained Hyper-Connections (mHC) Work

๐Ÿ”’ Subscribe to keep reading.

mHC Benchmark Results, Stability and Training Overhead

๐Ÿ”’ Subscribe to keep reading.

Why Neural Network Architecture Research Still Matters

๐Ÿ”’ Subscribe to keep reading.

mHC Mathematical Formulation and Training Dynamics

๐Ÿ”’ Subscribe to keep reading.

Should You Use mHC When Training Large Language Models?

๐Ÿ”’ Subscribe to keep reading.

mHC Compared with ResNet, DenseNet, HyperNetworks and DenseFormer

๐Ÿ”’ Subscribe to keep reading.

Conclusion: mHC Restores Identity Mapping in Hyper-Connections

๐Ÿ”’ Subscribe to keep reading.

References

๐Ÿ”’ Subscribe to keep reading.

You've hit a Deep Dive tutorial.

I spend dozens of hours researching, coding, and breaking things to write these guides. This content is free, but reserved for my subscriber community. Drop your email below to unlock this guide (and all past/future deep dives):

Already a subscriber? Use the magic link from your last newsletter, or reset your password.

New subscribers get an inbox mail: Set a password to unlock articles. The form does not log you in โ€” use the same email afterwards.

desktop bg dark

About Elena

Elena, a PhD in Computer Science, simplifies AI concepts and helps you use machine learning.



Citation
Elena Daehnhardt. (2026) 'DeepSeek's mHC: Making Neural Networks Learn Better by Preserving Identity', daehnhardt.com, 06 November 2026. Available at: https://daehnhardt.com/blog/2026/11/06/deepseek-mhc/
All Posts