JJava Stack Lab
论文雷达 · arXiv AI

面向低秩适配的潜在递归混合(MoLR)

摘要

LoRA 采用固定的低秩结构实现任务适配;如果要提升其表达能力,通常需要扩大或增加可学习模块,并带来成比例的参数开销。为此,研究者提出 MoLR 自适应递归框架:它使用共享变换,对每个输入降维后的潜在表示进行递归精炼;轻量级的基于阈值的路由器会独立判断每个 token 是否需要继续精炼,并通过动态调整阈值,使各递归深度的使用量保持均衡。在多种语言与视觉任务上的实验显示,MoLR 稳定优于具有代表性的 LoRA 变体,且相对 LoRA 仅增加可忽略的参数开销;它还能学习依赖输入的递归深度分配,无需重新训练即可在推理阶段调节计算量与性能之间的权衡。

查看原始标题和摘要

Mixture of Latent Recursions for Low-Rank Adaptation

Low-Rank Adaptation (LoRA) performs task-specific adaptation using a fixed low-rank architecture, whose expressiveness is typically increased by enlarging or adding learnable modules with a proportional parameter overhead. We introduce Mixture of Latent Recursions (MoLR), an adaptive recursion framework that enhances adaptation expressiveness while preserving parameter efficiency. MoLR recursively refines the down-projected latent representation of each input using a shared transformation. A lightweight threshold-based router independently determines whether each token should undergo further refinement, while dynamically adjusted thresholds encourage balanced utilization across recursion depths. Extensive experiments across diverse language and vision tasks demonstrate that MoLR consistently outperforms representative LoRA variants with negligible parameter overhead over LoRA. Further analyses show that MoLR learns input-dependent recursion-depth allocation and enables a controllable inference-time compute-performance trade-off without requiring retraining. Code will be publicly available.

核心要点

  • MoLR 通过共享变换递归精炼输入的降维潜在表示,从而在不显著增加参数的前提下增强适配表达能力
  • 基于阈值的轻量路由器按 token 决定是否继续递归,动态阈值使各递归深度的使用量保持均衡
  • 在多种语言和视觉任务上,MoLR 稳定优于具有代表性的 LoRA 变体,额外参数开销相对 LoRA 可忽略
  • MoLR 能学到随输入变化的递归深度分配,并支持无需重训练的推理期计算与性能权衡
  • 论文称代码将公开

为什么值得后端工程师关注

对使用 LoRA 做模型微调的后端工程师来说,MoLR 提供了一条在几乎不增加参数的情况下提升适配效果的思路;更重要的是,它能在推理阶段按请求或 token 调整计算深度,也就是调整递归次数,从而为推理成本与延迟控制提供可调手段,且无需重新训练模型。在已有 LoRA 服务链路上集成时,需要额外实现路由与提前停止逻辑,并评估动态递归对批处理效率的影响。