paper-with-me

홈 › Papers

Biased Importance Sampling for Deep Neural Network Training

2017-05-31 · Angelos Katharopoulos, François Fleuret

Importance sampling has been successfully used to accelerate stochastic optimization in many convex problems. However, the lack of an efficient way to calculate the importance still hinders its application to Deep Learning. In this paper, we show that the loss value can be used as an alternative importance metric, and propose a way to efficiently approximate it for a deep model, using a small model trained for that purpose in parallel. This method allows in particular to utilize a biased gradient estimate that implicitly optimizes a soft max-loss, and leads to better generalization performance. While such method suffers from a prohibitively high variance of the gradient estimate when using a standard stochastic optimizer, we show that when it is combined with our sampling mechanism, it results in a reliable procedure. We showcase the generality of our method by testing it on both image classification and language modeling tasks using deep convolutional and recurrent neural networks. In particular, our method results in 30% faster training of a CNN for CIFAR10 than when using uniform sampling.

📄 PDF Abstract BibTeX arXiv:1706.00043

Code (1)

idiap/importance-sampling tf

Tasks

image-classificationImage ClassificationLanguage ModelingLanguage ModellingStochastic Optimization

Similar Papers 제목 키워드 기반

Importance Sampling via Score-based Generative Models

2025-02-07 · Heasung Kim, Taekyun Lee, Hyeji Kim, Gustavo de Veciana

Importance sampling, which involves sampling from a probability density function (PDF) proportional to the product of an importance weight function and a base PDF, is a powerful technique with applications in variance re…

Data Augmentation

Importance Sampling with Unequal Support

2016-11-10 · Philip S. Thomas, Emma Brunskill

Importance sampling is often used in machine learning when training and testing data come from different distributions. In this paper we propose a new variant of importance sampling that can reduce the variance of import…

Importance Sampling for Stochastic Gradient Descent in Deep Neural Networks

2023-03-29 · Thibault Lahire

Stochastic gradient descent samples uniformly the training set to build an unbiased gradient estimate with a limited number of samples. However, at a given step of the training process, some data are more helpful than ot…

State Relevance for Off-Policy Evaluation

2021-09-13 · Simon P. Shen, Yecheng Jason Ma, Omer Gottesman, Finale Doshi-Velez

Importance sampling-based estimators for off-policy evaluation (OPE) are valued for their simplicity, unbiasedness, and reliance on relatively few assumptions. However, the variance of these estimators is often high, esp…

Off-policy evaluation

Markov Chain Truncation for Doubly-Intractable Inference

2016-10-15 · Colin Wei, Iain Murray

Computing partition functions, the normalizing constants of probability distributions, is often hard. Variants of importance sampling give unbiased estimates of a normalizer Z, however, unbiased estimates of the reciproc…