Transformable Bottleneck Networks

Kyle Olszewski, Sergey Tulyakov, Oliver J. Woodford, Hao Li, Linjie LuoICCV 2019

Abstract

We propose a novel approach to performing fine-grained 3D manipulation of image content via a convolutional neural network, which we call the Transformable Bottleneck Network (TBN). It applies given spatial transformations directly to a volumetric bottleneck within our encoder-bottleneck-decoder architecture. Multi-view supervision encourages the network to learn to spatially disentangle the feature space within the bottleneck. The resulting spatial structure can be manipulated with arbitrary spatial transformations. We demonstrate the efficacy of TBNs for novel view synthesis, achieving state-of-the-art results on a challenging benchmark. We demonstrate that the bottlenecks produced by networks trained for this task contain meaningful spatial structure that allows us to intuitively perform a variety of image manipulations in 3D, well beyond the rigid transformations seen during training. These manipulations include non-uniform scaling, non-rigid warping, and combining content from different images. Finally, we extract explicit 3D structure from the bottleneck, performing impressive 3D reconstruction from a single input image.

Introduction

Imagine taking a single photo of a chair and, with a few clicks, rotating it in 3D, stretching its legs, or even fusing its back with the base of a different chair—all while maintaining a realistic appearance. This level of fine-grained 3D manipulation has long been a goal for computer vision. While Convolutional Neural Networks (CNNs) are masters of 2D image synthesis, they often struggle to "understand" the underlying 3D structure of the world.

Existing methods for Novel View Synthesis (NVS)—generating an image from a new viewpoint—usually treat the transformation as a black box. They might pass a "pose vector" to a decoder or try to predict 2D "flow" to move pixels around. These methods often fail on complex shapes or large rotations because they lack a true spatial representation of the object. Transformable Bottleneck Networks (TBNs) address this by introducing a 3D volumetric "bottleneck" into a standard neural network, allowing users to apply spatial transformations directly to an image's internal features.

Architecture and Methodology

The core innovation of the TBN is the Transformable Bottleneck. Instead of squeezing an image into a flat 1D vector, the TBN encoder maps a 2D image into a 3D grid of features (a volume).

The Transformable Bottleneck Network (TBN) architecture, featuring a 3D volumetric bottleneck that allows for explicit spatial transformations.

As shown in the architecture diagram, the process follows four key stages:

  1. Encoder: A 2D-to-3D CNN takes an input image and produces a volumetric feature grid (e.g., $40 \times 40 \times 40$ cells).
  2. Resampling Layer: This is a parameterless layer that applies standard 3D math (trilinear interpolation) to the feature volume based on a target pose or transformation. To rotate the object, the network simply rotates the feature volume.
  3. Aggregation: When multiple photos of the same object are available, the network encodes each, transforms them into a common coordinate frame, and averages them to create a more complete 3D representation.
  4. Decoder: A 3D-to-2D CNN takes the transformed volume and renders it back into a 2D image from the target viewpoint. The architecture also supports auxiliary outputs like occupancy and segmentation decoders for 3D reconstruction.

Training and Datasets

The network is trained using multi-view supervision: it is shown one view of an object and tasked with predicting another. To succeed, the network is forced to learn how to arrange features in the 3D bottleneck so they correspond to the object's actual geometry. The researchers evaluated TBNs on two primary datasets:

  • ShapeNet (Cars and Chairs): A standard benchmark for 3D computer vision containing thousands of textured CAD models.
  • Human Action Dataset (Renderpeople): A dataset of 186 rigged human models used to test the network's ability to handle complex, non-rigid shapes.

Results and Creative Manipulations

TBNs achieved state-of-the-art results on ShapeNet, outperforming previous leaders in both $L_1$ error and Structural Similarity (SSIM). Beyond simple rotation, the spatial disentanglement learned by the bottleneck allows for intuitive 3D manipulations that the network was never explicitly trained to perform.

Overview of TBN capabilities: from source images to 3D reconstruction and novel view synthesis, including creative edits like stretching and combining.

Key capabilities demonstrated include:

  • 3D Reconstruction: Despite not being trained with 3D ground truth, TBNs can extract high-quality 3D occupancy volumes. On the ShapeNet "Chairs" benchmark, it achieved a mean IoU of 0.463, significantly outperforming baselines.
  • Non-Rigid Warping: Because features are stored in a 3D grid, users can apply any 3D warp—such as stretching a chair's legs or twisting a torso—and the decoder will produce a plausible, realistic image.
  • Slicing and Combining: The architecture allows for "Frankenstein" edits, where feature volumes from different objects are sliced and stitched together to create entirely new subjects.

Discussion and Limitations

While TBNs represent a significant step toward bridging the gap between 2D deep learning and 3D spatial reasoning, some limitations remain. The 3D bottleneck is computationally expensive; the current $40^3$ resolution can limit the sharpness of fine details. Additionally, while the network is excellent at hallucinating unseen parts of an object (like the back of a chair), it is still constrained by the generic priors learned during training. Future work may focus on increasing resolution and improving the network's ability to handle highly unique, unseen geometries.

Summary updated

BibTeX
@inproceedings{olszewski2019transformable,
  author = {Kyle Olszewski and Sergey Tulyakov and Oliver J. Woodford and Hao Li and Linjie Luo},
  title = {{Transformable Bottleneck Networks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=2RBACuJ8thu},
}
Figure