SHIFT: Gate-Modulated Activation Steering for Knowledge Conflict Mitigation in Retrieval-Augmented Generation
이 뉴스, 어떠셨어요?
한 번의 탭으로 반응을 남겨요 · 로그인 불필요
Abstract
Retrieval-augmented generation (RAG) enhances LLMs by incorporating external knowledge to support response generation.
However, conflicts between retrieved context and parametric knowledge have emerged as a critical challenge in RAG systems.
To mitigate such conflicts, numerous studies have attempted to identify and edit knowledge-related internal neurons, aiming to improve the ability of LLMs to rely on contextual evidence during generation.
However, these neuron-level approaches may introduce unintended cascading effects that compromise the general capabilities of LLMs, as the modified neurons are often entangled with broader model behaviors and functionalities.
In this paper, we introduce SHIFT, a novel framework that reformulates neuron-level modification as learnable gate modulation, allowing LLMs to adaptively regulate internal activations for knowledge conflict resolution.
Technically, our SHIFT equips LLMs with a lightweight gate module and optimizes fewer than 0.01% trainable parameters while keeping the backbone model frozen.
During generation, the gate module adjusts the model's internal representations to adaptively leverage contextual and parametric knowledge.
Extensive experiments on six datasets validate the effectiveness of our SHIFT in comparison with various competing baselines.
All datasets and code are available at this https URL.