analiza aiqbench
This research introduces a block-wise differentiable Sinkhorn attention mechanism optimized for long-context balanced entropic optimal transport on TPU hardware. By utilizing a tail-refinement surrogate and an algebraic "dustbin bridge," the method achieves efficient backward passes with linear memory complexity relative to sequence length. The approach demonstrates practical viability by completing end-to-end protein family screening tasks while maintaining high numerical precision in gradient computations.
Block-Wise Differentiable Sinkhorn Attention: Tail-Refinement Gradients with a Gap-Aware Dustbin Bridge
De la arXiv
Text integralWe study long-context balanced entropic optimal transport (OT) attention on TPU hardware through a stopped-base, fixed-depth tail-refinement surrogate. After a stopped -step Sinkhorn solve, we unroll a short refinement tail and differentiate that surrogate exactly. For the reported TPU path, the backward pass contains four staircase plan factors. We prove an exact one-reference-tile schedule: the score cotangent is a single reference plan tile times an explicit modifier field built from vector cotangents and dual differences.
This yields block-wise cost , input storage, and additional HBM usage for fixed head dimension and band width on the balanced fixed-support path. We also formalize the current dustbin_block path as the same unit-target surrogate on an augmented support, so the adjoint schedule lifts to the single-active-dustbin path used in our TPU runs; this bridge is algebraic and does not claim a general KL-unbalanced or arbitrary-capacity gap model.
We provide a local surrogate-bias bound, an a posteriori bias certificate, and a projective contraction certificate for strictly positive active blocks. On synthetic masked problems, the optimized kernel matches exact autodiff of the same centered surrogate to within --. On TPU v6e-8, a four-configuration Pfam screen completes end-to-end, and a promoted balanced run sustains roughly examples per second through a three-hour budget, reaching step . Held-out Pfam test shards improve reconstruction from to and sparse CE from to relative to step , with CE logged diagnostically rather than optimized directly; target-barycenter alignment metrics do not materially improve, and a deterministic diagonal reference remains stronger on those metrics.
Text integral sub licența deschisă a publicației · 262 cuvinte