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

用于基于神经网络的回归的高效核代理

Efficient kernel surrogates for neural network-based regression

Pacific Northwest National Laboratory(太平洋西北国家实验室);Stony Brook University(石溪大学);The University of Washington(华盛顿大学);Brown University(布朗大学);The University of Texas, El Paso(德克萨斯大学埃尔帕索分校)

Saad Qadeer, Andrew Engel, Amanda Howard, Adam Tsou, Max Vargas, Panos Stinis, Tony Chiang

AI总结:

本文研究以共轭核 CK 高效近似神经正切核 NTK,建立相对测试损失界并验证其性能,提出低成本提升 DNN、GPT-2 及物理信息算子网络训练的方案。

摘要:

尽管深度神经网络(DNN)在执行多种学习任务方面展现出巨大前景,但从业者迄今仍缺乏对其局限性的理论理解。部分原因在于无法确定所学函数的闭式表达,从而使其在未见数据集上的泛化性质更难研究。近期研究表明,无限宽极限下随机初始化的 DNN 会收敛为依赖具有已知闭式表达的神经正切核(Neural Tangent Kernel,NTK)的核机器。这些结果表明,实验性核机器也可作为有限宽 DNN 的代理,并且实验证据也证实了这一点。然而,组装完整 NTK 的高昂计算成本使该方法在实践中不可行,因此需要低成本近似。在当前工作中,我们研究共轭核(Conjugate Kernel,CK)的性能,它是 NTK 的一种高效近似,并已被观察到可产生相当相似的结果。针对光滑函数的回归问题以及逻辑回归分类,我们证明 CK 的性能仅略逊于 NTK,并且在某些情况下表现更优。特别地,我们建立了相对测试损失的界,通过数值测试对其进行验证,并确定核的正则性是性能的关键决定因素。除了为使用 CK 替代 NTK 提供理论依据外,我们的框架还提出了一种低成本提升 DNN 准确率的方案。我们在基础模型 GPT-2 上对此进行了演示,比较其在分类任务中使用传统方法和我们方案的性能。我们还展示了如何将该方法用于改进面向回归任务的物理信息算子网络训练,以及面向视觉分类任务的卷积神经网络训练。

英文摘要:

Despite their immense promise in performing a variety of learning tasks, a theoretical understanding of the limitations of Deep Neural Networks (DNNs) has so far eluded practitioners. This is partly due to the inability to determine the closed forms of the learned functions, making it harder to study their generalization properties on unseen datasets. Recent work has shown that randomly initialized DNNs in the infinite width limit converge to kernel machines relying on a Neural Tangent Kernel (NTK) with known closed form. These results suggest, and experimental evidence corroborates, that empirical kernel machines can also act as surrogates for finite width DNNs. The high computational cost of assembling the full NTK, however, makes this approach infeasible in practice, motivating the need for low-cost approximations. In the current work, we study the performance of the Conjugate Kernel (CK), an efficient approximation to the NTK that has been observed to yield fairly similar results. For the regression problem of smooth functions and logistic regression classification, we show that the CK performance is only marginally worse than that of the NTK and, in certain cases, is shown to be superior. In particular, we establish bounds for the relative test losses, verify them with numerical tests, and identify the regularity of the kernel as the key determinant of performance. In addition to providing a theoretical grounding for using CKs instead of NTKs, our framework suggests a recipe for improving DNN accuracy inexpensively. We present a demonstration of this on the foundation model GPT-2 by comparing its performance on a classification task using a conventional approach and our prescription. We also show how our approach can be used to improve physics-informed operator network training for regression tasks as well as convolutional neural network training for vision classification tasks.

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

↑