In this article
A model soup materializes one averaged checkpoint; selecting its ingredients still uses validation data and requires a separate final test.
Model soups reconsider what happens after training several fine-tuned models with different hyperparameters. Instead of discarding all but the best checkpoint, the method averages compatible weights into one model. The original research focuses on related fine-tunes that can occupy a favorable shared region of weight space, rather than arbitrary independently initialized networks.
Define the candidate collection
Record the common pretrained initialization, training data and the hyperparameters varied across candidates. A set of checkpoints from one training trajectory is a different candidate-generation procedure from independent fine-tuning runs. Both can be averaged experimentally, but their provenance should not be collapsed into one description when interpreting robustness or diversity.
Distinguish uniform and greedy selection
A uniform soup averages the stated candidate collection. A greedy procedure uses validation performance to decide whether adding a candidate improves the current soup. The selected ingredients and order therefore belong to the experiment record. Do not describe a validation-selected soup as if every candidate was included without selection.
Compare with prediction ensembling
An ensemble combines outputs from several models during inference. A materialized soup runs one averaged model, so it avoids evaluating every ingredient per request. The two procedures are not numerically equivalent: neural network outputs are nonlinear functions of weights. Compare their actual task behavior and deployment cost instead of assuming an average of parameters equals an average of predictions.
Preserve an independent final test
The validation data used to rank ingredients or accept additions are part of model selection. Evaluate the final chosen soup on held-out examples not used for those decisions. For an illustrative vision-language classifier, include both the target distribution and relevant distribution shifts. A gain on the selection metric does not automatically establish robustness on another domain.
Export the whole model contract
Save source revisions, selected ingredients, averaging coefficients, dtype, architecture configuration and tokenizer or preprocessing. Check any non-parameter state and task heads rather than averaging incompatible label systems. Reload the result and compare it against the chosen individual model. The original benchmark improvements motivate the experiment; they do not guarantee gains for every LLM collection. Model soups are useful when a traceable averaging recipe produces independently verified quality at the serving cost of its actual single-model artifact.
Primary references
Model soups author implementation.
Related explanations: materializing parameter changes; held-out evaluation boundaries.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.