Abstract
PopulAtion Parameter Averaging (PAPA) is a novel training method designed to bridge the performance gap between computationally expensive ensembles and efficient single-model inference. By training a population of models and incrementally nudging their weights toward the collective average during the training process, PAPA produces a single model that significantly outperforms standard training protocols. This approach yields substantial accuracy gains across various benchmarks without any added computational cost at inference time.
Introduction
In deep learning, a persistent trade-off exists between model performance and inference efficiency. Ensemble methods, which average the predictions of multiple models, are the gold standard for boosting accuracy and generalization. However, they are computationally prohibitive for many real-world applications, as running $p$ models at inference time increases costs by a factor of $p$.
Weight averaging offers a potential solution by combining the parameters of multiple models into a single network. While this is "free" at inference time, it typically results in poor performance. Independently trained models often converge to different regions of the loss landscape; averaging their weights can lead to a model situated on a "peak" of high loss. PAPA addresses this by ensuring models remain "averageable" throughout training while still learning diverse and useful features.
The PAPA Algorithm
The core of PAPA is a simple yet effective strategy to maintain weight-space proximity among a population of models.
The algorithm proceeds as follows:
- Population Training: Start with a population of $p$ models, each with different initializations and data augmentations.
- Average Nudging: Every few iterations (e.g., every 10 SGD steps), each model's weights are pushed slightly toward the current population average using an Exponential Moving Average (EMA).
- Dynamic Scaling: To prevent the averaging process from dominating as training converges, the averaging rate is scaled proportionally to the learning rate.
- Variance Mitigation: The authors incorporate REPAIR (REnormalizing Permuted Activations for Interpolation Repair) to mitigate "variance collapse," a side effect of weight averaging that can otherwise degrade performance.
Variants such as PAPA-all and PAPA-2 were also introduced to improve parallelization across GPUs by reducing the frequency of averaging steps or restricting averaging to random pairs.
Experimental Results
PAPA was rigorously evaluated across standard benchmarks, including CIFAR-10, CIFAR-100, ImageNet, and semantic segmentation tasks on the ISPRS Vaihingen dataset. It was also tested in fine-tuning scenarios for modern architectures like EfficientNetV2 and Vision Transformers.
Key results include:
- Accuracy Gains: PAPA consistently reduced the gap between single models and ensembles, increasing average accuracy by up to 0.8% on CIFAR-10, 1.9% on CIFAR-100, and 1.6% on ImageNet compared to standard independent training.
- Robustness: The method proved effective across diverse architectures, from classic CNNs (VGG, ResNet) to modern Vision Transformers (ConViT).
- State-of-the-Art: PAPA matched or outperformed concurrent methods like DART and ESGD while maintaining a simpler implementation.
Discussion and Insights
The success of PAPA stems from feature mixing. By keeping models in the same weight-space neighborhood, averaging allows one model to "adopt" useful features discovered by another. Analysis shows that PAPA models share 88–99% of their features by the end of training, whereas independently trained models share only 31–63%.
Furthermore, PAPA offers a more efficient way to utilize a fixed compute budget. Training 10 models for 300 epochs with PAPA was found to be more effective than training a single model for 3,000 epochs, provided that parallel GPU resources are available.
Conclusion
PAPA provides a practical framework for creating high-performance single models by leveraging the benefits of population-based training. While traditional ensembles still hold a slight edge in raw accuracy, PAPA significantly narrows this gap without the inference-time overhead. Future work may explore non-equal weighting of models and asynchronous updates to further enhance scalability in distributed environments.
Summary updated