TL;DR
This paper introduces ReassembleNet, a novel deep learning approach for reconstructing fragmented 2D objects, particularly challenging fresco pieces. It tackles limitations in scalability and real-world applicability by using a learnable keypoint selector and a diffusion model, achieving state-of-the-art results on the REPAIR benchmark.
What Problem Does This Paper Address?
Reassembly, the task of piecing together fragmented objects, is a significant challenge across various domains like archaeology, genomics, and molecular docking. While existing methods have made progress, they often struggle with:
- Scalability: Handling a large number of pieces and complex shapes.
- Multimodality: Integrating different types of information (geometric, texture).
- Real-world Applicability: Dealing with realistic fragments that have complex geometries, erosion, and missing parts, which are common in archaeological finds like frescos.
Traditional deep learning methods often require large, clean datasets and struggle with irregular shapes and missing information. This paper specifically targets the reconstruction of 2D frescos, which are particularly difficult due to their irregular breaks, complex textures, and often incomplete nature.
Methods
ReassembleNet employs a multi-stage pipeline:
- Keypoint Extraction: It starts by extracting keypoints from the input fragments using the Harris Corner Detector.
- Keypoint Selection: This is a core innovation. Instead of using all detected keypoints (which can be computationally expensive for complex shapes), ReassembleNet uses a learnable keypoint selector. This module, built using a Graph Transformer, learns to identify the most informative k keypoints that best represent the fragment's shape and are crucial for reassembly. This significantly reduces complexity and improves scalability.
- Multi-modal Feature Fusion: For each selected keypoint, the method extracts a rich feature representation that combines:
- Geometric Features: Curvature and edge angles at the keypoint.
- Texture Features: Both global texture (captured by a pre-trained ResNet18) and local texture (from patches around keypoints).
- Diffusion-based Pose Estimation: The selected keypoints and their fused features are then fed into a Diffusion Probabilistic Model. This model iteratively refines the translation and rotation of each piece, progressively denoising the initial random poses to arrive at the correct reconstruction. This diffusion process is guided by attention modules that capture both intra-piece (within a fragment) and inter-piece (between fragments) relationships.
Datasets
- REPAIR Dataset: This is the primary dataset used for evaluation. It's a challenging benchmark featuring realistic 2D and 3D fresco fragments with erosion, missing pieces, and irregular shapes. It includes high-resolution images and ground truth annotations. The 2D subset has 121 puzzle samples (97 train, 24 test) with an average of 7.91 fragments per puzzle.
- Semi-Synthetic Dataset: The authors introduce a novel semi-synthetic dataset for pre-training. This dataset is generated by modifying the approach from [40] and incorporates realistic fragmentation by applying erosion and slight random rotations/translations to generated pieces. This dataset has 5000 samples (4000 train, 1000 test) with an average of around 9 pieces per puzzle. This dataset helps bridge the "sim-to-real" gap and improves performance on real-world data with fewer samples.
Key Insights and Ideas
- Learnable Keypoint Selection is Crucial for Scalability: The paper demonstrates that intelligently selecting a subset of keypoints, rather than using all of them, is key to handling complex, irregular shapes and achieving scalability. The learnable aspect allows this selection to be optimized for the specific task.
- Multi-modal Features Enhance Robustness: Combining geometric and texture information provides a more comprehensive understanding of fragment characteristics, leading to more accurate matching and reassembly, especially in the presence of erosion or ambiguous visual cues.
- Semi-Synthetic Data Bridges the Sim-to-Real Gap: Pre-training on a carefully constructed semi-synthetic dataset significantly improves performance on real-world, scarce data, highlighting the importance of realistic data augmentation for challenging domains.
- Diffusion Models are Effective for Iterative Refinement: The diffusion process provides a powerful framework for iteratively denoising piece poses, allowing for a gradual and robust convergence to the correct spatial configuration.
Key Results
- State-of-the-Art Performance: ReassembleNet, especially with learnable keypoint selection and fine-tuning, significantly outperforms existing methods on the REPAIR dataset.
- RMSE Improvements: It achieves improvements of 57% for RMSE Rotation and 87% for RMSE Translation compared to the second-best performing method (Greedy Geom Match [36]).
- Scalability: The method demonstrates excellent scalability, with GPU memory consumption growing much slower than linearly with the number of pieces, making it suitable for larger puzzles.
- Keypoint Selection Impact: The learnable keypoint selector (with k=20) provides the best performance and resource utilization, outperforming non-learnable methods and frozen learnable modules.
- Semi-Synthetic Dataset Effectiveness: Training on their proposed semi-synthetic dataset leads to better results (lower RMSE, higher Qpos) compared to training on a dataset generated by a previous method [40].
Limitations and Future Work
- Fixed Number of Keypoints: The current approach uses a fixed number of keypoints (k). The authors suggest that ideally, this number should vary based on the complexity of the pieces.
- Non-Rotation Equivariant Backbone: The texture feature extraction backbone (ResNet18) is not rotation equivariant, which could be a limitation for tasks where rotation invariance is critical.
- Future Directions: The authors envision their work enabling archaeologists and other domain experts to integrate automatic assembly into their workflows. Further research could explore adaptive keypoint selection and more rotation-invariant feature extractors.
Summary updated