ModelDiff: A Framework for Comparing Learning Algorithms

Harshay Shah, Sung Min Park, Andrew Ilyas, Aleksander Madry
11/22/2022
cs.LGcs.CVstat.ML

Official code: MadryLab/modeldiff (59 stars, Jupyter Notebook, MIT, last commit 2023-08-15).

Abstract

We study the problem of (learning) algorithm comparison, where the goal is to find differences between models trained with two different learning algorithms. We begin by formalizing this goal as one of finding distinguishing feature transformations, i.e., input transformations that change the predictions of models trained with one learning algorithm but not the other.

Show full abstract

We then present ModelDiff, a method that leverages the datamodels framework (Ilyas et al., 2022) to compare learning algorithms based on how they use their training data. We demonstrate ModelDiff through three case studies, comparing models trained with/without data augmentation, with/without pre-training, and with different SGD hyperparameters. Our code is available at https://github.com/MadryLab/modeldiff .

View on arXivView PDF

Code Implementations(1)

MadryLab/modeldiffOfficial100%
MIT

ModelDiff: A Framework for Comparing Learning Algorithms

594Jupyter Notebook, PythonNov 18, 20223 years agoMIT

Similar Papers

Cite this paper

@article{shah2022modeldiff,
  title  = {ModelDiff: A Framework for Comparing Learning Algorithms},
  author = {Harshay Shah and Sung Min Park and Andrew Ilyas and Aleksander Madry},
  year   = {2022},
  eprint = {2211.12491},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.12491}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.12491.svg)](https://codeofpaper.com/paper/2211.12491)

Discussion