k-NNN: Nearest Neighbors of Neighbors for Anomaly Detection

05/28/2023
by   Ori Nizan, et al.
0

Anomaly detection aims at identifying images that deviate significantly from the norm. We focus on algorithms that embed the normal training examples in space and when given a test image, detect anomalies based on the features distance to the k-nearest training neighbors. We propose a new operator that takes into account the varying structure importance of the features in the embedding space. Interestingly, this is done by taking into account not only the nearest neighbors, but also the neighbors of these neighbors (k-NNN). We show that by simply replacing the nearest neighbor component in existing algorithms by our k-NNN operator, while leaving the rest of the algorithms untouched, each algorithms own results are improved. This is the case both for common homogeneous datasets, such as flowers or nuts of a specific type, as well as for more diverse datasets

READ FULL TEXT

page 1

page 2

page 3

page 4

page 7

research
11/12/2022

Far Away in the Deep Space: Nearest-Neighbor-Based Dense Out-of-Distribution Detection

The key to out-of-distribution detection is density estimation of the in...
research
08/13/2023

Target before Shooting: Accurate Anomaly Detection and Localization under One Millisecond via Cascade Patch Retrieval

In this work, by re-examining the "matching" nature of Anomaly Detection...
research
05/11/2021

BikNN: Anomaly Estimation in Bilateral Domains with k-Nearest Neighbors

In this paper, a novel framework for anomaly estimation is proposed. The...
research
05/25/2023

Detecting Dataset Drift and Non-IID Sampling via k-Nearest Neighbors

We present a straightforward statistical test to detect certain violatio...
research
07/22/2013

Solving Traveling Salesman Problem by Marker Method

In this paper we use marker method and propose a new mutation operator t...
research
10/29/2021

Boosting Anomaly Detection Using Unsupervised Diverse Test-Time Augmentation

Anomaly detection is a well-known task that involves the identification ...
research
06/25/2023

A Self-Encoder for Learning Nearest Neighbors

We present the self-encoder, a neural network trained to guess the ident...

Please sign up or login with your details

Forgot password? Click here to reset