arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03096cs.LGstat.ML
收藏

权值共享正则化

Weight-Sharing Regularization

McGill University(麦吉尔大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);CIFAR AI Chair(加拿大高级研究所人工智能主席项目)

Mehran Shakerinava, Motahareh Sohrabi, Siamak Ravanbakhsh, Simon Lacoste-Julien

AI总结:

本研究提出权值共享正则化惩罚项,设计出时间复杂度为$O(\log^3 d)$的并行近端映射算法,实验证明其能让全连接网络在像素打乱场景下学习类卷积滤波器。

摘要:

权值共享在深度学习中无处不在。受此启发,我们针对神经网络的权值$w \in \mathbb{R}^d$提出一种“权值共享正则化”惩罚项,其定义为$\mathcal{R}(w) = \frac{1}{d - 1}\sum_{i > j}^d |w_i - w_j|$。我们研究了$\mathcal{R}$的近端映射,并从相互作用粒子的物理系统角度给出了其直观解释。我们还将现有的$\operatorname{prox}_\mathcal{R}$算法并行化以在GPU上运行,发现其中一种算法在实际应用中速度很快,但针对最坏情况输入的时间复杂度为$O(d)$。借助物理解释,我们设计了一种新颖的并行算法,在有足够处理器可用时其运行时间复杂度为$O(\log^3 d)$,从而保障了快速训练。我们的实验表明,即使像素被打乱,权值共享正则化也能使全连接网络学习到类卷积滤波器,而卷积神经网络在这种设置下会失效。我们的代码已在GitHub上公开。

英文摘要:

Weight-sharing is ubiquitous in deep learning. Motivated by this, we propose a "weight-sharing regularization" penalty on the weights $w \in \mathbb{R}^d$ of a neural network, defined as $\mathcal{R}(w) = \frac{1}{d - 1}\sum_{i > j}^d |w_i - w_j|$. We study the proximal mapping of $\mathcal{R}$ and provide an intuitive interpretation of it in terms of a physical system of interacting particles. We also parallelize existing algorithms for $\operatorname{prox}_\mathcal{R}$ (to run on GPU) and find that one of them is fast in practice but slow ($O(d)$) for worst-case inputs. Using the physical interpretation, we design a novel parallel algorithm which runs in $O(\log^3 d)$ when sufficient processors are available, thus guaranteeing fast training. Our experiments reveal that weight-sharing regularization enables fully connected networks to learn convolution-like filters even when pixels have been shuffled while convolutional neural networks fail in this setting. Our code is available on github.

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

↑