NeFut Logo NeFut
Admin Login

[CS.AI] Revolutionizing Context Reranking: Shapley Context Pruning Framework

Published at: 2026-07-21 22:00 Last updated: 2026-07-22 01:01
#AI #Machine Learning #optimization

Abstract

Context reranking and pruning have become essential for improving the efficiency of modern Retrieval-Augmented Generation (RAG) systems, yet an interpretable and unified framework remains underexplored. Previous work has primarily emphasized lexical retrieval, cross-encoder architectures, model distillation, and Low-Rank Adaptation (LoRA), mostly relying on heuristic loss functions and empirical attribution.

This paper presents Shapley Context Pruning (SCP), a novel framework for context reranking that establishes a cooperative-game-theory perspective for importance attribution by modeling the context as a cooperative game. Balancing the trade-off between fine-grained and coarse-grained representations, we employ a Deep Sets architecture to approximate a permutation-invariant value function at the sentence level, utilizing pre-trained language models as sentence embedders and optimizing via a pairwise margin ranking loss.

To ensure practical scalability without sacrificing mathematical rigor, we leverage Monte-Carlo sampling for efficient training and inference, providing formal theoretical error bounds and sample complexity guarantees for preserving Top-K subset rankings. Furthermore, we conduct comprehensive experiments spanning supporting-sentence recall, Needle-in-the-Haystack (NIAH) evaluations, long-context QA, and multi-hop reasoning, alongside rigorous ablation studies on embedding quality and attribution strategies. The model achieves competitive downstream QA performance against robust baselines.

Blogger's Review: The introduction of the Shapley Context Pruning framework provides a fresh perspective on context reranking and pruning, particularly with its cooperative game theory approach for importance attribution. By combining deep learning with game theory, this framework not only enhances model efficiency but also improves interpretability, making it a promising avenue for further exploration in practical applications.

Original Source: https://arxiv.org/abs/2607.16209

[h] Back to Home