Metric Surface Continuity for Joining Small Cuneiform Fragments

Hundreds of thousands of cuneiform clay tablets survive, many only as small broken pieces scattered across museums. Assyriologists find matching pieces ("joins") today mostly by comparing transliterated text, but tiny fragments carry too few signs for text to decide. We propose a second, physical clue: the gently curved, pillow-like shape of the inscribed tablet face, measured in millimetres from a cheap capture rig. Two fragments from the same tablet should continue one smooth face across the break. The capture method is photometric stereo, which recovers surface shape from a fixed camera while lights switch on one at a time. Because the lights in a handheld or tabletop rig sit only centimetres from the clay, the method has to model near-field lighting: light direction changes across the surface, and brightness falls off with the square of distance.

The key observation turns a modelling detail into a clear test. If the lights are wrongly treated as distant, the error appears mainly as large, slow bending of the recovered surface, and the absolute scale is lost. This error barely affects reading individual wedges, which are small and sharp. It badly affects comparing the overall curvature and thickness of two fragments, which is exactly the clue a join needs. We therefore predict a split result. Near-field modelling should add little to sign recognition once shading is high-pass filtered, but it should add a large gain to join retrieval for fragments too small for text matching.

Core Claim

Photometric stereo that models near-field lighting yields metric-scale depth along with surface normals. That depth can be turned into a join score that tests whether one fragment's inscribed face, and its thickness profile, continues smoothly into another's under a pose restricted to slide along that face. Combined with character n-gram text matching, this score should raise join retrieval on fragments of a few lines or less, where text alone is near chance. The gain should vanish if the lighting model is replaced by a distant-light one. The contribution is not "photometric stereo applied to tablets." It is a claim about which part of the recovered geometry carries the join signal: the low-frequency, metric part. Near-field physics is what makes that part correct.

Research Program

The motivating gaps come from both directions. Reconstruction of Cuneiform Literary Texts as Text Matching finds joins by character trigram overlap against known compositions. It reaches Precision@3 of 0.91 to 0.94 on 965 synthetic fragments and finds three new Maqlû manuscripts. Its authors note that small fragments lack the context text needs, and they leave fracture and shape cues to future work. The Electronic Babylonian Library corpus supplies roughly 25,000 transliterated fragments and the 1,250 joins found so far, all of them text-driven. CuneiML motivates using physical evidence directly. Its image models beat transliteration models at predicting provenience (85.72% vs 61.71%), which suggests the object carries information the edited text drops.

The capture side reuses existing methods. Fast Light-Weight Near-Field Photometric Stereo estimates depth coarse-to-fine and recomputes per-pixel light direction and falloff at each scale. It reaches 11.3° mean angular error on the real LUCES benchmark in about one second. Edge-preserving Near-light Photometric Stereo with Neural Surfaces represents depth as a continuous network with analytic derivatives, so sharp boundaries are not smeared. It reports 1.39° and 4.80 mm depth error against more than 50 mm for a finite-difference baseline. We use the fast method as the default reconstructor and the neural-surface method where fragment outlines and break edges must stay crisp. Neither paper has been evaluated on clay fragments or used downstream for assembly.

On top of this sits the join scorer. For each fragment we segment the inscribed face from the break surfaces and fit a smooth low-order surface to the face in millimetres, with the wedges removed by high-pass filtering. We also record a thickness profile along the outline. For a candidate pair, the pose search is restricted to rigid motions that keep both faces on one shared smooth surface. That is roughly three degrees of freedom instead of six, which addresses the poor scaling with fragment count reported in Breaking Bad and PHFormer. The score adds up three things: the residual of a joint surface fit, the agreement of thickness along the facing edges, and, as a weaker term, whether line rulings and wedge rows continue across the gap. We then combine it with the trigram text score by learned late fusion.

We treat the geometric fracture matchers (Jigsaw, PHFormer) as constraints rather than templates. They assume clean break surfaces with large contact area. Real tablet breaks are worn and chipped, and small flakes have little break surface to match, so we do not rely on break-surface interlocking.

Baselines

The naive reference is text-only trigram matching with the overlap coefficient, as in Simonjetz et al., run on the same fragments' transliterations. Their reported Precision@3 of 0.91–0.94 is for identifying a chapter on longer synthetic fragments, not for retrieving a pair. We will re-run the method on our fragment-size bins so the comparison is like for like. Beating it means a clear gain in pair-retrieval Precision@3 on fragments with five or fewer readable lines, with no loss on larger ones.

The strongest geometric competitor is PHFormer, which reports 22.4° rotation mean absolute error on Breaking Bad "Everyday." We will retrain it on our simulated tablet fractures using the same ground-truth meshes and the same training budget. We will test it both on clean scanned geometry and on our photometric reconstructions. Beating it means higher join retrieval and lower pose error on eroded fragments. No reported result was found on Lacuna for any method on tablet-fragment join retrieval or on HeiCuBeDa.

The ablation that isolates the key ingredient keeps the whole pipeline but swaps the near-field lighting model for a distant-light one in the same network. It gets the same images, training data and tuning budget, with integrated normals rescaled using a known table plane. Deep Near-Light Photometric Stereo shows this matters for normals: 5.41° against 21.7° on Ganesha. We test whether it matters for joins. A second ablation replaces the neural-surface reconstructor with a finite-difference one, to measure how much edge rounding costs at the fragment outline.

Why not just…?

Why not just use photogrammetry from many viewpoints? Plain clay faces and breaks have little color texture for feature matching. LUCES-MV also shows multi-view neural surfaces reaching high image scores with wrong geometry. Photogrammetry does give metric scale, though, so it is a real competitor for the low-frequency join clue. We include a photogrammetry reconstruction of the same physical fragments as an extra input arm to the identical join scorer. If it matches near-field photometric stereo on join retrieval, our capture argument fails, and the paper becomes about the join scorer alone.

Why not just use raking-light photos or distant-light photometric stereo and high-pass filter? For reading signs, we expect this to work. Our prediction is that it ties near-field reconstruction on sign recognition, and we will report that honestly. It cannot recover metric curvature or thickness, and those are the join clues. The distant-light ablation tests exactly this.

Why not just scan with CT or industrial structured light? Such scans give better geometry and serve as our ground truth. The eBL paper stresses that the bottleneck is access to a huge number of objects, which favours a one-second phone-and-LED capture. We report how much join accuracy is lost going from scanner geometry to our reconstruction. If the loss is small, the cheap rig is justified.

Proposed Experiments

We start with simulation. We take 3D tablet meshes from HeiCuBeDa, fracture them with the Breaking Bad simulator, and add edge erosion and missing chips. We then render near-field captures with 1/r² falloff at LED distances of 5–30 cm. Text is paired using eBL transliterations of matched compositions where they exist. Results are reported by fragment size, so the small-fragment regime is visible.

To validate reconstruction, we confirm that our reconstructor reproduces the reported LUCES error before trusting it on clay. We then measure depth error on rendered tablets against ground truth.

The real test uses modern clay tablets impressed with wedges. We scan them with structured light, break them, and capture the pieces with a phone-plus-LED near-field rig. We also take photogrammetry and raking-light photographs of the same pieces.

The decisive check is the interaction. Near-field minus distant-light should be near zero for sign recognition, measured with ProtoSnap alignment F1@20 against its reported 27.14% on photographs. The same difference should be large and positive for small-fragment join retrieval. If the join gain does not appear, the central claim is false.