Introduction
One-class classification (OCC) is a fundamental challenge in machine learning, focused on identifying a specific "target" class (normality) and distinguishing it from all other possible data (anomalies). This "needle in a haystack" problem is critical for high-stakes applications such as fraud detection, medical diagnosis, and security monitoring.
A primary obstacle in OCC is the data scarcity problem. Defining the precise boundaries of normality often requires a vast amount of representative data. When samples are rare or expensive to collect, individual models struggle to generalize, leading to poor detection performance. This paper addresses this limitation by introducing a Multi-Task Learning (MTL) framework for OCC, allowing related tasks to share structural information and improve generalization from limited data.
Methodology: From Single-Task to Multi-Task Null-Spaces
The proposed framework builds upon One-Class Kernel Spectral Regression (OC-KSR). This method projects data into a "null-space" where all target samples collapse into a single point (minimizing within-class variance) while maximizing their distance from the rest of the feature space. The authors extend this concept through three hierarchical multi-task approaches.
Linear Structure Learning (OCKSR-L)
The first extension, OCKSR-L, utilizes a separable kernel approach. It assumes that the multi-task kernel can be decomposed into an input kernel (capturing data similarity) and an output matrix (capturing task correlations). This effectively learns a linear mixing of tasks to define the decision boundary.
Non-linear Structure Learning (OCKSR-N)
The primary innovation of this paper is the move toward non-linear task relationships. Instead of a simple linear mixing matrix, OCKSR-N employs a compositional function approach. In this architecture, the output of the first kernel layer serves as the input to a second kernel layer. This hierarchical structure allows the model to capture complex, non-linear dependencies between different classification tasks, such as the subtle relationships between different individuals' facial features in a recognition task.
Sparse Non-linear Structure (OCKSR-NS)
To enhance robustness and prevent overfitting, the authors introduce OCKSR-NS. By adding a "sparse group lasso" penalty to the non-linear model, the framework is forced to identify only the most relevant tasks and training observations. This sparsity improves interpretability and performance in the presence of noisy data.
Experimental Evaluation
The researchers evaluated the proposed methods on three diverse benchmarks: Face (Replay-Mobile dataset), MNIST (handwritten digits), and Coil-100 (object recognition). To simulate real-world constraints, the number of positive training samples was kept intentionally low, with as few as four samples per class.
Key Results
- Significant Performance Gains: Multi-task approaches consistently outperformed single-task baselines. On the MNIST dataset, the single-task OCKSR achieved an AUC of 89.55%, while the non-linear OCKSR-N reached 97.74%.
- The Power of Non-linearity: OCKSR-N outperformed the linear OCKSR-L in nearly every test, confirming that task relationships in complex data are rarely linear.
- Inductive Bias: The results demonstrate that the structure of related tasks acts as a powerful inductive bias. Even with minimal data for a specific task, the model can "borrow strength" from related tasks to define a sharper classification boundary.
Conclusion
By combining Kernel Null-Space methods with non-linear multi-task learning, this research provides a robust solution to the data scarcity problem in anomaly detection. The compositional kernel approach represents a significant step forward in modeling task relationships. Future work may focus on scaling these methods to larger datasets and exploring dynamic settings where new tasks are introduced incrementally.
Summary updated