[论文解读] An Over-parameterized Exponential Regression
论文证明在过参数化下,具有指数激活的两层神经网络可训练,给出显式的宽度、学习率和迭代次数界以在高概率下获得小的训练损失。
Over the past few years, there has been a significant amount of research focused on studying the ReLU activation function, with the aim of achieving neural network convergence through over-parametrization. However, recent developments in the field of Large Language Models (LLMs) have sparked interest in the use of exponential activation functions, specifically in the attention mechanism. Mathematically, we define the neural function $F: \mathbb{R}^{d imes m} imes \mathbb{R}^d ightarrow \mathbb{R}$ using an exponential activation function. Given a set of data points with labels $\{(x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)\} \subset \mathbb{R}^d imes \mathbb{R}$ where $n$ denotes the number of the data. Here $F(W(t),x)$ can be expressed as $F(W(t),x) := \sum_{r=1}^m a_r \exp(\langle w_r, x angle)$, where $m$ represents the number of neurons, and $w_r(t)$ are weights at time $t$. It's standard in literature that $a_r$ are the fixed weights and it's never changed during the training. We initialize the weights $W(0) \in \mathbb{R}^{d imes m}$ with random Gaussian distributions, such that $w_r(0) \sim \mathcal{N}(0, I_d)$ and initialize $a_r$ from random sign distribution for each $r \in [m]$. Using the gradient descent algorithm, we can find a weight $W(T)$ such that $\| F(W(T), X) - y \|_2 \leq ε$ holds with probability $1-δ$, where $ε\in (0,0.1)$ and $m = Ω(n^{2+o(1)}\log(n/δ))$. To optimize the over-parameterization bound $m$, we employ several tight analysis techniques from previous studies [Song and Yang arXiv 2019, Munteanu, Omlor, Song and Woodruff ICML 2022].
研究动机与目标
- 研究在神经网络与注意力相关模型中超越 ReLU 的指数激活的过参数化的研究动机。
- 给出一个带有指数激活且第二层权重固定的两层网络的形式。
- 在较大宽度 m 和合适学习率的条件下推导梯度下降的收敛性保证。
- 将收敛性与与指数激活相关的神经切线内核联系起来。
- 在离散化与连续设置下,提供对权重扰动和 Gram 矩阵的严格分析与界限。
提出的方法
- 定义 F(W(t),x)=sum_{r=1}^m a_r exp(w_r^T x) 其中 a_r ∈ {-1,1} 且随机高斯初始 w_r(0)。
- 使用学习率 eta 的梯度下降并跟踪演化以界定训练损失 ||F(T)-y||_2^2。
- 建立连续与离散 Gram 矩阵 H^cts 与 H^dis 之间的谱接近性并界定它们的差异。
- 通过归纳证明界定权重变化 Delta w_r(t)、损失下降量以及梯度行为。
- 设宽度 m = Ω(λ^{-2} log(n/δ) n^{2+o(1)}), eta = Θ(λ/(m n^{2+o(1)})), T = Ω(λ^{-2} n^{2+o(1)} log(n/ε))。
- 利用概率、扰动理论和谱分析工具来控制初始化与扰动。
实验结果
研究问题
- RQ1在训练区间内是否可以为指数激活的神经网络建立过参数化界?
- RQ2为了在高概率下收敛到小训练误差,需要的必要宽度 m、学习率 eta 和迭代次数 T 是多少?
- RQ3相较于基于 ReLU 的网络,指数激活如何影响神经切线内核和收敛分析?
- RQ4在过参数化区间,如何控制离散与连续 Gram 矩阵的差异?
主要发现
- 在给定假设下,梯度下降以至少 1 - δ 的概率收敛到较小的训练误差。
- 当 m = Ω(λ^{-2} log(n/δ) n^{2+o(1)}), eta = Θ(λ/(m n^{2+o(1)})), T = Ω(λ^{-2} n^{2+o(1)} log(n/ε)) 时,存在 W(T) 使 ||F(T)-y||_2^2 <= ε。
- 分析显示 H^cts 与 H^dis 之间存在谱接近性且在采样下保持正的最小特征值,从而实现收敛。
- 证明将初始化扰动界、损失分解与对权重、损失及梯度的归纳结合起来。
- 带成对权重 a_{2r-1}, a_{2r}=-a_{2r-1} 与 w_{2r-1}=w_{2r} 的初始化有助于界定初始损失。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。