What is a snapshot ensemble?

Quick Overview

Asks what a snapshot ensemble is and how one training run of a neural network can yield several models. Tests understanding of cyclic learning rate schedules, the cost of ensembles at training and inference time, and how the method compares with related techniques.

What is a snapshot ensemble?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is a snapshot ensemble? The technique comes up when you want ensemble-like accuracy from a deep network without paying for several separate training runs. ```hint Look at the learning rate schedule What happens to a network's weights when the learning rate is repeatedly raised and then decayed toward zero within a single run? ``` ### What a Strong Answer Covers - How the cyclic learning rate schedule produces several distinct models from one run. - When snapshots are saved and how their predictions are combined at test time. - Training and inference cost compared with an ensemble of independently trained models. - Why the snapshots are less diverse than independent models, and what that does to the gain. - How related methods such as Fast Geometric Ensembling and Stochastic Weight Averaging differ. ### Follow-up Questions - How would you choose the number of cycles for a fixed training budget? - Why are snapshots combined by averaging their predictions, and what can go wrong if you average their weights? - How would you cut inference cost if M forward passes are too slow in production? - How would you check whether the snapshots are diverse enough to be worth ensembling?

Overview: Asks what a snapshot ensemble is and how one training run of a neural network can yield several models. Tests understanding of cyclic learning rate schedules, the cost of ensembles at training and inference time, and how the method compares with related techniques.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is a snapshot ensemble? The technique comes up when you want ensemble-like accuracy from a deep network without paying for several separate training runs.

What a Strong Answer Covers Guidance

  • How the cyclic learning rate schedule produces several distinct models from one run.
  • When snapshots are saved and how their predictions are combined at test time.
  • Training and inference cost compared with an ensemble of independently trained models.
  • Why the snapshots are less diverse than independent models, and what that does to the gain.
  • How related methods such as Fast Geometric Ensembling and Stochastic Weight Averaging differ.

Follow-up Questions Guidance

  • How would you choose the number of cycles for a fixed training budget?
  • Why are snapshots combined by averaging their predictions, and what can go wrong if you average their weights?
  • How would you cut inference cost if M forward passes are too slow in production?
  • How would you check whether the snapshots are diverse enough to be worth ensembling?