Shape Inpainting Using 3D Generative Adversarial Network and Recurrent Convolutional Networks

Weiyue Wang, Qiangui Huang, Suya You, Chao Yang, Ulrich Neumann

Abstract

3D scanning technologies often produce incomplete models due to occlusions and sensor noise. Reconstructing high-resolution 3D shapes from such data is computationally expensive due to the cubic growth of voxel grids. This paper introduces a hybrid framework that combines a 3D Generative Adversarial Network (3D-ED-GAN) for global structure prediction with a Long-term Recurrent Convolutional Network (LRCN) for high-resolution refinement. By treating 3D volumes as sequences of 2D slices, the LRCN bypasses memory constraints, enabling the generation of detailed $128^3$ voxel grids. The proposed method outperforms existing benchmarks in both reconstruction accuracy and feature transferability for classification tasks.

Introduction

Capturing the physical world through 3D scanning (e.g., LiDAR, Kinect) is essential for robotics and AR/VR. However, raw scans are frequently "holy" or fragmented. While humans can infer the complete geometry of a partially obscured object, automating this "semantic inpainting" requires models that understand both local geometry and global structure.

The Challenge: The Curse of Dimensionality

The primary obstacle in 3D deep learning is memory consumption. A voxel grid's size grows at $O(N^3)$, meaning a standard 3D Convolutional Neural Network (CNN) quickly exhausts GPU resources. Consequently, most prior methods were restricted to low resolutions (e.g., $32^3$), resulting in "blocky" outputs that lack fine-grained details like chair legs or thin surfaces.

Proposed Methodology

The researchers propose a two-stage "coarse-to-fine" pipeline to achieve high-resolution inpainting without excessive memory costs.

1. 3D-ED-GAN: Global Structure Prediction

The first stage employs a 3D Encoder-Decoder GAN. The Encoder compresses a corrupted $32^3$ voxel grid into a latent feature vector. The Decoder (Generator) then reconstructs a complete $32^3$ version. A Discriminator is trained alongside the generator to distinguish between real and synthetic shapes, forcing the generator to produce structurally plausible and sharp geometries rather than the blurry averages often seen with Variational Autoencoders (VAEs).

2. LRCN: High-Resolution Refinement

To scale from $32^3$ to $128^3$, the authors utilize a Long-term Recurrent Convolutional Network. Instead of a memory-intensive 3D convolution, the LRCN processes the 3D volume as a sequence of 2D slices. An LSTM (Long Short-Term Memory) network maintains spatial context across slices, allowing the model to predict high-resolution details by leveraging inter-slice dependencies.

Overview of the hybrid 3D inpainting pipeline, showing the transition from 3D-ED-GAN to the LRCN refinement stage.

Experimental Results

The model was evaluated on the ShapeNet dataset across seven categories and tested on real-world RGB-D scans.

Reconstruction Accuracy

The hybrid model achieved a reconstruction error of 4.74% on ShapeNet data, a significant improvement over the previous state-of-the-art VConv-DAE (7.48%). Qualitatively, the model successfully fills large gaps and restores fine details that are lost in low-resolution stages.

Qualitative comparison showing the input corrupted shapes, the low-resolution 3D-ED-GAN output, and the high-resolution Hybrid (LRCN) results.

Feature Learning and Classification

The authors found that the features learned during the inpainting process are highly descriptive. When the 3D-ED-GAN encoder was used for classification on the ModelNet40 dataset, it achieved 87.3% accuracy, outperforming the standard 3DGAN (83.3%). This suggests that learning to reconstruct missing parts is an effective proxy task for understanding object semantics.

Conclusion

By combining the structural "imagination" of GANs with the memory efficiency of recurrent networks, this work provides a scalable path toward high-resolution 3D shape completion. While the current voxel-based approach is a major step forward, future research may extend these hybrid architectures to more flexible representations like point clouds or meshes to further reduce discretization artifacts.

Summary updated

BibTeX
@inproceedings{wang2017shape,
  author = {Weiyue Wang and Qiangui Huang and Suya You and Chao Yang and Ulrich Neumann},
  title = {{Shape Inpainting Using 3D Generative Adversarial Network and Recurrent Convolutional Networks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.252},
}
Figure