NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Learning Optimal Transport Plans Via Autoregressive Token Regression

Ivan J Marquez, Takis Chytas, Vikas Singh

NeurIPS page · OpenReview · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Geometric Representation Learning · Type: new method · Keywords: optimal transport, autoregressive transformer, sparse plans, zero-shot generalization, amortized inference

Summary

ToR-OT is a transformer-based autoregressive model that predicts sparse optimal transport plans as sequences, achieving zero-shot generalization and amortized inference on discrete OT problems.

Explained to a 5-year-old

The paper makes a computer program that learns to draw sparse plans for moving mass between points. It treats the problem like a sequence of tokens, predicting which connections are non-zero. The program is trained on many synthetic examples and can guess plans for new, unseen cases without extra training. It works well on simple problems and is faster than solving the optimization each time. This helps researchers understand if neural models can learn the structure of such constrained problems.

Explained to a 5-year-old, longer

The paper is about helping computers solve optimal transport problems. Optimal transport is a way to compare two groups of data by moving mass from one to the other. Classical methods solve these problems exactly but can be slow. The authors created a model that learns to predict sparse transport plans as sequences. They trained the model on many synthetic examples generated for the task. The model can generate plans for new, unseen data without being retrained. It only predicts non-zero entries, making the plans sparse and efficient. On low-dimensional problems, the model gives accurate approximate plans. It performs comparably to other neural baselines that solve the problem each time. The work shows that autoregressive transformers can capture the structure of constrained optimization. While not yet a full replacement for exact solvers, it is a step toward faster, learned solutions. This helps researchers understand how neural models can internalize the rules of such problems.

For a technical reader

The paper introduces a transformer-based model that learns to predict sparse optimal transport plans by treating the problem as a sequence generation task. It is pretrained on a large synthetic dataset, enabling zero-shot generalization to new distribution pairs and cost metrics without additional training. The model only outputs non-zero entries, exploiting the inherent sparsity of exact OT solutions to improve efficiency. On low-dimensional discrete problems, the approach yields accurate approximate plans and compares favorably with per-instance neural baselines. The work demonstrates that autoregressive transformers can internalize the constraints of constrained optimization, offering a faster alternative to classical solvers for certain scenarios.

Problem

The core problem is to determine whether learning-based amortized models can capture the structure of optimal transport problems and produce accurate transport plans without solving the underlying optimization at test time.

Method

The approach reframes optimal transport as a structured sequence generation task, using a transformer to autoregressively predict sparse transport plan tokens, leveraging sparsity and pretrained on synthetic data for zero-shot generalization.

Results

The approach provides accurate approximate plans and performs comparably or better than per-instance neural OT baselines on low-dimensional discrete problems.

Contributions

It demonstrates that autoregressive transformers can learn the sparsity and constraints of optimal transport, achieving zero-shot generalization to unseen distribution pairs and cost metrics, and provides a framework for amortized inference on OT problems.

Limitations and assumptions

Evaluated only on low-dimensional discrete problems and synthetic data; the model is not yet a drop-in replacement for exact classical solvers.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction