NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffAssemble: A Unified Graph-Diffusion Model for 2D and 3D Reassembly

Gianluca Scarpellini, Stefano Fiorini, Francesco Giuliari, Pietro Morerio, Alessio Del Bue · DOI

TL;DR

This paper introduces DiffAssemble, a novel unified framework that tackles both 2D and 3D object reassembly tasks using a single Graph Neural Network (GNN) and diffusion model architecture. By treating object fragments as nodes in a graph and learning to "denoise" their positions and orientations, DiffAssemble achieves state-of-the-art results across various reassembly challenges, including jigsaw puzzles with rotated pieces and fractured 3D objects, while being significantly faster than existing methods.

What Problem Does This Paper Address?

Reassembly tasks, such as solving jigsaw puzzles or reconstructing broken 3D objects, are fundamental problems in spatial intelligence with applications ranging from digital heritage to robotics. Historically, these tasks have been addressed with separate methods tailored to either 2D or 3D, and often relying on optimization-based approaches that struggle with non-standard conditions like missing pieces or rotations. Existing learning-based methods for 2D puzzles often fail to handle rotations, while 3D reassembly remains significantly more complex due to the continuous nature of poses. This paper addresses the need for a unified, robust, and efficient learning-based approach that can handle the complexities of both 2D and 3D reassembly tasks, including rotations and translations, without requiring task-specific architectures.

Methods

DiffAssemble employs a unified approach that combines Graph Neural Networks (GNNs) with Diffusion Probabilistic Models (DPMs).

  • Graph Formulation: Each piece of an object (2D patch or 3D fragment) is represented as a node in a complete graph. Each node contains features extracted by an equivariant encoder, along with the piece's current translation and rotation. This graph representation allows the model to handle an arbitrary number of pieces.
  • Diffusion Model: The core of DiffAssemble is a DPM formulation. During training, noise is iteratively added to the pieces' positions and rotations (forward process), effectively scrambling them. The GNN is then trained to reverse this process (reverse process), learning to predict the original, coherent pose from the noisy input.
  • Equivariant Features: The model utilizes rotation-equivariant features extracted by an encoder. This is crucial because it ensures that the features transform consistently with the object's rotation, allowing the network to better associate visual information with specific orientations.
  • Attention-based GNN: An attention-based GNN (specifically UniMP) is used to process the graph. Attention mechanisms help weigh the importance of different pieces during message passing, which is vital for understanding relationships in complex assemblies.
  • Sparsity Mechanism: To handle large-scale reassembly tasks (up to 900 pieces), the model incorporates a sparsity mechanism (using Exphormer) that prunes edges in the graph, significantly reducing memory requirements without substantial loss in accuracy.

Datasets

The paper evaluates DiffAssemble on several datasets:

  • 3D Object Reassembly:
    • Breaking Bad (BB): This dataset contains meshes of everyday objects with simulated fractures, designed to mimic natural breaking patterns. The authors focus on the "everyday" subset, which is commonly used in prior work.
  • 2D Jigsaw Puzzles:
    • PuzzleCelebA: Based on CelebA-HQ, this dataset features celebrity faces and presents challenges due to inherent symmetries and often indistinct backgrounds.
  • PuzzleWikiArts: Derived from WikiArts, this dataset includes paintings with diverse artistic styles and intricate patterns, posing a greater challenge due to less predictable structures.

Key Insights and Ideas

  • Unified Reassembly: The paper strongly advocates for and demonstrates that 2D and 3D reassembly tasks share fundamental properties and can be solved effectively by a single, unified model. This breaks down the traditional separation in research.
  • Diffusion for Pose Estimation: Framing reassembly as a denoising task using diffusion models proves highly effective for inferring precise translations and rotations, outperforming single-step prediction methods.
  • Importance of Equivariance: Using rotation-equivariant features is critical for handling rotational aspects of reassembly, providing essential inductive biases that invariant or non-equivariant features lack.
  • Efficiency Gains: The diffusion-based approach, combined with attention mechanisms, offers a significant speedup (up to 11x faster than optimization methods) while maintaining or improving accuracy, especially for large-scale problems.
  • Robustness to Missing Pieces: DiffAssemble shows remarkable resilience to missing pieces in 2D puzzles, a crucial capability for real-world applications.

Key Results

  • 3D Object Reassembly: DiffAssemble achieves state-of-the-art (SOTA) results on the Breaking Bad dataset, outperforming existing methods like SE(3)-Equiv across all metrics (RMSE for rotation, RMSE for translation, and Part Accuracy). It notably balances both rotation and translation accuracy, unlike previous methods that often traded one for the other.
  • 2D Jigsaw Puzzles:
    • Rotated Pieces: DiffAssemble achieves SOTA results on the PuzzleCelebA dataset for puzzles with translated and rotated pieces.
  • Missing Pieces: The model demonstrates robust performance even when up to 30% of pieces are missing, significantly outperforming optimization-based methods which see a sharp drop in accuracy.
  • Efficiency: DiffAssemble is up to 11 times faster than the quickest optimization-based method for puzzle solving. For 900 pieces, it takes 5 seconds with 95% accuracy, compared to 55 seconds for an optimization method with 58% accuracy.
  • Scalability: The sparsity mechanism allows DiffAssemble to efficiently handle puzzles with up to 900 pieces, halving memory consumption without compromising accuracy.

Limitations and Future Work

  • Memory Usage: Despite the sparsity mechanism, DiffAssemble still has high memory requirements, especially for very large graphs. Future work aims to mitigate this.
  • Real-World Scans: The current evaluation primarily uses simulated fractures. Future research could explore reassembling data from real-world scans, which may present additional challenges.
  • Further Scenarios: The authors suggest exploring further reassembly scenarios beyond current benchmarks.

Summary updated

BibTeX
@inproceedings{scarpellini2024diffassemble,
  author = {Gianluca Scarpellini and Stefano Fiorini and Francesco Giuliari and Pietro Morerio and Alessio Del Bue},
  title = {{DiffAssemble: A Unified Graph-Diffusion Model for 2D and 3D Reassembly}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.02654},
}
Figure