Generalized Priority-Aware Shapley Value

Kiljae Lee, Ziqi Liu, Weijing Tang, Yuan Zhang

TL;DR

The Generalized Priority-Aware Shapley Value (GPASV) is a new framework for data valuation that handles complex, real-world priority structures containing cycles and varying weights. By replacing rigid "hard" constraints with a flexible penalty-based system, GPASV allows researchers to fairly attribute credit in scenarios like LLM leaderboards where human preferences are often inconsistent and non-transitive.

What Problem Does This Paper Address?

In machine learning, we often need to know how much "credit" to give to a specific data point, feature, or model component. The Shapley value is the gold standard for this, but it has a major flaw: the "copier attack." If an originator provides a dataset and a copier provides an identical one, a standard Shapley value splits the credit equally between them, which feels intuitively unfair.

To fix this, researchers introduced "priority-aware" versions that use a Directed Acyclic Graph (DAG) to enforce an order (e.g., the originator must come before the copier). However, real-world data is rarely a clean DAG. Human preferences are notoriously cyclic (the Condorcet paradox: A beats B, B beats C, but C beats A), and priorities often have "weights" (e.g., a model winning by 100 votes is more significant than winning by 1). Existing methods either break or require "hacking" the data into a DAG, which discards valuable information.

Methods

The authors introduce GPASV, which defines a random order value over arbitrary directed weighted graphs.

Key technical innovations include:

  • Softened Constraints: Instead of forbidding certain permutations (as in a DAG), GPASV uses a Gibbs-style distribution to penalize permutations that violate the priority graph. The strength of this penalty is controlled by a "temperature" parameter ($\beta$).
  • Axiomatic Foundation: The authors prove that GPASV is the unique valuation method satisfying a set of principled fairness axioms, including Generalized State-Choice Factorization (GSCF).
  • Computational Efficiency: Sampling permutations from complex graphs is hard. The authors developed an adjacent-swap Metropolis-Hastings (MH) sampler with a greedy initialization strategy that works even when no valid linear extension exists (i.e., in cyclic graphs).
  • Priority Sweeping: They introduce a diagnostic tool that allows users to "sweep" through different balances of graph-based priority versus individual "soft" priority (like a preference for open-source models) to see how it affects the final valuation.

Datasets

The paper validates GPASV using:

  1. Synthetic Games: Two scenarios (a line DAG and a "DAG of cycles") where the ground-truth values are known analytically.
  2. LLM Ensemble Valuation: A real-world application using MT-Bench for coalition utility and the Chatbot Arena preference graph (which is both cyclic and weighted) to determine the priority of 20 different Large Language Models.

Key Insights and Ideas

  • Cycles are a Feature, Not a Bug: In the context of LLMs, cycles in human preference are ubiquitous. GPASV treats these cycles as legitimate data rather than noise to be filtered out.
  • Valuation is Subjective: The paper argues that priority-aware valuation isn't a "one-button" operation. The final "value" of a model depends on how much the evaluator weights the preference graph versus their own internal priorities (e.g., a deployment preference for open-source).
  • The Power of Caching: Because utility evaluations (like calling an LLM to judge a response) are expensive, the authors show that "subset caching" and "Self-Normalized Importance Sampling" (SNIS) are essential, providing a 5.4x computational speedup in their experiments.
  • Soft Priority Dominates: A surprising finding was that individual-level soft priorities (like a preference for open-source) often have a much larger impact on the final valuation under GPASV than they did under previous DAG-based methods.

Key Results

  • Theoretical Generality: GPASV is shown to be a true generalization; it recovers the classical Shapley value, Weighted Shapley Value (WSV), and Priority-Aware Shapley Value (PASV) as boundary cases.
  • MCMC Performance: The proposed greedy initialization allows the MCMC chain to mix significantly faster than random initialization, especially in dense or saturated graphs.
  • LLM Case Study: In the Chatbot Arena experiment, when graph priority was high ($\beta=32$), GPT-4 dominated the valuation (6.85 vs. ~1.0 for the runner-up). However, when a soft priority for open-source models was introduced ($\alpha=32$), the open-source model Guanaco-33B took the top spot, illustrating how GPASV makes these modeling trade-offs visible.

Limitations and Future Work

  • Computational Cost: While the authors introduced several acceleration tricks, GPASV still requires a significant number of utility function evaluations, which can be prohibitive if the "game" (e.g., training a model) is extremely slow.
  • Graph Stability: The method treats the priority graph as a "given" input. However, if the graph itself is estimated from noisy or finite data, the resulting valuations might be unstable. The authors suggest that deriving formal statistical error bars for these cases is a vital direction for future research.
  • Surrogate Models: While surrogate-assisted estimators (like linear or quadratic approximations) improved accuracy, they introduced significant memory overhead, making them difficult to scale to very large numbers of players.

Summary updated

BibTeX
@inproceedings{lee2026generalized,
  author = {Kiljae Lee and Ziqi Liu and Weijing Tang and Yuan Zhang},
  title = {{Generalized Priority-Aware Shapley Value}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VPwZ5z3kGM},
}
Figure