EcoVal: An Efficient Data Valuation Framework for Machine Learning

Ayush K. Tarun, Vikram S. Chundawat, Murari Mandal, Hong Ming Tan, Bowei Chen, Mohan S. Kankanhalli

Introduction

In modern machine learning, the adage "garbage in, garbage out" remains a fundamental truth. However, quantifying exactly which data points contribute most to a model's performance—a process known as data valuation—has historically been a computationally prohibitive task. Traditional methods like the Shapley value offer theoretical rigor but suffer from extreme scalability issues, often requiring thousands of model retrainings.

EcoVal introduces a novel framework that bridges the gap between theoretical accuracy and practical efficiency. By combining clustering techniques with economic production functions, EcoVal provides a scalable solution for valuing both training data and unseen "out-of-sample" points, achieving speedups of up to 10,000x over traditional methods.

The Computational Bottleneck of Data Valuation

The primary challenge in data valuation lies in the interdependence of data. The gold standard, the Shapley value from cooperative game theory, calculates a point's value by averaging its marginal contribution across all possible subsets of the data. For a dataset of size $n$, this approach is $O(n^2)$, making it unusable for large-scale deep learning.

Simpler alternatives like Leave-One-Out (LOO) are faster but fundamentally flawed in the presence of redundancy. If a dataset contains two identical or highly similar images, removing one has a negligible impact on performance because the model can rely on the other. Consequently, LOO often assigns near-zero value to highly useful but redundant data.

The EcoVal Methodology: Cluster and Propagate

EcoVal addresses these limitations through a two-stage "cluster-and-propagate" approach designed to handle redundancy and scale efficiently.

1. Leave-Cluster-Out (LCO)

To solve the redundancy problem, EcoVal first groups similar data points into clusters. By using Gaussian Mixture Models (GMMs) on the internal embeddings generated by the model, the framework identifies groups of points that provide similar information. Instead of removing individual points, EcoVal performs Leave-Cluster-Out (LCO) valuation. By removing an entire cluster and measuring the resulting performance drop, the framework captures the collective importance of that information type, ensuring that redundant points do not mask each other’s value.

2. Value Propagation via Production Functions

Once the aggregate value of a cluster is determined, EcoVal must distribute that value among individual points. To do this, the authors adapt the Cobb-Douglas production function from economics. Traditionally used to model the relationship between inputs (like labor and capital) and output, EcoVal applies it to machine learning:

  • Labor represents the individual data points.
  • Capital represents the model parameters and architecture.
  • Output represents the model's performance (e.g., accuracy).

This economic framework allows EcoVal to decompose a point's value into intrinsic value (the unique quality of the sample) and extrinsic value (its interaction with the broader dataset). By training a small regression model on a curated subset, the framework can efficiently propagate values across the entire dataset, accounting for diminishing returns as more data is added.

Out-of-Sample (OOS) Valuation

A significant advantage of EcoVal is its ability to value "out-of-sample" data. Most existing methods require a point to be part of the training set to calculate its value. EcoVal leverages its regression model and cluster centroids to estimate the value of brand-new data points without requiring any model retraining. This makes it an ideal tool for real-time data marketplaces or active learning pipelines where new data must be appraised on the fly.

Experimental Results

The authors evaluated EcoVal on standard computer vision benchmarks, including MNIST, CIFAR-10, and CIFAR-100. The results highlight three key strengths:

  • Massive Efficiency Gains: For a dataset of 10,000 samples, traditional TMC-Shapley requires between $10^7$ and $10^9$ training iterations. EcoVal achieves comparable results with only $10^3$ to $10^5$ iterations—a 100x to 10,000x speedup.
  • High Fidelity: In data removal experiments (where the most valuable points are systematically removed to observe the decline in model accuracy), EcoVal matched or exceeded the performance of state-of-the-art methods like Distributional Shapley.
  • Superior OOS Performance: EcoVal significantly outperformed existing benchmarks in identifying high-value points within unseen data across all tested datasets.

Conclusion and Future Work

EcoVal represents a significant step toward making data valuation a standard part of the machine learning pipeline. By treating data as an economic input and utilizing clustering to handle redundancy, it overcomes the primary barriers to scalability. While the method's performance is currently tied to the quality of the initial clustering and specific hyperparameter tuning, it provides a robust foundation for future research into large-scale, high-variance datasets.

Summary updated

BibTeX
@inproceedings{tarun2024ecoval,
  author = {Ayush K. Tarun and Vikram S. Chundawat and Murari Mandal and Hong Ming Tan and Bowei Chen and Mohan S. Kankanhalli},
  title = {{EcoVal: An Efficient Data Valuation Framework for Machine Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3672068},
}
Figure