Abstract
Permutation matrices play a key role in matching and assignment problems across the fields, especially in computer vision and robotics. However, memory for explicitly representing permutation matrices grows quadratically with the size of the problem, prohibiting large problem instances. In this work, we propose to tackle the curse of dimensionality of large permutation matrices by approximating them using low-rank matrix factorization, followed by a nonlinearity. To this end, we rely on the Kissing number theory to infer the minimal rank required for representing a permutation matrix of a given size, which is significantly smaller than the problem size. This leads to a drastic reduction in computation and memory costs, e.g., up to 3 orders of magnitude less memory for a problem of size $n=20000$. The proposed representation allows for accurate representations of large permutation matrices, which in turn enables handling large problems that would have been infeasible otherwise.
Introduction
Permutation matrices are the mathematical backbone of matching problems, such as aligning 3D scans or tracking objects in video. For a problem with $n$ points, a permutation matrix $P$ identifies correspondences between sets. The primary challenge is that these matrices are $n \times n$, leading to quadratic scaling ($O(n^2)$). While sparse, they are often treated as dense "doubly-stochastic" matrices during optimization. For high-resolution tasks with $n=20,000$, the resulting 400 million entries quickly exhaust GPU memory, making large-scale bijections computationally prohibitive.
Methods: Low-Rank Factorization and Kissing Numbers
To address this "curse of dimensionality," we propose a "Low-Rank + Non-linearity" approach. Although permutation matrices are technically full-rank, we demonstrate they can be accurately reconstructed from a low-rank product followed by a non-linearity $\sigma$ (such as ReLU or Softmax): $$P \approx \sigma(2VW^T - 1)$$ where $V, W \in \mathbb{R}^{n \times m}$ and $m \ll n$.
The core theoretical contribution utilizes Kissing number theory—a geometric concept describing how many non-overlapping unit spheres can touch a central sphere—to determine the minimum rank $m$ needed. For example, a rank of just $m=24$ is theoretically sufficient to represent a permutation for $n \approx 196,000$ elements. To maintain memory efficiency during training, we employ a stochastic optimization trick, computing only a few entries per row to keep memory usage at $O(n)$.
Experimental Results
We evaluated the method across several domains, including FAUST (3D shape matching), QAPLIB (combinatorial optimization), and SURREAL (synthetic humans).
Key results include:
- Massive Compression: For $n=20,000$, the method used roughly 840,000 elements compared to 400,000,000 for a full matrix—a reduction of approximately 500x.
- High Accuracy: In 3D shape matching, the low-rank representation outperformed existing state-of-the-art methods in geodesic error while requiring significantly less hardware.
- Scalability: We demonstrated successful training on shapes with up to 20,000 vertices, a scale typically considered "out of bounds" for dense permutation-based deep learning.
Conclusion
By combining geometric intuition with non-linear low-rank factorization, we provide a scalable framework for large-scale matching. While the non-linearity introduces non-convexity into the optimization landscape, the dramatic reduction in memory and computation enables the handling of high-resolution problems that were previously infeasible. Future work will focus on adapting the stochastic training approach to more complex quadratic assignment formulations.
Summary updated