Papers
Topics
Authors
Recent
Search
2000 character limit reached

Near-Linear Time Generalized Sinkhorn Algorithms for Bounded Genus Graphs

Published 10 May 2026 in cs.DS and stat.ME | (2605.09782v1)

Abstract: We present GenusSink, a new class of approximate generalized Sinkhorn algorithms with shortest-path-distance costs for bounded genus (e.g. planar) graphs, providing near-linear time: (1) pre-processing, (2) iteration step, (3) final transport plan matrix querying and near-linear memory. Graphs handled by GenusSink include in particular planar graphs and bounded-genus meshes approximating 3D objects. GenusSink addresses total quadratic time complexity of its brute-force counterpart by leveraging separator-based decomposition of graphs, computational geometry techniques, and new results on fast matrix-vector multiplications with generalized distance matrices, using, in particular, Fourier analysis and low displacement rank theory. It is inspired by recent breakthroughs in graph theory on approximating bounded genus metrics with small treewidth metrics \citep{minor-free-paper}. The graph-centric approach enables us to target optimal transport problem with the corresponding distributions defined on the manifolds approximated by weighted graphs and with cost functions given by geodesic distances. We conduct rigorous theoretical analysis of GenusSink, provide practical implementations, leveraging newly introduced in this paper \textit{separation graph field integrators} (S-GFIs) data structures and present empirical verification. GenusSink provides orders of magnitude more accurate computations than other efficient Sinkhorn algorithms, while still guaranteeing significant computational improvements, as compared to the baseline. As a by-product of the developed methods, we show that GenusSink is \textbf{numerically equivalent} to the brute-force geodesic Sinkhorn algorithm on nn-vertex graphs with treewidth O(log⁡log⁡(n))O(\log \log (n)) (e.g. on trees).

Summary

  • The paper introduces GenusSink which reduces the complexity of Sinkhorn optimal transport computations on bounded genus graphs to near-linear time.
  • It employs separator-based graph decomposition and treewidth embeddings to enable efficient matrix-vector multiplications with generalized distance matrices.
  • Empirical results demonstrate that GenusSink achieves high accuracy and scalability, outperforming classical methods in mesh analysis and urban network optimization.

Near-Linear Time Generalized Sinkhorn Algorithms for Bounded Genus Graphs

Introduction and Context

The paper "Near-Linear Time Generalized Sinkhorn Algorithms for Bounded Genus Graphs" (2605.09782) presents GenusSink, an algorithmic paradigm for solving generalized Sinkhorn optimal transport (OT) problems on metric spaces induced by bounded genus graphs (including planar graphs and high-genus mesh approximations of 3D objects). The motivation arises from the quadratic time and space bottlenecks of the classical Sinkhorn algorithm and its variants when applied to high-resolution meshes and large networks, particularly for geodesic cost structures. GenusSink leverages recent advances in separator-based graph decomposition, fast metric embeddings, and computational geometry to optimize OT computations, reducing both time and memory complexity to near-linear in the number of vertices.

Background: Optimal Transport, Sinkhorn, and Graph Metrics

The optimal transport problem aims to find a minimal-cost coupling between two distributions, typically measured by a cost function c(x,y)c(x, y) (e.g., shortest-path geodesic distance on a graph). The entropic regularization of OT, via Sinkhorn algorithms, enables scalable computation but still encounters quadratic bottlenecks due to matrix materialization and multiplication when nn is large. Generalized hh-Sinkhorn variants allow more flexible regularization but do not by default mitigate the memory and runtime constraints. GenusSink addresses these by exploiting structural graph properties that are manifest in bounded genus scenarios.

GenusSink Algorithm: Structural Foundations

The core of GenusSink is built atop separator-based graph decomposition, treewidth embeddings, and the newly introduced Separation Graph Field Integrators (S-GFI):

  • Graph Genus and Treewidth: Genus quantifies the number of "handles" in a surface, and bounded-genus graphs generalize planar graphs. The treewidth of a graph denotes its proximity to being acyclic (tree-like), with separator bags enabling divide-and-conquer strategies. The paper exploits results demonstrating that bounded-genus graph metrics are well-approximated by low-treewidth graphs and that such embeddings can be constructed in near-linear time (Figure 1). Figure 1

    Figure 1: Seven-vertex planar graph and its treewidth decomposition, highlighting separator-based clusters essential for efficient algorithmic recursion.

  • Mesh Representation and Geodesic Costs: Meshes representing surfaces of varying genus are converted to weighted graphs where geodesic distances are measured via shortest paths (Figure 2). Figure 2

    Figure 2: Surface mesh graphs ranging from planar (genus 0) to high-genus (up to genus 3), demonstrating the family of bounded genus instances tackled by GenusSink.

  • S-GFI Data Structure: S-GFI organizes the computation by storing balanced separators and meta-data required for efficient matrix-vector operations with generalized distance matrices (Figure 3). Figure 3

    Figure 3: S-GFI tree structure and the cross_compute operation, showing recursive partitioning and efficient distance-matrix actions.

Algorithmic Innovation and Theoretical Guarantees

GenusSink achieves near-linear complexity via these mechanisms:

  • Efficient Matrix-Vector Multiplication: The cross_compute procedure allows fast operations with generalized distance matrices, crucial for Sinkhorn iteration steps and querying transportation plans.
  • Separator-based Divide-and-Conquer: Recursion down the separator tree yields sub-linear work per call, amortized to near-linear overall.
  • Embedding to Low-Treewidth Graphs: The diameter-preserving embedding enables using S-GFI on the proxy graph with controlled additive distortion, thus maintaining accurate geodesic cost structure while reducing algorithmic complexity.
  • Generalized Sinkhorn Objective Support: Fourier analysis and low displacement rank theory enable the algorithm to cover a broad class of cost and regularizer functions beyond exponential, yielding efficient algorithms for rational, polynomial, and certain mixed function classes.

Numerical Results

Empirical evaluation demonstrates that GenusSink:

  • Retains Exactness: Across synthetic and real-world mesh experiments, GenusSink matches brute-force full-kernel Sinkhorn up to numerical precision, with no accuracy degradation (Figures 4, 5, 8). Figure 4

    Figure 4: GenusSink exhibits zero Sinkhorn-cost error relative to full-kernel baseline on synthetic mesh experiments, with orders-of-magnitude speedup.

    Figure 5

Figure 5

Figure 5: On real Thingi10K meshes, GenusSink is numerically exact and dramatically faster than dense approaches or previous approximations.

Figure 6

Figure 6: Dumbbell graph family experiments: GenusSink achieves exactness across separator widths, outperforming approximate alternatives.

  • Improves Memory and Runtime Scaling: Dense geodesic kernel materialization is infeasible for graphs with thousands of vertices, while GenusSink’s memory and runtime scale near-linearly; this is validated on high-resolution mesh and road network datasets.
  • Outperforms Approximate Sinkhorn Methods: Competing methods (Greenkhorn, Screenkhorn, Sparse Sinkhorn, Geodesic heat kernel) either fail to match accuracy or scale poorly; GenusSink yields superior transport-cost error and runtime profiles.
  • Practical Impact in Real Applications: In ambulance deployment on a Bronx road graph with >33k nodes, GenusSink outperforms previous approaches in minimizing mean and tail response times for emergency calls, particularly at high operational quantiles (Figure 7). Figure 7

    Figure 7: GenusSink-driven EMS deployment achieves minimum mean and tail response times on large road network graphs, with significant improvement over baseline methods.

Practical and Theoretical Implications

GenusSink fundamentally alters the computational landscape of Sinkhorn-type OT on high-resolution graphs. By exploiting graph-theoretic structure, the algorithm enables:

  • Scalable OT on Large Graphs: Applicability to large surface meshes (for shape analysis, biomedical modeling) and urban networks (transportation, resource allocation) where quadratic complexity is prohibitive.
  • Algorithmic Bridges to ML Architectures: Efficient OT computation opens avenues for non-Euclidean attention mechanisms, such as Transformer variants with geodesic cost functions.
  • Generalization to Minor-Free Graphs: The analysis motivates extension to broader classes (minor-free graphs), increasing the domain of tractable OT computations.
  • Exactness When Possible, Approximate Otherwise: On graphs with very low treewidth (e.g., trees), GenusSink recovers numerical equivalence with brute-force Sinkhorn.

Conclusion

GenusSink advances the state-of-the-art in computational optimal transport for metric spaces defined by bounded genus graphs, realizing fast, memory-efficient, and highly accurate Sinkhorn algorithms. The combination of separator-based recursion, treewidth embeddings, and S-GFI integrators constitutes a versatile architecture for both classical and generalized OT formulations. Experimental results affirm both accuracy and scalability, with practical gains in applications ranging from 3D mesh analysis to large-scale EMS deployment. The theoretical innovations underpin further extensions to broader graph families, portending substantial impact in metric-based ML and optimization.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.