Learning Deep Implicit Functions for 3D Shapes with Dynamic Code Clouds

Tianyang Li, Xin Wen, Yu-Shen Liu, Hua Su, Zhizhong Han · DOI

Abstract

Deep Implicit Functions (DIFs) have emerged as a powerful representation for 3D geometry, yet existing local-code-based methods often rely on rigid grid structures that scale poorly with geometric complexity. We present DCC-DIF, a novel approach that replaces static grids with "Dynamic Code Clouds." By assigning learnable, continuous positions to local latent codes and optimizing them via a novel Code Position (CP) loss, our method allows codes to automatically migrate toward intricate geometric features. This results in high-fidelity 3D reconstructions with significantly fewer parameters than state-of-the-art grid-based or octree-based methods.

Introduction

Deep Implicit Functions represent 3D shapes by predicting occupancy or signed distance fields. To capture fine-grained details, modern approaches typically utilize local latent codes stored in regular 3D grids or hierarchical octrees. However, these "static" containers face a fundamental efficiency bottleneck: increasing detail requires higher-resolution grids, leading to a cubic explosion in memory and parameter count. Furthermore, because these codes are locked into discrete, fixed positions, they cannot adapt to the specific geometric nuances of a unique shape. DCC-DIF addresses these limitations by decoupling latent codes from fixed spatial structures, allowing them to move fluidly to where they are most needed.

Methodology

The core innovation of DCC-DIF is the Dynamic Code Cloud, which represents a shape as a set of latent codes paired with differentiable 3D position vectors. Unlike traditional methods that use trilinear interpolation on a grid, DCC-DIF employs a distance-based interpolation scheme, calculating a weighted average of nearby codes based on the reciprocal of the cubic distance to the query point.

Comparison of global, local, and the proposed DCC-DIF architecture. Unlike standard local methods, DCC-DIF optimizes both latent codes and their spatial positions.

To guide the movement of these codes, the authors introduce a Code Position (CP) Loss. This loss function treats query points with high prediction errors as "magnets," heuristically pulling latent codes toward regions of the shape that are difficult to reconstruct, such as sharp edges or thin structures. This error-driven optimization effectively automates the allocation of computational resources, ensuring high-resolution representation only where necessary.

Key Results and Evaluation

DCC-DIF was evaluated on the Thingi32 benchmark for single-shape fitting and ShapeNet for category-level generalization.

  • Efficiency and Accuracy: On Thingi32, DCC-DIF achieved a state-of-the-art Intersection over Union (IoU) of 99.5%. Remarkably, it reached this performance using only 5.6K codes, whereas competing octree-based methods like NGLOD required approximately 15K codes to achieve lower accuracy.
  • Generalization: On ShapeNet, DCC-DIF outperformed existing local DIF methods across 13 categories, achieving the lowest mean Chamfer Distance (0.081) and the highest mean F-Score (98.2%).
Qualitative comparison of reconstruction fidelity. DCC-DIF (Ours) captures fine details like teeth more accurately than grid-based (ConvONet) or octree-based (NGLOD) methods by concentrating codes in high-complexity regions.

Visual analysis confirms that DCC-DIF excels at reconstructing thin structures and complex topologies that often appear "blobby" or disappear entirely in grid-based representations. The dynamic nature of the code cloud allows it to resolve sharp features that fixed-resolution grids naturally smooth over.

Conclusion

DCC-DIF represents a significant shift from rigid to adaptive 3D representations. By making local code positions learnable and error-responsive, the model achieves superior reconstruction fidelity with a fraction of the memory footprint of previous methods. Future work may explore hierarchical code clouds to support multi-scale levels of detail and integration with global shape priors for improved completion from sparse data.

Summary updated

BibTeX
@inproceedings{li2022learning,
  author = {Tianyang Li and Xin Wen and Yu-Shen Liu and Hua Su and Zhizhong Han},
  title = {{Learning Deep Implicit Functions for 3D Shapes with Dynamic Code Clouds}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.01250},
}
Figure