What Drives the Inlier-Memorization Effect? A Theory of Outlier Detection via Early Training Dynamics

Kunwoong Kim, Dongha Kim
6/29/2026
cs.LGcs.AIstat.ML

No confident code implementation found for this paper.

Abstract

Outlier detection (OD) aims to identify anomalous instances by learning the underlying structure of normal data (inliers), and is particularly challenging in fully unsupervised settings where no information about anomalies is available during training. Recent advances have leveraged the inlier-memorization (IM) effect, a phenomenon in which deep models memorize inlier patterns earlier than those of outliers, as a powerful signal for distinguishing outliers.

Show full abstract

However, despite its empirical success, the theoretical understanding of the IM effect remains limited. In this work, we present a theoretical study of the IM effect. Focusing on a simple autoencoder, we show that, under mild assumptions, the model can successfully memorize inliers while failing to memorize outliers during certain stages of early training. In particular, we characterize not only the emergence of the IM effect, but also its strength and persistence, and analyze how these properties depend on the data distribution and parameter initialization. In addition, building on these insights, we derive simple yet practical guidelines for enhancing the IM effect, including data preprocessing and parameter initialization schemes, achieving state-of-the-art performance on the ADBench datasets. Our findings provide a theoretical foundation for the IM effect and offer actionable directions for improving IM-based outlier detection methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2026what,
  title  = {What Drives the Inlier-Memorization Effect? A Theory of Outlier Detection via Early Training Dynamics},
  author = {Kunwoong Kim and Dongha Kim},
  year   = {2026},
  eprint = {2606.29791},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.29791v1}
}

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

Discussion