arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.10374stat.MLcs.LG
收藏

深度线性网络中泛化动力学和迁移学习的分析理论

An analytic theory of generalization dynamics and transfer learning in deep linear networks

Stanford University(斯坦福大学)

Andrew K. Lampinen, Surya Ganguli

摘要:

最近,人们对深度学习中的泛化难题给予了很大的关注:大型深度网络可以很好地泛化,但现有的泛化误差理论非常松散,因此无法解释这种惊人的性能。此外,一个主要的希望是知识可以在任务之间转移,因此多任务学习可以提高单个任务的泛化能力。然而,我们缺乏分析理论,可以定量地预测知识转移的程度如何取决于任务之间的关系。我们开发了一个分析理论的非线性动力学的泛化在深度线性网络,无论是内部和跨任务。特别是,我们的理论为深度网络的训练和测试误差提供了解析解,这些误差是训练时间、样本数量、网络大小和初始化以及任务结构和SNR的函数。我们的理论表明,深度网络首先逐步学习最重要的任务结构,因此早期停止时的泛化误差主要取决于任务结构,而与网络大小无关。这表明泛化误差的任何严格限制都必须考虑任务结构,并解释了关于真实数据比随机数据学习得更快的观察结果。有趣的是,我们的理论还揭示了一种学习算法的存在,这种算法可以证明通过梯度下降进行神经网络训练。最后,对于迁移学习,我们的理论揭示了知识转移敏感地依赖于任务对的SNR和输入特征对齐,但可计算。

英文摘要:

Much attention has been devoted recently to the generalization puzzle in deep learning: large, deep networks can generalize well, but existing theories bounding generalization error are exceedingly loose, and thus cannot explain this striking performance. Furthermore, a major hope is that knowledge may transfer across tasks, so that multi-task learning can improve generalization on individual tasks. However we lack analytic theories that can quantitatively predict how the degree of knowledge transfer depends on the relationship between the tasks. We develop an analytic theory of the nonlinear dynamics of generalization in deep linear networks, both within and across tasks. In particular, our theory provides analytic solutions to the training and testing error of deep networks as a function of training time, number of examples, network size and initialization, and the task structure and SNR. Our theory reveals that deep networks progressively learn the most important task structure first, so that generalization error at the early stopping time primarily depends on task structure and is independent of network size. This suggests any tight bound on generalization error must take into account task structure, and explains observations about real data being learned faster than random data. Intriguingly our theory also reveals the existence of a learning algorithm that proveably out-performs neural network training through gradient descent. Finally, for transfer learning, our theory reveals that knowledge transfer depends sensitively, but computably, on the SNRs and input feature alignments of pairs of tasks.

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

↑