[Paper Review] Kernelized Wasserstein Natural Gradient
This paper proposes Kernelized Wasserstein Natural Gradient (KWNG), a scalable method to approximate the natural gradient for the Wasserstein metric by leveraging a dual formulation in a Reproducing Kernel Hilbert Space. It enables efficient, curvature-invariant optimization with theoretical guarantees and demonstrates superior performance over standard SGD and adaptive methods on CIFAR-10 and CIFAR-100, especially under ill-conditioned parametrizations.
Many machine learning problems can be expressed as the optimization of some cost functional over a parametric family of probability distributions. It is often beneficial to solve such optimization problems using natural gradient methods. These methods are invariant to the parametrization of the family, and thus can yield more effective optimization. Unfortunately, computing the natural gradient is challenging as it requires inverting a high dimensional matrix at each iteration. We propose a general framework to approximate the natural gradient for the Wasserstein metric, by leveraging a dual formulation of the metric restricted to a Reproducing Kernel Hilbert Space. Our approach leads to an estimator for gradient direction that can trade-off accuracy and computational cost, with theoretical guarantees. We verify its accuracy on simple examples, and show the advantage of using such an estimator in classification tasks on Cifar10 and Cifar100 empirically.
Motivation & Objective
- To address the computational infeasibility of exact natural gradient computation in high-dimensional deep learning models.
- To develop a scalable, parametrization-invariant optimization method using the Wasserstein metric for improved convergence in ill-conditioned settings.
- To provide a flexible estimator that trades off accuracy and computational cost via kernel approximation in a Reproducing Kernel Hilbert Space.
- To empirically validate the method's accuracy and effectiveness in supervised learning tasks with challenging optimization landscapes.
Proposed method
- The method uses a dual formulation of the Wasserstein metric restricted to a Reproducing Kernel Hilbert Space (RKHS) to derive a closed-form expression for the natural gradient.
- It approximates the natural gradient direction by solving a convex functional optimization problem in the RKHS, enabling efficient computation.
- The estimator leverages kernel methods and basis functions to trade off accuracy and computational cost, with theoretical convergence guarantees.
- A damping parameter is adaptively updated using Levenberg-Marquardt dynamics to stabilize training.
- The approach generalizes to other metrics, including the Fisher-Rao metric, through the same dual formulation framework.
- The method is applied in supervised learning via end-to-end training with a residual network on CIFAR-10 and CIFAR-100.
Experimental results
Research questions
- RQ1Can a kernel-based approximation of the Wasserstein natural gradient achieve high accuracy while remaining computationally feasible for deep learning models?
- RQ2How does the proposed KWNG estimator compare to standard SGD and adaptive methods like Adam in terms of convergence speed and generalization under ill-conditioned parametrizations?
- RQ3What is the impact of kernel bandwidth and number of basis functions on the accuracy of the natural gradient approximation?
- RQ4How does the adaptive damping scheme affect training stability and performance in practice?
Key findings
- The KWNG estimator achieves significantly lower relative error in natural gradient approximation compared to baseline methods, especially in high-dimensional settings.
- On CIFAR-10 and CIFAR-100, KWNG outperforms SGD and Adam in both training and test accuracy, particularly in the ill-conditioned case.
- The method converges faster than standard SGD and achieves higher test accuracy than diagonal preconditioning and KFAC, especially when the Hessian condition number is high.
- The relative error of the estimator decreases with increasing sample size and number of basis functions, with stable performance across dimensions from d=1 to d=10.
- Adaptive damping improves training stability, and the choice of kernel (Gaussian vs. rational quadratic) affects performance, with Gaussian kernels showing better results in most cases.
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.