NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MaxShapley: Towards Incentive-compatible Generative Search with Fair Context Attribution

Sara Patel, Mingxun Zhou, Giulia Fanti · DOI

Abstract

Generative search engines are transforming how users consume information, but they disrupt the traditional economic model of the web by reducing traffic to original content providers. To sustain the digital ecosystem, fair attribution and compensation are necessary. We present MaxShapley, a novel algorithm that computes exact Shapley values—the gold standard for fair credit assignment—with significantly reduced computational overhead. By utilizing a specialized "max-sum" utility function, MaxShapley achieves an 8x reduction in resource consumption compared to previous state-of-the-art methods while maintaining high attribution accuracy.

Introduction: The Attribution Bottleneck

The rise of Retrieval-Augmented Generation (RAG) in search engines like Perplexity and Google Gemini has created a crisis for content creators. Unlike traditional search, which directs users to source websites, generative search provides direct answers, leading to a sharp decline in click-through rates. This shift has been described as an "extinction-level event" for many media organizations.

To preserve the internet's economic engine, we must quantitatively determine how much a specific source contributes to an AI-generated response. However, current attribution methods face a dilemma: simple citations are often unfair, while mathematically rigorous methods like standard Shapley values scale exponentially ($O(2^n)$) with the number of documents, making them too expensive for real-time applications.

Methods: The MaxShapley Framework

MaxShapley addresses this bottleneck by adapting the Shapley value from cooperative game theory to the RAG pipeline using a decomposable max-sum utility function.

The MaxShapley attribution pipeline for generative search, illustrating the flow from query to fair attribution scores.

The process involves four key steps:

  1. Key Point Decomposition: An "Attribution LLM" breaks the generated answer into atomic logical key points.
  2. Competitive Scoring: For each key point, an LLM-as-a-judge scores every retrieved document based on its support for that specific point.
  3. The "Max" Game: The utility of a document set for a specific key point is defined as the maximum relevance score among them. This reflects the reality that once a fact is fully supported, redundant documents add no further utility.
  4. Efficient Computation: Because the utility function is a sum of these "max" games, the exact Shapley value can be computed in $O(n^3)$ time (or faster), bypassing the exponential complexity of general Shapley calculations.

Evaluation and Datasets

The authors evaluated MaxShapley on three multi-hop Question Answering (QA) datasets: HotPotQA, MuSiQUE, and MS MARCO. Finding existing labels to be noisy, the researchers released a newly re-annotated subset of 30 queries per dataset, manually labeled to provide a reliable ground truth for attribution.

Key Results and Insights

MaxShapley demonstrates that RAG systems involve both cooperation (documents covering different key points) and competition (documents providing overlapping information). The max-sum utility function captures this duality effectively.

MaxShapley achieves comparable accuracy (Jaccard Index) to state-of-the-art methods like KernelSHAP while requiring 8x lower token consumption.

Key performance metrics include:

  • 8x Efficiency Gain: MaxShapley achieves attribution accuracy comparable to KernelSHAP while using only ~12% of the tokens.
  • High Fidelity: The method shows a strong correlation (Kendall-tau > 0.79) with "FullShapley" (the brute-force calculation) and aligns closely with human-annotated ground truth (Jaccard Index > 0.9).
  • Practicality: By reducing latency and API costs, MaxShapley makes fair attribution feasible for production-scale search pipelines.

Limitations and Future Work

While promising, MaxShapley has limitations. The "LLM-as-a-judge" component may exhibit self-preference bias toward its own model family. Additionally, the current "flat" decomposition into key points may not capture complex hierarchical reasoning. Future work could also address adversarial robustness—preventing content providers from "gaming" the system—and incorporate corroboration rewards, where multiple sources confirming a fact increase the overall trust and utility score.

Summary updated

BibTeX
@misc{patel2025maxshapley,
  author = {Sara Patel and Mingxun Zhou and Giulia Fanti},
  title = {{MaxShapley: Towards Incentive-compatible Generative Search with Fair Context Attribution}},
  year = {2025},
  eprint = {2512.05958},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.05958},
}
Figure