Skip to main content
Interactive 3D/Model Soup - Weight Averaging Ensemble
Model Checkpoints (parameter vectors - abstracted)
Checkpoint 1
Acc: 79.18%
Loss: 0.85
Checkpoint 2
Acc: 75.49%
Loss: 0.865
Checkpoint 3
Acc: 73.29%
Loss: 0.83
Weighted avg →
Model Soup
Acc: 75.99%
Accuracy Comparison
79.18
Ck1
75.49
Ck2
73.29
Ck3
75.99
Soup
Best single: 79.18%
Soup: 75.99%
Gain: -3.19%
Loss Landscape Interpolation (model A → B)
Model soup stays within the same loss basin (green) - unlike naive averaging which can land in high-loss regions between different basins. This works because all checkpoints are fine-tuned from the same pretrained weights.
Controls
Models in Soup
Count3
Weighting Strategy
uniform
performance-weighted
Task
imagenet
cifar10
flowers
Model soup (Wortsman et al. 2022): average weights of multiple fine-tuned checkpoints. Consistently outperforms any single checkpoint because averaging smooths out noise while preserving signal.

Model Soup - Weight Averaging Ensemble - Interactive Visualization

Model soup (Wortsman et al. 2022) discovered that averaging the weights of multiple independently fine-tuned checkpoints consistently outperforms any single checkpoint. The key insight: models fine-tuned from the same pretrained weights lie in the same loss basin, so averaging their weights stays in that basin rather than jumping to a high-loss region. This is fundamentally different from output ensemble (averaging predictions) - it is weight-space averaging.

  • Average weights of N fine-tuned checkpoints - not predictions, actual model weights
  • Works because all checkpoints start from same pretrained init - same loss basin
  • Uniform averaging: equal weight to all checkpoints, simple and often best
  • Performance-weighted: weight proportional to validation accuracy
  • Consistently adds 0.5-2% accuracy over best single model with zero inference cost

Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.