Exploiting Uncertainty of Loss Landscape for Stochastic Optimization

Vineeth S. Bhaskara, Sneha Desai
5/30/2019
cs.LGmath.OCstat.ML
rl

Official code: vinbhaskara/AdamS (16 stars, Python, MIT, PyTorch, last commit 2026-04-30).

Abstract

We introduce novel variants of momentum by incorporating the variance of the stochastic loss function. The variance characterizes the confidence or uncertainty of the local features of the averaged loss surface across the i.i.d. subsets of the training data defined by the mini-batches.

Show full abstract

We show two applications of the gradient of the variance of the loss function. First, as a bias to the conventional momentum update to encourage conformity of the local features of the loss function (e.g. local minima) across mini-batches to improve generalization and the cumulative training progress made per epoch. Second, as an alternative direction for "exploration" in the parameter space, especially, for non-convex objectives, that exploits both the optimistic and pessimistic views of the loss function in the face of uncertainty. We also introduce a novel data-driven stochastic regularization technique through the parameter update rule that is model-agnostic and compatible with arbitrary architectures. We further establish connections to probability distributions over loss functions and the REINFORCE policy gradient update with baseline in RL. Finally, we incorporate the new variants of momentum proposed into Adam, and empirically show that our methods improve the rate of convergence of training based on our experiments on the MNIST and CIFAR-10 datasets.

View on arXivView PDF

Code Implementations(1)

vinbhaskara/AdamSOfficial100%
PyTorchMIT

PyTorch Code for the Paper: "Exploiting Uncertainty of Loss Landscape for Stochastic Optimization [Bhaskara et al. (2019)]

161Python, ShellMay 25, 20197 months agoMIT
adamdeep-learningneural-networksoptimizationoptimization-algorithms+2 more

Similar Papers

Cite this paper

@article{bhaskara2019exploiting,
  title  = {Exploiting Uncertainty of Loss Landscape for Stochastic Optimization},
  author = {Vineeth S. Bhaskara and Sneha Desai},
  year   = {2019},
  eprint = {1905.13200},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.13200}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.13200.svg)](https://codeofpaper.com/paper/1905.13200)

Discussion