Beyond Models! Explainable Data Valuation and Metric Adaption for Recommendation

Renqi Jia, Xiaokun Zhang, Bowei He, Qiannan Zhu, Weitao Xu, Jiehao Chen, Chen Ma

Introduction

Modern recommender systems heavily rely on user behavior data, often trained using Bayesian Personalized Ranking (BPR). A core component of this process is negative sampling, where an unobserved item is paired with a positive interaction to teach the model preferences. However, this approach is inherently noisy; a "negative" sample might simply be an item the user hasn't discovered yet but would enjoy. Existing methods to address this noise often rely on black-box heuristics or are restricted to differentiable loss functions, failing to optimize for real-world metrics like diversity or fairness.

This paper introduces DVR (Data Valuation framework for Recommendation), a novel approach that leverages game-theoretic Shapley values for transparent data scoring and reinforcement learning for versatile metric optimization.

The DVR Framework

The DVR framework addresses the limitations of previous data valuation methods through a bi-level optimization structure consisting of two primary components: the Explainable Data Valuator and the Versatile Metric Adapter.

The DVR framework architecture, illustrating the interaction between the Data Valuator and the Metric Adapter.

Explainable Data Valuator

Instead of using arbitrary heuristics, DVR treats training samples within a batch as participants in a cooperative game. It calculates the Shapley value for each sample, representing its marginal contribution to the model's performance. To overcome the exponential complexity of traditional Shapley calculations, the authors implement a Deep Neural Network (DNN) utilizing "Harsanyi blocks." This architecture captures complex sample interactions and approximates Shapley values in constant time, providing a transparent and mathematically grounded measure of data quality. Unlike previous methods that focus only on positive samples, DVR evaluates the quality of the entire user-positive-negative triplet collectively.

Versatile Metric Adapter

To optimize for non-differentiable metrics such as NDCG, Recall, or diversity indices, DVR employs a Reinforcement Learning (RL) strategy. Using the REINFORCE algorithm, the framework treats the target evaluation metric as a reward signal. This policy gradient guides the Data Valuator to select batches of data that maximize the specific performance goals defined by the system designer, moving beyond simple proxy loss functions.

Experimental Evaluation

The authors evaluated DVR across four diverse real-world datasets: Beauty (Amazon), CD (Amazon), LastFM, and Gowalla. The framework was tested against various recommendation backbones, including Matrix Factorization (BPRMF, NeuMF) and Graph Convolutional Networks (MGCF, LightGCN).

Key Results and Analysis

DVR demonstrates significant performance improvements across all tested scenarios. By directly optimizing for target metrics and filtering noisy data through Shapley-based valuation, the framework achieves substantial gains in ranking accuracy.

Performance comparison of DVR against various baselines across four datasets and multiple recommendation backbones.

Accuracy and Generality

As shown in the experimental results, DVR consistently outperforms standard BPR and other data valuation baselines. It achieved up to a 34.7% improvement in NDCG. Crucially, these gains are architecture-agnostic, showing consistent benefits whether applied to simple linear models or complex graph-based architectures like LightGCN.

Beyond Accuracy: Diversity and Fairness

A major strength of DVR is its ability to optimize for non-accuracy metrics. When configured to target diversity (e.g., Category Coverage) or fairness (e.g., Gini index), DVR successfully improves these metrics without the typical severe trade-off in recommendation accuracy. This versatility makes it highly suitable for production environments where multi-objective optimization is required.

Conclusion

DVR represents a significant step forward in making data valuation for recommendation systems both explainable and versatile. By combining game theory for data scoring and reinforcement learning for metric adaptation, it provides a robust framework for improving recommendation quality across a wide array of objectives. Future work may focus on scaling these techniques to industry-sized datasets and further stabilizing the bi-level optimization process.

Summary updated

BibTeX
@inproceedings{jia2025beyond,
  author = {Renqi Jia and Xiaokun Zhang and Bowei He and Qiannan Zhu and Weitao Xu and Jiehao Chen and Chen Ma},
  title = {{Beyond Models! Explainable Data Valuation and Metric Adaption for Recommendation}},
  booktitle = {SDM},
  year = {2025},
  doi = {10.1137/1.9781611978520.19},
}
Figure