paper-with-me

Papers

Online Importance Sampling for Stochastic Gradient Optimization

2023-11-24 · Corentin Salaün, Xingchang Huang, Iliyan Georgiev, Niloy J. Mitra, Gurprit Singh

Machine learning optimization often depends on stochastic gradient descent, where the precision of gradient estimation is vital for model performance. Gradients are calculated from mini-batches formed by uniformly selecting data samples from the training dataset. However, not all data samples contribute equally to gradient estimation. To address this, various importance sampling strategies have been developed to prioritize more significant samples. Despite these advancements, all current importance sampling methods encounter challenges related to computational efficiency and seamless integration into practical machine learning pipelines. In this work, we propose a practical algorithm that efficiently computes data importance on-the-fly during training, eliminating the need for dataset preprocessing. We also introduce a novel metric based on the derivative of the loss w.r.t. the network output, designed for mini-batch importance sampling. Our metric prioritizes influential data points, thereby enhancing gradient estimation accuracy. We demonstrate the effectiveness of our approach across various applications. We first perform classification and regression tasks to demonstrate improvements in accuracy. Then, we show how our approach can also be used for online data pruning by identifying and discarding data samples that contribute minimally towards the training loss. This significantly reduce training time with negligible loss in the accuracy of the model.

📄 PDF Abstract BibTeX arXiv:2311.14468

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Methods 이 논문이 사용한 방법론

SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Adaptive Importance Sampling for Finite-Sum Optimization and Sampling with Decreasing Step-Sizes

2021-03-23 · NeurIPS 2020 12 · Ayoub El Hanchi, David A. Stephens

Reducing the variance of the gradient estimator is known to improve the convergence rate of stochastic gradient-based optimization and sampling algorithms. One way of achieving variance reduction is to design importance …

Stochastic Optimization

Stochastic Optimization with Importance Sampling

2014-01-13 · Peilin Zhao, Tong Zhang

Uniform sampling of training data has been commonly used in traditional stochastic optimization algorithms such as Proximal Stochastic Gradient Descent (prox-SGD) and Proximal Stochastic Dual Coordinate Ascent (prox-SDCA…

Stochastic Optimization

Adaptive Client Sampling in Federated Learning via Online Learning with Bandit Feedback

2021-12-28 · Boxin Zhao, Lingxiao Wang, Ziqi Liu, Zhiqiang Zhang 외

Due to the high cost of communication, federated learning (FL) systems need to sample a subset of clients that are involved in each round of training. As a result, client sampling plays an important role in FL systems as…

Federated LearningStochastic Optimization

Stochastic Gradient Annealed Importance Sampling for Efficient Online Marginal Likelihood Estimation

2019-11-17 · Scott A. Cameron, Hans C. Eggers, Steve Kroon

We consider estimating the marginal likelihood in settings with independent and identically distributed (i.i.d.) data. We propose estimating the predictive distributions in a sequential factorization of the marginal like…

Training Deep Models Faster with Robust, Approximate Importance Sampling

2018-12-01 · NeurIPS 2018 12 · Tyler B. Johnson, Carlos Guestrin

In theory, importance sampling speeds up stochastic gradient algorithms for supervised learning by prioritizing training examples. In practice, the cost of computing importances greatly limits the impact of importance sa…