LoRAWeaver:在LoRA表示空间实现方向性适配器路由
LoRAWeaver: Directional Adapter Routing in LoRA Representation Space
LoRAWeaver提出一种免训练的适配器路由方法,将适配器路由视为适配器输出空间中的表示对齐问题,通过余弦相似度将适配器条件化的查询表示与任务原型匹配来选择适配器。
arXiv:2611.17340v1 Announce Type: new Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org