JOURNAL ARTICLE

Negative Selection Algorithm for Unsupervised Anomaly Detection

Michał Bereta

Year: 2024 Journal:   Applied Sciences Vol: 14 (23)Pages: 11040-11040   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

In this work, we present a modification of the well-known Negative Selection Algorithm (NSA), inspired by the process of T-cell generation in the immune system. The approach employs spherical detectors and was initially developed in the context of semi-supervised anomaly detection. The novelty of this work lies in proposing an adapted version of the NSA for unsupervised anomaly detection. The goal is to develop a method that can be applied to datasets that may not only represent self-data but also contain a small percentage of anomalies, which must be detected without prior knowledge of their locations. The proposed unsupervised algorithm leverages neighborhood sampling and ensemble methods to enhance its performance. We conducted comparative tests with 11 other algorithms across 17 datasets with varying characteristics. The results demonstrate that the proposed algorithm is competitive. The proposed algorithm performs well across multiple metrics, including accuracy, AUC, precision, recall, F1 score, Cohen’s kappa, and Matthews correlation coefficient. It consistently ranks among the top algorithms for recall, indicating its effectiveness in scenarios where detecting all existing anomalies is critical, even at the expense of some increase in false positives. Further research is possible and may focus on exploring normalization procedures, improving threshold automation, and extending the method for more detailed anomaly confidence assessments.

Keywords:
Anomaly detection Computer science Selection (genetic algorithm) Artificial intelligence Pattern recognition (psychology) Algorithm Data mining

Metrics

3
Cited By
1.10
FWCI (Field Weighted Citation Impact)
46
Refs
0.67
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Artificial Immune Systems Applications
Physical Sciences →  Engineering →  Biomedical Engineering
Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Network Security and Intrusion Detection
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK-CHAPTER

Anomaly Detection-Based Negative Selection Algorithm

Hanane ChliahAmal BattouOmar Baz

Studies in distributed intelligence Year: 2022 Pages: 99-105
JOURNAL ARTICLE

Anomaly detection using augmented negative selection algorithm

Jinquan Zeng

Journal:   Journal of Biotechnology Year: 2008 Vol: 136 Pages: S112-S112
BOOK-CHAPTER

An Extended Negative Selection Algorithm for Anomaly Detection

Xiaoshu HangHonghua Dai

Lecture notes in computer science Year: 2004 Pages: 245-254
JOURNAL ARTICLE

A Cooperative Negative Selection Algorithm for Anomaly Detection

Praneet SaurabhBhupendra Verma

Journal:   International Journal of Computer Applications Year: 2014 Vol: 95 (17)Pages: 27-32
© 2026 ScienceGate Book Chapters — All rights reserved.