OHAD BEN-SHAHAR

Senior Academic

Seq2Seq Models Reconstruct Visual Jigsaw Puzzles without Seeing Them

Gur Elkin, Ofir Itzhak Shahar, Ohad Ben-Shahar
Jigsaw puzzles are primarily visual objects, whose algorithmic solutions have traditionally been framed from a visual perspective. In this work, however, we explore a fundamentally different approach: solving square jigsaw puzzles using language models, without access to raw visual input. By introducing a specialized tokenizer that converts each puzzle piece into a discrete sequence of tokens, we reframe puzzle reassembly as a sequence-to-sequence prediction task. Treated as "blind" solvers, encoder-decoder transformers accurately reconstruct the original layout by reasoning over token sequences alone. Despite being deliberately restricted from accessing visual input, our models achieve state-of-the-art results across multiple benchmarks, often outperforming vision-based methods. These findings highlight the surprising capability of language models to solve problems beyond their native domain, and suggest that unconventional approaches can inspire promising directions for puzzle-solving research.
Publication language English
Publication status Published - 09.11.2025

Keywords

cs.CV
Access to Document
10.48550/arXiv.2511.06315