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

超越神经缩放定律:通过数据剪枝击败幂律缩放

Beyond neural scaling laws: beating power law scaling via data pruning

Stanford University(斯坦福大学);University of Tübingen(蒂宾根大学);Meta AI (FAIR)(Meta人工智能(基础人工智能研究院))

Ben Sorscher, Robert Geirhos, Shashank Shekhar, Surya Ganguli, Ari S. Morcos

AI总结:

本文提出利用高质量数据剪枝突破误差随数据量的幂律缩放,并通过 ImageNet 基准与自监督剪枝指标验证其可显著降低深度学习资源成本。

摘要:

被广泛观察到的神经缩放定律描述误差随训练集规模、模型规模或二者共同的幂次下降,已推动深度学习性能大幅提升。然而,仅依靠缩放获得这些改进需要高昂的计算和能源成本。本文关注误差随数据集规模的缩放,并从理论上表明,如果能够获得高质量的数据剪枝指标,用以排列训练样本应被丢弃的顺序,从而得到任意剪枝后的数据集规模,我们就可以突破幂律缩放,甚至有可能将其降低为指数缩放。随后,我们通过剪枝数据集规模对这一改进的缩放预测进行实证检验,并在 CIFAR-10、SVHN 和 ImageNet 上训练的 ResNets 中,确实观察到实践中优于幂律的缩放。接下来,鉴于寻找高质量剪枝指标的重要性,我们首次在 ImageNet 上对十种不同的数据剪枝指标开展大规模基准研究。我们发现,大多数现有高性能指标难以扩展到 ImageNet,而最佳指标计算密集,并且需要每张图像的标签。因此,我们开发了一种新的简单、低成本且可扩展的自监督剪枝指标,其性能可与最佳监督指标相媲美。总体而言,我们的工作表明,发现良好的数据剪枝指标可能提供一条可行路径,以显著改善神经缩放定律,从而降低现代深度学习的资源成本。

英文摘要:

Widely observed neural scaling laws, in which error falls off as a power of the training set size, model size, or both, have driven substantial performance improvements in deep learning. However, these improvements through scaling alone require considerable costs in compute and energy. Here we focus on the scaling of error with dataset size and show how in theory we can break beyond power law scaling and potentially even reduce it to exponential scaling instead if we have access to a high-quality data pruning metric that ranks the order in which training examples should be discarded to achieve any pruned dataset size. We then test this improved scaling prediction with pruned dataset size empirically, and indeed observe better than power law scaling in practice on ResNets trained on CIFAR-10, SVHN, and ImageNet. Next, given the importance of finding high-quality pruning metrics, we perform the first large-scale benchmarking study of ten different data pruning metrics on ImageNet. We find most existing high performing metrics scale poorly to ImageNet, while the best are computationally intensive and require labels for every image. We therefore developed a new simple, cheap and scalable self-supervised pruning metric that demonstrates comparable performance to the best supervised metrics. Overall, our work suggests that the discovery of good data-pruning metrics may provide a viable path forward to substantially improved neural scaling laws, thereby reducing the resource costs of modern deep learning.

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

↑