arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08734cs.LGcs.AIcs.CL
收藏

AdaPreLoRA: 带Adafactor预条件的低秩适应

FILO: A Unified Fisher-Geometric Framework for Low-Rank Adaptation

Department of Mathematics(数学系);The Hong Kong University of Science and Technology(香港科技大学)

Ziyun Liu, Fengmiao Bian, Jian-Feng Cai

AI总结:

AdaPreLoRA通过Adafactor预条件器和因子空间求解方法,在低秩适应中实现更高效的优化,提升模型性能与内存效率。

摘要:

低秩适应(LoRA)将权重更新重新参数化为两个低秩因子的乘积,但生成器映射因子到权重矩阵的雅可比$J_{G}$秩不足,导致因子空间预条件器$J_{G}^* {F}_t J_{G}$奇异,标准链式法则无法唯一反向映射预条件${W}$-空间方向到因子空间更新。我们将其现有LoRA优化器统一框架参数化为两个选择:(i) 哪种可逆近似用于$J_{G}^* {F}_t J_{G}$,(ii) 哪种${F}_t$用于${W}$。现有方法占据四个家族:因子空间自适应更新、$J_{G}^* J_{G}$的块对角近似、Frobenius残差伪逆方法和黎曼流形约束。在该设计空间中,一个梯度统计感知的${F}_t$配以闭式因子空间求解在${O}((m+n)r)$内存内仍待探索。我们提出AdaPreLoRA,通过Adafactor对角Kronecker预条件器${H}_t$在${W}$上,并从由此产生的因子空间解家族中选择元素,使其在${H}_t}$加权下最小化两个因子贡献的不平衡;由此得到的因子更新是预条件${W}$-空间方向在${H}_t}$加权范数下的最接近LoRA近似。在GPT-2(E2E)、Mistral-7B和Qwen2-7B(GLUE、ARC、GSM8K)以及扩散模型个性化中,AdaPreLoRA在与代表性LoRA优化器竞争或改进的同时,保持峰值GPU内存在LoRA优化器级别。

英文摘要:

Low-Rank Adaptation (LoRA) reparameterizes a weight matrix $W$ as a product of two low-rank factors, but the Jacobian $J_G$ of the generator mapping the factors to the weight matrix is rank-deficient, so the factor-space preconditioner $J_G^* F_t J_G$ induced by any $W$-space preconditioner $F_t$ is singular, and consequently the standard chain rule cannot be uniquely inverted to map a preconditioned $W$-space direction back to a factor-space update. Therefore, we introduce FILO, a unified Fisher-geometric framework for low-rank adaptation that enables factor updates without directly inverting this singular operator and casts existing LoRA optimizers by their factor-space inversion strategy and $W$-space preconditioner $F_t$. Existing methods occupy four families along these axes: factor-space adaptive updates, block-diagonal surrogates for $J_G^* J_G$, Frobenius-residual pseudoinverse methods, and Riemannian manifold methods. Within this design space, a gradient-statistics-aware $F_t$ paired with a closed-form factor-space solve at $O((m+n)r)$ memory remains underexplored. We instantiate FILO as FILO-Adafactor by adopting the Adafactor diagonal Kronecker preconditioner $H_t$ on $W$ and selecting from the resulting factor-space solution family the element minimizing an $H_t$-weighted imbalance between the two factor contributions. By construction, the induced weight update is the closest LoRA approximation to the preconditioned $W$-space direction under the $H_t$-weighted norm. Across GPT-2 on E2E, Mistral-7B and Qwen2-7B on GLUE, ARC, and GSM8K, and diffusion-model personalization, FILO-Adafactor and its momentum variant are competitive with or improve over a representative set of LoRA optimizers while keeping peak GPU memory at the LoRA optimizer level.

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

↑