Cascaded Dual Vision Transformer for Accurate Facial Landmark Detection

Ziqiang Dang, Jianfang Li, Lin Liu

TL;DR

This paper introduces a novel facial landmark detection framework that combines a Dual Vision Transformer (D-ViT) with Long Skip Connections (LSC). By treating feature map channels as geometric bases for landmark heatmaps and preserving low-level image features across deep cascaded stages, the model overcomes the informational bottlenecks of traditional architectures to achieve new state-of-the-art results on major benchmarks.

What Problem Does This Paper Address?

Facial landmark detection—locating key points like the eyes, nose, and jawline on a face—is crucial for downstream tasks like face recognition, alignment, and 3D reconstruction. Modern approaches often use cascaded networks with intermediate supervision to progressively refine landmark coordinates.

However, two major challenges persist:

  1. Geometric Blindness: Standard Vision Transformers (ViTs) excel at capturing spatial context by splitting images into patches, but they don't explicitly model the intrinsic geometric relationships between facial landmarks (e.g., the relative position of eyes to the nose).
  2. The Intermediate Supervision Bottleneck: When networks grow deep (beyond 4 prediction blocks), performance often degrades. This happens because intermediate supervision forces early, shallow blocks to discard raw, low-level image features in favor of task-specific landmark predictions, starving deeper blocks of useful information.

Methods

The authors address these issues with a cascaded architecture featuring two primary innovations:

1. Dual Vision Transformer (D-ViT)

Instead of relying solely on standard spatial-patch ViTs, the authors introduce a Channel-split ViT and combine the two into a single block.

The key mathematical insight here is that the final landmark heatmaps are generated via $1 \times 1$ convolutions over the feature map channels. This means the channels act as the linear bases of the heatmap space. By applying the multi-head self-attention mechanism across the channel dimension rather than the spatial dimension, the Channel-split ViT adaptively learns the underlying geometric constraints and correlations between these bases.

Figure 1. Architecture of our framework. Long skip connections (depicted as upper black lines) distribute low-level features to each prediction block, thereby preventing useful information from being discarded by intermediate supervision. D-ViT learns contextual features of the image through spatially split patches and captures the underlying geometric relations among landmarks using channel-split features.

2. Long Skip Connections (LSC)

To prevent deep blocks from losing critical low-level details, the authors introduce Long Skip Connections. Unlike standard residual or dense connections that link consecutive prediction blocks, LSC routes the initial low-level features directly from the ResNet backbone to every single prediction block in the cascade. This ensures that deeper blocks can always access the unadulterated source image features to refine predictions.

Datasets

The model was evaluated on three widely accepted facial landmark benchmarks:

  • WFLW: 7,500 training and 2,500 test images with 98 landmarks, including challenging subsets for large poses, expressions, and occlusions.
  • COFW: 1,345 training and 507 test images focusing heavily on severe occlusions and head poses (29 landmarks).
  • 300W: A standard dataset split into common and challenging subsets (68 landmarks).
  • WFLW-V: A video-based dataset used specifically for cross-dataset validation to test generalization.

Key Insights and Ideas

  • Channels as Geometric Tokens: The "aha moment" of the paper is realizing that feature channels implicitly map to the geometric structure of the target output. Treating channels as tokens in a transformer allows the network to learn facial geometry without needing explicit structural graphs or manual geometric priors.
  • Bypassing the Bottleneck: Intermediate supervision is a double-edged sword. While it guides early layers, it acts as an informational filter. LSC acts as an information highway, proving that deep cascaded networks don't fail because they are too deep, but because they are starved of raw input context.
Visualizing how landmark heatmaps are formed as a linear combination of channel-split features.

Key Results

The proposed method achieved new state-of-the-art (SOTA) performance across all three benchmarks, measured primarily by Normalized Mean Error (NME), Failure Rate ($FR_{10}$), and Area Under Curve ($AUC_{10}$):

  • WFLW: Achieved an NME of 3.75, outperforming previous top methods like LDEQ (3.92) and STAR (4.02). It also significantly reduced the failure rate to 1.76%.
  • COFW: Demonstrated a massive improvement, dropping the NME to 4.13 (a 0.49 absolute reduction over STAR), proving its extreme robustness against heavy occlusion.
  • Scalability: Ablation studies showed that while traditional connection strategies (like ResCBSP or DenC) degrade in performance after 4 blocks, the proposed LSC strategy allows the network to scale effectively up to 12 blocks, continuously improving accuracy.

Limitations and Future Work

The paper does not include a dedicated limitations section. However, looking at the technical appendix, a clear trade-off is computational overhead. As the number of prediction blocks scales from 2 to 12 to achieve peak accuracy, the parameter count shoots up from 24.4M to 144.4M, and GPU memory consumption during training more than triples. Future work could explore compressing or distilling this dual-transformer architecture to make it more viable for real-time or edge-device deployment.

Summary updated

BibTeX
@inproceedings{dang2025cascaded,
  author = {Ziqiang Dang and Jianfang Li and Lin Liu},
  title = {{Cascaded Dual Vision Transformer for Accurate Facial Landmark Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00574},
}
Figure