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

HydraOpt:驾驭适配器合并的效率-性能权衡

HydraOpt: Navigating the Efficiency-Performance Trade-off of Adapter Merging

Samsung R&D Institute UK(三星英国研发院);Samsung Research(三星研究院)

Taha Ceritli, Ondrej Bohdal, Mete Ozay, Jijoong Moon, Kyeng-Hun Lee, Hyeonmok Ko, Umberto Michieli

AI总结:

本文提出 HydraOpt 适配器合并方法,通过利用低秩适配器矩阵间的相似性,灵活调节存储效率与任务性能,并在减少48%存储的同时仅造成0.2–1.8%的性能下降。

摘要:

大型语言模型(LLM)通常利用适配器(例如基于低秩的适配器)在下游任务上取得强劲性能。然而,为每个任务存储单独的适配器会显著增加内存需求,这给移动设备等资源受限环境带来了挑战。尽管模型合并技术可以降低存储成本,但它们通常会导致严重的性能下降。在本工作中,我们提出了 HydraOpt,这是一种新的模型合并技术,它利用了低秩适配器矩阵之间的内在相似性。与产生存储规模和性能之间固定权衡的现有方法不同,HydraOpt 使我们能够在效率与性能的这一谱系上进行调节。我们的实验表明,与存储所有适配器相比,HydraOpt 显著减小了存储规模(减少48%),同时取得了具有竞争力的性能(下降0.2–1.8%)。此外,在相同或略差的存储效率下,它在性能方面优于现有合并技术。

英文摘要:

Large language models (LLMs) often leverage adapters, such as low-rank-based adapters, to achieve strong performance on downstream tasks. However, storing a separate adapter for each task significantly increases memory requirements, posing a challenge for resource-constrained environments such as mobile devices. Although model merging techniques can reduce storage costs, they typically result in substantial performance degradation. In this work, we introduce HydraOpt, a new model merging technique that capitalizes on the inherent similarities between the matrices of low-rank adapters. Unlike existing methods that produce a fixed trade-off between storage size and performance, HydraOpt allows us to navigate this spectrum of efficiency and performance. Our experiments show that HydraOpt significantly reduces storage size (48% reduction) compared to storing all adapters, while achieving competitive performance (0.2-1.8% drop). Furthermore, it outperforms existing merging techniques in terms of performance at the same or slightly worse storage efficiency.

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

↑