mhc-algorithm
CommunityStabilize deep nets with mHC.
Software Engineering#deep-learning#mhc#doubly-stochastic#sinkhorn-knopp#hyper-connections#gradient-stability#residual-streams
AuthorKaiserWhoLearns
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Stabilizes deep network training by constraining residual stream mixing with a doubly stochastic matrix and using Sinkhorn-Knopp projections for stable optimization.
Core Features & Use Cases
- HyperConnections module wraps attention or MLP sublayers to enable multi-stream processing
- Sinkhorn-Knopp projection enforces doubly stochastic H_res for gradient stability
- Works with deep Transformers and residual architectures to improve convergence in challenging training regimes
Quick Start
Initialize HyperConnections with a chosen number of residual streams and wrap the target sublayer (attention or MLP), then begin training to observe improved stability.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mhc-algorithm Download link: https://github.com/KaiserWhoLearns/skillsbench/archive/main.zip#mhc-algorithm Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.