Abstract
We present two techniques to improve landmark localization in images from partially annotated datasets. Our primary goal is to leverage the common situation where precise landmark locations are only provided for a small data subset, but where class labels for classification or regression tasks related to the landmarks are more abundantly available. First, we propose the framework of sequential multitasking and explore it here through an architecture for landmark localization where training with class labels acts as an auxiliary signal to guide the landmark localization on unlabeled data. A key aspect of our approach is that errors can be backpropagated through a complete landmark localization model. Second, we propose and explore an unsupervised learning technique for landmark localization based on having a model predict equivariant landmarks with respect to transformations applied to the image. We show that these techniques improve landmark prediction considerably and can learn effective detectors even when only a small fraction of the dataset has landmark labels. We present results on two toy datasets and four real datasets, with hands and faces, and report new state-of-the-art on two datasets in the wild, e.g. with only 5% of labeled images we outperform previous state-of-the-art trained on the AFLW dataset.
Introduction
Landmark localization is a cornerstone of computer vision, essential for applications ranging from facial analysis to gesture-controlled interfaces. However, training deep neural networks for this task typically requires large amounts of precisely annotated data. Manually labeling dozens of points for every image in a dataset is a tedious and expensive process.
While precise landmark labels are scarce, related "weak" labels—such as emotion categories or hand gesture types—are often more readily available. Furthermore, unlabeled images are virtually infinite. This research addresses the challenge of leveraging these auxiliary signals and unlabeled data to improve the precision of landmark detectors, particularly when only a small fraction of the dataset is fully annotated.
Methods
The proposed framework integrates two primary techniques to utilize partially labeled and unlabeled data:
Sequential Multitasking
Unlike standard multi-task learning, which often trains parallel branches for different tasks, this approach forces the network to predict landmarks as an intermediate step. The predicted $(x, y)$ coordinates serve as a bottleneck: the subsequent classification network must rely on these landmarks to predict attributes like emotion or head pose. To ensure the entire pipeline is end-to-end differentiable, a soft-argmax layer is employed to convert probability heatmaps into discrete coordinates without breaking the gradient flow. This allows classification errors to act as a "weak" supervisory signal for the landmark detector.
Equivariant Landmark Transformation (ELT)
ELT is an unsupervised technique that enforces geometric consistency. If an image is transformed (e.g., rotated or scaled), the predicted landmarks should undergo the same transformation. By minimizing the discrepancy between landmarks predicted from a transformed image and the transformed landmarks from the original image, the model learns robust features from unlabeled data.
Results and Discussion
The effectiveness of these techniques was evaluated across several benchmarks, including toy datasets (Shapes, Blocks) and real-world facial and hand pose datasets.
Data Efficiency and State-of-the-Art Performance
A key finding is the extreme data efficiency of the proposed model. On the AFLW facial dataset, the model trained with only 5% of landmark labels outperformed previous state-of-the-art methods that utilized 100% of the available labels. Similar improvements were observed on the 300W dataset, particularly on the challenging "IBUG" subset, where the model achieved significant error reduction.
Qualitative Improvements
On toy datasets like "Blocks," the combination of sequential multitasking and ELT demonstrated a clear ability to refine landmark positions compared to standard single-task training.
Hand Pose Estimation
On the HGR1 hand pose dataset, incorporating attribute labels and the ELT cost reduced localization error from 57.6% to 38.5% in a low-data regime (5% labels), highlighting the versatility of the approach beyond facial landmarks.
Conclusion
This work demonstrates that landmark localization can be significantly improved by structuring auxiliary tasks sequentially and enforcing equivariance under transformations. The "bottleneck" effect of sequential multitasking effectively turns classification labels into localization signals. While the benefit depends on the relevance of the auxiliary task to the landmarks, the framework offers a powerful way to achieve state-of-the-art performance with minimal manual annotation. Future work may explore these techniques in domains like medical imaging or satellite analysis where labeling costs are prohibitively high.
Summary updated