DeepMend: Learning Occupancy Functions to Represent Shape for Repair

Nikolas Lamb, Sean Banerjee, Natasha Kholgade BanerjeeECCV 2022

Abstract

DeepMend is a deep learning framework designed for the high-fidelity reconstruction of fractured 3D objects. By modeling shapes as continuous occupancy functions and defining fractures as the logical intersection of an underlying complete shape and a break surface, DeepMend overcomes the limitations of symmetry-reliant and voxel-based methods. The framework utilizes a dual-code autodecoder and novel inference penalties to produce sharp, asymmetric repairs that generalize across diverse object categories and real-world scans.

Introduction

Automated 3D shape repair is a critical challenge in fields such as robotic recycling, consumer waste reduction, and the restoration of cultural heritage artifacts. Traditional geometric repair solutions often fall into three traps: reliance on symmetry (which fails for asymmetric objects), resolution limits of voxel-based approaches (leading to "blocky" results), and over-smoothing in direct-inference methods.

DeepMend addresses these issues by treating a fractured shape not merely as a "partial" object, but as a composite of two distinct geometric entities: the original intended shape and the surface where it broke.

Methodology

The core innovation of DeepMend is the use of Occupancy Functions—continuous functions that output a value indicating whether a point is inside or outside a shape. This allows for arbitrary resolution during reconstruction.

DeepMend pipeline overview

The Logic of Breaking

The framework defines geometry using logical operations:

  • Fractured Shape ($F$): The intersection of the Complete Shape ($C$) and the Break Set ($B$).
  • Restoration ($R$): The intersection of the Complete Shape ($C$) and the complement of the Break Set ($B'$).

To integrate these into a neural network, DeepMend uses T-norms to relax discrete logic into differentiable arithmetic. The architecture follows a Dual-Code Autodecoder approach, utilizing two separate latent codes: $z_C$ (complete shape) and $z_B$ (break surface). During inference, the model "hallucinates" both codes simultaneously from a single fractured input.

Inference Penalties

Estimating two latent codes from one input is an ill-posed problem, as the network could mathematically satisfy the constraints by predicting an empty restoration or a bloated complete shape. To guide the model toward physically plausible solutions, the authors introduced two key penalties.

Effect of non-empty and proximity penalties
  1. Non-empty penalty ($\mathcal{L}_{ner}$): This forces the model to ensure the restoration has a physical volume, preventing trivial "empty" solutions.
  2. Proximity penalty ($\mathcal{L}_{prox}$): This ensures the predicted complete shape stays anchored to the observed fractured input, preventing "voluminous" or bloated restorations that do not match the original object's boundaries.

Evaluation and Results

DeepMend was evaluated on a diverse set of data, including ShapeNet, Google Scanned Objects, and real-world scans of physically broken mugs and ancient Greek pottery.

The model achieved state-of-the-art accuracy, nearly doubling the accuracy of previous methods like MendNet. Specifically, it achieved a mean Chamfer Distance (CD) of 0.068, compared to MendNet's 0.126. Furthermore, the use of continuous occupancy functions allowed the model to avoid the "ghosting" artifacts and over-smoothing common in prior work. Notably, a network trained only on synthetic "jars" successfully repaired scans of ancient artifacts, demonstrating strong geometric generalization.

Conclusion

DeepMend represents a significant step forward in automated 3D repair by decomposing the problem into complete shape and break surface estimation. While the model currently faces challenges with very thin structures and does not yet account for material-specific fracture patterns, its ability to perform high-resolution, asymmetric repairs makes it a powerful tool for practical restoration tasks. Future work may explore incorporating symmetry as an optional constraint to further refine results for semi-symmetrical objects.

Summary updated

BibTeX
@inproceedings{lamb2022deepmend,
  author = {Nikolas Lamb and Sean Banerjee and Natasha Kholgade Banerjee},
  title = {{DeepMend: Learning Occupancy Functions to Represent Shape for Repair}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20062-5\_25},
}
Figure