3D Shape Completion with Test-Time Training

Michael Schopf-Kuester, Zorah Lähner, Michael Moeller · DOI

Abstract

Traditional 3D shape completion methods often prioritize global plausibility over local geometric precision, resulting in over-smoothed restoration parts that fail to fit fractured surfaces exactly. This paper presents a novel pipeline that leverages test-time training (TTT) to fine-tune neural network weights during inference. By "overfitting" to the specific geometry of a broken input, the proposed method achieves significantly sharper details and superior alignment compared to existing state-of-the-art techniques.

Introduction

When a 3D object, such as a cultural artifact or a medical implant, is fractured, the restoration part must precisely match the unique, jagged surface of the break. Existing generative models, like DeepMend, typically produce smooth completions that lack the fine-grained detail necessary for a perfect physical fit. This discrepancy leads to gaps or overlaps at the fracture boundary, rendering the reconstructed parts impractical for applications like 3D printing.

Methods

The proposed approach builds upon the DeepMend architecture, introducing key refinements to enhance expressivity and precision.

Architecture and Formulation

The model predicts two primary occupancy functions: the "Complete Shape" ($C$) and a "Break Set" ($B$). Through boolean-like operations, these functions allow the model to reason separately about the fractured part and the restoration part while maintaining mathematical consistency. To capture more complex geometric details, the latent code dimensionality was increased to 200, and skip connections were modified to use feature concatenation instead of replacement.

The proposed network architecture utilizes separate latent codes for the break set and complete shape, employing skip connections to preserve geometric detail.

Test-Time Training (TTT)

The core innovation is the use of test-time training. Unlike standard models with frozen weights at inference, this pipeline performs a self-supervised refinement session (approximately 30 minutes) for each new input. By optimizing a specialized loss function ($L_{TTT}$), the model aligns its internal representation with the specific fracture geometry of the input object. This process effectively treats "overfitting" as a feature, ensuring the generated restoration part fits the original piece with high fidelity.

Results

The method was evaluated on the ShapeNet dataset across two benchmarks: Dataset 1 (5–20% volume removed) and Dataset 2 (45–55% volume removed).

Quantitative Performance

On Dataset 1, the TTT-enhanced model achieved a 41% improvement in Chamfer Distance over the baseline. Notably, the median error was significantly lower than the mean, indicating robust performance across the majority of test cases.

Qualitative Comparison

Visual analysis confirms that TTT successfully recovers sharp features and jagged edges that previous methods ignore. While baselines like DeepMend produce over-smoothed boundaries, the proposed method ensures a tight fit to the fractured surface.

Qualitative comparison showing that test-time training significantly reduces reconstruction error and improves detail compared to the DeepMend baseline.

Conclusion

By integrating test-time training into the shape completion pipeline, this work demonstrates that high-precision 3D restoration is achievable even for complex, jagged fractures. Although the computational cost of TTT (30 minutes per object) precludes real-time use, it offers a powerful solution for high-stakes applications like cultural heritage preservation and custom manufacturing where geometric accuracy is paramount. Future work will focus on accelerating the TTT process and exploring more sophisticated loss functions to further enhance restoration quality.

Summary updated

BibTeX
@misc{schopfkuester2024d,
  author = {Michael Schopf-Kuester and Zorah Lähner and Michael Moeller},
  title = {{3D Shape Completion with Test-Time Training}},
  year = {2024},
  eprint = {2410.18668},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18668},
}
Figure