Introduction
Deep learning models typically require vast amounts of labeled data to achieve high performance. However, in many real-world scenarios, labeled data is scarce and expensive to obtain. This paper explores the intersection of Active Learning (AL)—where a model selectively requests labels for the most informative data points—and One-Shot Learning—where a model learns new concepts from a single example. Specifically, the authors investigate Streaming-Based Active One-Shot Learning, a challenging setting where an agent encounters a continuous stream of data and must decide in real-time whether to predict a label or request the ground truth from an oracle at a cost.
Methodology
The authors frame the decision-making process as a Reinforcement Learning (RL) problem. The agent is rewarded for correct predictions, penalized for incorrect ones, and incurs a small cost for every label request. To address the limitations of standard recurrent architectures like LSTMs, which often fail to retain long-term dependencies in extended data streams, the researchers propose the use of Memory-Augmented Neural Networks (MANNs).
Architectural Innovations
The core of the proposed system is a controller based on Neural Turing Machines (NTM) or Least Recently Used Access (LRUA) architectures. Unlike standard LSTMs that rely solely on internal hidden states, these models utilize an external memory bank. This allows the agent to explicitly store feature vectors and associated labels, facilitating rapid retrieval when a previously seen class reappears.
Class Margin Sampling (CMS)
To further enhance sample efficiency, the authors introduce Class Margin Sampling (CMS). While traditional margin sampling identifies uncertain individual data points, CMS evaluates the difficulty of entire classes. During training, it prioritizes classes with the smallest gap between the top two predicted probabilities, ensuring the model focuses its learning capacity on the most ambiguous categories.
Experimental Results
The models were evaluated on the Omniglot dataset, a standard benchmark for one-shot learning consisting of 1,623 handwritten characters. The results demonstrate that memory-augmented models significantly outperform baseline LSTMs in both accuracy and label efficiency.
As shown in the performance curves, the LRUA model paired with CMS achieves superior accuracy on the first instance of a class following an initial request. Furthermore, the model learns an effective "active" strategy: it frequently requests labels for the first encounter of a new class but rapidly reduces its request rate for subsequent instances as its confidence grows. By the 10th instance, the request rate drops to near zero, indicating successful meta-learning of the task structure.
Discussion and Conclusion
The integration of external memory and targeted sampling strategies like CMS provides a robust framework for active learning in low-data regimes. While the MANN-based approach shows a tendency toward overfitting and increased training time due to the CMS scouting process, its ability to master new classes from minimal supervision is a significant step forward. Future research will focus on scaling these techniques to more complex, high-dimensional data streams such as natural language and video.
Summary updated