DORA: Exploring Outlier Representations in Deep Neural Networks

Kirill Bykov, Mayukh Deb, Dennis Grinwald, Klaus-Robert Müller, Marina M. -C. Höhne
6/9/2022
cs.LGcs.AIcs.CV

Official code: lapalap/dora (28 stars, Python, MIT, PyTorch, last commit 2026-04-23).

Abstract

Deep Neural Networks (DNNs) excel at learning complex abstractions within their internal representations. However, the concepts they learn remain opaque, a problem that becomes particularly acute when models unintentionally learn spurious correlations.

Show full abstract

In this work, we present DORA (Data-agnOstic Representation Analysis), the first data-agnostic framework for analyzing the representational space of DNNs. Central to our framework is the proposed Extreme-Activation (EA) distance measure, which assesses similarities between representations by analyzing their activation patterns on data points that cause the highest level of activation. As spurious correlations often manifest in features of data that are anomalous to the desired task, such as watermarks or artifacts, we demonstrate that internal representations capable of detecting such artifactual concepts can be found by analyzing relationships within neural representations. We validate the EA metric quantitatively, demonstrating its effectiveness both in controlled scenarios and real-world applications. Finally, we provide practical examples from popular Computer Vision models to illustrate that representations identified as outliers using the EA metric often correspond to undesired and spurious concepts.

View on arXivView PDF

Code Implementations(1)

lapalap/doraOfficial100%
PyTorchMIT

GitHub repository for DORA: Data-agnOstic Representation Analysis paper. DORA allows to find outlier representations in Deep Neural Networks.

282Python, ShellApr 27, 20227 months agoMIT
deep-learningexplainable-aimachine-learningneural-networkpytorch+1 more

Similar Papers

Cite this paper

@article{bykov2022dora,
  title  = {DORA: Exploring Outlier Representations in Deep Neural Networks},
  author = {Kirill Bykov and Mayukh Deb and Dennis Grinwald and Klaus-Robert Müller and Marina M. -C. Höhne},
  year   = {2022},
  eprint = {2206.04530},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04530}
}

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

Discussion