TL;DR
This paper introduces Priority-Aware Shapley Value (PASV), a novel method for attributing value to data points or features that accounts for their dependencies and varying levels of trustworthiness. PASV extends traditional Shapley values by incorporating both "hard" precedence rules (e.g., data augmentation order) and "soft" priority weights (e.g., trust levels), offering a more nuanced and realistic approach to model explanation and data valuation.
What Problem Does This Paper Address?
Traditional Shapley values, a popular tool for explaining machine learning models, assume that all contributors (like data points or features) are interchangeable. This assumption breaks down in real-world scenarios where:
- Dependencies Exist: Data can be augmented or derived from other sources, creating a natural order or hierarchy. Similarly, domain knowledge might dictate that certain features must be considered before others.
- Trust Varies: Some data points might be less reliable, more costly to obtain, or carry higher legal risks, warranting different treatment.
Existing methods either ignore these dependencies (standard Shapley) or address them in isolation (e.g., only considering precedence or only applying weights). This paper aims to bridge this gap by providing a unified framework that simultaneously handles both hard precedence constraints and soft, contributor-specific priorities.
Methods
The core contribution is the Priority-Aware Shapley Value (PASV). PASV is defined as a random order value (ROV) where the sampling of player permutations is guided by two factors:
- Hard Precedence Constraints: These are encoded as a Directed Acyclic Graph (DAG), defining which orders of players are admissible. This restricts the sampling to "linear extensions" of the DAG.
- Soft Priority Weights: Each player (data point or feature) is assigned a priority weight (e.g., reflecting trust or importance). These weights bias the sampling distribution towards certain admissible orders.
PASV is formulated to recover existing methods like Precedence Shapley Value (PSV) and Weighted Shapley Value (WSV) as special cases. To enable practical computation, the authors develop an efficient Metropolis-Hastings (MCMC) sampler that can sample from the PASV distribution over linear extensions, even for large numbers of players. A key diagnostic tool introduced is "priority sweeping," which involves systematically varying a player's priority weight to analyze the sensitivity of their attributed value.
Datasets
The paper evaluates PASV on the following datasets:
- MNIST: Used for data valuation experiments.
- CIFAR10: Used for data valuation experiments.
- UCI Census Income (Adult) dataset: Used for feature attribution experiments.
Key Insights and Ideas
- Unified Framework for Priorities: PASV elegantly combines hard precedence rules and soft trust weights into a single, coherent framework, offering a more realistic attribution than methods that handle these aspects separately.
- "Priority Sweeping" as a Diagnostic: The ability to sweep priority weights provides a powerful tool for understanding the robustness of attributions. It helps identify which features or data points are sensitive to trust assumptions and which are more stable, aiding in more reliable decision-making.
- Extreme Weights Induce Structure: The paper demonstrates that extreme priority weights can effectively "induce" new precedence relationships in the DAG, effectively refining the structure based on trust or risk.
- DAG Matters Significantly: For feature attribution, the choice of DAG (even a coarse one) can significantly alter the resulting attributions, highlighting the importance of carefully defining feature dependencies.
Key Results
- Data Valuation (MNIST/CIFAR10): PASV successfully differentiates between data providers based on lineage and trust. For instance, it correctly de-emphasizes reused or potentially noisy data (like "Copier" or "Poisoner") compared to standard Shapley values. Priority sweeping reveals how increasing weights for less trusted sources progressively suppresses their attributed value.
- Feature Attribution (Census Income): PASV, with a detailed DAG, provides more structure-faithful attributions than a coarse ordered partition. Priority sweeping reveals non-monotone responses for some features, indicating complex interactions where their value depends on the presence of other features in the coalition. For example, "capital-gain" shows a U-shaped response, suggesting its value is amplified by "capital-loss" but suppressed by "marital-status."
- Computational Efficiency: The MCMC sampler is shown to be efficient, with mixing times closer to O(n²) than the worst-case O(n³ log n), and non-uniform weights have limited impact on mixing. The proxy-based estimator can further improve accuracy for moderate player counts by leveraging low-order utility structure.
Limitations and Future Work
- DAG Specification: The paper acknowledges that the DAG is a modeling input and not ground truth. While they propose sensitivity analysis to diagnose the impact of DAG misspecification, finding the "correct" DAG remains a challenge.
- Computational Cost: While the MCMC sampler is efficient, for very large datasets or complex utility functions, computation can still be demanding. The proxy-based estimator offers a trade-off between accuracy and computational cost, but its effectiveness depends on the utility's structure.
- Future Work: The authors suggest exploring more sophisticated proxy models and further investigating the interplay between DAG structure and priority weights. The diagnostic tools provided by PASV (priority sweeping and DAG sensitivity analysis) are highlighted as valuable for practitioners.
Summary updated