Introduction
In real-world data streams, such as news feeds, social media, or network traffic, the set of underlying classes is rarely static. New categories of data frequently emerge—a phenomenon known as the Streaming Emerging New Class (SENC) problem. Traditional machine learning models, which assume a fixed label space, fail to adapt to these novel instances, often misclassifying them as known categories or outliers.
Existing approaches to SENC face significant hurdles: the "curse of dimensionality" makes distance-based methods like K-Nearest Neighbors (KNN) computationally prohibitive for high-dimensional text or image data, and the need for simultaneous detection, classification, and model updating often leads to significant latency. This paper introduces SENC-MaS (Streaming classification with Emerging New class by class Matrix Sketching), a framework designed to address these challenges through efficient low-rank approximations.
The SENC-MaS Framework
The core innovation of SENC-MaS is the application of matrix sketching—specifically the "Frequent Directions" algorithm—to maintain compressed representations of data distributions. Unlike distance-based methods that require exhaustive searches, SENC-MaS transforms the problem into a series of efficient projections.
As illustrated in the figure above, the framework maintains two levels of sketches:
- Global Sketching (GS): A single, low-dimensional sketch derived from all previously encountered data. It serves as a "familiarity filter." When a new instance arrives, its alignment with the GS is measured via inner products. Low similarity indicates a potential new class.
- Local Sketching (LS): Individual sketches maintained for each known class. If an instance is deemed "known" by the GS, it is compared against these local sketches to determine its specific class membership.
Detection and Refinement
To distinguish between temporary anomalies and truly emerging classes, SENC-MaS employs a buffer-based refinement strategy. Once a sufficient number of potential "new" instances are collected, the model uses a statistical curve ($SD_{diff}$) to identify the optimal split point, confirming the emergence of a new class. The model then initializes a new Local Sketch and updates the Global Sketch, a process that is mathematically efficient and avoids full retraining.
Experimental Evaluation
The researchers evaluated SENC-MaS against state-of-the-art methods, including SAND-F, ECSMiner, and LACU-SVM, across diverse datasets such as KDD Cup 99, MNIST, and NY Times News Summaries.
Key Results
- Predictive Performance: SENC-MaS consistently outperformed competitors. On the MNIST stream, it achieved an F-measure of 0.710, compared to 0.641 for the next best method (ECSMiner). As shown in the accuracy comparison, SENC-MaS maintains higher accuracy even as the stream evolves and complexity increases.
- Computational Efficiency: The use of matrix sketching provides a massive speed advantage. On the high-dimensional NY Times dataset (1000-dimension vectors), SENC-MaS performed model updates in 20-30 seconds, whereas LACU-SVM required over 300 seconds.
- Scalability: Because the sketches are low-dimensional (often less than 50% of the original data size), the memory footprint remains manageable even for long-running streams with high-dimensional features.
Conclusion
SENC-MaS represents a significant step forward in streaming classification. By replacing expensive distance calculations with matrix sketching, it achieves a rare balance of high accuracy, real-time speed, and memory efficiency. While future work may further integrate sophisticated concept drift detection, the current framework provides a robust solution for environments where new data categories are the rule rather than the exception.
Summary updated