一种训练单节点ReLU神经网络的近似算法
An Approximation Algorithm for training One-Node ReLU Neural Network
摘要:
使用ReLU激活函数训练单节点神经网络(One-Node-ReLU)是深度学习中的一个基本最优化问题。在本文中,我们首先证明了训练One-Node-ReLU的NP难度。然后,我们提出了一种近似算法来求解单节点ReLU,其运行时间为$\mathcal{O}(n^k)$,其中$n$是样本个数,$k$是预定义的积分常数。除了$k$,该算法不需要预处理或参数调整。我们分析了该算法在不同制度下的性能。首先,给定任意一组训练样本数据集,我们证明了该算法保证了训练单节点ReLU问题的$\frac{n}{k}$近似。因此,在可实现的情况下(即当训练误差为零时),该近似算法实现了单节点ReLU问题的全局最优解。其次,我们假设训练样本数据是从具有ReLU激活函数的底层单节点神经网络中获得的,其中输出受到高斯噪声的干扰。在这种制度下,我们表明,相同的近似算法保证了一个更好的渐近逼近比,这是独立的样本个数$n$。最后,我们进行了广泛的实证研究,并得出两个结论。第一,结合一些启发式算法的近似算法的性能优于梯度下降算法。第二,近似算法的解可以用作梯度下降的起点--这种组合比梯度下降的效果要好得多。
英文摘要:
Training a one-node neural network with ReLU activation function (One-Node-ReLU) is a fundamental optimization problem in deep learning. In this paper, we begin with proving the NP-hardness of training One-Node-ReLU. We then present an approximation algorithm to solve One-Node-ReLU whose running time is $\mathcal{O}(n^k)$ where $n$ is the number of samples, $k$ is a predefined integral constant. Except $k$, this algorithm does not require pre-processing or tuning of parameters. We analyze the performance of this algorithm under various regimes. First, given any arbitrary set of training sample data set, we show that the algorithm guarantees a $\frac{n}{k}$-approximation for training One-Node-ReLU problem. As a consequence, in the realizable case (i.e. when the training error is zero), this approximation algorithm achieves the global optimal solution for the One-Node-ReLU problem. Second, we assume that the training sample data is obtained from an underlying one-node neural network with ReLU activation function, where the output is perturbed by a Gaussian noise. In this regime, we show that the same approximation algorithm guarantees a much better asymptotic approximation ratio which is independent of the number of samples $n$. Finally, we conduct extensive empirical studies and arrive at two conclusions. One, the approximation algorithm together with some heuristic performs better than gradient descent algorithm. Two, the solution of the approximation algorithm can be used as starting point for gradient descent -- a combination that works significantly better than gradient descent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。