arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.00570cs.LGcs.CVstat.ML
收藏

当集成较小模型比单个大模型更有效时

When Ensembling Smaller Models is More Efficient than Single Large Models

Google AI(谷歌人工智能)

Dan Kondratyuk, Mingxing Tan, Matthew Brown, Boqing Gong

摘要:

集成是一种简单而流行的技术,用于通过训练多个模型(例如,具有不同的初始化)并聚集它们的预测。这种方法通常用于最大的模型,因为通常认为增加模型大小比集成较小的模型提供更大的误差减少。然而,我们在CIFAR-10和ImageNet上的实验结果表明,集成可以以更高的准确性和更少的总FLOP计算优于单个模型,即使这些模型的权重和超参数被高度优化。此外,随着模型变大,这种改进的差距会扩大。这提出了一个有趣的观察结果,即集成中的输出多样性通常比训练更大的模型更有效,特别是当模型接近其数据集可以培养的大小时。与使用调优单个大型模型的常见做法不同,可以使用集成作为模型推理速度和准确性之间更灵活的权衡。这也潜在地简化了硬件设计,例如,这是一种更简单的方法,可以跨多个工作者并行化模型,以进行实时或分布式推理。

英文摘要:

Ensembling is a simple and popular technique for boosting evaluation performance by training multiple models (e.g., with different initializations) and aggregating their predictions. This approach is commonly reserved for the largest models, as it is commonly held that increasing the model size provides a more substantial reduction in error than ensembling smaller models. However, we show results from experiments on CIFAR-10 and ImageNet that ensembles can outperform single models with both higher accuracy and requiring fewer total FLOPs to compute, even when those individual models' weights and hyperparameters are highly optimized. Furthermore, this gap in improvement widens as models become large. This presents an interesting observation that output diversity in ensembling can often be more efficient than training larger models, especially when the models approach the size of what their dataset can foster. Instead of using the common practice of tuning a single large model, one can use ensembles as a more flexible trade-off between a model's inference speed and accuracy. This also potentially eases hardware design, e.g., an easier way to parallelize the model across multiple workers for real-time or distributed inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑