Papers › Solving Jigsaw Puzzles By the Graph Connection Laplacian

Solving Jigsaw Puzzles By the Graph Connection Laplacian

7 Nov 2018arXiv:1811.03188archive 2025-07-28

Vahan Huroyan, Gilad Lerman, Hau-Tieng Wu

We propose a novel mathematical framework to address the problem of automatically solving large jigsaw puzzles. This problem assumes a large image, which is cut into equal square pieces that are arbitrarily rotated and shuffled, and asks to recover the original image given the transformed pieces. The main contribution of this work is a method for recovering the rotations of the pieces when both shuffles and rotations are unknown. A major challenge of this procedure is estimating the graph connection Laplacian without the knowledge of shuffles. A careful combination of our proposed method for estimating rotations with any existing method for estimating shuffles results in a practical solution for the jigsaw puzzle problem. Our theory guarantees, in a clean setting, that our basic idea of recovering rotations is robust to some corruption of the connection graph. Numerical experiments demonstrate the competitive accuracy of this solution, its robustness to corruption and, its computational advantage for large puzzles.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

The archive's official repository (vahanhuroyan/PuzzleDemoGCL) was not harvested; the 21 samples below come from 2 community repositories.

Syntology 21 code samples harvested from 2 repositories linked to this paper: 16 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 1 honoured, 0 violated, 11 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 21 samples from 2 repositories, 16 ran (12 with no instrument failure; 4 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

vahanhuroyan/PuzzleDemoGCL officialmentioned in paperSyntology: not harvested report
ctralie/DynamicsSynchronization mentioned on GitHubApache-2.0Syntology: 15 samples, 11 ran (0 instrument-failed) · 4 unverified report
ctralie/SquarePuzzles mentioned on GitHubSyntology: 6 samples, 5 ran (4 instrument-failed) · 1 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested: 16 ran (of which 0 constructed an object rather than computing a result; 12 with no instrument failure: 1 honoured, 0 violated, 11 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
2ran; the contract check could not run
11ran
5unverified

Licence: 0 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ctralie/DynamicsSynchronization community (archive-listed) 15 samples, 11 ran (0 instrument-failed) · 4 unverified
getCSM ICP.py ran fingerprinted Apache-2.0 (permissive) · 9bceb2931eb03a9d · report fixture: signature X:ndarray/2/float, Y:ndarray/2/float · returned ndarray · level recorded 2026-09-26
getCentroid ICP.py ran fingerprinted Apache-2.0 (permissive) · a933a1e53a9da5fb · report fixture: signature PC:ndarray/2/float · returned ndarray · level recorded 2026-09-26
getConnectionLaplacian ConnectionLaplacian.py ran Apache-2.0 (permissive) · d8c2aa4c496259f6 · report fixture: signature ws:ndarray/2/float, Os:list/1/ndarray, N:int/0/int, k:int/0/int, weighted:bool/0/bool · returned tuple · level recorded 2026-09-26
getCorrespondences ICP.py ran Apache-2.0 (permissive) · fe52e95a4381d40f · report fixture: signature X:ndarray/2/float, Y:ndarray/2/float, Cx:ndarray/2/float, Cy:ndarray/2/float, Rx:ndarray/2/float · returned ndarray · level recorded 2026-09-26
getDiffusionMap DiffusionMaps.py ran Apache-2.0 (permissive) · 283d613373c6c848 · report fixture: signature X:ndarray/2/float, eps:float/0/float, distance_matrix:bool/0/bool, neigs:int/0/int, thresh:float/0/float, mask:ndarray/1/float, flip:bool/0/bool, verbose:bool/0/bool · returned ndarray · level recorded 2026-09-26
getGreedyPerm LocalPCA.py ran fingerprinted Apache-2.0 (permissive) · 75926dde9d8d7a42 · report fixture: signature X:ndarray/2/float, N:int/0/int, verbose:bool/0/bool · returned tuple · level recorded 2026-09-26
getLocalPCA LocalPCA.py ran Apache-2.0 (permissive) · b68825eb4cb50536 · report fixture: signature X:ndarray/2/float, eps_pca:float/0/float, gammadim:float/0/float, K_usqr:callable/0/? · returned list · level recorded 2026-09-26
getSSM DiffusionMaps.py ran fingerprinted Apache-2.0 (permissive) · 9bbbf26613cb0712 · report fixture: signature X:ndarray/2/float · returned ndarray · level recorded 2026-09-26
getTorusKnot ConnectionLaplacian.py ran Apache-2.0 (permissive) · 150b99bfb4173139 · report fixture: signature p:int/0/int, q:int/0/int, pt:ndarray/1/float · returned ndarray · level recorded 2026-09-26
getTorusPersistenceScores Mahalanobis.py ran Apache-2.0 (permissive) · 0f1ed624064e5d28 · report fixture: signature alldgms:list/1/list, do_plot:bool/0/bool · returned dict · level recorded 2026-09-26
getdists_sqr LocalPCA.py ran Apache-2.0 (permissive) · 8a37fa9deee4cc12 · report fixture: signature X:ndarray/2/float, i:int/0/int, exclude_self:bool/0/bool · returned ndarray · level recorded 2026-09-26
getConnectionLaplacianPC ConnectionLaplacian.py unverified Apache-2.0 (permissive) · 8758057bd0fc549e · report
getDiffusionMapSparse DiffusionMaps.py unverified Apache-2.0 (permissive) · 021837828fab1cc0 · report
getMahalanobisAllThresh Mahalanobis.py unverified Apache-2.0 (permissive) · 937022d64d496f32 · report
getMahalanobisDists Mahalanobis.py unverified Apache-2.0 (permissive) · f0965afd918dd4cc · report
ctralie/SquarePuzzles community (archive-listed) 6 samples, 5 ran (4 instrument-failed) · 1 unverified
getGreedyPerm ConnectionLaplacian.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · ca057aa1836bad72 · report fixture: signature X:ndarray/2/float · returned tuple · level recorded 2026-09-22
getLocalPCA ConnectionLaplacian.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant Apache-2.0 (permissive) · ca48c20f116c666b · report fixture: signature X:ndarray/2/float, eps_pca:float/0/float, gammadim:float/0/float, K_usqr:callable/0/? · returned list · level recorded 2026-09-22
getPatchesColor SquarePuzzles.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 3f44135a8afc470a · report fixture: signature I:ndarray/3/float, d:int/0/int · returned ndarray · level recorded 2026-09-22
getdists_sqr ConnectionLaplacian.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · ac1673398d5e7294 · report fixture: signature X:ndarray/2/float, i:int/0/int, exclude_self:bool/0/bool · returned ndarray · level recorded 2026-09-22
rotateByZMod4 SquarePuzzles.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 9131a986a1c16331 · report fixture: signature I:ndarray/3/int, g:int/0/int · returned ndarray · level recorded 2026-09-22
readImage SquarePuzzles.py unverified Apache-2.0 (permissive) · debcd9f4f89c1742 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Jigsaw

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections