arXiv(opens in a new tab)Computer ScienceJun 2018Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:1806.07823

Unsupervised Learning of Object Landmarks through Conditional Image Generation

Tomas Jakab, Ankush Gupta, Hakan Bilen, A. Vedaldi

Abstract

We propose a method for learning landmark detectors for visual objects (such as the eyes and the nose in a face) without any manual supervision. We cast this as the problem of generating images that combine the appearance of the object as seen in a first example image with the geometry of the object as seen in a second example image, where the two examples differ by a viewpoint change and/or an object deformation. In order to factorize appearance and geometry, we introduce a tight bottleneck in the geometry-extraction process that selects and distils geometry-related features. Compared to standard image generation problems, which often use generative adversarial networks, our generation task is conditioned on both appearance and geometry and thus is significantly less ambiguous, to the point that adopting a simple perceptual loss formulation is sufficient. We demonstrate that our approach can learn object landmarks from synthetic image deformations or videos, all without manual supervision, while outperforming state-of-the-art unsupervised landmark detectors. We further show that our method is applicable to a large variety of datasets — faces, people, 3D objects, and digits — without any modifications.

1 Visual Geometry Group

University of Oxford

{tomj,ankush,vedaldi}@robots.ox.ac.uk

2 School of Informatics

University of Edinburgh

hbilen@ed.ac.uk

1 Introduction

There is a growing interest in developing machine learning methods that have little or no dependence on manual supervision. In this paper, we consider in particular the problem of learning, without external annotations, detectors for the landmarks of object categories, such as the nose, the eyes, and the mouth of a face, or the hands, shoulders, and head of a human body.

Our approach learns landmarks by looking at images of deformable objects that differ by acquisition time and/or viewpoint. Such pairs may be extracted from video sequences or can be generated by randomly perturbing still images. Videos have been used before for self-supervision, often in the context of future frame prediction, where the goal is to generate future video frames by observing one or more past frames. A key difficulty in such approaches is the high degree of ambiguity that exists in predicting the motion of objects from past observations. In order to eliminate this ambiguity, we propose instead to condition generation on two images, a source (past) image and a target (future) image. The goal of the learned model is to reproduce the target image, given the source and target images as input. Clearly, without further constraints, this task is trivial. Thus, we pass the target through a tight bottleneck meant to distil the geometry of the object (fig. 1). We do so by constraining the resulting representation to encode spatial locations, as may be obtained by an object landmark detector. The source image and the encoded target image are then passed to a generator network which reconstructs the target. Minimising the reconstruction error encourages the model to learn landmark-like representations because landmarks can be used to encode the geometry of the object, which changes between source and target, while the appearance of the object, which is constant, can be obtained from the source image alone.

The key advantage of our method, compared to other works for unsupervised learning of landmarks, is the simplicity and generality of the formulation, which allows it to work well on data far more complex than previously used in unsupervised learning of object landmarks, e.g. landmarks for the highly-articulated human body. In particular, unlike methods such as [45; 44; 55], we show that our method can learn from synthetically-generated image deformations as well as raw videos as it does not require access to information about correspondences, optical-flow, or transformation between images.

Furthermore, while image generation has been used extensively in unsupervised learning, especially in the context of (variational) auto-encoders [22] and Generative Adversarial Networks (GANs [13]; see section 2), our approach has a key advantage over such methods. Namely, conditioning on both source and target images simplifies the generation task considerably, making it much easier to learn the generator network [18]. The ensuing simplification means that we can adopt the direct approach of minimizing a perceptual loss as in [10], without resorting to more complex techniques like GANs. Empirically, we show that this still results in excellent image generation results and that, more importantly, semantically consistent landmark detectors are learned without manual supervision (section 4). Project code and details are available at: http://www.robots.ox.ac.uk/~vgg/research/unsupervised_landmarks/

Figure

Figure 1: Model Architecture. Given a pair of source and target images (x,x′)(\mathbf{x},\mathbf{x}^{\prime}), the pose-regressor Φ\Phi extracts KK heatmaps from x′\mathbf{x}^{\prime}, which are then marginalized to estimate coordinates of keypoints, to limit the information flow. 2D Gaussians (y′\mathbf{y}^{\prime}) are rendered from these keypoints and stacked along with the image features extracted from x\mathbf{x}, to reconstruct the target as Ψ(x,y′)=x^′\Psi(\mathbf{x},\mathbf{y}^{\prime})=\hat{\mathbf{x}}^{\prime}. By restricting the information-flow our model learns semantically meaningful keypoints, without any annotations.

References (51)

  • Super-resolution with deep convolutional sufficient statistics
  • Robust face landmark estimation under occlusion
  • Domain adaptation for upper body pose tracking in signed TV broadcasts
  • Photographic image synthesis with cascaded refinement networks
  • Articulated pose estimation by a graphical model with image dependent pairwise relations
  • Infogan: Interpretable representation learning by information maximizing generative adversarial nets
  • VoxCeleb2: Deep speaker recognition
  • Unsupervised learning of disentangled representations from video
  • Generating images with perceptual similarity metrics based on deep networks
  • Image style transfer using convolutional neural networks
  • Generative adversarial nets
  • Reducing the dimensionality of data with neural networks
  • Long short-term memory
  • Human3.6m: Large scale datasets and predictive methods for 3d human sensing in natural environments
  • Zhu, T. Zhou, and A. A. Efros
  • Perceptual losses for real-time style transfer and super-resolution
  • Video pixel networks (opens arXiv in a new tab)
  • Adam: A Method for Stochastic Optimization
  • Auto-Encoding Variational Bayes
  • Annotated facial landmarks in the wild: A large-scale, real-world database for facial landmark localization
  • Learning representations for automatic colorization
  • Learning methods for generic object recognition with invariance to pose and lighting
  • Photo-realistic single image super-resolution using a generative adversarial network
  • Voxceleb: a large-scale speaker identification dataset
  • Reading digits in natural images with unsupervised feature learning
  • Synthesizing the preferred inputs for neurons in neural networks via deep generator networks
  • Plug & play generative networks: Conditional iterative generation of images in latent space
  • Spatio-temporal video autoencoder with differentiable memory
  • Large-scale learning of sign language by watching TV (using co-occurrences)
  • Deep convolutional neural networks for efficient pose estimation in gesture videos
  • Flowing convnets for human pose estimation in videos
  • Deep visual analogy-making
  • Learning what and where to draw
  • Deforming autoencoders: Unsupervised disentangling of shape and appearance
  • Very Deep Convolutional Networks for Large-Scale Image Recognition
  • Unsupervised learning of video representations using lstms
  • Deep convolutional network cascade for facial point detection
  • The recurrent temporal restricted boltzmann machine
  • Discovery of latent 3d keypoints via end-to-end geometric reasoning
  • Unsupervised object learning from dense invariant image labelling
  • Unsupervised learning of object landmarks by factorized spatial embeddings
  • Learning to generate long-term future via hierarchical prediction (opens arXiv in a new tab)
  • Generating videos with scene dynamics
  • Understanding visual concepts with continuation learning
  • Self-supervised learning of a facial attribute embedding from video
  • Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks
  • Articulated pose estimation with flexible mixtures-of-parts
  • Coarse-to-fine auto-encoder networks (cfan) for real-time face alignment
  • Unsupervised discovery of object landmarks as structural representations
  • Facial landmark detection by deep multi-task learning
  • Learning Deep Representation for Face Alignment with Auxiliary Attributes