神经网络的算法简化:动机拼接
Algorithmic Simplification of Neural Networks with Mosaic-of-Motifs
AI总结:
本文从算法复杂性角度解释神经网络可压缩性,提出动机拼接方法,通过限制参数结构降低算法复杂度,实验证明该方法能有效压缩神经网络参数同时保持性能。
摘要:
大规模深度学习模型适合压缩。在各种任务中,剪枝、量化和知识蒸馏等方法可实现大幅减少模型参数,仅带来微小性能下降。本文从算法复杂性角度解释这一现象,假设训练后的模型参数具有更多结构,算法复杂度低于初始化权重。模型压缩方法利用这种降低的算法复杂度来压缩模型。尽管无约束参数化可以表示任意权重分配,训练中找到的解具有重复性和结构,更易于实现。为此,本文将权重的Kolmogorov复杂度定义为K(w)。引入受限参数化w̃,将参数分成大小为s的块,并限制每个块从k个可重用的动机中选择,由重用模式(或拼接)指定。所提出的方法MoMos提供了一种理论上合理的参数化方法,使优化偏向于算法上更简单的解。多个实验的实证证据表明,MoMos在训练过程中一致降低了神经网络的算法复杂度,同时保持无约束模型的性能。这些结果表明,参数压缩性不仅在训练后观察到,还可以从优化域中诱导。
英文摘要:
Large-scale deep learning models are well-suited for compression. Across a variety of tasks, methods like pruning, quantization, and knowledge distillation have been used to achieve massive reductions in model parameters with only marginal performance drops. This raises the central question: *Why are deep neural networks suited for compression?* In this work, we take up the perspective of algorithmic complexity to explain this behavior. We hypothesize that the parameters of trained models have more structure and, hence, exhibit lower algorithmic complexity compared to the weights at (random) initialization. Furthermore, model compression methods harness this reduced algorithmic complexity to compress models. Although an unconstrained parameterization of model weights, $\mathbf{w} \in \mathbb{R}^n$, can represent arbitrary weight assignments, the solutions found during training exhibit repeatability and structure, making them simpler to implement than a trivial program. To this end, we formalize the Kolmogorov complexity of $\mathbf{w}$ by $\mathcal{K}(\mathbf{w})$. We introduce a constrained parameterization $\widehat{\mathbf{w}}$ that partitions parameters into blocks of size $s$ and restricts each block to be selected from a set of $k$ reusable motifs, specified by a reuse pattern (or mosaic). The resulting method, $\mathit{Mosaic\text{-}of\text{-}Motifs}$ (MoMos), provides a theoretically justified parameterization that biases optimization toward algorithmically simpler solutions. Empirical evidence from multiple experiments shows that MoMos consistently lowers the algorithmic complexity of neural networks during training while preserving the performance of unconstrained models. These results suggest that parameter compressibility is not only observed after training, but can be induced from the optimization domain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。