Octree Generating Networks: Efficient Convolutional Architectures for High-resolution 3D Outputs

Maxim Tatarchenko, Alexey Dosovitskiy, Thomas Brox

TL;DR

Octree Generating Networks (OGN) enable the generation of high-resolution 3D volumetric outputs (up to $512^3$ voxels) by replacing dense voxel grids with a memory-efficient octree representation. By predicting both the 3D structure and occupancy values, OGNs bypass the cubic scaling laws of traditional 3D CNNs, allowing for complex 3D reconstruction on a single consumer GPU.

The Challenge of High-Resolution 3D Generation

Generating 3D data with deep learning is notoriously expensive. Standard "up-convolutional" decoders operate on regular voxel grids where memory and computational requirements scale cubically ($N^3$) with resolution. Because of this, most 3D generative models are stuck at low resolutions like $32^3$ or $64^3$.

However, 3D space is mostly empty or contains large uniform regions. A dense grid treats an empty cubic meter of air with the same amount of memory as a highly detailed surface. This paper addresses this inefficiency by exploiting the inherent sparsity of 3D data, allowing networks to focus their "attention" and memory only on the regions that contain actual geometry.

Methods: The Octree Generating Network (OGN)

The authors introduce the Octree Generating Network (OGN). Instead of a dense tensor, the decoder produces an octree—a tree data structure where each node represents a cube of space. If a cube contains a complex surface, it is subdivided into eight smaller "octants" (children).

The OGN architecture uses a "mixed" state to decide where to refine resolution.

Key Innovations:

  • The "Mixed" State: In each layer, the network predicts one of three states for a cell: empty, filled, or mixed. If a cell is "mixed," it implies the surface passes through it, and the network must propagate features to the next, higher-resolution layer to refine the detail.
  • Hash-Table Based Implementation: To handle the sparse nature of octrees efficiently, the authors use hash tables to store feature vectors. This allows for constant-time access to spatial locations without storing a massive, mostly-empty 3D array.
  • Custom Layers: They developed OGNConv (convolution on sparse hash tables) and OGNProp (which decides which features to pass to the next level).
  • Training Regimes: The network can be trained in two modes: Prop-known (using the ground truth structure) and Prop-pred (where the network must discover the structure itself).

Key Insights: From Cubic to Quadratic Scaling

  • Quadratic Scaling: While dense grids scale at $O(N^3)$, octrees for smooth 2D surfaces in 3D space scale approximately at $O(N^2)$. This shift from cubic to quadratic is what makes $512^3$ resolution feasible.
  • Structure as a Signal: The network doesn't just learn what is in the voxels; it learns the hierarchy of the space. Predicting the "mixed" state acts as a learned pruning mechanism for the computation graph.
  • Resolution is a Requirement: The paper demonstrates that for complex scenes, low-resolution models fail to capture the existence of thin structures entirely. High resolution is qualitatively necessary for scene understanding.

Results: Efficiency and Performance

The researchers evaluated OGN on datasets like ShapeNet and BlendSwap. The primary advantage of OGN is its extreme efficiency at high resolutions.

Comparison of memory usage and iteration time between OGN and dense grids.
  • Massive Memory Savings: At a resolution of $512^3$, a dense network would require roughly 74 GB of memory, while OGN requires only 0.88 GB.
  • Speedup: At $512^3$, OGN is roughly 20x faster than the extrapolated performance of a dense network.
  • Competitive Accuracy: On the ShapeNet-all 3D reconstruction task ($32^3$), OGN achieved a Mean IoU of 0.596, slightly outperforming the dense baseline (0.590).
  • High-Res Generation: The authors successfully generated $512^3$ volumes in a single forward pass, a first for convolutional decoders at the time of publication.

Limitations and Future Work

While OGN represents a significant step forward, optimization bottlenecks remain. The current implementation relies on CPU-based routines for converting hash tables to matrices, limiting the maximum possible speedup. Additionally, training instability was noted at ultra-high resolutions ($256^3$ and above) due to noisy gradients in sparse layers. Future work could extend this to predicting textures, colors, or Signed Distance Functions (SDFs) within the octree leaves.

Summary updated

BibTeX
@inproceedings{tatarchenko2017octree,
  author = {Maxim Tatarchenko and Alexey Dosovitskiy and Thomas Brox},
  title = {{Octree Generating Networks: Efficient Convolutional Architectures for High-resolution 3D Outputs}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.230},
}
Figure