# Internal Evaluation of Unsupervised Anomaly Detection Algorithms with Explanation

*Yue Shao, Baile Xu, Furao Shen, Jian Zhao*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139056) · [OpenReview](https://openreview.net/forum?id=nph44qznwG) · [Open on the map](../papers.html#p139056)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Anomaly Detection and Model Robustness](../pgroup/80.md) · Type: new method · Keywords: unsupervised anomaly detection, internal evaluation, smoothness assumption, score similarity, mislabeled data detection

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Multidisciplinary Model Benchmarks › Anomaly Detection; [Evaluation Methodology & Auditing](../areas/eval-methodology.md) › Model Performance and Reliability Assessment › Causal Discovery Evaluation

## Summary
We propose SSSD, an internal evaluation framework for unsupervised anomaly detection that leverages the smoothness assumption to require locally similar data points to receive similar anomaly scores and evaluates violations using nearby-score and nearby-distance metrics.

## Explained to a 5-year-old
We have many computer programs that find weird things in data. Right now, there is no good way to check if these programs are working correctly. The new idea says that if two things look alike, they should get similar scores. It looks for when similar things get very different scores, which might mean the program made a mistake. This helps us find bad detections and trust the programs more.

## Explained to a 5-year-old, longer
Computers can be taught to spot unusual things, like a broken toy among many working ones. This is called unsupervised anomaly detection because no one tells the computer what is normal. However, we often don't know if the computer is doing a good job. The paper suggests a simple rule: things that look similar should get similar scores. By checking if similar things get very different scores, we can find mistakes. This helps us see when the computer might be wrong. The method uses two measurements: nearby scores and nearby distances. It looks at how far apart points are and how close their scores are. If the scores jump a lot while the points are close, something is off. This gives us clues about mislabeled data. The approach is easy to understand and works on both made-up and real data. It can be used to improve many different detection systems. Overall, it makes checking anomaly detectors more reliable and trustworthy.

## For a technical reader
The paper addresses the lack of reliable internal evaluation for unsupervised anomaly detection. It leverages the smoothness assumption, requiring that similar inputs receive similar anomaly scores. The method quantifies violations by measuring nearby-score and nearby-distance relationships between neighboring data points. By flagging large discrepancies, it highlights potential erroneous detections and mislabeled data. The framework is interpretable and has been validated on synthetic and real datasets, offering a practical tool for assessing detection algorithms.

## Problem
There is currently no widely accepted internal evaluation method for unsupervised anomaly detection, and existing approaches either rely on score distributions or auxiliary classifiers, which limits reliability and interpretability.

## Method
The approach adapts the smoothness assumption by requiring locally similar data points to receive similar anomaly scores and evaluates violations using nearby-score and nearby-distance metrics based on distances between neighboring points and their scores.

## Results
The results demonstrate that the approach is effective and robust in evaluating unsupervised anomaly detection algorithms on both synthetic and real-world datasets.

## Contributions
The paper introduces an internal evaluation framework that leverages the smoothness assumption to assess similarity between nearby data points and their anomaly scores, providing interpretable insights for detecting erroneous detections.

## Practical relevance
It helps practitioners reliably assess and improve anomaly detection models, leading to more trustworthy deployments.

## Research questions this paper is counted under

- [How can anomaly detection reliably identify subtle or collective anomalies without relying on simplistic reconstruction errors or density estimates?](../q/126.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139056)
