Memory Based Online Learning of Deep Representations from Video Streams

Federico Pernici, Federico Bartoli, Matteo Bruni, Alberto Del Bimbo · DOI

Researchers from the University of Florence have developed a robust framework for unsupervised, online face learning. By leveraging the temporal coherence of video streams, the system "self-supervise" to build a comprehensive memory of identities encountered in the wild, eliminating the need for massive labeled datasets.

Problem Statement: The Challenges of Online Learning

Deep learning has revolutionized face recognition but remains data-hungry, typically requiring millions of manually labeled images. Learning from video in real-time presents two major hurdles:

  1. Catastrophic Interference: New information often "forgets" or corrupts previous knowledge.
  2. Drift: Small tracking errors accumulate, causing the system to eventually lose the target.

Most trackers are "short-sighted," focusing only on the next frame. This work seeks a "long-term" memory that builds stable representations across varying poses, lighting, and occlusions.

The MuFTiR Framework

The proposed system, MuFTiR (Multiple Face Tracking and Identification), integrates a CNN-based face detector with a specialized memory module.

The MuFTiR system architecture, showing the flow from face detection to discriminative matching and memory management.

The architecture processes video frames to extract descriptors, which are then matched against a dynamic memory. This memory is not just a static database but an evolving representation of identities.

Key Innovations

Reverse Nearest Neighbour (ReNN) Matching

Standard matching asks which memory item is closest to a new face. However, redundant descriptors in memory can cause standard distance-ratio tests to fail. MuFTiR employs Reverse Nearest Neighbour matching, asking which new faces in the current frame best match existing memory descriptors. This "one-to-many" approach effectively handles redundant data.

Conceptual overview of the memory module and its mapping to face clusters in the feature space.

Eligibility and Forgetting

To maintain efficiency, every descriptor has an "eligibility" score. When a new observation matches a memory item, the item's eligibility decreases, marking it as redundant. Once a threshold is reached, the item is discarded, preventing memory bloat.

Asymptotic Stability

Using the Banach fixed-point theorem, the authors prove their learning rule is a "contraction mapping." This ensures the system converges to a stable state rather than drifting as more data is processed.

Results and Discussion

The system was evaluated on the Music-dataset (YouTube music videos with rapid cuts and varied lighting) and the Big Bang Theory (BBT) Dataset (long-form TV episodes).

  • Stability: MOTA curves stabilized over 30,000+ frames, confirming theoretical stability.
  • Performance: MuFTiR achieved results comparable to offline state-of-the-art methods despite being unsupervised and online.
  • Clustering Purity: On the BBT dataset, it achieved a weighted cluster purity of 0.98, nearly perfectly separating characters without manual labels.
  • Efficiency: Running at ~10 FPS on a Titan X, the system is viable for near-real-time use.

While the system is currently limited by the initial face detector's quality and some computational overhead, it demonstrates that redundancy can be a powerful signal for distilling robust, long-term representations in an unsupervised manner.

Reference: Pernici, F., Bartoli, F., Bruni, M., & Del Bimbo, A. (2017). Memory Based Online Learning of Deep Representations from Video Streams. arXiv:1711.07368v1.

Summary updated

BibTeX
@inproceedings{pernici2017memory,
  author = {Federico Pernici and Federico Bartoli and Matteo Bruni and Alberto Del Bimbo},
  title = {{Memory Based Online Learning of Deep Representations from Video Streams}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2018.00247},
}
Figure