Saved in:
Bibliographic Details
Main Authors: Merad, Ibrahim, Gaïffas, Stéphane
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2309.17316
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929538239299584
author Merad, Ibrahim
Gaïffas, Stéphane
author_facet Merad, Ibrahim
Gaïffas, Stéphane
contents We introduce a clipping strategy for Stochastic Gradient Descent (SGD) which uses quantiles of the gradient norm as clipping thresholds. We prove that this new strategy provides a robust and efficient optimization algorithm for smooth objectives (convex or non-convex), that tolerates heavy-tailed samples (including infinite variance) and a fraction of outliers in the data stream akin to Huber contamination. Our mathematical analysis leverages the connection between constant step size SGD and Markov chains and handles the bias introduced by clipping in an original way. For strongly convex objectives, we prove that the iteration converges to a concentrated distribution and derive high probability bounds on the final estimation error. In the non-convex case, we prove that the limit distribution is localized on a neighborhood with low gradient. We propose an implementation of this algorithm using rolling quantiles which leads to a highly efficient optimization procedure with strong robustness properties, as confirmed by our numerical experiments.
format Preprint
id arxiv_https___arxiv_org_abs_2309_17316
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Robust Stochastic Optimization via Gradient Quantile Clipping
Merad, Ibrahim
Gaïffas, Stéphane
Machine Learning
We introduce a clipping strategy for Stochastic Gradient Descent (SGD) which uses quantiles of the gradient norm as clipping thresholds. We prove that this new strategy provides a robust and efficient optimization algorithm for smooth objectives (convex or non-convex), that tolerates heavy-tailed samples (including infinite variance) and a fraction of outliers in the data stream akin to Huber contamination. Our mathematical analysis leverages the connection between constant step size SGD and Markov chains and handles the bias introduced by clipping in an original way. For strongly convex objectives, we prove that the iteration converges to a concentrated distribution and derive high probability bounds on the final estimation error. In the non-convex case, we prove that the limit distribution is localized on a neighborhood with low gradient. We propose an implementation of this algorithm using rolling quantiles which leads to a highly efficient optimization procedure with strong robustness properties, as confirmed by our numerical experiments.
title Robust Stochastic Optimization via Gradient Quantile Clipping
topic Machine Learning
url https://arxiv.org/abs/2309.17316