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

LoRAWeaver:LoRA表示空间中的方向适配器路由

LoRAWeaver: Directional Adapter Routing in LoRA Representation Space

Loughborough University(拉夫堡大学)

Inish Melroy D Souza, Tom Jackson, Vitor Castro, Rebecca Higginson, Andrea Soltoggio

AI总结:

针对LoRA适配器池推理选择复杂及现有方法需重训练的问题,提出无需训练的LoRA表示空间方向适配器路由方法,在多任务基准及分布外任务上性能优于无训练基线。

摘要:

大型语言模型通过全量重训练进行更新成本高昂,参数高效微调降低了适配成本,但反复适配会产生不断增长的特定任务LoRA适配器池,该池在推理阶段的适配器选择过程中造成了复杂问题。现有路由方法和基于编码器的方法在新增适配器时通常需要重训练,这限制了它们在动态场景中的应用。本文将适配器路由视为适配器输出空间中的表示对齐问题,提出了一种无需训练的方法,通过将适配器条件查询表示与任务原型进行余弦相似度匹配来选择适配器。在48任务的FLAN-v2基准测试及分布外任务上,使用LLaMA-2-7B和LLaMA-2-13B开展的实验表明,该方法在跨任务场景中优于无需训练的基线方法,且无需学习路由器即可接近训练后的检索编码器的性能。 ablation实验证实了适配器输出空间中方向对齐的益处。

英文摘要:

Large language models are expensive to update through full retraining. Parameter-efficient fine-tuning reduces the cost of adaptation, but repeated adaptation creates a growing pool of task-specific LoRA adapters. This pool complicates adapter selection during inference. Existing routing and encoder-based methods often require retraining when new adapters are added, which limits their use in dynamic settings. This paper treats adapter routing as a representation alignment problem in the adapter-output space. The proposed training-free method selects adapters by matching adapter-conditioned query representations against task prototypes using cosine similarity. Experiments with LLaMA-2-7B and LLaMA-2-13B on a 48-task FLAN-v2 benchmark and on out-of-distribution tasks show that the method outperforms training-free baselines in the cross-task setting and approaches a trained retrieval encoder without learning a router. An ablation confirms the benefit of directional alignment in the adapter-output space.

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

↑