[Paper Review] Learning Generative Models with Sinkhorn Divergences
The paper introduces the Sinkhorn loss, an entropically regularized optimal transport-based objective for training generative models, implementing it with Sinkhorn iterations and automatic differentiation to interpolate between OT and MMD losses for stable, scalable learning.
The ability to compare two degenerate probability distributions (i.e. two probability distributions supported on two distinct low-dimensional manifolds living in a much higher-dimensional space) is a crucial problem arising in the estimation of generative models for high-dimensional observations such as those arising in computer vision or natural language. It is known that optimal transport metrics can represent a cure for this problem, since they were specifically designed as an alternative to information divergences to handle such problematic scenarios. Unfortunately, training generative machines using OT raises formidable computational and statistical challenges, because of (i) the computational burden of evaluating OT losses, (ii) the instability and lack of smoothness of these losses, (iii) the difficulty to estimate robustly these losses and their gradients in high dimension. This paper presents the first tractable computational method to train large scale generative models using an optimal transport loss, and tackles these three issues by relying on two key ideas: (a) entropic smoothing, which turns the original OT loss into one that can be computed using Sinkhorn fixed point iterations; (b) algorithmic (automatic) differentiation of these iterations. These two approximations result in a robust and differentiable approximation of the OT loss with streamlined GPU execution. Entropic smoothing generates a family of losses interpolating between Wasserstein (OT) and Maximum Mean Discrepancy (MMD), thus allowing to find a sweet spot leveraging the geometry of OT and the favorable high-dimensional sample complexity of MMD which comes with unbiased gradient estimates. The resulting computational architecture complements nicely standard deep network generative models by a stack of extra layers implementing the loss function.
Motivation & Objective
- Motivate the use of optimal transport geometry to fit generative models when target distributions may be singular or lie on low-dimensional manifolds.
- Introduce a tractable OT-based loss (Sinkhorn loss) that is differentiable and robust for high-dimensional generative modeling.
- Provide a practical SGD-compatible algorithm that combines mini-batch estimators with differentiable Sinkhorn iterations for scalable training.
Proposed method
- Define the Sinkhorn loss as a regularized OT distance with entropy regularization, and show its limiting behavior to OT (epsilon -> 0) and MMD (epsilon -> infinity).
- Formulate the density fitting problem as minimizing the Sinkhorn loss between the model push-forward and the data distribution.
- Use entropic smoothing with a Gibbs kernel to enable differentiable, GPU-friendly optimization via Sinkhorn iterations.
- Approximate the loss with mini-batches and L Sinkhorn iterations to obtain a differentiable proxy for automatic differentiation.
- Optionally learn a parametric cost c_phi via a feature map f_phi to improve distance measurement between generated and real samples (minimax over theta, phi).
- Provide an AutoDiff-enabled algorithm (with O(L m n) complexity) that integrates Sinkhorn steps into standard SGD for training.
Experimental results
Research questions
- RQ1Can entropic regularization yield a tractable, differentiable OT-based loss for training generative models on high-dimensional data?
- RQ2How does the Sinkhorn loss interpolate between OT and MMD, and what are the practical implications for sample complexity and gradient stability?
- RQ3Can we learn a data-driven ground cost to improve alignment between generated and real distributions?
- RQ4Is it feasible to implement Sinkhorn-based training with mini-batches and automatic differentiation on standard hardware?
- RQ5How do hyperparameters epsilon, batch size, and Sinkhorn iterations affect convergence and generative quality?
Key findings
- The Sinkhorn loss smoothly interpolates between OT (epsilon -> 0) and MMD (epsilon -> infinity), offering a trade-off between geometry and sample efficiency.
- Entropic smoothing reduces gradient bias and improves high-dimensional performance, enabling stable training via Sinkhorn iterations.
- A practical AutoDiff-based algorithm with mini-batches and L Sinkhorn iterations achieves differentiable, GPU-friendly training for differentiable generators.
- Learning a parametric cost via a feature map f_phi can further improve distance measurement, leading to a min_theta max_phi formulation.
- Empirical demonstrations on data fitting with ellipses and image generation (MNIST, CIFAR-10) show sensitivity to epsilon, batch size, and L, with larger epsilons often enabling faster convergence.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.