atlas

Research map / Learning theory and algorithms / Prediction and decision losses

Understanding the Training Speedup from Sampling with Approximate Losses

ICML 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Losses for decision-making · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analyzes greedy SGD that picks the largest approximate-loss sample among R candidates, proving faster early convergence than SGD, and proposes SIFT, which uses early-exit intermediate-layer losses to select half of each batch for BERT pretraining and ResNet-50 training.

Problem

Sample selection by high loss speeds up training, but exact loss computation is too costly; the paper asks when approximate losses still yield speedups over random sampling and whether early-exit losses can cheaply enable this in practice.

Approach

Greedy selection of the largest approximate loss (from an intermediate layer via early exiting) among R i.i.d. samples, with convergence analysis for smooth convex losses showing GSGD reaches a constant factor of F* in fewer iterations than SGD, plus a practical SIFT method that backpropagates on the top 50% of a batch ranked by early-exit loss or entropy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use loss-based SIFT with exit at layer 1 instead of no sample filteringBERT base pretraining · BERT validation set, last stepvalidation accuracy: 0.6466 -> 0.6599Helped
Use entropy-based SIFT instead of loss-based SIFT at exit layer 1BERT base pretraining · BERT validation set, last stepvalidation accuracy: 0.6599 -> 0.6641Helped
Use exit layer 12 instead of layer 1 for loss-based SIFT (ablation)BERT base pretraining · BERT validation set, last stepvalidation accuracy: 0.6599 -> 0.6640Helped
Use exit layer 6 instead of layer 1 for entropy-based SIFT (ablation)BERT base pretraining · BERT validation set, last stepvalidation accuracy: 0.6641 -> 0.6680Helped
Use SIFT with early-exit loss selection instead of the baselineModified ResNet-50 · CIFAR-100, same training timetest accuracy: 69.04 -> 73.45Helped
Use SIFT with early-exit loss selection instead of the baselineModified ResNet-50 · CIFAR-100, same backpropagation sample complexitytest accuracy: 69.04 -> 75.41Helped
Use last-layer predictions instead of early-exit predictions for SIFT (ablation)Modified ResNet-50 · CIFAR-100, same backpropagation sample complexitytest accuracy: 75.41 -> 76.93Helped
Use SIFT with early-exit loss selection instead of the baselineModified ResNet-50 · Food-101, same training timetest accuracy: 59.52 -> 64.03Helped
Use last-layer predictions instead of early-exit predictions for SIFT (ablation)Modified ResNet-50 · Food-101, same training timetest accuracy: 64.03 -> 66.47Helped
Use SIFT with early-exit loss selection instead of the baselineModified ResNet-50 · Food-101, same backpropagation sample complexitytest accuracy: 59.52 -> 64.04Helped
Use last-layer predictions instead of early-exit predictions for SIFT (ablation)Modified ResNet-50 · Food-101, same backpropagation sample complexitytest accuracy: 64.04 -> 66.64Helped
Use loss-based or entropy-based SIFT with exit at layer 1 instead of vanilla trainingBERT base pretraining · BERT validation accuracy target 64%training time: ~ 57 hours -> ~ 43 hours (loss-based); ~ 57 hours -> ~ 40 hours (entropy-based)Helped

Surprising findings

Limitations

Experimental setup

Datasets: BookCorpus English Wikipedia CIFAR-100 Food-101

Benchmarks: BERT MLM validation accuracy CIFAR-100 Food-101

Metrics: validation accuracy test accuracy wall-clock hours backpropagation sample complexity

Baselines: vanilla SGD / baseline BERT pretraining entropy-based SIFT SIFT with last layer exit

Builds on: ordered SGD online hard example mining importance sampling early exiting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy