Recurrence without Recurrence: Stable Video Landmark Detection with Deep Equilibrium Models

Paul Micaelli, Arash Vahdat, Hongxu Yin, Jan Kautz, Pavlo MolchanovCVPR 2023

Abstract

Cascaded computation, whereby predictions are recurrently refined over several stages, has been a persistent theme throughout the development of landmark detection models. In this work, we show that the recently proposed Deep Equilibrium Model (DEQ) can be naturally adapted to this form of computation. Our Landmark DEQ (LDEQ) achieves state-of-the-art performance on the challenging WFLW facial landmark dataset, reaching 3.92 NME with fewer parameters and a training memory cost of O(1) in the number of recurrent modules. Furthermore, we show that DEQs are particularly suited for landmark detection in videos. In this setting, it is typical to train on still images due to the lack of labelled videos. This can lead to a “flickering” effect at inference time on video, whereby a model can rapidly oscillate between different plausible solutions across consecutive frames. By rephrasing DEQs as a constrained optimization, we emulate recurrence at inference time, despite not having access to temporal data at training time. This Recurrence without Recurrence (RwR) paradigm helps in reducing landmark flicker, which we demonstrate by introducing a new metric, normalized mean flicker (NMF), and contributing a new facial landmark video dataset (WFLW-V) targeting landmark uncertainty.

Introduction

Facial landmark detection—the task of identifying key anatomical points such as eye corners, nose tips, and jawlines—is a cornerstone of computer vision. Modern architectures typically employ "cascaded computation," where an initial estimate is iteratively refined. However, these models face two major hurdles: high memory consumption during training as the number of stages increases, and temporal instability (flickering) when applied to video sequences. Because most models are trained on static images, they lack temporal context, leading to jittery predictions in video where multiple solutions may appear equally plausible in a single frame.

Landmark DEQ (LDEQ)

To address the memory bottleneck, this research introduces Landmark DEQ (LDEQ). Unlike traditional models that stack a fixed number of layers, LDEQ utilizes a single "hourglass" module and solves for an equilibrium point—a fixed point where further iterations no longer change the output.

Comparison between standard cascaded models (a) and the proposed Landmark DEQ (b), which achieves constant memory cost.

As illustrated in the figure above, while standard cascaded networks (a) require storing activations for every stage, LDEQ (b) treats the refinement as an implicit process. This allows the model to achieve the benefits of "infinite" refinement stages with a memory cost of $O(1)$, making it significantly more efficient to train than deep stacked architectures.

Recurrence without Recurrence (RwR)

The most significant innovation of this work is Recurrence without Recurrence (RwR), a method to stabilize video landmarks without ever training on video data. By viewing the forward pass of a DEQ as a constrained optimization problem, the authors can modify the inference process to enforce temporal coherence.

In a standard frame-by-frame approach, the model starts from scratch for every frame. In the RwR paradigm, the search for landmarks in frame $n$ is initialized using the converged solution from frame $n-1$. By applying "early stopping" to the root-solver at inference time, the model is naturally biased toward a solution close to the previous frame. This effectively regularizes the landmarks to be temporally stable.

Visual and graphical comparison of landmark stability. Row (a) shows the stable tracking achieved with RwR, while row (b) demonstrates the high-frequency 'flicker' common in traditional frame-by-frame processing.

Experimental Results

The authors evaluated LDEQ on the standard WFLW dataset and a newly contributed video dataset, WFLW-V, which specifically targets landmark uncertainty in challenging conditions.

  • Static Accuracy: LDEQ achieved a state-of-the-art 3.92 NME (Normalized Mean Error) on the WFLW dataset, outperforming larger models with fewer parameters.
  • Video Stability: On the "hard" subset of WFLW-V (500 videos with heavy occlusion and motion), LDEQ with RwR improved accuracy by 10% and reduced flicker (Normalized Mean Flicker, or NMF) by 13% compared to the strongest previously published models using hand-tuned conventional filters.

Conclusion

By leveraging the mathematical properties of Deep Equilibrium Models, LDEQ provides a memory-efficient path to state-of-the-art landmark detection. More importantly, the RwR paradigm demonstrates that temporal stability in video does not strictly require expensive video-based training. Instead, by treating inference as a continuous optimization, we can inject "temporal common sense" into static models, paving the way for more robust and efficient video analysis tools.

Summary updated

BibTeX
@inproceedings{micaelli2023recurrence,
  author = {Paul Micaelli and Arash Vahdat and Hongxu Yin and Jan Kautz and Pavlo Molchanov},
  title = {{Recurrence without Recurrence: Stable Video Landmark Detection with Deep Equilibrium Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=4tuooU7f87},
}
Figure