Semi-supervised Viewpoint Estimation with Geometry-Aware Conditional Generation

Octave Mariotti, Hakan Bilen

TL;DR

This paper introduces a semi-supervised framework for 3D viewpoint estimation that learns from a small set of labeled images and a large pool of unlabeled image pairs. By forcing a neural network to "reconstruct" an object from a new angle—using the appearance from one image and the predicted viewpoint of another—the model learns a robust, geometry-aware understanding of 3D orientation without requiring massive manual annotation.

What Problem Does This Paper Address?

Determining the 3D orientation (azimuth, elevation, and in-plane rotation) of an object from a single 2D image is a fundamental computer vision task. However, training these models is notoriously difficult because high-quality ground-truth labels are expensive to produce. They usually require specialized hardware (like motion capture) or a tedious manual process of aligning 3D CAD models to 2D photos.

While synthetic data (rendered from CAD models) is plentiful, there is a "reality gap" where models trained on clean renders don't always generalize to messy real-world photos. Existing self-supervised methods often struggle with large 3D rotations or produce representations that aren't semantically meaningful. The authors aim to bridge this gap by leveraging unlabeled image pairs—two different views of the same object—to provide a "free" supervisory signal.

Methods

The authors propose a "Geometry-aware Conditional Generation" framework. The system consists of three main components:

  1. Viewpoint Estimator ($f_v$): Predicts the 3D camera coordinates from an image.
  2. Appearance Encoder ($f_e$): Extracts the "identity" and visual features of the object. Crucially, this embedding is structured as a collection of points in 3D space.
  3. Decoder ($f_d$): Reconstructs the final image.

The Training Loop: * Supervised Path: For labeled images, the model simply minimizes the error between the predicted and ground-truth viewpoints. * Unsupervised Path: The model takes a pair of images ($I$ and $I'$) of the same object. It encodes the appearance of $I$ and predicts the viewpoint of $I'$. It then applies a 3D rotation matrix (derived from the predicted viewpoint) to the appearance embedding. Finally, the decoder tries to reconstruct $I'$ from this rotated embedding.

If the predicted viewpoint is wrong, the reconstructed image won't match $I'$, creating a "reconstruction loss" that flows back through the network to improve the viewpoint estimator.

Datasets

  • ShapeNet: The primary benchmark, focusing on three categories: Aeroplanes, Cars, and Chairs. The authors rendered these with random viewpoints to create a controlled environment for testing different levels of supervision (from 1% to 100% labeled data).
  • Toy Dataset: A custom-designed dataset of a single octahedron with uniquely colored faces. This was used to test if the model could learn viewpoints in a purely unsupervised way (0% labels) by breaking all geometric symmetries.

Key Insights and Ideas

  • Analysis-by-Synthesis: The core "aha" moment is that if a model can successfully "imagine" what an object looks like from a different angle, it must have internally mastered the geometry of that object.
  • Absolute vs. Relative Pose: Unlike previous works that predicted the change in rotation between two images, this model predicts absolute viewpoints. This simplifies the math and allows the model to work with single-camera setups more easily.
  • Symmetry is a Double-Edged Sword: In purely unsupervised settings, the model can get "stuck" on symmetric objects. For example, a car looks almost identical from the front-left and back-right. Without at least a tiny bit of supervision, the model might "wrap" the pose space twice.
  • Geometry-Aware Embeddings: By treating the latent code as a set of 3D points that can be physically rotated, the authors bake 3D common sense directly into the neural network's architecture.

Key Results

The proposed method consistently outperforms standard regression and general-purpose semi-supervised methods like "Mean Teacher."

  • Low-Label Performance: On the Aeroplane dataset with only 1% labeled data, the proposed method achieved 64.9% accuracy (within 30°), compared to just 54.2% for a standard supervised baseline.
  • Error Reduction: In the 10% label regime for cars, the median angular error dropped from 13.1° (baseline) to 6.4° (ours).
  • Novel View Synthesis: Beyond just estimating pose, the model can generate high-quality images of an object from any arbitrary angle, demonstrating that it has truly decoupled "what the object looks like" from "where the camera is."

Limitations and Future Work

  • Extreme Supervision Scarcity: While the model is great at 1% or 5% labels, it still struggles with purely unsupervised learning on complex, symmetric objects like cars. The reconstruction loss is "too successful" at symmetric angles, providing no gradient to distinguish front from back.
  • Fine Details: The generated images, while geometrically correct, sometimes lose fine-grained textures or small parts (like the thin spindles on a chair).
  • Future Directions: The authors suggest that incorporating better regularization to handle object symmetries could eventually lead to a completely unsupervised viewpoint estimator.

Summary updated

BibTeX
@inproceedings{mariotti2020semi,
  author = {Octave Mariotti and Hakan Bilen},
  title = {{Semi-supervised Viewpoint Estimation with Geometry-Aware Conditional Generation}},
  booktitle = {Workshops @ ECCV},
  year = {2020},
  url = {https://openreview.net/forum?id=HnVSxzBi_iN},
}
Figure