Black-Box Test-Time Shape REFINEment for Single View 3D Reconstruction

Brandon Leung, Chih-Hui Ho, Nuno Vasconcelos

Abstract

Single-view 3D reconstruction often struggles with detail loss and domain shift, frequently outputting generic "mean class shapes" from training data. We introduce REFINE (REfine INstances at Evaluation), a model-agnostic framework that enhances 3D meshes at test time. REFINE employs a lightweight graph convolutional network to nudge initial reconstructions toward better alignment with input silhouettes. By incorporating a flexible symmetry prior with learned confidence weights, the method recovers fine-grained features while adapting to asymmetric details. Our approach is "black-box," requiring no access to the original model's gradients, and demonstrates significant performance gains across various benchmarks and base architectures.

Introduction: The "Memory" Problem in 3D Reconstruction

Single-view 3D reconstruction—the task of generating a 3D model from a single 2D image—has advanced significantly. However, many current state-of-the-art models suffer from a "memory" problem. Instead of truly reconstructing the specific object in the image, they often act as sophisticated nearest-neighbor search engines, outputting a "mean class shape" memorized during training. This leads to two primary issues: a loss of fine-grained detail (such as thin wings or specific leg designs) and poor generalization to real-world images (domain shift) that differ from synthetic training distributions.

Overview of the REFINE framework showing the transition from a coarse initial reconstruction to a detailed refined mesh.

Existing "white-box" refinement methods require access to the original model's internal weights and gradients, which is often impractical. REFINE addresses this by treating the initial reconstruction method as a black box, making it compatible with any pipeline that outputs a 3D mesh.

Methodology: Instance-Level Refinement

REFINE is a model-agnostic, post-processing framework. Instead of fine-tuning a massive reconstruction network, it attaches a lightweight, dedicated refinement network to the end of the pipeline.

The workflow consists of four main steps:

  1. Initial Guess: A black-box model (e.g., OccNet or AtlasNet) produces a coarse 3D mesh.
  2. Feature Extraction: An encoder extracts features from the input image's silhouette.
  3. Graph Refinement: These features are projected onto the vertices of the coarse mesh. A Graph Convolutional Network (GCN) then predicts 3D displacements for every vertex to "nudge" the mesh into a more accurate shape.
  4. Test-Time Optimization: For every instance at inference time, the network performs approximately 400 iterations of optimization to minimize a suite of losses, including silhouette consistency and symmetry.
The REFINE architecture, illustrating the graph-based refinement process and the integration of learned symmetry confidence weights.

Flexible Symmetry Prior

A key innovation is the use of learned Symmetry Confidence Weights (sigma). While most objects are roughly symmetric, strict symmetry constraints can ruin a reconstruction if the object has unique asymmetric features. REFINE learns to lower the confidence for specific vertices if the silhouette suggests an asymmetry, allowing them to deviate from the symmetry prior while keeping the rest of the object balanced.

Experiments and Results

The framework was evaluated using standard synthetic benchmarks (ShapeNet), custom variants to simulate domain shift (RerenderedShapeNet), and real-world datasets (Pix3D). Performance was measured using metrics such as Chamfer Distance, Earth Mover's Distance (EMD), and Intersection over Union (IoU).

Key findings include:

  • Bridging the Domain Gap: On the RerenderedShapeNet dataset, REFINE improved the Chamfer Distance of AtlasNet by nearly 30 points (62.5 to 32.9).
  • Outperforming White-Boxes: REFINE achieved superior results on the "Chair" category of Pix3D compared to MeshSDF, a "white-box" method with full model access.
  • Efficiency: Despite being optimization-based, the process is relatively efficient, refining an instance in about 11 seconds on a two-GPU setup.

Discussion and Limitations

By treating the initial reconstruction as a fixed starting point, REFINE offers immense versatility. It is indifferent to whether the base model uses voxels, point clouds, or implicit functions, provided the output is convertible to a mesh. This instance-level intelligence allows the model to focus entirely on matching the specific details of the input image rather than relying on global statistics.

However, the method has limitations. It relies heavily on accurate silhouette extraction; poor silhouettes due to occlusion or complex backgrounds can lead to incorrect refinements. Furthermore, as a vertex-deformation method, it cannot alter the mesh topology (e.g., creating new holes). Future work may focus on amortizing this optimization into a single forward pass to enable real-time performance suitable for AR/VR applications.

Summary updated

BibTeX
@inproceedings{leung2021black,
  author = {Brandon Leung and Chih-Hui Ho and Nuno Vasconcelos},
  title = {{Black-Box Test-Time Shape REFINEment for Single View 3D Reconstruction}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw56347.2022.00453},
}
Figure