解耦知识与任务子空间以实现可组合的参数检索增强生成
Decoupling Knowledge and Task Subspaces for Composable Parametric Retrieval Augmented Generation
AI总结:
本文提出通过正交子空间分解分离任务行为与文档知识,提升多文档参数RAG的组合鲁棒性。
摘要:
参数检索增强生成(PRAG)将外部文档编码为轻量参数模块,在推理时检索并合并,为上下文检索增强提供替代方案。尽管有潜力,许多PRAG实现通过任务监督目标训练文档适配器,可能导致每个适配器同时编码文档特定事实和可重用的任务行为。这种纠缠可能使适配器组合不可靠:当多个适配器合并时,重叠的任务行为会与文档特定更新叠加,使合并的适配器更不稳定且偏离预期文档知识。为此,我们探索正交子空间分解(OSD),一种适配器训练设置,将可重用的任务行为与文档特定知识适配器分离。具体而言,我们首先训练任务LoRA以捕捉可重用的任务行为,然后训练文档LoRA在正交子空间中编码文档特定知识。此设置提供了一种受控方式,以研究正交化任务和文档LoRA更新如何影响多文档PRAG中的适配器组合。跨多个知识密集型任务和模型规模的实验表明,这种正交化策略可提升参数RAG的组合鲁棒性,尤其是在合并多个文档适配器时。
英文摘要:
Parametric Retrieval-Augmented Generation (PRAG) encodes external documents into lightweight parameter modules that can be retrieved and merged at inference time, offering a promising alternative to in-context retrieval augmentation. Despite its potential, many PRAG implementations train document adapters with task-supervised objectives, which may cause each adapter to encode both document-specific facts and reusable task-solving behavior. This entanglement may make adapter composition less reliable: when multiple adapters are merged at inference time, their overlapping task behaviors can accumulate together with document-specific updates, potentially making the merged adapter less stable and less focused on the intended document knowledge. To examine this issue, we explore Orthogonal Subspace Decomposition (OSD), an adapter-training setup that separates reusable task behavior from document-specific knowledge adapters. Concretely, we first train a Task LoRA to capture reusable task behavior, and then train document LoRAs to encode document-specific knowledge in a orthogonal subspace. This setup provides a controlled way to examine how orthogonalizing task and document LoRA updates affects adapter composition in multi-document PRAG. Experiments across multiple knowledge-intensive tasks and model scales suggest that this orthogonalization strategy can improve compositional robustness in parametric RAG, especially when multiple document adapters are merged.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。