Learning the Mapping $$\mathbf {x}\mapsto \sum\limits _{i=1}^d x_i^2$$ x ↦ ∑ i = 1 d x i 2 : the Cost of Finding the Needle in a Haystack

Zhang Jiefu,Zepeda-Núñez Leonardo,Yao Yuan, Lawrence Berkeley National Laboratory

Communications on Applied Mathematics and Computation(2020)

引用 1|浏览0
暂无评分
摘要
The task of using the machine learning to approximate the mapping $${\mathbf {x}}\mapsto \sum\limits _{i=1}^d x_i^2$$ with $$x_i\in [-1,1]$$ seems to be a trivial one. Given the knowledge of the separable structure of the function, one can design a sparse network to represent the function very accurately, or even exactly. When such structural information is not available, and we may only use a dense neural network, the optimization procedure to find the sparse network embedded in the dense network is similar to finding the needle in a haystack, using a given number of samples of the function. We demonstrate that the cost (measured by sample complexity) of finding the needle is directly related to the Barron norm of the function. While only a small number of samples are needed to train a sparse network, the dense network trained with the same number of samples exhibits large test loss and a large generalization gap. To control the size of the generalization gap, we find that the use of the explicit regularization becomes increasingly more important as d increases. The numerically observed sample complexity with explicit regularization scales as $$\mathcal {O}(d^{2.5})$$ , which is in fact better than the theoretically predicted sample complexity that scales as $$\mathcal {O}(d^{4})$$ . Without the explicit regularization (also called the implicit regularization), the numerically observed sample complexity is significantly higher and is close to $$\mathcal {O}(d^{4.5})$$ .
更多
查看译文
关键词
Machine learning, Sample complexity, Generalization error, 68, 65
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要