arXiv:2510.08396cs.LGcs.AI2025-10NeurIPS被引 31

用仿生设计提升LoRA的参数效率与任务解耦能力

FlyLoRA: Boosting Task Decoupling and Parameter Efficiency via Implicit Rank-Wise Mixture-of-Experts

  • 通过秩级专家激活和隐式路由机制,避免显式路由器
  • 在四大领域任务中均优于现有方法,性能稳定提升
  • 适合追求高效多任务微调的AI研究者与工程师

低秩适配(LoRA)是基础模型参数高效微调的常用方法,但存在参数干扰问题。尽管基于混合专家(MoE)的LoRA变体在单任务指令微调中缓解了任务内相关性,却引入额外路由器参数,且在多任务模型融合时无法有效应对任务间干扰。受果蝇嗅觉回路启发,我们提出FlyLoRA:一种隐式MoE结构的LoRA变体,其核心为(1)在上投影矩阵中采用秩级专家激活,(2)设计一个隐式路由器,将专家路由与下投影统一,使用冻结的稀疏随机投影矩阵替代传统可训练稠密矩阵。该设计消除了显式路由器带来的计算开销,同时利用随机矩阵的正交性特性,天然抑制任务间干扰。在通用知识理解、科学问答、数学推理和代码生成四个领域的广泛实验表明,FlyLoRA在各项任务中持续优于现有方法。除实证性能提升外,本工作还展示了生物结构如何启发人工智能技术创新。代码已公开于https://github.com/gfyddha/FlyLoRA。

原文摘要 · Abstract (English)

Low-Rank Adaptation (LoRA) is a widely used parameter-efficient fine-tuning method for foundation models, but it suffers from parameter interference, resulting in suboptimal performance. Although Mixture-of-Experts (MoE)-based LoRA variants show promise in mitigating intra-task correlations in single-task instruction tuning, they introduce additional router parameters and remain ineffective in multi-task model merging where inter-task interference arises. Inspired by the fly olfactory circuit, we propose FlyLoRA, an implicit MoE-based LoRA variant that introduces: (1) rank-wise expert activation in the up-projection matrix, and (2) an implicit router that unifies expert routing and down-projection, where a frozen sparse random projection matrix replaces the traditional dense trainable version. This design resolves the trade-off between intra-task decorrelation and computational efficiency by eliminating the need for an explicit router, while inherently mitigating inter-task interference due to the orthogonality property of random matrices. Extensive experiments across four domains -- general knowledge understanding, scientific question answering, mathematical reasoning, and code generation -- demonstrate consistent performance improvements over existing methods. Beyond empirical gains, FlyLoRA highlights how biological structures can inspire innovations in AI technologies. Code is available at https://github.com/gfyddha/FlyLoRA.

LoRAMoE参数效率多任务学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。