TL;DR
Researchers have developed Augmented Queues, a new method for training neural networks on data streams where labels are scarce and classes are imbalanced. By combining active learning with "on-the-fly" data augmentation and a multi-queue memory system, the approach achieves the performance of high-memory models while using a fraction of the actual storage.
What Problem Does This Paper Address?
In the real world, data often arrives as a continuous stream (e.g., sensor data from a power grid or a social media feed). Training models on these streams is difficult for two main reasons:
- Label Scarcity: Getting a "ground truth" label (like a human expert confirming a diagnosis) is expensive and slow. We can only afford to label a small percentage of incoming data.
- Class Imbalance: Rare but critical events (like a system failure) happen far less often than normal operations. Standard models often ignore these "minority" classes to achieve high overall accuracy.
Existing methods like ActiQ try to solve this using a "multi-queue" memory to store past examples of each class. However, these methods often require large amounts of memory or a massive "warm-up" period of historical data to work well—limitations that make them impractical for resource-constrained edge devices.
Methods
The authors introduce Augmented Queues, which integrates three components into a single pipeline:
- Active Learning (RVUS): Instead of labeling every point, the model uses a "Randomized Variable Uncertainty Sampling" strategy. It only asks for a label when it is unsure about a prediction, ensuring it spends its limited "labeling budget" on the most informative data.
- Multi-Queue Memory: The system maintains separate, small First-In-First-Out (FIFO) queues for every class (e.g., only 10 examples per class). This ensures the training set remains balanced, even if the data stream is 99% one class.
- On-the-fly Augmentation: This is the "secret sauce." Every time the model is triggered to train, it takes the few examples in its memory and generates multiple synthetic variations (e.g., rotating an image or warping a time-series signal).
The Innovation: The synthetic data is generated only at training time and then discarded. This allows the model to "see" a much larger and more diverse training set without actually storing those extra files in memory.
Datasets
The researchers evaluated their method across both image and time-series domains:
- MNIST: The classic handwritten digit dataset, modified into three versions: Balanced, 10% Imbalance, and a highly challenging 1% Imbalance (where some digits appear 100x less often than others).
- Two Patterns: A simulated time-series dataset representing different upward and downward trends.
- uWave Gesture Library Z: A real-world dataset of accelerometer data from Wii remotes, featuring eight different gesture classes.
Key Insights and Ideas
- Augmentation as a Memory Multiplier: The most striking finding is that a model with a tiny memory (10 examples per class) plus augmentation performs as well as—or better than—a model with 10x the physical memory (100 examples per class).
- Model Depth Matters: While simple Neural Networks (NN) see a small boost from this method, deeper architectures like VGG benefit significantly more. The extra synthetic data provides the "fuel" these complex models need to generalize without overfitting.
- Synergy is Key: Active learning selects the best data, balanced queues prevent bias, and augmentation provides diversity. Removing any one of these components causes performance to degrade in imbalanced scenarios.
Key Results
- Performance Gains: On the 1% imbalanced MNIST task, Augmented Queues significantly outperformed standard active learning.
- Efficiency: The method reached peak performance even with a very low labeling budget (e.g., only querying labels for 10% of the data).
- Stability: By using balanced queues, the "G-mean" (a metric that tracks how well a model performs across all classes, not just the majority) remained high even as the stream became more skewed.
Limitations and Future Work
- Concept Drift: This paper assumes the relationship between data and labels stays the same over time. In many real-world streams, the "rules" change (e.g., consumer habits shifting). The authors note that future work needs to address this "non-stationary" environment.
- Latent Space Augmentation: Currently, the model augments the raw input (pixels or signal waves). The authors suggest that performing augmentation in the "latent space" (the internal mathematical representation inside the neural network) could be even more powerful and computationally efficient.
- Initial Data: The method still assumes a very small amount of labeled data is available at the very start to initialize the queues.
Summary updated