Neural Aggregation Network for Video Face Recognition

Jiaolong Yang, Peiran Ren, Dongqing Zhang, Dong Chen, Fang Wen, Hongdong Li, Gang Hua

Abstract

Recognizing faces in video sequences presents unique challenges compared to still images, primarily due to variations in quality, pose, and illumination. We present the Neural Aggregation Network (NAN), an architecture designed to intelligently aggregate features from a variable-length video or image set into a single, compact representation. Using a cascaded attention mechanism, NAN automatically learns to prioritize high-quality frames while suppressing noise from blur and occlusion. Our approach achieves state-of-the-art results on major benchmarks, including IJB-A and YouTube Face, offering both high accuracy and computational efficiency for large-scale face identification.

Introduction

Video-based face recognition is fundamentally different from static image recognition. While videos provide a wealth of data, they also introduce significant "noise" such as motion blur, extreme head poses, poor lighting, and occlusions. Traditional approaches often rely on computationally expensive pairwise matching ($O(n^2)$ complexity) or simple pooling methods like averaging. Simple pooling is particularly problematic as it treats a blurry, unrecognizable frame with the same weight as a clear frontal portrait, often degrading the final feature representation.

The goal of the Neural Aggregation Network (NAN) is to create a compact, fixed-dimension representation of a video that is robust to low-quality frames and invariant to frame order.

The Neural Aggregation Network (NAN) Architecture

The NAN architecture consists of two primary modules designed to transform a set of images into a single discriminative feature vector.

The NAN architecture featuring the Feature Embedding and Aggregation modules.
  1. Feature Embedding Module: A deep CNN (GoogLeNet with Batch Normalization) processes each individual frame into a 128-dimensional feature vector.
  2. Aggregation Module: This core innovation consists of two cascaded Attention Blocks:
  3. Block 1 (Universal Quality): Learns a kernel that acts as a universal filter to determine general image quality (e.g., detecting blur).
  4. Block 2 (Content-Aware): An adaptive block that refines weights based on the specific faces present in the set, identifying which frames are most discriminative for that particular subject.

The final output is a single 128-d vector. Because the mechanism uses a softmax-based weighting, the resulting vector is guaranteed to lie within the convex hull of the input features, ensuring a realistic representation in the feature space.

Datasets and Evaluation

The authors evaluated NAN on three major benchmarks:

  • IJB-A (IARPA Janus Benchmark A): A challenging dataset with ~25,000 images/frames of 500 subjects featuring extreme pose and illumination variations.
  • YouTube Face (YTF): A standard database containing 3,425 videos of 1,595 individuals.
  • Celebrity-1000: Designed for large-scale identification, featuring 1,000 subjects and over 2.4 million frames.

Key Insights and Visual Analysis

A striking finding of this research is that the network learns implicit quality assessment. Without being explicitly trained on "bad quality" labels, the network automatically assigns low weights to blurred or occluded faces because those frames hinder the objective of correct classification during training.

Visualization of attention weights assigned to different frames in a video set.

Furthermore, by using an attention mechanism rather than a recurrent structure (like an LSTM), the network is invariant to frame order. This makes it equally effective for actual video sequences and unordered image sets. From a practical standpoint, compressing a video into a single 128-d vector allows for $O(1)$ constant-time comparisons, which is essential for large-scale search.

Key Results

NAN demonstrates significant improvements over baseline methods:

  • IJB-A: NAN achieved a True Accept Rate (TAR) of 0.860 at a False Accept Rate (FAR) of 0.001, significantly outperforming the naive average pooling baseline (0.771).
  • YouTube Face: The model reached 95.72% accuracy, surpassing contemporary models like FaceNet (95.12%) and DeepFace (91.4%).
  • Visual Proof: Visualizations show that "high weight" images are consistently clear and frontal, while "low weight" images are often unrecognizable profiles or heavily blurred.

Limitations and Future Work

Currently, the CNN and the Aggregation module are trained separately. The authors suggest that end-to-end training could further improve performance by allowing the aggregation requirements to influence the feature extraction process. Additionally, NAN intentionally ignores temporal dynamics to maintain order invariance. While this is a strength for image sets, future work might explore ways to exploit temporal sequences for additional recognition cues without sacrificing efficiency.

Summary updated

BibTeX
@inproceedings{yang2017neural,
  author = {Jiaolong Yang and Peiran Ren and Dongqing Zhang and Dong Chen and Fang Wen and Hongdong Li and Gang Hua},
  title = {{Neural Aggregation Network for Video Face Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.554},
}
Figure