Skip to main content
QUICK REVIEW

[Paper Review] An Optimal Transport View on Generalization

Jingwei Zhang, Tongliang Liu|arXiv (Cornell University)|Nov 8, 2018
Stochastic Gradient Optimization TechniquesComputer Science34 references4 citations
TL;DR

This paper introduces a novel optimal transport framework to bound generalization error in machine learning, leveraging algorithmic transport cost—the expected Wasserstein distance between a model's output and its conditional output given a training example. It derives bounds without sub-Gaussian or bounded loss assumptions, links them to information-theoretic and learning-theoretic concepts like VC dimension and KL divergence, and shows that deep neural networks exhibit exponentially decaying generalization error with increasing depth due to hierarchical structure and f-divergence contraction.

ABSTRACT

We derive upper bounds on the generalization error of learning algorithms based on their \emph{algorithmic transport cost}: the expected Wasserstein distance between the output hypothesis and the output hypothesis conditioned on an input example. The bounds provide a novel approach to study the generalization of learning algorithms from an optimal transport view and impose less constraints on the loss function, such as sub-gaussian or bounded. We further provide several upper bounds on the algorithmic transport cost in terms of total variation distance, relative entropy (or KL-divergence), and VC dimension, thus further bridging optimal transport theory and information theory with statistical learning theory. Moreover, we also study different conditions for loss functions under which the generalization error of a learning algorithm can be upper bounded by different probability metrics between distributions relating to the output hypothesis and/or the input data. Finally, under our established framework, we analyze the generalization in deep learning and conclude that the generalization error in deep neural networks (DNNs) decreases exponentially to zero as the number of layers increases. Our analyses of generalization error in deep learning mainly exploit the hierarchical structure in DNNs and the contraction property of $f$-divergence, which may be of independent interest in analyzing other learning models with hierarchical structure.

Motivation & Objective

  • To develop a new theoretical framework for analyzing generalization error in learning algorithms using optimal transport theory.
  • To derive generalization error bounds that do not require restrictive assumptions on loss functions, such as sub-Gaussianity or boundedness.
  • To connect optimal transport with information theory and statistical learning theory by relating algorithmic transport cost to metrics like total variation, KL divergence, and VC dimension.
  • To analyze generalization in deep neural networks (DNNs) and explain why they generalize well despite high capacity.
  • To establish that generalization error in DNNs decreases exponentially with depth, attributing this to hierarchical structure and f-divergence contraction.

Proposed method

  • Define the algorithmic transport cost as the expected Wasserstein distance between the output hypothesis and its conditional version given a training example.
  • Derive a generalization error upper bound based on this transport cost, valid for Lipschitz continuous loss functions without distributional assumptions.
  • Relate the algorithmic transport cost to other probability metrics using inequalities, including total variation, relative entropy, and Hellinger distance.
  • Establish connections to classical learning theory by bounding the transport cost via VC dimension and other complexity measures.
  • Apply the framework to deep learning by modeling DNNs as Markov chains of hierarchical feature mappings and using the sub-Gaussian divergence inequality (SDPI) to bound mutual information across layers.
  • Use the contraction property of f-divergence across layers to show that mutual information between the final hypothesis and training data decays exponentially with depth.

Experimental results

Research questions

  • RQ1Can generalization error be bounded using optimal transport metrics without assuming sub-Gaussian or bounded loss functions?
  • RQ2How can algorithmic transport cost be related to classical learning theory concepts like VC dimension and information-theoretic measures such as KL divergence?
  • RQ3What role does the hierarchical structure of deep neural networks play in controlling generalization error?
  • RQ4Can the contraction property of f-divergence be used to derive exponential decay of generalization error in deep learning?
  • RQ5How does the proposed framework enable high-probability generalization bounds and algorithm design via regularization?

Key findings

  • The generalization error is upper bounded by the expected Wasserstein distance between the output hypothesis and its conditional version given a training example, valid for Lipschitz loss functions without distributional assumptions.
  • The algorithmic transport cost can be bounded using total variation distance, relative entropy, and VC dimension, bridging optimal transport with information and learning theory.
  • For bounded loss functions, a total-variation-type generalization bound is derived, which can be further bounded by Hellinger and χ² distances via metric inequalities.
  • In deep neural networks, the generalization error decreases exponentially with the number of layers due to the hierarchical structure and the contraction of f-divergence across layers.
  • The mutual information between the final hypothesis and training data decays exponentially with depth, with the decay rate determined by the geometric mean of contraction coefficients across layers.
  • The framework suggests that regularization can be designed by incorporating the derived generalization bounds into the objective function to balance fitting and generalization.

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.