TL;DR
This paper bridges the gap between Energy-Based Models (EBMs) and Entropy-regularized Optimal Transport (EOT) by reformulating the EOT dual problem into an EBM-like objective. The resulting "Energy-guided Entropic Neural Optimal Transport" framework allows for high-resolution, unpaired image-to-image translation using a single potential network and standard MCMC sampling techniques.
What Problem Does This Paper Address?
Optimal Transport (OT) is a powerful tool for aligning distributions, but solving it in continuous, high-dimensional spaces remains a challenge. While many methods use OT as a loss function (like WGANs), modeling the actual transport plans—the stochastic maps that tell you how to move mass from point A to point B—is much harder.
Existing neural OT solvers often suffer from biases, require complex multi-model setups (e.g., needing a separate score-based model for the target distribution), or become unstable when the entropy regularization parameter $\epsilon$ is small. The authors seek a simpler, more theoretically grounded way to recover these plans in high dimensions.
Methods
The authors leverage a weak dual formulation of the EOT problem. Their key theoretical contribution is showing that the optimal conditional plan $\pi^*(y|x)$ takes the form of a Gibbs-Boltzmann distribution: $$\frac{d\mu^f_x(y)}{dy} \propto \exp\left(\frac{f(y) - c(x,y)}{\epsilon}\right)$$
Here, $f(y)$ is a dual potential and $c(x,y)$ is the cost function. This realization allows them to treat the potential $f$ as a component of an energy function.
Key steps include: * Single Potential Training: They train a single neural network $f_\theta$ using a loss function whose gradient mirrors the standard EBM training gradient. * MCMC Sampling: To sample from the learned plans, they use the Unadjusted Langevin Algorithm (ULA), which iterates through the energy landscape defined by the potential and the transport cost. * Latent Space Operation: To scale to high resolutions, they apply the method in the latent space of a pre-trained StyleGAN, avoiding the need for complex "data-to-latent" encoders.
Datasets
- Toy 2D: Gaussian to Swissroll mapping to visualize plan recovery.
- Gaussian-to-Gaussian: High-dimensional benchmarks ($D=2$ to $128$) where analytical solutions are known.
- AFHQ 512x512: Unpaired translation tasks (Cat $\rightarrow$ Dog and Wild $\rightarrow$ Dog) using the latent space of a pre-trained StyleGAN2-ADA.
- Colored MNIST: Digit translation ("2" $\rightarrow$ "3") to test color and geometry preservation.
Key Insights and Ideas
- The EBM-EOT Link: The dual potential in EOT isn't just a mathematical artifact; it's the core of a conditional energy function. This allows EOT to inherit decades of research in EBM optimization.
- Single Model Simplicity: Unlike previous state-of-the-art methods that required three separate models (two dual potentials plus a score-based model), this approach only requires one potential network $f_\theta$.
- Theoretical Guarantees: The authors provide generalization bounds (Theorem 4) that quantify how the error in the learned plan scales with sample size and the complexity of the neural network class.
- Scalability without Encoders: By operating in the latent space of pre-trained GANs, the method scales to high-resolution images without needing an explicit encoder to map images back to latent codes.
Key Results
- Qualitative Success: The model successfully transforms source distributions into complex target shapes like the Swissroll (see Figure 2). Performance on Gaussian→Swissroll 2D setup
- High-Res Translation: On the AFHQ 512x512 task, the method produces high-quality, diverse dog images from cat sources while maintaining structural similarity (see Figure 1 and Figure 3). AFHQ 512x512 Cat→Dog unpaired translation AFHQ 512x512 Wild→Dog unpaired I2I
- Quantitative Performance: On the Cat $\rightarrow$ Dog task, the model achieved a Frechet Inception Distance (FID) of 56.6, outperforming several popular baselines like ILVR (74.37) and CycleGAN (85.9), and performing comparably to the specialized EGSDE (51.04).
- Plan Accuracy: In Gaussian-to-Gaussian tasks, the method consistently recovered plans with low Bures-Wasserstein error across various dimensions and regularization strengths.
Limitations and Future Work
- MCMC Overhead: Relying on Langevin dynamics for training and inference is computationally expensive and can be slow compared to deterministic mapping methods.
- Hyperparameter Sensitivity: The ULA steps, step size, and noise levels require careful tuning to ensure stability and sample quality.
- Sample Noise: The authors acknowledge that Langevin sampling can produce slightly noisy images, which negatively impacts FID scores. They suggest that integrating more modern EBM techniques (like those that generate sharper data) is a promising direction for future research.
Summary updated