arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.20194cs.LG
收藏

Occam Gradient Descent(奥卡姆梯度下降)

Occam Gradient Descent

Independent(独立研究者)

B. N. Kausik

AI总结:

针对深度学习模型规模与过拟合的平衡难题,研究提出可证明有效的算法结合训练与剪枝,衍生出Occam Gradient Descent,在多类任务和模型上均优于传统梯度下降及相关方法,兼顾效率与准确率。

摘要:

深度学习神经网络模型必须足够大以适配其问题域,同时又要足够小以避免在梯度下降过程中对训练数据过拟合。为平衡这两种相互冲突的需求,transformer等超配深度学习模型会在大型数据集上仅训练单个epoch,因此在计算资源和训练数据的利用上都效率低下。针对这些效率问题,我们推导了一种可证明有效的算法,它可以结合任意训练与剪枝方法,同时优化效率与准确率,明确了既能抵御过拟合、又能缩减模型规模且性能优于底层训练算法的条件。随后我们利用该算法将梯度下降与幅值剪枝相结合,提出了“Occam Gradient Descent(奥卡姆梯度下降)”。在损失值、计算量和模型规模方面:(a)在图像分类基准上,采用Occam Gradient Descent训练的线性神经网络和卷积神经网络,性能优于有或无训练后剪枝的传统梯度下降;(b)在一系列表格数据分类任务上,采用Occam Gradient Descent训练的神经网络性能优于传统梯度下降,也优于Random Forests(随机森林);(c)在自然语言transformer模型上,Occam Gradient Descent的表现优于传统梯度下降。

英文摘要:

Deep learning neural network models must be large enough to adapt to their problem domain, while small enough to avoid overfitting training data during gradient descent. To balance these competing demands, over-provisioned deep learning models such as transformers are trained for a single epoch on large data sets, and hence inefficient with both computing resources and training data. In response to these inefficiencies, we derive a provably good algorithm that can combine any training and pruning methods to simultaneously optimize efficiency and accuracy, identifying conditions that resist overfitting and reduce model size while outperforming the underlying training algorithm. We then use the algorithm to combine gradient descent with magnitude pruning into "Occam Gradient Descent." With respect to loss, compute and model size (a) on image classification benchmarks, linear and convolutional neural networks trained with Occam Gradient Descent outperform traditional gradient descent with or without post-train pruning; (b) on a range of tabular data classification tasks, neural networks trained with Occam Gradient Descent outperform traditional gradient descent, as well as Random Forests; (c) on natural language transformers, Occam Gradient Descent outperforms traditional gradient descent.

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

↑