One-class classification

From Wikipedia, the free encyclopedia

Template:Short description In machine learning, one-class classification (OCC), also known as unary classification or class-modelling, is an approach to the training of binary classifiers in which only examples of one of the two classes are used.[1]

Examples include the monitoring of helicopter gearboxes,[2][3][4] motor failure prediction,[5] or assessing the operational status of a nuclear plant as 'normal':[6] In such scenarios, there are few, if any, examples of the catastrophic system states – rare outliers – that comprise the second class. Alternatively, the class that is being focused on may cover a small, coherent subset of the data and the training may rely on an information bottleneck approach.[7]

In practice, counter-examples from the second class may be used in later rounds of training to further refine the algorithm.

Overview

The term one-class classification (OCC) was coined by Moya & Hush (1996)[8] and many applications can be found in scientific literature, for example outlier detection, anomaly detection, novelty detection. A feature of OCC is that it uses only sample points from the assigned class, so that a representative sampling is not strictly required for non-target classes.[9]

Introduction

File:One-class data description TAX.png
The hypersphere containing the target data having center c and radius r. Objects on the boundary are support vectors, and two objects lie outside the boundary having slack greater than 0.

SVM based one-class classification (OCC) relies on identifying the smallest hypersphere (with radius r, and center c) consisting of all the data points.[10] This method is called Support Vector Data Description (SVDD). Formally, the problem can be defined in the following constrained optimization form,

minr,cr2 subject to, ||Φ(xi)c||2r2i=1,2,...,n

However, the above formulation is highly restrictive, and is sensitive to the presence of outliers. Therefore, a flexible formulation, that allow for the presence of outliers is formulated as shown below,

minr,c,ζr2+1νni=1nζi

subject to, ||Φ(xi)c||2r2+ζii=1,2,...,n

From the Karush–Kuhn–Tucker conditions for optimality, we get

c=i=1nαiΦ(xi),

where the αi's are the solution to the following optimization problem:

maxαi=1nαiκ(xi,xi)i,j=1nαiαjκ(xi,xj)

subject to, i=1nαi=1 and 0αi1νnfor all i=1,2,...,n.

The introduction of kernel function provide additional flexibility to the One-class SVM (OSVM) algorithm.[11]

PU (Positive Unlabeled) learning

A similar problem is PU learning, in which a binary classifier is constructed by semi-supervised learning from only positive and unlabeled sample points.[12]

In PU learning, two sets of examples are assumed to be available for training: the positive set P and a mixed set U, which is assumed to contain both positive and negative samples, but without these being labeled as such. This contrasts with other forms of semisupervised learning, where it is assumed that a labeled set containing examples of both classes is available in addition to unlabeled samples. A variety of techniques exist to adapt supervised classifiers to the PU learning setting, including variants of the EM algorithm. PU learning has been successfully applied to text,[13][14][15] time series,[16] bioinformatics tasks,[17][18] and remote sensing data.[19]

Approaches

Several approaches have been proposed to solve one-class classification (OCC). The approaches can be distinguished into three main categories, density estimation, boundary methods, and reconstruction methods.[6]

Density estimation methods

Density estimation methods rely on estimating the density of the data points, and set the threshold. These methods rely on assuming distributions, such as Gaussian, or a Poisson distribution. Following which discordancy tests can be used to test the new objects. These methods are robust to scale variance.

Gaussian model[20] is one of the simplest methods to create one-class classifiers. Due to Central Limit Theorem (CLT),[21] these methods work best when large number of samples are present, and they are perturbed by small independent error values. The probability distribution for a d-dimensional object is given by:

p𝒩(z;μ;Σ)=1(2π)d2|Σ|12exp{12(zμ)TΣ1(zμ)}

Where, μ is the mean and Σ is the covariance matrix. Computing the inverse of covariance matrix (Σ1) is the costliest operation, and in the cases where the data is not scaled properly, or data has singular directions pseudo-inverse Σ+ is used to approximate the inverse, and is calculated as ΣT(ΣΣT)1.[22]

Boundary methods

Boundary methods focus on setting boundaries around a few set of points, called target points. These methods attempt to optimize the volume. Boundary methods rely on distances, and hence are not robust to scale variance. K-centers method, NN-d, and SVDD are some of the key examples.

K-centers

In K-center algorithm,[23] k small balls with equal radius are placed to minimize the maximum distance of all minimum distances between training objects and the centers. Formally, the following error is minimized,

εkcenter=maxi(mink||xiμk||2)

The algorithm uses forward search method with random initialization, where the radius is determined by the maximum distance of the object, any given ball should capture. After the centers are determined, for any given test object z the distance can be calculated as,

dkcentr(z)=mink||zμk||2

Reconstruction methods

Reconstruction methods use prior knowledge and generating process to build a generating model that best fits the data. New objects can be described in terms of a state of the generating model. Some examples of reconstruction methods for OCC are, k-means clustering, learning vector quantization, self-organizing maps, etc.

Applications

Document classification

The basic Support Vector Machine (SVM) paradigm is trained using both positive and negative examples, however studies have shown there are many valid reasons for using only positive examples. When the SVM algorithm is modified to only use positive examples, the process is considered one-class classification. One situation where this type of classification might prove useful to the SVM paradigm is in trying to identify a web browser's sites of interest based only off of the user's browsing history.

Biomedical studies

One-class classification can be particularly useful in biomedical studies where often data from other classes can be difficult or impossible to obtain. In studying biomedical data it can be difficult and/or expensive to obtain the set of labeled data from the second class that would be necessary to perform a two-class classification. A study from The Scientific World Journal found that the typicality approach is the most useful in analysing biomedical data because it can be applied to any type of dataset (continuous, discrete, or nominal).[24] The typicality approach is based on the clustering of data by examining data and placing it into new or existing clusters.[25] To apply typicality to one-class classification for biomedical studies, each new observation, y0, is compared to the target class, C, and identified as an outlier or a member of the target class.[24]

Unsupervised Concept Drift Detection

One-class classification has similarities with unsupervised concept drift detection, where both aim to identify whether the unseen data share similar characteristics to the initial data. A concept is referred to as the fixed probability distribution which data is drawn from. In unsupervised concept drift detection, the goal is to detect if the data distribution changes without utilizing class labels. In one-class classification, the flow of data is not important. Unseen data is classified as typical or outlier depending on its characteristics, whether it is from the initial concept or not. However, unsupervised drift detection monitors the flow of data, and signals a drift if there is a significant amount of change or anomalies. Unsupervised concept drift detection can be identified as the continuous form of one-class classification.[26] One-class classifiers are used for detecting concept drifts.[27]

See also

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content.Oliveri P (August 2017). "Class-modelling in food analytical chemistry: Development, sampling, optimisation and validation issues - A tutorial". Analytica Chimica Acta. 982: 9–19. Bibcode:2017AcAC..982....9O. doi:10.1016/j.aca.2017.05.013. hdl:11567/881059. PMID 28734370.
  2. ^ Template:Cite CiteSeerX
  3. ^ Page Module:Citation/CS1/styles.css has no content.Japkowicz N (1999). Concept-Learning in the Absence of Counter-Examples:An Autoassociation-Based Approach to Classification (Thesis). Rutgers University.
  4. ^ Page Module:Citation/CS1/styles.css has no content.Japkowicz N (2001). "Supervised Versus Unsupervised Binary-Learning by Feedforward Neural Networks" (PDF). Machine Learning. 42: 97–122. doi:10.1023/A:1007660820062. S2CID 7298189.
  5. ^ Page Module:Citation/CS1/styles.css has no content.Petsche T, Marcantonio A, Darken C, Hanson S, Kuhn G, Santoso I (1996). "A Neural Network Autoassociator for Induction Motor Failure Prediction" (PDF). NIPS.
  6. ^ a b Page Module:Citation/CS1/styles.css has no content.Tax D (2001). One-class classification: Concept-learning in the absence of counter-examples (PDF) (Ph.D. thesis). The Netherlands: University of Delft.
  7. ^ Page Module:Citation/CS1/styles.css has no content.Crammer, Koby (2004). "A needle in a haystack". Twenty-first international conference on Machine learning - ICML '04. p. 26. doi:10.1145/1015330.1015399. ISBN 978-1-58113-838-2. S2CID 8736254.
  8. ^ Page Module:Citation/CS1/styles.css has no content.Moya, M.; Hush, D. (1996). "Network constraints and multi- objective optimization for one-class classification". Neural Networks. 9 (3): 463–474. doi:10.1016/0893-6080(95)00120-4.
  9. ^ Page Module:Citation/CS1/styles.css has no content.Rodionova OY, Oliveri P, Pomerantsev AL (2016-12-15). "Rigorous and compliant approaches to one-class classification". Chemometrics and Intelligent Laboratory Systems. 159: 89–96. doi:10.1016/j.chemolab.2016.10.002. hdl:11567/864539.
  10. ^ Page Module:Citation/CS1/styles.css has no content.Zineb, Noumir; Honeine, Paul; Richard, Cedue (2012). "On simple one-class classification methods". IEEE International Symposium on Information Theory Proceedings. IEEE, 2012.
  11. ^ Page Module:Citation/CS1/styles.css has no content.Khan, Shehroz S.; Madden, Michael G. (2010). "A Survey of Recent Trends in One Class Classification". In Coyle, Lorcan; Freyne, Jill (eds.). Artificial Intelligence and Cognitive Science. Lecture Notes in Computer Science. Vol. 6206. Springer Berlin Heidelberg. pp. 188–197. doi:10.1007/978-3-642-17080-5_21. hdl:10379/1472. ISBN 978-3-642-17080-5. S2CID 36784649.
  12. ^ Page Module:Citation/CS1/styles.css has no content.Liu, Bing (2007). Web Data Mining. Springer. pp. 165–178.
  13. ^ Page Module:Citation/CS1/styles.css has no content.Bing Liu; Wee Sun Lee; Philip S. Yu & Xiao-Li Li (2002). Partially supervised classification of text documents. ICML. pp. 8–12.
  14. ^ Page Module:Citation/CS1/styles.css has no content.Hwanjo Yu; Jiawei Han; Kevin Chen-Chuan Chang (2002). PEBL: positive example based learning for web page classification using SVM. ACM SIGKDD.
  15. ^ Page Module:Citation/CS1/styles.css has no content.Xiao-Li Li & Bing Liu (2003). Learning to classify text using positive and unlabeled data. IJCAI.
  16. ^ Page Module:Citation/CS1/styles.css has no content.Minh Nhut Nguyen; Xiao-Li Li & See-Kiong Ng (2011). Positive Unlabeled Learning for Time Series Classification. IJCAI.
  17. ^ Page Module:Citation/CS1/styles.css has no content.Peng Yang; Xiao-Li Li; Jian-Ping Mei; Chee-Keong Kwoh & See-Kiong Ng (2012). Positive-Unlabeled Learning for Disease Gene Identification. Bioinformatics, Vol 28(20).
  18. ^ Page Module:Citation/CS1/styles.css has no content.Bugnon, L. A.; Yones, C.; Milone, D. H. & Stegmayer, G. (2020). "Genome-wide discovery of pre-miRNAs: comparison of recent approaches based on machine learning". Oxford Bioinformatics. 22 (3). doi:10.1093/bib/bbaa184. PMID 32814347.
  19. ^ Page Module:Citation/CS1/styles.css has no content.Li, W.; Guo, Q.; Elkan, C. (February 2011). "A Positive and Unlabeled Learning Algorithm for One-Class Classification of Remote-Sensing Data". IEEE Transactions on Geoscience and Remote Sensing. 49 (2): 717–725. Bibcode:2011ITGRS..49..717L. doi:10.1109/TGRS.2010.2058578. ISSN 0196-2892. S2CID 267120.
  20. ^ Page Module:Citation/CS1/styles.css has no content.Bishop, Christopher M.; Bishop, Professor of Neural Computing Christopher M. (1995-11-23). Neural Networks for Pattern Recognition. Clarendon Press. ISBN 978-0-19-853864-6.
  21. ^ Page Module:Citation/CS1/styles.css has no content.Ullman, Neil R (2017-01-01). Elementary statistics.[dead link]
  22. ^ Page Module:Citation/CS1/styles.css has no content."Introduction to Applied Mathematics". SIAM Bookstore. Retrieved 2019-04-29.
  23. ^ Page Module:Citation/CS1/styles.css has no content.Ypma, Alexander; Duin, Robert P. W. (1998). "Support objects for domain approximation". In Niklasson, Lars; Bodén, Mikael; Ziemke, Tom (eds.). Icann 98. Perspectives in Neural Computing. Springer London. pp. 719–724. doi:10.1007/978-1-4471-1599-1_110. ISBN 978-1-4471-1599-1.
  24. ^ a b Page Module:Citation/CS1/styles.css has no content.Irigoien I, Sierra B, Arenas C (2014). "Towards application of one-class classification methods to medical data". TheScientificWorldJournal. 2014 730712. doi:10.1155/2014/730712. PMC 3980920. PMID 24778600.
  25. ^ Page Module:Citation/CS1/styles.css has no content.Irigoien I, Arenas C (July 2008). "INCA: new statistic for estimating the number of clusters and identifying atypical units". Statistics in Medicine. 27 (15): 2948–73. doi:10.1002/sim.3143. PMID 18050154. S2CID 24791212.
  26. ^ Page Module:Citation/CS1/styles.css has no content.Gözüaçık, Ömer; Can, Fazli (November 2020). "Concept learning using one-class classifiers for implicit drift detection in evolving data streams". Artificial Intelligence Review. 54 (5): 3725–3747. doi:10.1007/s10462-020-09939-x. hdl:11693/77042. S2CID 229506136.
  27. ^ Page Module:Citation/CS1/styles.css has no content.Krawczyk, Bartosz; Woźniak, Michał (2015). "One-class classifiers with incremental learning and forgetting for data streams with concept drift". Soft Computing. 19 (12): 3387–3400. doi:10.1007/s00500-014-1492-5. S2CID 207011971.