Solving Masked Jigsaw Puzzles with Diffusion Vision Transformers
About
Solving image and video jigsaw puzzles poses the challenging task of rearranging image fragments or video frames from unordered sequences to restore meaningful images and video sequences. Existing approaches often hinge on discriminative models tasked with predicting either the absolute positions of puzzle elements or the permutation actions applied to the original data. Unfortunately, these methods face limitations in effectively solving puzzles with a large number of elements. In this paper, we propose JPDVT, an innovative approach that harnesses diffusion transformers to address this challenge. Specifically, we generate positional information for image patches or video frames, conditioned on their underlying visual content. This information is then employed to accurately assemble the puzzle pieces in their correct positions, even in scenarios involving missing pieces. Our method achieves state-of-the-art performance on several datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Temporal Jigsaw Puzzle Solving | CLEVRER | Normalized Kendall Distance0.00e+0 | 13 | |
| Temporal Jigsaw Puzzle Solving | MMNIST | Normalized Kendall Distance0.00e+0 | 10 | |
| Temporal Jigsaw Puzzle Solving | QST | NKD (Scaled)0.04 | 9 | |
| Temporal Jigsaw Puzzle Solving | UCF | Normalized Kendall Distance3.00e-4 | 8 | |
| 3 x 3 Puzzle Recognition | JPwLEG-3 | Piece-level Accuracy71.3 | 5 | |
| 3x3 image puzzle solving | ImageNet-1k (val) | Puzzle Level Success Rate68.7 | 3 | |
| Image Jigsaw Puzzle Solving | ImageNet-1k (val) | Piece Accuracy75.9 | 2 |