论文提出潜空间合并方法,组合 Hypernetwork 生成的 LoRA 适配器
Latent Merger: Latent-Space Composition of Hypernetwork-Generated LoRAs
做检索增强或知识注入的开发者可以看看这篇。它发现 Hypernetwork 生成的 LoRA 和手工微调的几何性质完全不同,所以能在潜变量空间直接合并成单个适配器,省掉逐文档存储的成本,比传统的权重空间合并效果更稳。
arXiv 论文《Latent Merger: Latent-Space Composition of Hypernetwork-Generated LoRAs》研究如何合并由 Hypernetwork 生成的 LoRA 适配器,实验基于 Doc-to-LoRA 和 SHINE 两个代表性系统。这类系统通过单次前向传播把文档转换为低秩参数更新,可向冻结的 LLM 快速注入新知识,但流式场景下为每篇文档单独存储 LoRA 会带来存储压力。
论文的关键发现是 Hypernetwork 生成的 LoRA 在几何结构上与直接微调的 LoRA 截然不同:前者呈现更强的谱集中性和跨文档对齐性,而 next-token prediction 和 QA 微调得到的适配器在各文档间则较为发散、近似正交。基于这一观察,作者提出潜空间 LoRA 合并:先在 Hypernetwork 的中间潜变量层面进行组合,再通过冻结的 LoRA 生成头解码出合并后的适配器。
结果显示,潜空间合并方法在多项设置下持续优于权重空间和因子空间基线,同时保持单一固定秩适配器,在固定输出秩预算下为组合 Hypernetwork 生成 LoRA 提供了可行机制。
Latent Merger: Latent-Space Composition of Hypernetwork-Generated LoRAs
Recent work proposes hypernetworks that convert a document into a low-rank parameter update (LoRA) in a single forward pass, enabling fast injection of new knowledge into a frozen LLM. However, storing separate LoRA adapters for each document can be unsustainable in streaming settings. In this paper, we study the problem of composing hypernetwork-generated LoRAs using two representative systems, Doc-to-LoRA and SHINE. We show that hypernetwork-generated LoRAs have a geometry sharply different from directly fine-tuned LoRAs. They exhibit greater spectral concentration and stronger cross-document alignment than next-token prediction and QA fine-tuned adapters, which are diffuse and nearly orthogonal across documents. Guided by this observation, we propose latent-space LoRA merging. We compose the intermediate hypernetwork latents and then decode the merged latent through the frozen LoRA-generation head. We show that latent-space merging techniques consistently improve over weight-space and factor-space baselines while preserving a single fixed-rank adapter. These results support latent-space composition as a promising mechanism for combining hypernetwork-generated LoRAs under a fixed output-rank budget.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LoRA, Hypernetwork, Doc-to-LoRA, fine-tuning.
Source attribution: curated from arXiv cs.LG (@Yanlai Yang, Minki Kang, Divyam Madaan, Sung Ju Hwang, Mengye Ren).