LEAD: Self-Supervised Landmark Estimation by Aligning Distributions of Feature Similarity

Tejan Karmali, Abhinav Atrishi, Sai Sree Harsha, Susmit Agrawal, Varun Jampani, R. Venkatesh Babu

Abstract

In this work, we introduce LEAD, an approach to discover landmarks from an unannotated collection of category-specific images. Existing works in self-supervised landmark detection are based on learning dense (pixel-level) feature representations from an image, which are further used to learn landmarks in a semi-supervised manner. While there have been advances in self-supervised learning of image features for instance-level tasks like classification, these methods do not ensure dense equivariant representations. The property of equivariance is of interest for dense prediction tasks like landmark estimation. In this work, we introduce an approach to enhance the learning of dense equivariant representations in a self-supervised fashion. We follow a two-stage training approach: first, we train a network using the BYOL objective which operates at an instance level. The correspondences obtained through this network are further used to train a dense and compact representation of the image using a lightweight network. We show that having such a prior in the feature extractor helps in landmark detection, even under drastically limited number of annotations while also improving generalization across scale variations.

Introduction

Identifying "landmarks"—specific points like the corners of eyes or the tip of a nose—is crucial for understanding object shape and pose. However, manually labeling thousands of images with pixel-perfect precision is expensive, slow, and often inconsistent between human annotators.

Existing self-supervised methods try to solve this by learning features from unlabeled data. Some use "equivariance" (ensuring features move consistently when the image is warped), while others use "hypercolumns" (stacking features from every layer of a neural network). However, equivariance-based methods often ignore global structure, and hypercolumns create massive, high-dimensional feature maps that are difficult to scale. LEAD (Landmark Estimation by Aligning Distributions) addresses these challenges by distilling global context into compact, dense representations.

Methodology

The LEAD framework utilizes a two-stage training pipeline to discover object landmarks without massive labeled datasets.

Overview of the two-stage LEAD training pipeline, illustrating the transition from global representation learning (Stage 1) to correspondence-guided distillation (Stage 2).

Stage 1: Global Representation Learning

The first stage employs the BYOL (Bootstrap Your Own Latent) objective. By training on a category-specific dataset (e.g., faces), the network learns to recognize that different augmentations of the same image represent the same instance. This process forces the network to develop a "global" understanding of the object's constituent parts.

Stage 2: Correspondence-Guided Distillation

While Stage 1 features are excellent for finding correspondences, they are computationally bulky. LEAD uses these features as a "teacher" to train a smaller, more efficient "student" Feature Pyramid Network (FPN). Instead of direct feature regression, the student aligns its distribution of feature similarities with the teacher's. If the teacher identifies high similarity between two pixels across images, the student learns a compact representation that preserves this relationship. Finally, a lightweight regressor is trained on these frozen features using a minimal amount of labeled data.

Key Insights and Results

LEAD demonstrates that self-supervised training on a single category naturally causes the network to cluster features into semantically meaningful "parts" without human intervention.

Visualization of hypercolumn feature maps and cosine similarity heatmaps, showing how the model identifies corresponding landmarks across different subjects.
  • State-of-the-Art Performance: LEAD achieved a ~10% relative improvement in accuracy (Inter-Ocular Distance error) over previous leaders like ContrastLandmarks (CL) and DVE across datasets such as MAFL, AFLW, and 300-W.
  • Extreme Data Efficiency: In tests using only 5 annotated images, LEAD improved performance by 45% compared to previous methods, making it highly practical for domains where labels are scarce.
  • Scale Invariance: By leveraging an FPN guided by global context, the model is significantly more robust to changes in object scale than prior pixel-local methods.
  • Interpretability: Visualizations confirm that the learned features clearly partition objects into distinct, spatially consistent clusters (e.g., chin, eyes, mouth).

Conclusion and Future Work

LEAD provides a robust framework for landmark discovery by bridging the gap between global instance-level learning and dense feature representation. While currently optimized for category-specific datasets, the success of distribution alignment suggests potential applications in broader dense prediction tasks like semantic segmentation or object part discovery in videos.

Summary updated

BibTeX
@inproceedings{karmali2022lead,
  author = {Tejan Karmali and Abhinav Atrishi and Sai Sree Harsha and Susmit Agrawal and Varun Jampani and R. Venkatesh Babu},
  title = {{LEAD: Self-Supervised Landmark Estimation by Aligning Distributions of Feature Similarity}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=2j8f4f8WraC},
}
Figure