MCNC:流形约束重参数化用于神经压缩
MCNC: Manifold-Constrained Reparameterization for Neural Compression
AI总结:
提出流形约束神经压缩(MCNC),通过将参数空间约束到低维冻结非线性流形,在保持高质量解的同时实现高压缩率,显著优于现有基线。
摘要:
大型基础模型在从计算机视觉到语音和自然语言处理等多样任务中的卓越性能,显著增加了对其的需求。然而,由于这些模型规模庞大(例如,Llama 3.1 405B 为 750GB),存储和传输它们构成了重大挑战。近期文献集中于压缩原始权重或减少微调这些模型所需参数的数量。这些压缩方法通常约束参数空间,例如,通过低秩重参数化(如 LoRA)、剪枝或量化(如 QLoRA)在模型训练期间或之后进行。在本文中,我们提出了一种新颖的模型压缩方法,称为流形约束神经压缩(MCNC)。该方法将参数空间约束到预定义且冻结的低维非线性流形上,这些流形有效地覆盖了该空间。鉴于过参数化深度神经网络中良好解普遍存在,我们表明,通过将参数空间约束到我们提出的流形上,我们能够识别出高质量的解,同时在各种任务和架构上实现前所未有的压缩率。通过在计算机视觉和自然语言处理任务中的大量实验,我们证明了我们的方法在压缩、准确性和/或模型重建时间方面显著优于最先进的基线。我们的代码公开可用,网址为 https://github.com/mint-vu/MCNC。
英文摘要:
The outstanding performance of large foundational models across diverse tasks, from computer vision to speech and natural language processing, has significantly increased their demand. However, storing and transmitting these models poses significant challenges due to their massive size (e.g., 750GB for Llama 3.1 405B). Recent literature has focused on compressing the original weights or reducing the number of parameters required for fine-tuning these models. These compression methods generally constrain the parameter space, for example, through low-rank reparametrization (e.g., LoRA), pruning, or quantization (e.g., QLoRA) during or after the model training. In this paper, we present a novel model compression method, which we term Manifold-Constrained Neural Compression (MCNC). This method constrains the parameter space to low-dimensional pre-defined and frozen nonlinear manifolds, which effectively cover this space. Given the prevalence of good solutions in over-parameterized deep neural networks, we show that by constraining the parameter space to our proposed manifold, we can identify high-quality solutions while achieving unprecedented compression rates across a wide variety of tasks and architectures. Through extensive experiments in computer vision and natural language processing tasks, we demonstrate that our method significantly outperforms state-of-the-art baselines in terms of compression, accuracy, and/or model reconstruction time. Our code is publicly available at https://github.com/mint-vu/MCNC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。