Ensemble methods combine the predictions of multiple models to improve performance, but they require significantly higher computation costs at inference time. To avoid these costs, multiple neural networks can be combined into one by averaging their weights. However, this usually performs significantly worse than ensembling. Weight averaging is only beneficial when different enough to benefit from combining them, but similar enough to average well. Based on this idea, we propose PopulAtion Parameter Averaging (PAPA): a method that combines the generality of ensembling with the efficiency of weight averaging. PAPA leverages a population of diverse models (trained on different data orders, augmentations, and regularizations) while slowly pushing the weights of the networks toward the population average of the weights. PAPA reduces the performance gap between averaging and ensembling, increasing the average accuracy of a population of models by up to 0.8% on CIFAR-10, 1.9% on CIFAR-100, and 1.6% on ImageNet when compared to training independent (non-averaged) models.
翻译:集成方法通过结合多个模型的预测来提升性能,但推理时需要显著增加计算成本。为避免这些成本,可通过平均多个神经网络的权重将其合并为一个模型。然而,这种方法通常效果远逊于集成。权重平均仅在模型间差异足够大以受益于融合、又足够相似以促进平均时才有益。基于此思想,我们提出PopulAtion参数平均化(PAPA):一种兼顾集成通用性与权重平均高效性的方法。PAPA利用多样化模型种群(在不同数据顺序、数据增强和正则化条件下训练),同时逐步将网络权重向种群参数平均值方向牵引。相较于训练独立(非平均化)模型,PAPA缩小了平均化与集成之间的性能差距,在CIFAR-10、CIFAR-100和ImageNet上分别使种群模型的平均准确率提升高达0.8%、1.9%和1.6%。