Densemarks: Learning Canonical Embeddings for Human Heads Images via Point Tracks
Dmitrii Pozdeev, Alexey Artemov, Ananta R. Bhattarai, Artem Sevastopolsky
TL;DR
DenseMarks introduces a dense, geometry-aware embedding for human heads that maps per-pixel image information into a canonical $3$D unit cube. The method uses a ViT-based embedder to predict per-voxel embeddings from images and stores semantic features in a learnable latent grid $E \in \mathbb{R}^{(N_d)^3 \times D}$, smoothed by a $3$D Gaussian and queried via TriLerp. Training leverages pairwise 2D point tracks from an off-the-shelf tracker with a contrastive loss, plus landmark anchoring and segmentation supervision to enforce structure, interpretability, and completeness. The resulting embeddings enable robust dense correspondences, improved monocular head tracking with a FLAME-based 3DMM, and versatile applications like dense warping and stereo reconstruction, while maintaining a compact, interpretable canonical space suitable for interactive querying.
Abstract
We propose DenseMarks - a new learned representation for human heads, enabling high-quality dense correspondences of human head images. For a 2D image of a human head, a Vision Transformer network predicts a 3D embedding for each pixel, which corresponds to a location in a 3D canonical unit cube. In order to train our network, we collect a dataset of pairwise point matches, estimated by a state-of-the-art point tracker over a collection of diverse in-the-wild talking heads videos, and guide the mapping via a contrastive loss, encouraging matched points to have close embeddings. We further employ multi-task learning with face landmarks and segmentation constraints, as well as imposing spatial continuity of embeddings through latent cube features, which results in an interpretable and queryable canonical space. The representation can be used for finding common semantic parts, face/head tracking, and stereo reconstruction. Due to the strong supervision, our method is robust to pose variations and covers the entire head, including hair. Additionally, the canonical space bottleneck makes sure the obtained representations are consistent across diverse poses and individuals. We demonstrate state-of-the-art results in geometry-aware point matching and monocular head tracking with 3D Morphable Models. The code and the model checkpoint will be made available to the public.
