One-Class Classifiers Based on Entropic Spanning Graphs

Lorenzo Livi, Cesare Alippi

Abstract

One-class classification (OCC) is a vital machine learning task focused on identifying "normal" patterns to detect anomalies. This paper introduces EOCC-MI, a novel one-class classifier that leverages entropic spanning graphs and mutual information minimization. By mapping data into a dissimilarity space and employing fuzzy topological modeling, EOCC-MI effectively handles diverse data types—including non-numeric formats like protein sequences and chemical graphs—while providing a confidence-based membership degree for its decisions.

Introduction: The "Needle in a Haystack" Problem

One-class classification is the challenge of training a model on what "normal" looks like so it can spot anything "abnormal" (outliers or novelties). This is essential for applications such as fault detection in power grids, medical diagnosis, and fraud detection.

Traditional OCC methods face three primary hurdles:

  1. Data Diversity: Most classifiers require numeric vectors, but real-world data often comes as graphs or sequences.
  2. Complex Geometry: "Normal" data rarely sits in a perfect circle; it often forms intricate, non-convex shapes in high-dimensional space.
  3. Confidence: A simple binary "yes/no" isn't always enough; practitioners need a confidence score (membership degree) for each decision.

The EOCC-MI Pipeline

The authors propose a multi-step approach called EOCC-MI (Entropic One-Class Classifier based on Mutual Information) to address these challenges.

1. Dissimilarity Embedding

To handle non-numeric data, the system first maps inputs into a "Dissimilarity Space." Each data point is represented by its distance to a set of prototypes, transforming complex structures into a numeric format suitable for graph construction.

2. Graph Construction and Optimization

The model builds a $k$-nearest neighbor (kNN) graph where vertices are data points and edges represent Euclidean distances in the embedded space. The "model" is defined by the connected components of this graph. The system optimizes the graph's parameters ($k$ and the distance metric $p$) to minimize the mutual information between these components, ensuring that the identified regions of "normality" are statistically independent. The $\alpha$-Jensen difference is used as a computationally efficient proxy for mutual information.

Overview of the EOCC-MI pipeline: (a) Embedding into dissimilarity space, (b) kNN graph construction, and (c) graph partitioning with fuzzification.

3. Graph-Based Fuzzification

To provide a confidence level, EOCC-MI calculates the closeness centrality of each vertex. Points in the "heart" of a cluster receive a high membership degree (near 1), while those on the fringes get lower scores. This allows the model to "shrink-wrap" around arbitrary data distributions without needing a central "mean" point.

Algorithmic Flow

The EOCC-MI system operates in two distinct stages. During the Training Stage, the model iteratively constructs graphs and optimizes parameters to minimize mutual information until convergence. In the Test Stage, new data points are embedded and evaluated against the fuzzy model to produce both a binary classification and a membership degree.

Flowchart of the EOCC-MI training and testing stages.

Key Results and Performance

The researchers evaluated EOCC-MI against a wide array of benchmarks, including standard numeric datasets from the UCI Repository and graph-based datasets from the IAM database.

  • Competitive Accuracy: EOCC-MI ranked 4th globally in a two-way ANOVA test across UCI datasets, performing on par with or better than established methods like Support Vector Data Description (SVDD).
  • Versatility: It successfully handled both feature vectors and labeled graphs without requiring specialized architectural changes for each data type.
  • Efficiency Gains: EOCC-MI proved to be significantly faster than previous "entropic" iterations because it avoids expensive cross-validation loops during training.
  • Protein Solubility: In a challenging real-world application using E. coli protein data, the model achieved an AUC of ~0.76 when identifying insoluble proteins using graph representations, significantly outperforming sequence-based approaches (AUC ~0.64).

Conclusion and Future Work

EOCC-MI demonstrates that topology-based modeling combined with information theory provides a robust framework for one-class classification. While the current implementation is efficient, the authors note that training complexity ($O(n^{5/2})$) may still be a challenge for "Big Data" scales. Future directions include using approximated kNN algorithms to reduce complexity and adapting the model for "concept drift," where the definition of "normal" changes over time.

Summary updated

BibTeX
@article{livi2017one,
  author = {Lorenzo Livi and Cesare Alippi},
  title = {{One-Class Classifiers Based on Entropic Spanning Graphs}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2017},
  doi = {10.1109/tnnls.2016.2608983},
}
Figure