Abstract
When performing data classification over a stream of continuously occurring instances, a key challenge is to develop an open-world classifier that anticipates instances from an unknown class. Studies addressing this problem, typically called novel class detection, have considered classification methods that reactively adapt to such changes along the stream. Importantly, they rely on the property of cohesion and separation among instances in feature space. Instances belonging to the same class are assumed to be closer to each other (cohesion) than those belonging to different classes (separation). Unfortunately, this assumption may not have large support when dealing with high dimensional data such as images. In this paper, we address this key challenge by proposing a semisupervised multi-task learning framework called CSIM which aims to intrinsically search for a latent space suitable for detecting labels of instances from both known and unknown classes. Particularly, we utilize a convolution neural network layer that aids in the learning of a latent feature space suitable for novel class detection. We empirically measure the performance of CSIM over multiple realworld image datasets and demonstrate its superiority by comparing its performance with existing semi-supervised methods.
1. Introduction
In real-world data streams—such as social media feeds or surveillance footage—the "open-world" assumption is critical: we must expect the unexpected. Most classifiers are trained on a fixed set of labels, but in a stream, concept evolution occurs when new classes appear that the model has never seen before. Traditional "novel class detection" methods rely on the global cohesion and separation assumption: instances of the same class should be close together in feature space, and different classes should be far apart. However, for high-dimensional data like images, this often fails.
2. The Challenge of High-Dimensional Image Streams
Raw pixel distance is often a poor proxy for semantic similarity. For example, a handwritten "1" and "7" are pixel-wise very similar, making them hard to separate using standard distance metrics. As shown in Figure 1, the goal is to learn a "latent space" where these subtle differences are amplified and cohesion is enforced.
3. The CSIM Framework
The authors propose CSIM (Convolutional open-world multi-task image Stream classifier with Intrinsic similarity Metrics), which consists of several integrated modules designed to handle concept evolution in image streams.
- Convolutional Open-World Classifier (Conv-OWC): Unlike standard classifiers that use a Softmax layer (which forces an input into one of the known categories), CSIM uses a 1-vs-rest layer with $K$ sigmoid functions. This allows the model to reject an instance if all probabilities are low.
- Multi-Task Metric Learning: The model is trained using a joint objective function that simultaneously minimizes classification error and a novel Triplet Loss. This loss pushes "anchor" images closer to "positive" examples (same class) and further from "negative" examples (different class) by a specific margin.
- Dynamic Thresholding: Instead of using a hard-coded threshold to detect novel classes, CSIM uses a statistical one-sided confidence bound. It calculates the average prediction probability for known classes and flags instances that fall significantly below this expected "norm."
- Novel Class Purification (NCP): When the model suspects novel instances, it stores them in a buffer. Once full, it uses DBSCAN (a density-based clustering algorithm) in the latent space to filter out noise and group potential novel class instances together before requesting a human label for a representative sample.
4. Experimental Evaluation
The framework was evaluated on four standard image benchmarks: MNIST, Fashion-MNIST, EMNIST, and CIFAR-10. CSIM significantly outperformed existing stream classifiers like ECSMiner, ECHO-D, and SENC-MaS across all datasets:
- Accuracy: On the EMNIST dataset (47 classes), CSIM achieved 85.77% accuracy, compared to just 61.44% for the next best baseline (ECSMiner).
- Novel Class Detection: CSIM showed a much lower $M_{new}$ (percentage of novel class instances misclassified as existing). For MNIST, CSIM's $M_{new}$ was 30.41%, whereas baselines like SENC-MaS were as high as 97.76%.
- Label Efficiency: CSIM maintained high performance while requesting labels for only ~17-40% of the stream, making it practical for real-world applications.
5. Conclusion
CSIM demonstrates that joint optimization of classification and metric learning ensures the feature extractor is optimized specifically for the task of finding "boundaries" that define a class. By relaxing global assumptions and focusing on local cohesion, the model effectively identifies new "islands" of data that represent novel concepts. Future work will explore non-linear kernel-based approaches to potentially reduce computational costs while maintaining the ability to learn complex feature spaces.
Summary updated