Classifying real-world data with the DDα-procedure

Pavlo Mozharovskyi, Karl Mosler, Tatjana Lange

Abstract

The $DD\alpha$-classifier, a nonparametric fast and very robust procedure, is described and applied to fifty classification problems regarding a broad spectrum of real-world data. The procedure first transforms the data from their original property space into a depth space, which is a low-dimensional unit cube, and then separates them by a projective invariant procedure, called $\alpha$-procedure. To each data point the transformation assigns its depth values with respect to the given classes. Several alternative depth notions (spatial depth, Mahalanobis depth, projection depth, and Tukey depth, the latter two being approximated by univariate projections) are used in the procedure, and compared regarding their average error rates. With the Tukey depth, which fits the distributions' shape best and is most robust, 'outsiders', that is data points having zero depth in all classes, need an additional treatment for classification. Evidence is also given about the dimension of the extended feature space needed for linear separation. The $DD\alpha$-procedure is available as an R-package.

Introduction

Classical statistical classifiers, such as Linear Discriminant Analysis (LDA), often rely on rigid assumptions about data distributions—most notably, the assumption of Gaussianity. However, real-world datasets are frequently characterized by asymmetry, heavy tails, and outliers. While nonparametric methods like $k$-Nearest Neighbors (KNN) or Support Vector Machines (SVM) offer more flexibility, they often require extensive hyperparameter tuning.

The $DD\alpha$-procedure addresses these challenges by providing a fast, nonparametric, and robust classification framework. By focusing on the "centrality" or "depth" of data points rather than their raw coordinates, the method achieves high accuracy across diverse datasets without the need for heavy parameter tuning.

Methodology

The $DD\alpha$-procedure operates in two primary stages: Depth Transformation and the $\alpha$-procedure.

1. Depth Transformation ($DD$)

The algorithm first maps data from its original $d$-dimensional property space into a $q$-dimensional "depth space," where $q$ is the number of classes. In this new space, each coordinate represents the depth of a point relative to a specific class distribution. The authors explore several depth notions, including Mahalanobis, Spatial, Projection, and Tukey depths. Each notion captures the shape and centrality of the data differently, as seen in the contour mappings below.

Contour plots of various depth notions applied to a bivariate dataset, illustrating how different functions capture data centrality and shape.

2. The $\alpha$-procedure

Once the data is transformed into the depth space (a low-dimensional unit cube), the $\alpha$-procedure seeks an optimal separating hyperplane. A key feature of this procedure is its ability to use an "extended" feature space. By considering not just the depths themselves but also their products and powers (polynomial separation), the algorithm can find linear separators in a higher-dimensional space that correspond to complex boundaries in the original space.

The $\alpha$-procedure transforms data into a depth space (left) and can extend it with products of depths (right) to find an optimal separating hyperplane.

Handling "Outsiders"

A practical challenge arises with robust depths like the Tukey depth, which can vanish (become zero) for points outside the convex hull of the training data. These "outsiders" require additional treatment. The authors propose several strategies, including using LDA, KNN, or a simplified SVM ($SVM-s$) to classify these points, though they note that non-vanishing depths like Spatial depth often provide a more seamless "all-in-one" solution.

Empirical Evaluation and Results

The procedure was benchmarked against 50 binary classification tasks derived from 33 real-world datasets, spanning medical, chemical, and socio-economic domains.

  • Performance: $DD\alpha$-classifiers based on Spatial and Mahalanobis depths emerged as the top performers, frequently yielding lower average error rates (ACE) than traditional LDA, QDA, and KNN.
  • Efficiency: Training is highly efficient, typically concluding within seconds or minutes even for larger datasets.
  • Simplicity: In 99% of the studied cases, the $\alpha$-procedure required only the basic depth features to achieve optimal separation, demonstrating the inherent power of depth-based dimensionality reduction.

Conclusion

The $DD\alpha$-procedure offers a robust and efficient alternative to classical and modern classifiers. Its ability to handle non-Gaussian data and outliers with minimal tuning makes it a valuable tool for practitioners. The procedure is publicly available via the ddalpha R-package, facilitating its application to a wide range of real-world classification problems.

Summary updated

BibTeX
@article{mozharovskyi2015classifying,
  author = {Pavlo Mozharovskyi and Karl Mosler and Tatjana Lange},
  title = {{Classifying real-world data with the DDα-procedure}},
  journal = {Adv. Data Anal. Classif.},
  year = {2015},
  doi = {10.1007/s11634-014-0180-8},
}
Figure