Papers › Accelerating Birkhoff Projection for Manifold-Constrained Hyper-Connections

Accelerating Birkhoff Projection for Manifold-Constrained Hyper-Connections

26 May 2026arXiv:2606.07574added by Syntology

Chenrui Wang, Yixuan Qiu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Manifold-constrained hyper-connections (mHCs) have recently been proposed as a principled extension of hyper-connections, where the residual mixing matrices are constrained to be doubly stochastic via projection onto the Birkhoff polytope. In practical mHC implementations, this constraint is enforced by Sinkhorn-Knopp iterations, and the backward pass relies on unrolling the iterative solver. This design introduces substantial computation and memory overhead, and may also yield inaccurate projections when the algorithm converges slowly on challenging inputs, undermining the intended norm-control and stability guarantees of mHCs. In this work, we focus on the practically important 4x4 Birkhoff projection setting and develop an end-to-end acceleration framework. By leveraging the dual formulation, we reduce the problem to a three-dimensional unconstrained convex problem and solve it with Newton's method, achieving fast convergence and high accuracy. For the backward pass, we replace the unrolled differentiation with implicit differentiation, yielding exact gradients without storing intermediate states. To exploit massive parallelism, we design a warp-level CUDA kernel that uses only register-level primitives, avoiding global and shared memory I/O. Extensive experiments against representative open-source baselines demonstrate that the proposed solver yields substantially more reliable doubly stochastic projections -- especially when the input magnitude is large -- and achieves significant end-to-end speedups (including the backward pass), reaching over 20x acceleration at large batch sizes while maintaining orders of magnitude smaller marginal errors.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.07574")

Code

Syntology Ran 10 of 25 code samples harvested from 3 repositories linked to this paper; 15 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: found in paper text by Syntology: 25 samples from 3 repositories, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yixuan/mHC-proj found in paper text by Syntology report
LottoLottoLotto/triton-sinkhorn found in paper text by SyntologyMIT report
AndreSlavescu/mHC.cu found in paper text by Syntology report
tile-ai/tilelang found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 10 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
15unverified

Licence: 18 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ast_replace tile-ai/tilelang/tilelang/autodd.py found in paper text by Syntology ran licence not identified · pointer only · e974f4bd178ed565 · report
enrich_error tile-ai/tilelang/tilelang/errors.py found in paper text by Syntology ran licence not identified · pointer only · 8d7da170dd13a4b2 · report
get_sparse_attn_mask_from_threshold tile-ai/tilelang/benchmark/blocksparse_attention/benchmark_tilelang_block_sparse_fmha.py found in paper text by Syntology ran licence not identified · pointer only · 59f90204f7a703ac · report
parse_expr tile-ai/tilelang/tilelang/autodd.py found in paper text by Syntology ran licence not identified · pointer only · 2a5505e23545a896 · report
parse_pass_profile_threshold_ms tile-ai/tilelang/tilelang/env.py found in paper text by Syntology ran licence not identified · pointer only · 217c15b4d65b4275 · report
parse_stmts tile-ai/tilelang/tilelang/autodd.py found in paper text by Syntology ran licence not identified · pointer only · 8352f04e0096d0a2 · report
resolve_pass_profile_threshold_ms tile-ai/tilelang/tilelang/env.py found in paper text by Syntology ran licence not identified · pointer only · fb633f5db7d21b29 · report
sinkhorn_bwd_configs yixuan/mHC-proj/benchmark/mhc/tilelang/tileexamples/example_mhc_bwd.py found in paper text by Syntology ran no licence file found · pointer only · 965fb3065b913305 · report
sinkhorn_forward yixuan/mHC-proj/benchmark/mhc/tilelang/tileexamples/example_mhc_bwd.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 3af4129d0baacac5 · report
sinkhorn_normalize_ref yixuan/mHC-proj/benchmark/mhc/tilelang/tileexamples/example_mhc_pre.py found in paper text by Syntology ran no licence file found · pointer only · 262c7809a2c5c065 · report
MHCLayer AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · c0f41b9b1a95cc70 · report
MHCLayerDynamicFunction AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · 7c329ee6d11ac976 · report
MHCLayerFunction AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · c5999cb7ded3fbf5 · report
find_lib_path tile-ai/tilelang/tilelang/libinfo.py found in paper text by Syntology unverified licence not identified · pointer only · bb55715d4d98f5d9 · report
get_sparse_attn_mask_from_topk tile-ai/tilelang/benchmark/blocksparse_attention/benchmark_tilelang_block_sparse_fmha.py found in paper text by Syntology unverified licence not identified · pointer only · 5a7ebea60532e87e · report
mhc_layer_fused AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · de2aeba37cd0d5fa · report
mhc_layer_fused_dynamic AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · a9653fc9dfc2f5cf · report
mhc_layer_fused_dynamic_inference AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · 73d4e398bf5771a9 · report
mhc_layer_fused_inference AndreSlavescu/mHC.cu/src/python/mhc/layer.py found in paper text by Syntology unverified MIT (permissive) · eac1238da138b9a1 · report
mhc_pre_ref yixuan/mHC-proj/benchmark/mhc/tilelang/tileexamples/example_mhc_pre.py found in paper text by Syntology unverified no licence file found · pointer only · cffd036edc98927f · report
sinkhorn_knopp_tilekernels_n4_backward yixuan/mHC-proj/benchmark/mhc/tilelang/tilekernels/kernels.py found in paper text by Syntology unverified no licence file found · pointer only · 6151a5cbf6b46f4f · report
sinkhorn_knopp_tilekernels_n4_forward yixuan/mHC-proj/benchmark/mhc/tilelang/tilekernels/kernels.py found in paper text by Syntology unverified no licence file found · pointer only · b3d2122e2dc0275a · report
vanilla yixuan/mHC-proj/benchmark/accuracy.py found in paper text by Syntology unverified no licence file found · pointer only · b5ca29a3a9f1425f · report
vanilla_fwd yixuan/mHC-proj/benchmark/runtime.py found in paper text by Syntology unverified no licence file found · pointer only · d6899deeb47b44ea · report
vanilla_fwd_bwd yixuan/mHC-proj/benchmark/runtime.py found in paper text by Syntology unverified no licence file found · pointer only · ac65aa82ba90925d · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.07574, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections