HYDRA: Hypergradient Data Relevance Analysis for Interpreting Deep Neural Networks

Yuanyuan Chen, Boyang Li, Han Yu, Pengcheng Wu, Chunyan Miao
2/4/2021
cs.LG

No official code found. Best implementation: cyyever/aaai_hydra (20 stars, Python, last commit 2024-12-29).

Abstract

The behaviors of deep neural networks (DNNs) are notoriously resistant to human interpretations. In this paper, we propose Hypergradient Data Relevance Analysis, or HYDRA, which interprets the predictions made by DNNs as effects of their training data.

Show full abstract

Existing approaches generally estimate data contributions around the final model parameters and ignore how the training data shape the optimization trajectory. By unrolling the hypergradient of test loss w.r.t. the weights of training data, HYDRA assesses the contribution of training data toward test data points throughout the training trajectory. In order to accelerate computation, we remove the Hessian from the calculation and prove that, under moderate conditions, the approximation error is bounded. Corroborating this theoretical claim, empirical results indicate the error is indeed small. In addition, we quantitatively demonstrate that HYDRA outperforms influence functions in accurately estimating data contribution and detecting noisy data labels. The source code is available at https://github.com/cyyever/aaai_hydra_8686.

View on arXivView PDF

Code Implementations(1)

cyyever/aaai_hydraCommunity100%
203Python, ShellDec 7, 20201 years ago

Similar Papers

Cite this paper

@article{chen2021hydra,
  title  = {HYDRA: Hypergradient Data Relevance Analysis for Interpreting Deep Neural Networks},
  author = {Yuanyuan Chen and Boyang Li and Han Yu and Pengcheng Wu and Chunyan Miao},
  year   = {2021},
  eprint = {2102.02515},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.02515}
}

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/2102.02515.svg)](https://codeofpaper.com/paper/2102.02515)

Discussion