Stream-51: Streaming Classification and Novelty Detection from Videos

Ryne Roady, Tyler L. Hayes, Hitesh Vaidya, Christopher Kanan

Introduction

Traditional deep learning models typically operate in a "batch" setting, where they are trained on large, shuffled datasets. While effective for static benchmarks, this approach fails to capture the reality of autonomous agents—such as robots or self-driving cars—that must learn from a continuous, temporally correlated stream of visual data. Stream-51 introduces a large-scale video dataset designed to evaluate how AI agents handle "in the wild" streaming learning and novelty detection.

The Challenge of Streaming Learning

When standard deep neural networks (DNNs) are adapted to streaming environments, they encounter two primary obstacles:

  1. Catastrophic Forgetting: Learning new information often causes the model to abruptly lose previously acquired knowledge.
  2. The Closed-World Assumption: Most models assume all inputs belong to a predefined set of categories. In real-world scenarios, agents must identify "novel" objects they have never seen before rather than forcing a classification into an existing category.

The Stream-51 Dataset

Stream-51 addresses the limitations of previous benchmarks like CORe50 and ToyBox, which were often small or featured unrealistic, controlled environments.

Comparison of temporal data streams in CORe50 (top) and Stream-51 (bottom). Stream-51 provides more diverse, naturalistic video sequences.

The dataset consists of 51 object categories (41 animals and 10 vehicles) comprising over 150,000 images derived from 1,136 videos. These videos are sourced from naturalistic tracking datasets like GOT-10k and LaSOT to ensure environmental diversity. Crucially, the benchmark includes an additional 43 "novel" classes to test the agent's ability to recognize unknown objects.

Methodology

The authors evaluated several streaming learning strategies where agents process one sample at a time with only a single pass through the data:

  • Fine-Tuning: A naive approach that updates weights via backpropagation, typically resulting in total forgetting.
  • Streaming Linear Discriminant Analysis (SLDA): A lightweight method that maintains running class means and a shared covariance matrix.
  • ExStream: An exemplar-based method that uses a small buffer of representative features for replay.
  • Full Rehearsal: A memory-intensive baseline that stores all previous data and retrains the model continuously.

Key Results and Insights

The evaluation focused on classification accuracy ($\Omega_{Classif}$) and novelty detection performance ($\Omega_{AUOSC}$).

  • Efficiency vs. Accuracy: While Full Rehearsal achieved the highest classification score (~0.95), SLDA proved to be the most efficient. SLDA required only ~1MB of extra memory and processed the stream in 485 seconds—compared to nearly 12,000 seconds and 22GB of memory for Full Rehearsal—while maintaining a strong classification score of ~0.86.
  • The Difficulty of Novelty Detection: Identifying unknown objects remains a significant hurdle. Even the most robust models struggled with novelty detection, with SLDA's performance dropping to ~0.66. This indicates that high classification accuracy does not automatically translate to effective open-world recognition.
  • Initialization Matters: To ensure a fair test, models were initialized on the Places-365 dataset (scenes) rather than ImageNet (objects) to prevent the models from having pre-learned the Stream-51 object categories.

Conclusion

Stream-51 provides a rigorous benchmark for moving AI out of controlled lab settings. While methods like SLDA offer a promising balance of efficiency and accuracy, the challenge of robust novelty detection and end-to-end feature learning in streams remains an open area for future research.

Summary updated

BibTeX
@inproceedings{roady2020stream,
  author = {Ryne Roady and Tyler L. Hayes and Hitesh Vaidya and Christopher Kanan},
  title = {{Stream-51: Streaming Classification and Novelty Detection from Videos}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00122},
}
Figure