Introduction
Facial landmark detection, or face alignment, is a fundamental task in computer vision with applications ranging from augmented reality to driver monitoring. While modern deep learning models achieve high accuracy on static images, they often exhibit significant "jitter" when applied to video. This phenomenon—where predicted landmarks fluctuate rapidly between frames—is caused by factors such as sensor noise, motion blur, and the independent processing of frames.
In their work, Sun et al. address this by proposing a modular, two-stage framework designed to "upgrade" existing image-based detectors for stable video performance without requiring full retraining of the entire system.
Methodology
The Backbone-Replaceable Framework
The core of the proposed system is its modularity. It consists of a "Replaceable Heatmap Regression Backbone" and a temporal refinement module. The backbone can be any pre-trained state-of-the-art CNN (e.g., HRNet or CPM). During the fine-tuning phase, the weights of this backbone are frozen. The predicted heatmaps from the backbone are then passed into a Convolutional Long Short-Term Memory (ConvLSTM) structure.
The ConvLSTM captures temporal dependencies by maintaining a hidden state across frames, effectively providing the network with "memory" of previous landmark positions. This allows the system to distinguish between actual facial movement and random noise.
Jitter Loss for Temporal Consistency
To optimize the ConvLSTM for stability, the authors introduce a novel Jitter loss. Traditional loss functions like Mean Squared Error (MSE) focus solely on the spatial distance between the prediction and the ground truth for a single frame. In contrast, Jitter loss incorporates a modulation term that penalizes predictions that deviate from the expected temporal trajectory.
By minimizing this loss, the network learns to produce sequences of landmarks that are not only spatially accurate but also temporally smooth, effectively filtering out high-frequency jitter.
Probability Density Centralization (PDC)
Beyond the network architecture, the authors improve the post-processing stage. Most models use an argmax operation to identify the landmark as the single pixel with the highest response in a heatmap. This is highly sensitive to local noise. The proposed Probability Density Centralization (PDC) method instead treats the heatmap as a probability distribution and calculates the center of mass of the high-response region. This provides sub-pixel precision and inherent robustness to pixel-level fluctuations.
Experimental Results
The framework was rigorously tested on the 300VW video benchmark and several static datasets (300W, WFLW). The results demonstrate a significant leap in performance:
- Stability: The method achieved over a 40% improvement in stability metrics (Mean Coordinate Variance and Mean Absolute Variation) compared to baseline SOTA models.
- Accuracy: Detection accuracy (NRMSE) improved by approximately 14% on average across the 300VW dataset.
- Robustness: In stress tests involving simulated Gaussian noise and blur, the proposed framework maintained stable tracking while image-oriented models failed.
Conclusion
The "Backbone Replaceable" framework offers a highly practical solution for real-world video face alignment. By decoupling spatial feature extraction from temporal stabilization, it allows developers to leverage existing high-performance models while adding the robustness necessary for video applications. The combination of ConvLSTM, Jitter loss, and PDC post-processing establishes a new standard for balancing accuracy and consistency in facial tracking.
Summary updated