Skip to main content
QUICK REVIEW

[论文解读] Enhanced Expressive Power and Fast Training of Neural Networks by Random Projections

Jian‐Feng Cai, Li Dong|arXiv (Cornell University)|Nov 22, 2018
Sparse and Compressive Sensing TechniquesEngineering参考文献 30被引用 3
一句话总结

本文提出了一种新颖的神经网络架构,通过利用随机投影显著降低模型复杂度并加速训练,同时保持表达能力。通过在标准非线性变换之前将高维稀疏或流形结构输入投影到低维子空间,该方法在仅造成最小精度损失的情况下减少了参数量和浮点运算量(FLOPs),在MNIST和CIFAR-10基准上实现了最先进水平的效率。

ABSTRACT

Random projections are able to perform dimension reduction efficiently for datasets with nonlinear low-dimensional structures. One well-known example is that random matrices embed sparse vectors into a low-dimensional subspace nearly isometrically, known as the restricted isometric property in compressed sensing. In this paper, we explore some applications of random projections in deep neural networks. We provide the expressive power of fully connected neural networks when the input data are sparse vectors or form a low-dimensional smooth manifold. We prove that the number of neurons required for approximating a Lipschitz function with a prescribed precision depends on the sparsity or the dimension of the manifold and weakly on the dimension of the input vector. The key in our proof is that random projections embed stably the set of sparse vectors or a low-dimensional smooth manifold into a low-dimensional subspace. Based on this fact, we also propose some new neural network models, where at each layer the input is first projected onto a low-dimensional subspace by a random projection and then the standard linear connection and non-linear activation are applied. In this way, the number of parameters in neural networks is significantly reduced, and therefore the training of neural networks can be accelerated without too much performance loss.

研究动机与目标

  • 通过利用稀疏性或低维流形等结构化输入数据,提升全连接和卷积神经网络的表达能力。
  • 在不牺牲性能的前提下,减少深度网络中的参数数量和计算成本。
  • 通过用随机投影替换标准线性层并随后应用标准非线性激活,加速训练过程。
  • 证明表达能力取决于数据的内在结构(如稀疏性或流形维数),而非环境输入维数。
  • 提出并验证新型架构——RP-FCNN和RP-CNN,其中在每一层都应用随机投影。

提出的方法

  • 使用独立同分布的高斯矩阵,将高维稀疏或低维流形结构输入压缩到低维子空间。
  • 利用限制等距性质(RIP)确保稀疏向量或流形的稳定嵌入,从而在压缩过程中保持度量结构。
  • 在全连接和卷积网络的每一层中集成随机投影,替代或前置标准线性变换。
  • 对于全连接网络,用随机投影矩阵替换标准全连接层,随后接标准线性层和ReLU激活函数。
  • 对于卷积网络,使用可学习的投影矩阵和固定的随机权重矩阵,对特征图的每个通道进行随机投影。
  • 提出两种变体:方法I在全连接层之前应用随机投影,而方法II在卷积操作前对每个通道的特征图应用随机投影。

实验结果

研究问题

  • RQ1当输入数据为稀疏或位于低维流形时,随机投影是否能保持深度神经网络的表达能力?
  • RQ2所需神经元数量如何随稀疏性或流形维数变化?其对环境输入维数的依赖程度如何弱?
  • RQ3在全连接和卷积网络中,随机投影是否能显著减少模型参数量和FLOPs,同时不降低测试精度?
  • RQ4在实际深度学习设置中,压缩比、参数减少与性能退化之间的权衡关系如何?
  • RQ5所提出的基于RP的架构是否能在保持相近测试精度的同时,显著提升训练速度?

主要发现

  • 在MNIST上,n=100的RP-FCNN将参数量从204.8K减少到204.8K,FLOPs从3.70M减少到0.77M,错误率仅增加0.85%(从1.44%上升至2.29%)。
  • 在CIFAR-10上,n=500的RP-FCNN将参数量从29.36M减少到4.096M,FLOPs从58.72M减少到15.36M,错误率增加2.36%(从40.69%上升至43.05%)。
  • 对于使用方法I的RP-CNN,将n从15减少到3,使MNIST上的参数量从2.88K减少到0.58K,FLOPs从12.25M减少到2.45M,错误率仅增加0.57%(从0.48%上升至1.05%)。
  • 使用方法II的RP-CNN在MNIST上将参数量减少90%(从1,852.8K减少到24.77K,n=3),错误率仅增加0.39%(从0.48%上升至0.87%)。
  • 在CIFAR-10上,使用方法II和n=5的RP-CNN将参数量从1,852.8K减少到370.56K,FLOPs从491.52M减少到110.34M,错误率增加5.34%(从15.15%上升至20.49%)。
  • 所提出的基于RP的架构在所有基准测试中均实现了显著更快的训练速度,且参数量大幅减少,性能退化可忽略。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。