Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/7/30 04:00:00

Between Gradient and Natural Gradient: A Continuum of LoRA Initializations

AI 中文解读
新研究揭示了LoRA微调技术的一个隐藏变数:初始化方法居然是一把可以调节的“旋钮”,而非固定方案。 通俗来说,像GPT这样的大模型,想要让它学会新技能,通常需要耗费巨大算力重新训练。LoRA就像给模型“打补丁”,只需调整少量参数就能达到效果,但补丁怎么打(即初始化方式)很关键。过去研究人员要么直接沿用梯度方向,要么先做“白化”处理(类似把数据拉平后再用)。这篇论文发现,这两种做法其实只是同一个“光谱”的两端——在它们之间,还有大量中间状态可供选择。作者提出了一个统一框架ULoRA,并发现没有一种万能配方适合所有任务:有些任务需要“轻拧”旋钮,有些要“重拧”,最佳位置往往藏在中间区域。他们还开发了自动版本ULoRA-Auto,能根据模型自身特性直接选好位置,无需人工调试。 这对普通人意味着什么?如果你用AI写文章、做客服或分析数据,未来开发者更容易让模型在特定场景下表现更好、成本更低。比如让一个通用写作模型快速改造成“法律合同专家”或“儿科医生助手”,不再需要昂贵的全量训练,而且效果不输顶级方案。简而言之,AI定制将变得更灵活、更亲民。
arXiv:2607.26247v1 Announce Type: new Abstract: Low-rank adaptation (LoRA) fine-tunes large pretrained models at a fraction of the cost of full fine-tuning, but its performance depends strongly on how the adapters are initialized. Recent schemes initialize the adapters from the downstream loss gradient: some project the raw gradient onto its top directions, while others first whiten it with an estimate of the loss curvature. We show that these seemingly distinct methods are points on a single continuum: a two-parameter family of preconditioned gradient initializations, which we call Unified LoRA (ULoRA), governed by a spectral whitening exponent and an Adam-like diagonal exponent. Sweeping this family under a full learning-rate search, we find that no single fixed preconditioning strength dominates: the best operating point is task-dependent and frequently lies strictly inside the family, away from the published endpoints. Treated as an upper bound of this family, a tuned ULoRA configuration matches or exceeds full fine-tuning on all five GLUE tasks with RoBERTa-base and is competitive with the strongest baselines on GSM8K with LLaMA-2-7B. Our deployable, search-free variant, ULoRA-Auto, selects per-layer exponents from measured spectral statistics, approaches this upper bound at no additional search cost, and ranks at or near the top among deployable LoRA methods. Our results show that a principled design space for LoRA initialization and curvature preconditioning should be treated as a tunable dimension rather than a fixed design decision.
分享
阅读原文