LoRAWeaver: Directional Adapter Routing in LoRA Representation Space
Inish Melroy D Souza, Tom Jackson, Vitor Castro, Rebecca Higginson, Andrea Soltoggio
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.
Create a lesson
Related papers
The Platonic Representation Hypothesis in Jacobian-Space: Language and Vision Models Agree Approximately Up to a Rotation
Shared title terminologycs.AIRoss Murphy, Gabriel Brostow
Do We Really Need an LLM for Weight-Space Programming? A Deterministic Forward-Only Paradigm and Its Capability Boundaries
Shared title terminologycs.AILin Yao
MeterRouter: Budget-Aware Dynamic Routing for Multi-Agent Systems
Shared title terminologycs.AIYue Xu, Leikun Yin, Ruiming Min et al.
Few-Shot Adaptation of Vision-Language Models via Agentic Model Editing
Shared title terminologycs.AIYusheng Zhao, Xiao Luo, Zhiping Xiao et al.
MetaDecomp: Adaptive Task Decomposition via Meta-Learned Procedural Memory
Shared title terminologycs.AIZiyi Wang, Yixiao He, Yichen Wu et al.
Improving Building Energy Efficiency with an Indoor Environmental World Model and Counterfactual Adaptive Learning
Shared title terminologycs.AIXu Yang, Kailai Sun, Dianyu Zhong et al.