跳到正文
arXiv cs.AI· Dylan Forde·· 2 小时前AI 评分18

Sinkhorn 层中的支撑拓扑与梯度混合分析

Support Topology and Gradient Mixing in Sinkhorn Layers

AI 导读

一篇 arXiv 论文分析 Sinkhorn 注意力层中稀疏掩码与边际预算如何影响反向传播梯度流动。研究证明梯度以零和向量形式传播,其总变差范数按核的 Dobrushin 系数速率收缩;连通性不足以防止梯度困陷,掩码与边际保证一步均匀收缩当且仅当传输多面体每个非空面保持两跳列重叠。论文还给出蝴蝶掩码的精确一次混合、扩展器与局部带掩码的闭式界。

正文 · 原文

View PDF HTML (experimental)

Abstract:Sinkhorn attention layers normalize weights over a fixed sparse mask by alternating row and column scaling. When training these layers, sparse masks are usually judged by their edge count, graph diameter, or forward reachability. We show that the sparsity pattern and marginal budgets also govern how gradients flow backward through the scaling steps. Differentiating one row-column cycle on column log-potentials yields an explicit row-stochastic Markov kernel built from the two half-step transport plans, which reduces to a reversible two-step random walk at a balanced fixed point. Because potentials are defined only up to additive constants on each connected component, reverse-mode gradients propagate as zero-sum vectors whose total-variation norm contracts at a rate given by the kernel's Dobrushin coefficient. This coefficient bounds both unrolled backpropagation and implicit-differentiation truncation error. Crucially, graph connectivity alone does not prevent gradient trapping: we prove a face-lattice dichotomy showing that a mask and marginals guarantee score-uniform one-step contraction if and only if every nonempty face of the transportation polytope retains pairwise two-hop column overlap; otherwise, large learned scores can push the contraction rate arbitrarily close to one. We extend this criterion to multi-layer schedules, prove exact one-sweep mixing for coordinate-factorized and butterfly masks, and derive closed-form bounds for expanders, local bands, and global hub tokens. Deterministic numerical checks verify our finite-difference adjoints, canonical sparse masks, adversarial score limits, and spectral formulas.
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2609.07954 [cs.AI]
  (or arXiv:2609.07954v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2609.07954

arXiv-issued DOI via DataCite

Submission history

From: Dylan Forde [view email]
[v1] Mon, 7 Sep 2026 20:18:56 UTC (33 KB)
[v2] Mon, 23 Nov 2026 23:04:23 UTC (28 KB)

来源:arXiv cs.AI · arxiv.org