Abstract
AnyCORE is an anytime algorithm designed to address the latency and accuracy trade-offs inherent in traditional outlier detection and clustering. By alternating between cluster refinement and 1D projection-based outlier scoring, AnyCORE provides high-quality intermediate results, allowing users to interrupt the process at any time. Experimental results on real-world and high-dimensional synthetic datasets demonstrate that AnyCORE often achieves high detection accuracy significantly faster than traditional batch methods, effectively solving the "chicken and egg" problem of simultaneous clustering and outlier removal.
Introduction
In modern data science, outlier detection is a critical preprocessing step to ensure signal integrity. However, traditional algorithms typically operate in batch mode, requiring the entire computation to finish before providing results. This creates significant latency, especially for massive or high-dimensional datasets. Furthermore, a "chicken and egg" problem exists: outliers distort cluster centers, yet many detection methods require accurate clusters to identify outliers.
AnyCORE (Anytime Cluster Outlier REmoval) addresses these challenges by providing an "anytime" framework that refines clusters and identifies outliers in tandem, allowing users to access intermediate results at any point during execution.
Methodology
AnyCORE builds upon the MORe++ batch algorithm but introduces an iterative, anytime approach. The core mechanism relies on two main pillars:
- 1D Projections and Histograms: To avoid the "curse of dimensionality" associated with multi-dimensional distance calculations, AnyCORE projects clusters into single dimensions. It uses histograms to identify gaps or "rises" that signal potential outliers.
- Iterative Refinement: Unlike sequential methods, AnyCORE alternates between clustering and outlier removal. By temporarily removing suspected outliers, it calculates more precise cluster centers, which in turn improves the accuracy of subsequent outlier detection.
The framework is designed to be interrupted; at any timestamp, the current outlierScore and cluster labels are available for use, making it highly suitable for time-sensitive applications.
Experimental Evaluation
The authors evaluated AnyCORE using seven real-world datasets from the ODDS library (e.g., Glass, Mnist, Shuttle) and two synthetic benchmarks: SynthA (100,000 points) for scalability and SynthB (3,000 dimensions) for high-dimensional performance. These tests measured how effectively the algorithm distinguished outliers using the ROC AUC metric.
Key Results and Insights
The primary advantage of AnyCORE is its "anytime" performance. Evaluation demonstrated that "good enough" results are often available very early in the process, long before the algorithm officially converges.
- Speed and Quality: On the Shuttle dataset, AnyCORE significantly outperformed the batch MORe++ in speed. For Glass and Optdigits, intermediate results were occasionally superior to the final converged results of the batch version.
- Mutual Optimization: The iterative cycle creates a virtuous loop where cleaner clusters lead to better outlier detection and vice versa.
- Overhead: Providing anytime updates introduces some computational cost, particularly in extremely high-dimensional spaces like SynthB, due to the metadata tracking required for thousands of dimensions.
Limitations and Future Work
While effective, AnyCORE's current implementation has overhead from saving intermediate states. Future improvements include parallelizing the 1D histogram processing, adopting Kernel Density Estimation (KDE) for more robust scoring, and using moving averages to smooth out performance fluctuations during the iterative process.
Summary updated