HiLoRA: Adaptive Hierarchical LoRA Routing for Training-Free Domain Generalization
Ziyi Han, Huanyu Wang, Zeyu Zhang, Xiangxiang Dai, Xutong Liu, John C. S. Lui
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Low-Rank Adaptation Methods · Type: new method · Keywords: domain generalization, LoRA adapters, hierarchical routing, training-free, Gaussian likelihood
Summary
HiLoRA is a training-free framework that adaptively routes hierarchical LoRA components for domain generalization without additional training.
Explained to a 5-year-old
When a computer program learns to talk about a new topic, it can use little pieces of learning. These pieces are like tiny helpers. The new system picks the right helpers for each sentence, without having to learn anything new. It makes the program better at talking about new topics. It also keeps the program fast.
Explained to a 5-year-old, longer
A big computer brain can learn how to speak about many subjects. It stores its learning in small pieces called adapters. Each adapter is like a tiny skill. When the brain sees a new sentence, it looks at all the adapters and decides which ones are useful. It does this by checking how well each adapter matches the sentence, using a simple rule. It then picks only the most useful adapters, not all of them. This helps the brain use fewer resources and stay fast. Because it only chooses adapters, it doesn't need to train new ones, saving time. The system also works at the level of whole sentences and at the level of each word, making it even more precise. This way, the brain can handle new topics without forgetting what it already knows. It also works well on tests, getting better results than older methods. All of this happens automatically, without a person having to tell it what to do.
For a technical reader
HiLoRA is a training-free framework that reuses existing LoRA adapters for domain generalization without any additional fine-tuning. It treats each LoRA rank as an independent unit, selects a subset of adapters per input, and allocates rank-one components based on Gaussian likelihoods at the sequence level. At the token level it refines the routing by activating only the most informative components, which reduces redundancy and improves performance. The design provides theoretical guarantees that the selected adapters are the most relevant with high probability. Overall, HiLoRA achieves large accuracy gains while preserving inference throughput.
Problem
Adapting large language models to new domains using existing LoRA adapters is challenging because current methods require explicit task labels or extra training and often activate whole LoRAs, leading to parameter redundancy or insufficient capacity.
Method
The approach defines rank-one components from LoRA adapters, adaptively selects a subset of adapters per input, and routes the rank components at the sequence and token levels using Gaussian likelihoods, all without any additional training.
Results
The approach yields up to 70% accuracy gains over existing baselines on domain generalization tasks while keeping inference throughput comparable.
Contributions
It introduces a training-free hierarchical routing mechanism for LoRA adapters that adaptively selects and allocates rank components, and provides theoretical guarantees on the selection of relevant adapters.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction