DrainSinkhorn: Instance-Resident Batched Entropic Optimal Transport on GPUs

Wen, Xinyang

–arXiv.org Artificial Intelligence 

Much of the recent use of Sinkhorn in machine learning takes this form. Manifold-constrained hyper-connections (mHC) solve one problem per token and layer (Xie et al., 2025), and DeepSeek-V4 trains with them at up to 1.6T parameters (DeepSeek-AI, 2026). Distilling large language models solves one per generated token (Na et al., 2026), permutation-robust LLM training one per training prompt (Chen et al., 2025), supervised graph prediction one per predicted and target graph (Méndez et al., 2026), learned visual attribution one per image (Schinagl et al., 2026), and substructure alignment one per protein pair (Wang et al., 2026). At inference, a multi-object tracker couples the detections of consecutive frames, domain decomposition splits a large problem into cell problems that are "numerous, small, and with diverse shapes" (Medina & Schmitzer, 2025; Bonafini & Schmitzer, 2021), and coarse-to-fine registration solves one problem per matched patch pair (Yu et al., 2021; Qin et al., 2022). In training, the Sinkhorn iterations are themselves a layer: mHC projects one 4 4 residual mixing matrix per token and layer with 20 iterations (Xie et al., 2025), Optimal Transport Assignment (OTA) assigns detection labels per image with 50 (Ge et al., 2021a), and GeoTransformer matches 256 patch pairs of 65 65 points per 3DMatch scan pair with 100 (Qin et al., 2022).