arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.12266cs.LGcs.AI
收藏

HiLoRA:用于免训练域泛化的自适应层级LoRA路由

HiLoRA: Adaptive Hierarchical LoRA Routing for Training-Free Domain Generalization

The Chinese University of Hong Kong, Hong Kong(香港中文大学);FSI Lab, Huawei Technologies Co., Ltd.(华为技术有限公司FSI实验室);Carnegie Mellon University, Pittsburgh, PA, USA(卡内基梅隆大学)

Ziyi Han, Huanyu Wang, Zeyu Zhang, Xiangxiang Dai, Xutong Liu, John C. S. Lui

AI总结:

HiLoRA提出免训练的自适应层级路由框架,通过序列级和词元级选择秩一组件,实现域泛化,准确率提升高达55%。

摘要:

低秩适配(LoRA)已成为将大型语言模型(LLMs)适配到新领域的广泛使用的技术,这得益于其模块化设计以及在HuggingFace等平台上的广泛可用性。这种可用性促使人们努力重用现有的LoRA以实现域泛化。然而,现有方法通常依赖显式的任务标签或额外的训练,这在部署中不切实际。此外,它们通常激活固定数量的整个LoRA模块,导致参数冗余或不足,从而降低性能。在本文中,我们提出了HiLoRA,一个免训练框架,对LoRA池执行自适应层级路由。利用LoRA的结构特性,我们定义了秩一组件(ROCs),其中每个秩参数被视为一个独立单元。对于给定的输入序列,HiLoRA首先自适应地选择一组LoRA,并基于序列级别的高斯似然确定其ROC分配。在词元级别,它通过仅激活最具信息量的ROCs进一步细化路由。我们还提供了理论保证,即HiLoRA以高概率选择最相关的LoRA。大量实验表明,HiLoRA在域泛化方面取得了显著改进,相比最先进的基线,准确率提升高达55%,同时保持相当的推理吞吐量。

英文摘要:

Low-Rank Adaptation (LoRA) has emerged as a widely used technique for adapting large language models (LLMs) to new domains, due to its modular design and broad availability on platforms such as HuggingFace. This availability has motivated efforts to reuse existing LoRAs for domain generalization. However, existing methods often rely on explicit task labels or additional training, which are impractical for deployment. Moreover, they typically activate a fixed number of entire LoRA modules, leading to parameter redundancy or insufficiency that degrade performance. In this paper, we propose \texttt{HiLoRA}, a training-free framework that performs adaptive hierarchical routing over LoRA pools. Drawing on structural properties of LoRA, we define rank-one components (ROCs), in which each rank parameter is regarded as an independent unit. For a given input sequence, \texttt{HiLoRA} first adaptively selects a subset of LoRAs and determines their ROC allocation based on Gaussian likelihoods at the sequence level. At the token level, it further refines routing by activating only the most informative ROCs. We further provide theoretical guarantees that \texttt{HiLoRA} selects the most relevant LoRAs with high probability. Extensive experiments show that \texttt{HiLoRA} achieves substantial improvements in domain generalization, with accuracy gains of up to {\small $55\%$} over state-of-the-art baselines, while maintaining comparable inference throughput.

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

↑