Skip to main content
QUICK REVIEW

[Paper Review] Sinkhorn-AutoDiff: Tractable Wasserstein Learning of Generative Models

Aude Genevay, Gabriel Peyré|arXiv (Cornell University)|Jun 1, 2017
Generative Adversarial Networks and Image SynthesisComputer Science11 citations
TL;DR

This paper introduces Sinkhorn-AutoDiff, a differentiable, GPU-optimized method for training large-scale generative models using optimal transport (OT) losses. By combining entropic smoothing with automatic differentiation of Sinkhorn iterations, it enables stable, scalable OT-based training that overcomes computational and gradient instability issues in high-dimensional distributions.

ABSTRACT

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 both these 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. The resulting computational architecture complements nicely standard deep network generative models by a stack of extra layers implementing the loss function.

Motivation & Objective

  • Address the challenge of comparing degenerate probability distributions supported on low-dimensional manifolds in high-dimensional spaces, common in vision and NLP.
  • Overcome the computational intractability and gradient instability of exact optimal transport (OT) losses in deep generative modeling.
  • Enable robust, scalable training of generative models using OT-based objectives by making the loss differentiable and efficient for GPU execution.
  • Provide a practical, plug-in-compatible framework that integrates OT loss computation as a differentiable layer within deep generative architectures.

Proposed method

  • Apply entropic smoothing to the original optimal transport problem, transforming it into a regularized OT problem solvable via Sinkhorn fixed-point iterations.
  • Use iterative Sinkhorn algorithms to compute a differentiable approximation of the Wasserstein distance, enabling gradient backpropagation.
  • Integrate the Sinkhorn iterations into a computational graph using algorithmic (automatic) differentiation to compute gradients through the iterations.
  • Design a differentiable layer stack that replaces standard loss functions in generative models, allowing end-to-end training with OT-based objectives.
  • Leverage GPU acceleration to streamline the computation of Sinkhorn iterations and their gradients, enabling scalability to large models and high-dimensional data.
  • Ensure numerical stability and smoothness of the loss by controlling the entropic regularization parameter during optimization.

Experimental results

Research questions

  • RQ1Can entropic smoothing and automatic differentiation be combined to make optimal transport losses tractable for large-scale deep generative models?
  • RQ2How does the differentiable Sinkhorn approximation compare to exact OT in terms of training stability and convergence for high-dimensional data?
  • RQ3To what extent can the proposed method be integrated into existing deep generative architectures without architectural modifications?
  • RQ4What is the impact of the entropic regularization parameter on the trade-off between approximation accuracy and training efficiency?
  • RQ5Can the resulting framework achieve competitive performance in generative modeling while maintaining differentiability and GPU efficiency?

Key findings

  • The proposed method enables stable and efficient training of generative models using optimal transport losses, overcoming the computational and differentiability challenges of exact OT.
  • Entropic smoothing combined with automatic differentiation of Sinkhorn iterations produces a smooth, differentiable approximation of the Wasserstein distance suitable for deep learning.
  • The method achieves high computational efficiency on GPU hardware, making large-scale generative modeling with OT feasible.
  • The framework can be seamlessly integrated as a differentiable layer in deep generative models, allowing end-to-end training with OT objectives.
  • The approach provides a robust alternative to traditional divergence-based losses (e.g., GANs or VAEs) in scenarios with low-dimensional data manifolds.
  • The method demonstrates improved stability and convergence in high-dimensional settings where standard OT and information-theoretic divergences fail.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.