arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.16830cs.LGcs.NAmath.NA
收藏

深度神经网络权重的采样

Sampling weights of deep neural networks

Technical University of Munich(慕尼黑工业大学);Institute for Advanced Study(高等研究院)

Erik Lien Bolager, Iryna Burak, Chinmay Datar, Qing Sun, Felix Dietrich

AI总结:

本文提出一种基于输入输出数据采样的神经网络权重生成方法,无需迭代优化,证明其通用逼近性,且实验显示精度与迭代训练相当,速度大幅提升。

摘要:

我们提出了一种概率分布,结合高效的采样算法,用于全连接神经网络的权重和偏置。在监督学习背景下,无需对网络内部参数进行迭代优化或梯度计算即可获得训练好的网络。该采样基于随机特征模型的思想。然而,我们并非使用与数据无关的分布(例如正态分布),而是利用输入和输出训练数据来采样浅层和深层网络。我们证明了采样网络是通用逼近器。对于Barron函数,我们展示了采样浅层网络的$L^2$逼近误差随神经元数量的平方根而减小。我们的采样方案对输入数据的刚体变换和缩放具有不变性,这意味着许多流行的预处理技术并非必需。在数值实验中,我们证明了采样网络能达到与迭代训练网络相当的精度,但构建速度可以快几个数量级。我们的测试案例包括来自OpenML的分类基准、对神经算子进行采样以表示函数空间中的映射,以及使用知名架构进行迁移学习。

英文摘要:

We introduce a probability distribution, combined with an efficient sampling algorithm, for weights and biases of fully-connected neural networks. In a supervised learning context, no iterative optimization or gradient computations of internal network parameters are needed to obtain a trained network. The sampling is based on the idea of random feature models. However, instead of a data-agnostic distribution, e.g., a normal distribution, we use both the input and the output training data to sample shallow and deep networks. We prove that sampled networks are universal approximators. For Barron functions, we show that the $L^2$-approximation error of sampled shallow networks decreases with the square root of the number of neurons. Our sampling scheme is invariant to rigid body transformations and scaling of the input data, which implies many popular pre-processing techniques are not required. In numerical experiments, we demonstrate that sampled networks achieve accuracy comparable to iteratively trained ones, but can be constructed orders of magnitude faster. Our test cases involve a classification benchmark from OpenML, sampling of neural operators to represent maps in function spaces, and transfer learning using well-known architectures.

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

↑