Solving jigsaw puzzles with vision transformers
Abstract Puzzle-solving is a problem having applications for instance in archaeology and cultural heritage. Proposed solutions often suffer from a performance loss when the pieces are eroded, a characteristic that is pervasive across various use—cases such as frescoes reconstruction. Most approaches divide the problem into two fundamental phases: discriminating and then positioning the pieces. We focus on the case of puzzles with square pieces, without any missing or extraneous pieces, and we introduce the first two-step deep learning solution capable of efficiently solving puzzles, from discrimination to piece placement, while remaining robust to erosion. In the context of permutation learning, we propose to use transformers to determine the correct placement of the pieces and an encoder that uses the information at the edge of the pieces. This method sets a new state of the art, achieving a significant performance gain, and introduces a new approach for learning similarity functions in the context of puzzle solving.
Authors
- Nicolas Lermé (ORCID: https://orcid.org/0000-0001-9218-7965)
- Sylvie Le Hégarat‐Mascle (ORCID: https://orcid.org/0000-0001-8494-2289)
- Gaël Heck
Institutions
- Université Paris-Saclay (FR)
- Laboratoire des systèmes et applications des technologies de l'information et de l'énergie (FR)
Publication Details
- Journal
- Pattern Analysis and Applications
- Published
- 2025-05-22
- DOI
- https://doi.org/10.1007/s10044-025-01484-z
- Citations
- 1
- Primary Topic
- Image Processing and 3D Reconstruction
- Type
- article
- Field-Weighted Citation Impact
- 1.28
Funders
- Agence Nationale de la Recherche
- Université Paris-Saclay