arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.28932cs.LGcs.AI
收藏

DLR:低秩预训练的零推理成本潜在残差

DLR: Zero-Inference-Cost Latent Residuals for Low-Rank Pre-Training

Graz University of Technology, Austria(奥地利格拉茨技术大学);Swiss Data Science Center, Switzerland(瑞士数据科学中心)

Dong Wang, Wenwu Tang, Yun Cheng, Olga Saukh

AI总结:

提出DLR插件,通过固定结构化残差增强低秩预训练,不增加参数,训练后可吸收,提升模型质量。

摘要:

大型语言模型推动了语言和多模态AI的最新进展,但大规模预训练成本过高。低秩预训练将每个权重矩阵分解为秩为r的乘积,以减少参数和FLOPs,是一种有前景的应对方案,但通常质量落后于全秩训练。我们提出了重复潜在残差(DLR),一种仅用于训练、无参数、可折叠的低秩预训练插件。DLR用固定的结构化残差alpha/sqrt(K) * Expand_K(z)增强标准低秩输出Bz,该残差将每个潜在坐标复制K = ceil(d_out/r)次到输出中。alpha固定时,DLR每层不增加可学习参数;训练后,它被闭式吸收到上投影中,即B* = B + alpha/sqrt(K) R^T,因此部署时的参数数量、FLOPs和内存与底层低秩骨干完全一致。在60M到7B参数的LLaMA模型上,DLR在大多数设置中增强了C4验证困惑度上的低秩预训练,在130M及以上参数时增益最明显;折叠后的检查点可干净地迁移到标准基准上的监督微调。

英文摘要:

Large language models have driven recent progress in language and multimodal AI, yet pre-training them at scale is prohibitively expensive. Low-rank pre-training, which factorizes each weight matrix into a rank-r product to reduce both parameters and FLOPs, is a promising response but typically lags full-rank training in quality. We propose Duplicated Latent Residual (DLR), a training-only, parameter-free, foldable plug-in for low-rank pre-training. DLR augments the standard low-rank output Bz with a fixed structured residual alpha/sqrt(K) * Expand_K(z) that replicates each latent coordinate K = ceil(d_out/r) times across the output. With alpha fixed, DLR adds zero learnable parameters per layer; after training, it is absorbed into the up-projection in closed form, B* = B + alpha/sqrt(K) R^T, so deployment parameter count, FLOPs and memory match the underlying low-rank backbone exactly. Across LLaMA models from 60M to 7B parameters, DLR strengthens low-rank pre-training on C4 validation perplexity in most settings, with the clearest gains at 130M and above; folded checkpoints transfer cleanly to supervised fine-tuning on standard benchmarks.

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

↑