Manuscript Offprint

arXiv:2610.29223

C2^2U in RAG: Compositional Concept Unlearning in Retrieval-Augmented Generation

Yiyang Duan, Fan Wu, Tiantong Wu, Che Wang, Zhiren Gong, Wei Guo, Yang Cao, Wei Yang Bryan Lim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Retrieval-augmented generation can expose unwanted concepts through retrieved evidence even when the generator is moderated. We study query-side concept suppression with a fixed encoder and document index. Compositional Concept Unlearning (C²U) routes a profile-derived direction through an augmented atom bank, adding only a bounded edited-minus-original delta to the raw query. Across five datasets, four encoders, and three seeds, the validation-selected configuration reduces pooled binary target Hit@5 by 4.25 percentage points with non-positive control degradation and target-exposure changes. Under the evaluated query transforms, it suppresses target density without increasing budgeted control-query exposure. Separately, ArXiv four-concept composition improves over an averaged-direction comparator after independent validation gates and first-use test evaluation.

1 Introduction

Retrieval-Augmented Generation (RAG) grounds answers in external documents, but also creates a pathway for private, unwanted, or policy-restricted evidence to enter a model's context. Output moderation can reject a response without changing that evidence pathway. Conversely, deleting whole documents can remove useful content alongside an unwanted concept. We study an intermediate intervention: suppress concept-bearing retrieval through query-side representation editing, leaving the encoder and indexed corpus unchanged. Here, "unlearning" means retrieval-stage suppression, not certified parameter deletion or a guarantee about generated answers.

The problem has four aspects: intervention happens on a fixed-index retriever, a small profile must guide bounded query edits, suppression–utility trade-offs must hold under ordinary and transformed queries, and several concepts must share an editing budget. Figure 1 locates the intervention within RAG. Linear erasure provides useful comparisons, but reducing target retrieval need not reduce exposure under context packing. Access also matters: a query transform cannot inspect and remove target documents like a membership-aware filter. We therefore evaluate suppression, utility, and exposure together, distinguishing the information available to each method.

C2UC^{2}U combines an Atomic Compositional Representation (ACR) with a raw-query bypass. Target profiles and calibration controls determine a negative, diagonally preconditioned direction and a calibrated gate. Least-squares coefficients and an appended residual atom

Figure

(a) Retraining-Based

(b) Linear Erasure

(c) Our proposed C2UC^{2}U

Figure 1 Intervention locations in RAG. Retraining changes the representation model; linear erasure transforms representations; C2UC^{2}U edits atom coordinates and bounds the resulting raw-query update. Its encoder, document index, and downstream generator remain fixed.

carry that direction through the frozen atom bank; only the weight difference returns to the raw query. A trust region limits the update. For multiple concepts, separate gates allocate a shared angular budget before their deltas are added.

The experiments assess both useful suppression and its limits. The single-concept comparison includes stronger-access methods and methods that suppress more at larger utility costs; query-transform evaluation tests whether suppression coexists with increased context exposure. Separately, ArXiv four-concept composition passes selection, independent confirmation, and first-use test evaluation, while the two-concept design fails selection. Our contributions are threefold:

• Bounded query editing. An atom-coordinate operator with calibrated gating, residual completion, and a raw-query trust region (Section 3) with gate-off exact identity.

• Suppression and utility evidence. Joint retrieval and exposure comparisons across datasets, encoders, and query conditions, with explicit access classes and evidence scope.

• Concept composition. Separate-gate, shared-budget editing evaluated against averaged-direction steering.

References (32)