MYCROFT: Towards Effective and Efficient External Data Augmentation

Zain Sarwar, Van Tran, Arjun Nitin Bhagoji, Nick Feamster, Ben Y. Zhao, Supriyo Chakraborty · DOI

Introduction

Machine learning performance is often bottlenecked by the availability of high-quality, relevant data. While vast amounts of data exist within private organizations, privacy concerns, regulatory hurdles like GDPR, and economic misalignments create a "data wall." Model trainers are hesitant to purchase data without guaranteed utility, and data owners are reluctant to expose their proprietary datasets for evaluation. This "chicken-and-egg" problem hinders the development of robust AI systems, particularly for small businesses and researchers.

The Mycroft Framework

To address this, we introduce Mycroft, a data-efficient framework designed to identify highly informative subsets of external data without requiring full dataset disclosure. Mycroft operates through a three-step protocol:

  1. Hard Set Identification: The model trainer identifies a subset of their local data ($D^{hard}$) where the current model ($M_{MT}$) performs poorly. These "hard" samples are sent to potential data owners (DOs).
  2. Targeted Data Selection: DOs use the Mycroft algorithm to select a small budget $k$ of samples ($D^{useful}$) from their private collection that are most likely to improve the trainer's model on the hard set.
  3. Model Augmentation: The trainer receives only this tiny subset, fine-tunes their model, and evaluates the performance gain to decide on further data-sharing agreements.

Mycroft employs two primary selection strategies: Functional Similarity (GradMatch), which uses loss gradients to find samples that move the model in the right direction, and Feature Similarity, which identifies samples close to the hard set in a high-dimensional feature space.

Experimental Evaluation

We evaluated Mycroft across computer vision tasks (using Food-101, UPMC, ISIA500, and dog breed datasets) and tabular data (IoT-23 network traffic). A key test involved a "Dogs & Wolves" dataset with spurious correlations to determine if Mycroft could select data to correct model biases.

Key Results and Insights

Efficiency and Performance

Mycroft consistently outperforms random sampling, achieving significant performance gains with minimal data. In vision tasks, Mycroft reached approximately 83% of the performance of the full-information baseline while utilizing only a fraction of the available external data. As shown in the cumulative distribution below, Mycroft requires a significantly smaller budget to reach high probabilities of success compared to random sampling.

Figure 1: CDF of the budget required to reach target performance. Mycroft (blue) requires significantly less data than random sampling (orange) to achieve high success probability.

Robustness to Data Corruption

A critical advantage of Mycroft is its resilience to noise. Even when the data owner's collection contains corrupted images or a high percentage of incorrect labels (up to 70%), the framework successfully identifies the remaining high-quality samples that are relevant to the trainer's needs.

Figure 2: Accuracy across various datasets under different corruption scenarios. Mycroft (hatched bars) maintains higher accuracy than random sampling even with corrupted labels or data.

Label-Agnostic Utility

Mycroft remains effective even when external data is unlabelled. By leveraging feature similarity, it can pinpoint relevant samples that the trainer can subsequently pseudo-label, further reducing the burden on data owners. In tabular data scenarios, Mycroft with just 5 samples was shown to outperform random sampling with 100 samples.

Conclusion and Future Work

Mycroft provides a practical path forward for secure and efficient data augmentation. By treating gradients and features as proxies for utility, it bridges the gap between data trainers and owners. Future work will focus on enhancing privacy through differential privacy techniques and developing defenses against potentially malicious data owners who might attempt to manipulate the selection process.

Summary updated

BibTeX
@misc{sarwar2024mycroft,
  author = {Zain Sarwar and Van Tran and Arjun Nitin Bhagoji and Nick Feamster and Ben Y. Zhao and Supriyo Chakraborty},
  title = {{MYCROFT: Towards Effective and Efficient External Data Augmentation}},
  year = {2024},
  eprint = {2410.08432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.08432},
}
Figure