神经变形
Neural Metamorphosis
AI总结:
本文提出 Neural Metamorphosis (NeuMeta) 范式,通过训练神经隐式函数作为超网络学习连续权重流形,结合权重矩阵置换和输入噪声策略增强平滑性,实现任意大小网络权重的免重训采样,在 75% 压缩率下仍保持全尺寸性能。
摘要:
本文引入了一种称为 Neural Metamorphosis (NeuMeta) 的新学习范式,旨在构建可自我变形的神经网络。与为不同架构或大小构建单独模型不同,NeuMeta 直接学习神经网络的连续权重流形。一旦训练完成,我们可以直接从流形中为任意大小的网络采样权重,甚至适用于之前未见过的配置,而无需重新训练。为实现这一雄心勃勃的目标,NeuMeta 训练神经隐式函数作为超网络。它们接受模型空间内的坐标作为输入,并在流形上生成相应的权重值。换言之,隐式函数的学习方式确保预测权重在各种模型大小下表现良好。在训练这些模型时,我们注意到最终性能与所学流形的平滑度密切相关。为增强这种平滑度,我们采用了两种策略。首先,通过求解最短哈密顿路径问题,我们对权重矩阵进行置换以实现模型内平滑。此外,我们在训练隐式函数时对输入坐标添加噪声,确保不同大小的模型表现出一致的输出。因此,NeuMeta 在为各种网络配置合成参数方面展现出有希望的结果。我们在图像分类、语义分割和图像生成方面的广泛测试表明,NeuMeta 即使在 75% 的压缩率下也能保持全尺寸性能。
英文摘要:
This paper introduces a new learning paradigm termed Neural Metamorphosis (NeuMeta), which aims to build self-morphable neural networks. Contrary to crafting separate models for different architectures or sizes, NeuMeta directly learns the continuous weight manifold of neural networks. Once trained, we can sample weights for any-sized network directly from the manifold, even for previously unseen configurations, without retraining. To achieve this ambitious goal, NeuMeta trains neural implicit functions as hypernetworks. They accept coordinates within the model space as input, and generate corresponding weight values on the manifold. In other words, the implicit function is learned in a way, that the predicted weights is well-performed across various models sizes. In training those models, we notice that, the final performance closely relates on smoothness of the learned manifold. In pursuit of enhancing this smoothness, we employ two strategies. First, we permute weight matrices to achieve intra-model smoothness, by solving the Shortest Hamiltonian Path problem. Besides, we add a noise on the input coordinates when training the implicit function, ensuring models with various sizes shows consistent outputs. As such, NeuMeta shows promising results in synthesizing parameters for various network configurations. Our extensive tests in image classification, semantic segmentation, and image generation reveal that NeuMeta sustains full-size performance even at a 75% compression rate.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。