arXiv:2610.20293cs.AIOct 2026

Manuscript Offprint

arXiv:2610.20293

CASI: Credit Assignment via Set Intervention for Agentic Retrieval

Xinyi Cheng, Tianfu Zhang, Jiwen Li, Xuesen Zhang, Shihao Yu, Pengfei Zhu, Renhuan, Heda Wang

ABSTRACT

Large language models increasingly generate multiple retrieval actions jointly, while downstream systems often provide only one reward for the resulting set. Broadcasting this reward provides a valid score-function gradient estimator for the expected set-level objective, but does not determine a coalition-dependent within-set attribution. We introduce CASI (Credit Assignment via Set Intervention for Agentic Retrieval), which constructs the missing counterfactual information through snapshot-grounded set intervention: generate and retrieve once, hold replayable snapshot components fixed, and evaluate alternative subsets under common conditions. Shapley aggregation converts these marginals into within-set credit, which bounded zero-sum advantage shaping incorporates into policy optimization. For m≥4m \geq 4, singleton, leave-one-out, and full-set endpoints do not generally determine the Shapley allocation; under additive set values, extra coalition evaluations are redundant. In a five-action sponsored-search setting, exhaustive auction replay over 1,200 requests reveals substantial coalition dependence. Under the training-time evaluator, CASI achieves the highest median cosine similarity to a replay-defined Shapley reference among evaluated credit rules; under a sensitivity backend, CASI does not outperform Singleton. Across five independent training runs, CASI-trained policies achieve higher held-out auction-replay set value than Singleton- or Broadcast-trained policies. In a randomized seven-day production A/B test on 10% of traffic, the CASI-trained policy yields an observed 3.51% lift in the primary advertiser-value metric over production control.

1 INTRODUCTION

LLM-based retrieval systems increasingly generate multiple retrieval actions for a single input, for example by decomposing a question or producing parallel rewrites that cover different facets of an information need (Tan et al., 2026; Zhao et al., 2025; Zheng et al., 2026). Post-training on downstream outcomes directly optimizes what the system ultimately delivers rather than surface similarity alone (Jin et al., 2025). This challenge is especially pronounced in sponsored search, where several rewrites retrieve candidate ads whose pools are merged before downstream ranking and auction. An action that is useful alone may become redundant, or compete with candidates from other rewrites, once the pools are combined. In our setting, individual actions do not receive separately observed downstream outcomes; only the realized action set receives an observed reward. This raises a central question: when multiple retrieval actions jointly determine one outcome, what information is needed to construct context-dependent attribution within the realized set?

A rollout-level reward provides a valid score-function estimator for the gradient of the expected set-level objective (Shao et al., 2024). The difficulty is that the realized set reward does not provide the alternative-subset values needed for coalition-based attribution. For an action qiq_i and S⊆A∖{qi}S \subseteq A \setminus \{q_i\}, the marginal R(S∪{qi})−R(S)R(S \cup \{q_i\}) - R(S) can vary with SS. Singleton and leave-one-out capture the empty-context and full-complement extremes, leaving intermediate coalition contexts unobserved. For m≥4m \geq 4, these endpoint observations, even together with the full-set value, do not generally determine

∗^{*}Corresponding author.

the Shapley allocation. The challenge is therefore to construct comparable cross-context information within each realized action set.

We introduce CASI (Credit Assignment via Set Intervention for Agentic Retrieval), which constructs this information through snapshot-grounded set intervention. For each realized action set, CASI generates and retrieves once, caches per-action retrieval results, holds replayable snapshot components fixed, and evaluates alternative subsets under common conditions. Shapley weighting converts the resulting contextual marginals into within-set credit, and bounded zero-sum advantage shaping incorporates their relative credit into the rollout-level optimizer. Reusing cached retrieval outputs keeps exhaustive coalition scoring practical in our five-action setting without repeated generation, retrieval, or auction replay during RL.

Empirically, exhaustive auction replay over 1,200 requests reveals substantial coalition dependence. Under the training-time evaluator, CASI attains the largest median cosine similarity to the replay-defined Shapley reference among the compared credit rules: 0.424 versus 0.388 for Singleton, a difference in median cosine of 0.036 (95% CI [0.004, 0.068]). Under the sensitivity backend, CASI does not outperform Singleton on this metric. Across five independent training runs, the CASI-trained policy achieves a held-out auction-replay set value of 66.70±3.4066.70 \pm 3.40, compared with 60.32 for the SFT initialization, 55.00±4.0055.00 \pm 4.00 for Singleton, and 43.30±4.7043.30 \pm 4.70 for Broadcast. Finally, in a randomized seven-day production A/B test on 10% of traffic, we observe a 3.51% lift in the primary advertiser-value metric over production control.

Our contributions are threefold. First, we formalize the information gap between valid set-level optimization and coalition-based within-set attribution for jointly generated retrieval actions. We show that, for m≥4m \geq 4, singleton, leave-one-out, and full-set endpoint observations do not generally determine the Shapley allocation, while under additive set values additional coalition evaluations are redundant. Second, we introduce snapshot-grounded set intervention to construct comparable coalition evaluations within a realized action set while holding replayable snapshot components fixed. Shapley weighting aggregates these evaluations into action-level credit, and bounded zero-sum advantage shaping incorporates the relative credit into policy optimization. Third, we evaluate CASI through coalition structure, credit-rule alignment with the replay-defined Shapley reference, held-out policy value across independent training runs, and randomized production deployment.

References (45)