Anomaly Detection : A Survey
Join the DZone community and get the full member experience.Join For Free
this post is summary of the “anomaly detection : a survey”. anomaly detection refers to the problem of finding patterns in data that do not conform to expected behavior. these non-conforming patterns are often referred to as anomalies, outliers, discordant observations, exceptions, aberrations, surprises, peculiarities or contaminants in different application domains.
anomalies are patterns in data that do not conform to a well defined notion of normal behavior.
- interesting to analyze
- unwanted noise in the data also can be found in there.
- novelty detection which aims at detecting previously unobserved (emergent, novel) patterns in the data
challenges for anomaly detection
- drawing the boundary between normal and anomalous behavior
- availability of labeled data
- noisy data
type of anomaly
anomalies can be classified into following three categories
- point anomalies - an individual data instance can be considered as anomalous with respect to the rest of data
- contextual anomalies - a data instance is anomalous in a specific context (but not otherwise), then it is termed as a contextual anomaly (also referred as conditional anomaly). each data instance is defined using following two sets of attributes
contextual attributes. the contextual attributes are used to determine the context (or neighborhood) for that instance
in time- series data, time is a contextual attribute which determines the position of an instance on the entire sequence
behavioral attributes. the behavioral attributes define the non-contextual characteristics of an instance
in a spatial data set describing the average rainfall of the entire world, the amount of rainfall at any location is a behavioral attribute
- to explain this we will look into "exchange rate history for converting united states dollar (usd) to sri lankan rupee (lkr)"
contextual anomaly t2 in a exchange rate time series. note that the exchange rate at time t1 is same as that at time t2 but occurs in a different context and hence is not considered as an anomaly
3. collective anomalies - a collection of related data instances is anomalous with respect to the entire data set
the labels associated with a data instance denote if that instance is normal or anomalous. depending labels availability, anomaly detection techniques can be operated in one of the following three modes
- supervised anomaly detection - techniques trained in supervised mode assume the availability of a training data set which has labeled instances for normal as well as anomaly class
- semi-supervised anomaly detection - techniques that operate in a semi-supervised mode, assume that the training data has labeled instances for only the normal class. since they do not require labels for the anomaly class
- unsupervised anomaly detection - techniques that operate in unsupervised mode do not require training data, and thus are most widely applicable. the techniques implicit assume that normal instances are far more frequent than anomalies in the test data. if this assumption is not true then such techniques suffer from high false alarm rate
output of anomaly detection
anomaly detection have two types of output techniques
- scores. scoring techniques assign an anomaly score to each instance in the test data depending on the degree to which that instance is considered an anomaly
- labels. techniques in this category assign a label (normal or anomalous) to each test instance
applications of anomaly detection
detection refers to detection of malicious activity. the key challenge
for anomaly detection in this domain is the huge volume of data. thus,
semi-supervised and unsupervised anomaly detection techniques are
preferred in this domain.denning classifies intrusion detection
systems into host based and net-
work based intrusion detection systems.
- host based intrusion detection systems - this deals with operating system call traces
- network intrusion detection systems - these systems deal with detecting intrusions in network data. the intrusions typically occur as anomalous patterns (point anomalies) though certain techniques model the data in a sequential fashion and detect anomalous subsequences (collective anomalies). a challenge faced by anomaly detection techniques in this domain is that the nature of anomalies keeps changing over time as the intruders adapt their network attacks to evade the existing intrusion detection solutions.
fraud detection refers to detection of criminal activities occurring in commercial organizations such as banks, credit card companies, insurance agencies, cell phone companies, stock market, etc. the organizations are interested in immediate detection of such frauds to prevent economic losses. detection techniques used for credit card fraud and network intrusion detection as below.
- statistical profiling using histograms
- parametric statisti- cal modeling
- non-parametric sta- tistical modeling bayesian networks
- neural networks
- support vector ma- chines
- clustering based
- nearest neighbor based
- information theoretic
here are some domain in fraud detections
- credit card fraud detection
- mobile phone fraud detection
- insurance claim fraud detection
- insider trading detection
medical and public health anomaly detection
anomaly detection in the medical and public health domains typically work with pa- tient records. the data can have anomalies due to several reasons such as abnormal patient condition or instrumentation errors or recording errors. thus the anomaly detection is a very critical problem in this domain and requires high degree of accuracy.
industrial damage detection
such damages need to be detected early to prevent further escalation and losses.
fault detection in mechanical units
structural defect detection
anomaly detection techniques dealing with images are either interested in any changes in an image over time (motion detection) or in regions which appear ab- normal on the static image. this domain includes satellite imagery.
anomaly detection in text data
anomaly detection techniques in this domain primarily detect novel topics or events or news stories in a collection of documents or news articles. the anomalies are caused due to a new interesting event or an anomalous topic.
since the sensor data collected from various wireless sensors has several unique characteristics.
 varun chandola, arindam banerjee, and vipin kumar. 2009. anomaly detection: a survey. acm comput. surv. 41, 3, article 15 (july 2009), 58 pages. doi=10.1145/1541880.1541882 http://doi.acm.org/10.1145/1541880.1541882
 denning, d. e. 1987. an intrusion detection model. ieee transactions of software engineer-ing 13, 2, 222–232.
gwadera, r., atallah, m. j., and szpankowski, w. 2004. detection of significant sets of episodes in event sequences. in proceedings of the fourth ieee international conference on data mining. ieee computer society, washington, dc, usa, 3–10.
Published at DZone with permission of Madhuka Udantha, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.