Can AI help put the Viking Age Oseberg textiles back together? We built TEXMET, 18,644 curated historical textile images, and used it to benchmark and adapt state-of-the-art puzzle solvers.
Reconstructing fragmented historical textiles is slow, manual work for archaeologists. AI puzzle solvers look promising, but they are trained on natural photographs and struggle with the faded colors, worn fibers and missing parts of ancient fabric: a classic domain gap.
To close it we introduce TEXMET, the first benchmark dataset designed for textile reconstruction: 18,644 high-resolution textile and tapestry images from the Metropolitan Museum of Art's Open Access collection, curated with CLIP embeddings, UMAP clustering, similarity search and human review.
We study how state-of-the-art puzzle solvers perform on textiles, how much domain-specific fine-tuning on TEXMET helps, how missing content and inpainting affect them, and what Large Vision Models (LVMs) can contribute.
The Oseberg ship burial (834 CE, Norway) held some of the finest textiles of the Viking Age. Today they survive as hundreds of fragile, degraded fragments at the Museum of Cultural History in Oslo, and nobody knows exactly how they originally fit together.



No existing dataset fit: textile collections show modern fashion, fragment datasets show frescoes, and puzzle benchmarks use everyday photos. So we built one from The Met's open collection.






All 18,644 images with Met metadata and the exact train / validation / test splits from the paper, as Parquet on Hugging Face. CC0.
Open on Hugging Facefrom datasets import load_dataset ds = load_dataset("hzafar/TEXMET") ex = ds["train"][0] ex["image"], ex["title"]
Three state-of-the-art puzzle solvers, all trained on ImageNet, reproduced and evaluated on textiles.
A diffusion vision transformer: starts from a noisy guess of where pieces go and refines it step by step. Robust to missing patches.

A vision transformer that predicts each piece's position directly by coordinate regression.

A graph-based diffusion model that reasons about piece-to-piece relationships; it can handle rotation, missing pieces and variable puzzle sizes.

Fills in missing regions of damaged images before puzzle solving.
Large Vision Models explored for tile arrangement, narrative generation and semantic retrieval.
Puzzle accuracy: the share of 3×3 puzzles with every piece in the right place. Trained on ImageNet only, the solvers struggle on textiles and on real Oseberg fragments. Fine-tuned on TEXMET, DiffAssemble more than doubles its Oseberg score. Oseberg is never used for training.
| Model | ImageNet | TEXMET | Oseberg (45 fragments) |
|---|---|---|---|
| JPDVT (ImageNet-trained) | 67.9% | 32.9% | 20.0% |
| FCViT (ImageNet-trained) | 68.8% | 8.3% | 24.4% |
| DiffAssemble (ImageNet-trained) | 56.6% | 65.1% | 26.7% |
| DiffAssemble fine-tuned on TEXMET | – | 85.9% +20.8 | 64.4% +37.8 |
On square crops from inside each Oseberg fragment (no outline), the fine-tuned model still beats the baseline: 39.8% vs 27.7%.
On ImageNet photos with a third hidden by a real fragment-shaped mask, DiffAssemble barely moves while FCViT drops 24.5 points. Inpainting recovers part of the loss.
JPDVT forgot what it knew (catastrophic forgetting) and FCViT barely adapted; DiffAssemble was carried forward.









An interactive tool to scramble images, run the solvers and inspect their reconstructions, including on Oseberg fragments. Code on GitHub.


Presented at the Eurographics Workshop on Graphics and Cultural Heritage, ACM JOCCH Special Issue on Visual Heritage session, 3 November 2026.
Click into the slides and use the arrow keys; press F for full screen.
Open the slidesMove beyond grid puzzles to irregularly shaped fragments, for example with graph representations that encode boundary shapes or attention focused on contour matching. Build larger, more diverse archaeological datasets for pre-training. Explore hybrids where an LVM's semantic understanding guides the spatial search of a solver like DiffAssemble.
Reproducing published models took far longer than expected: the 4–6 weeks per model initially planned became 8–12 weeks for problematic models like FCViT. That bottleneck shaped the research, which is why we share code and data to help others avoid the same pitfalls.
Most experiments ran on NTNU's IDUN HPC cluster on H100 and A100 nodes (4 GPUs, 32 CPUs, 200 GB RAM per node); DiffAssemble needed A100 nodes for older PyTorch compatibility. About 3,000 GPU hours in total, plus smaller tests on a local RTX 4090. Slurm scripts are in hpc-jobs-ntnu. We thank IDUN NTNU HPC for the resources.
If you use TEXMET, please cite the paper:
@article{zafar2026texmet,
author = {Zafar, Muhammad Hamza and Gigilashvili, Davit and Hardeberg, Jon Yngve},
title = {{TEXMET}: A Deep Learning Benchmark for Archaeological Textile Reconstruction},
journal = {ACM Journal on Computing and Cultural Heritage},
year = {2026},
doi = {10.1145/3846195},
eprint = {2611.04734},
archivePrefix = {arXiv}
}