composition-lens: named readings of composition, checked against human marks

Lab book, generated 20 Nov 2026 by labbook/make_labbook.py from the files in results/ and catalogue/. Everything is local.

1. Summary and claims ledger

The claim, in short. The height of the strongest horizontal line and the position of the strongest vertical line in a photograph can be read by a plain, named measurement (no model trained on photographs), and that measurement agrees with people. On CADB (9,497 photographs, read once) the horizon reading lies within 0.05 of the image height of the line the annotators drew for 53% of images (median error 0.040, against 0.226 when the marks are shuffled), and the vertical reading agrees similarly. The same readings separate PICD's horizon-in-the-middle from horizon-on-a-third categories (AUC 0.78 on fresh images) and the vertical-line pair (0.79), where whole-image methods stayed near chance. Not established: subject placement. The compact-object reading did not follow the annotators' subject boxes on CADB, the thirds-point and centre-point scores are barely above chance there, and the diagonal, golden, spiral and perspective scores are not supported on real photographs.

Background for a new reader. Photographers describe composition with named patterns: a horizon in the middle or on a third of the frame, a subject at the centre or at a rule-of-thirds point, a diagonal. Two public datasets label photographs this way. PICD (Zhao et al., CVPR 2025) gives each photograph one of 24 expert-assigned categories. CADB (Zhang, Niu and Zhang, BMVC 2021) gives each photograph one or more of 13 composition classes and the annotators' own drawn marks (lines, boxes). A reading here is a named number computed from an image with no training, such as "the strongest horizontal line sits at 0.37 of the height". The work asks whether such readings track what people mark and label, where they do, and where they don't. Every stage was fixed in a written plan before it ran, and the real-photograph tests were read once under a hashed specification.

Question. Photographers and artists use a small set of named compositions (thirds, phi, diagonals, golden triangle, rabatment, spiral, one- to three-point perspective). As far as a limited GitHub search found (it was rate-limited), public tools score one or two of them with a heuristic and none reports, per template, how far the measurement can be trusted. Can a named, inspectable measurement of each template be built, and where does it work?

Where it stands. Established (two datasets). The dominant horizontal and vertical line readings agree with the annotators' marked lines on CADB, rank the CADB horizontal and vertical classes above the rest (AUC 0.77 and 0.63), and separate the PICD horizon and vertical-line pairs on three sets. A trained probe with position-aware features matches or passes them given labelled images, so their advantage is that they need none. Held back. The compact-object reading separates P-RoT from P-Cent on PICD (AUC 0.83 on fresh images) but did not follow CADB's annotated subject boxes. Modest. 8 of 11 crosswalk predictions are met on each PICD set, with AUCs of 0.63 to 0.82; on CADB thirds and centre are 0.57 and 0.55. Not supported on real photographs. Diagonal, golden ratio, golden triangle, spiral and perspective scores. Synthetic. On exact layouts the catalogue of 23 templates (13 position templates implemented, the rest built or planned) is located to about 0.2% of the frame, and the engine reports which templates it cannot separate. As a classifier of dataset categories the lens is weaker than a fitted DINOv3 probe, which leads on 24 of 24 PICD categories.

How to read this book. PICD is a public benchmark of 24 photographic composition categories (Zhao et al., CVPR 2025); each image carries one expert label. A template is a named geometry (for example, lines at 1/3 and 2/3 of the frame). The lens measures how well an image's lines or objects sit on each template, in numbers that are named and can be inspected. AUC (one-vs-rest) is the chance that a random image of the target category scores higher than a random image of any other category: 0.5 is no separation, 1 is perfect. Pair AUCs compare two categories only; the pair accuracy reported in an earlier benchmark study (unpublished) is a different statistic, so they are not compared directly. Training-free means no model is fitted to labelled images (two detection thresholds were calibrated on synthetic images); a fitted layer is a logistic regression trained on labelled images, and is named as such wherever it appears. Design / confirmation / fresh: DevA (1,656 images) was used to design, DevB (1,656) was read once after the spec was frozen, LockboxB (960) was read once under a spec hashed beforehand. z and rank scores: how far a template's position stands above the rest of the row profile, by magnitude and by rank.
idstatusclaimevidencewherenote
C9replicated on a second datasetThe dominant horizontal and vertical line readings agree with where CADB annotators marked the line.Images with one marked segment, all 9,497 images: horizontal n = 2117, median |y* - mark| 0.040 of the height against 0.226 for permuted marks, 53% within 0.05; vertical n = 377, median 0.069 against 0.287, 47% within 0.05. Line-coverage scores rank the CADB horizontal and vertical classes above the rest: AUC 0.77 and 0.63 on the test split.Figures 15, 16Zero-shot: the lens spec was frozen before CADB was read. Different annotators and class definitions from PICD.
C6replicated: confirmation and freshA line-position reading separates two of the five PICD category pairs that no earlier whole-image method separated: horizon in the middle vs a third, and a vertical line in the middle vs a third.AUC on DevA / DevB / LockboxB: LS-Hori3 vs LS-Hori2 0.85 / 0.86 / 0.78; L-Ver3 vs L-Ver2 0.77 / 0.82 / 0.79. Fitted DINOv3 probe on the pooled embedding for the same pairs: 0.54, 0.64 (DevB, about 69 images per category).Figures 12, 13The categories differ in position as their definitions say. Separation is partial. The same readings agree with human-marked lines on CADB (C9).
C7partly replicatedPosition-aware learned probes match or pass the named reading once they have labelled images; the pooled DINOv3 embedding does not.Pool learning curves (10 to 100 per category): pooled embedding 0.53 to 0.68; edge-strength grid 0.81 and 0.85 on the horizon and vertical pairs; patch-norm map 0.93 on the compact pair. LockboxB (train 138 per category): best baselines LS-Hori3 vs LS-Hori2: G-edge 0.82, L-Ver3 vs L-Ver2: G-edge 0.85, P-RoT vs P-Cent: D-norm 0.93; pooled embedding 0.74, 0.64, 0.57. Four of six pre-stated baseline sub-predictions met; both misses are on the horizon pair (the pooled embedding reached 0.74 against a cap of 0.70; the best baseline was 0.04 above the reading against 0.03 allowed).Figure 14The named reading's advantage is that it needs no labelled images, not a higher ceiling.
C6bheld back: PICD onlyA compact-object reading separates P-RoT from P-Cent on PICD.AUC 0.89 / 0.74 / 0.83 on DevA / DevB / LockboxB, against 0.66 for a pooled DINOv3 probe. But on CADB the same blob location does not follow the annotated subject boxes (C10).Figure 13Not treated as established: one dataset, and the reading failed its second-dataset check.
C10not supported on the second datasetThe compact-object, thirds-point, centre-point, diagonal, golden, spiral and perspective scores.CADB test AUC: rule_of_thirds 0.57, center 0.55 (above chance, barely), diagonal 0.53, golden_ratio 0.54, triangle 0.51, curved 0.47, vanishing_point 0.60. The blob location does not track the annotated subject boxes: median distance 0.28 to the centre-class boxes against 0.28 for permuted boxes. The Facet-style thirds heuristic scores 0.59 on rule_of_thirds, above the lens.Figure 15The line readings carry the cross-dataset result; the compact-object reading carries the PICD P-RoT vs P-Cent result and is not validated outside PICD.
C5replicated: confirmation and freshThe training-free template scores rank the categories they map to above the rest (AUC above 0.5), modestly.Predictions met (AUC above 0.5, interval above 0.5): 8 of 11 on DevA (design), 8 of 11 on DevB (confirmation, spec frozen), 8 of 11 on LockboxB (fresh, spec hashed first): LS-Hori2, LS-Hori3, L-Ver2, L-Ver3, LS-Dia, P-Dia, P-RoT, P-Cent. LockboxB AUCs 0.63 to 0.82.Figure 9Modest AUCs; the claim is direction, not accuracy.
C1solid (synthetic)On exact synthetic layouts the 13 position templates are located and recovered.Position error: median 0.17% (horizontal) and 0.13% (vertical) of the frame, 95th percentile about 0.5%. Top-1 recovery within a kind, rank score: 0.97 at default contrast, 0.90 at contrast 0.10, 0.83 at 0.05. Lines and diagonals keep AUC at least 0.99 against nulls down to contrast 0.05.Figures 4, 5Synthetic only; strokes and tone splits on smooth backgrounds are the easy case.
C2solid (synthetic)Some templates cannot be told apart by geometry, and the engine reports where.Thirds and phi lines (4.9% of the frame apart) hand over at 0.355 on a single-line sweep. Fifths against phi (1.8% apart) is confused: fifths recovered 0.78 and 0.83. Rabatment equals the thirds lines on 3:2 and the fifths end lines on 4:5.Figures 5, 6Identifiability is a property of the templates and the tolerance (1.5% of the frame), not a defect.
C3solid (synthetic)An extent reading (line vs compact) removes most cross-kind confusion, and compact structures need much more contrast to be seen.Kind accuracy 0.96 at default contrast, 0.79 at 0.10, 0.65 at 0.05; top-1 among the detected kind 0.94 against 0.86 unarbitrated.Figure 7The arbitrated rule abstains when it sees nothing.
C4solid (synthetic, easy case)Golden triangle, golden spiral and perspective readings pass their gates on drawn strokes and line drawings.Triangle AUC 1.00 against shifted and random nulls; spiral AUC 0.99, eight-way variant accuracy 0.99, tolerance about 2% of the short side; perspective exact count 0.95 (one-point scenes weakest, 0.90).Figure 8Not validated on any real photograph: PICD has no category for them.
C8descriptiveAs a classifier of PICD categories the lens is weaker than a fitted learned probe; its value is that every number has a name.Fitted DINOv3 probe ahead of the fitted lens-feature probe on 24 of 24 categories on LockboxB; Facet-style heuristic (reimplemented) 0.44 to 0.60.Figure 10Fitted layers are named as fitted wherever they appear.
E1exploratorySingle lens features other than the pre-stated ones carry signal for several categories (for example line coverage for the horizon categories, AUC 0.81 to 0.85 on DevA and DevB).Best single feature per category is listed in results/m3_devA.json and m3_devB.json; 62 features per category, no multiplicity correction.-Not a claim; a place to look.
N1not claimedThat these templates describe how people see composition, or that fit to a template means a photograph is well composed.Nothing here measures quality or perception.
N2not claimedAnything about the golden triangle, golden spiral, phi, fifths or rabatment templates on real photographs.Tested on synthetic layouts only; PICD has no labelled category for them.
N3not claimedAnything about the P-Dia vs P-Hori and P-Dia vs P-Ver pairs.They are arrangements of several points and the lens has no reading for them.
N4not claimedThat the pattern holds in other datasets beyond the line readings checked on CADB, in other photographic collections, or at other resolutions.Two datasets (PICD, CADB), both Flickr-derived or web photographs, 384-pixel readings.
N6not claimedAnything about the ADadras thirds classifier, PhotoFramer, or Facet itself.Only a reimplementation of Facet's thirds and centre heuristic was compared; the other two were not run.
N5not claimedThat the remaining overlap between labelled categories is label noise, or that annotators would agree.No annotator-agreement data on these pairs.

2. Aims, and what changed

The work started from an earlier, unpublished benchmark study of PICD, where five category pairs resisted every method and the data could not say why. The idea: build detectors for the named templates themselves, give each a null and a recovery test, and validate against labelled data. The plan (PLAN.md) fixes definitions and tests before each stage runs; changes after a result are dated amendments.

Plan changes after seeing results

amendmentwhat and why
A1 (20 Nov 2026), point evidenceAfter the first run, line images were being read as point structures (a line passes through the power points). Point evidence changed from the raw disc share to a blob response: the disc share minus the ring mean (first try, little effect), then minus the ring maximum (kept). Reason: a line has equally high share on both sides along it; a compact structure exceeds all its neighbours.
A2 (20 Nov 2026), score definitionThe rank-only score saturated (every strong line and every noise bump could reach rank 1), which let a flat profile in the other orientation beat the true line. Added a robust z (best primitive's value against the null positions' median and MAD, minus the expected maximum of k normals). Both scores are now stored and reported: score (z, presence) and rank_score (position rank, used to choose among templates of the same kind). The first-run files are kept in results/v0_first_run/.
A3 (20 Nov 2026), contrast stressNoise at 0.05 barely moved any result, so two low-contrast conditions (structure contrast 0.10 and 0.05, noise 0.02) were added; null images share each condition's contrast.
A4 (20 Nov 2026), within-kind accuracy (exploratory)Top-1 over all templates is confounded across kinds: a compact object on a power point also makes the line profiles peak. Top-1 within a kind (horizontal, vertical, point, diagonal) is reported next to it. Added after seeing R2, so labelled exploratory.
A5 (20 Nov 2026), M3b grid sizeThe DINOv3 model's input is 256 px, so its patch grid is 16 x 16, not 14 x 14: the patch-norm map D-norm has 256 values and the pooled patch grid still 4 x 4. No other change to the M3b plan.
A6 (20 Nov 2026), M4 extraction robustnessThe first M4 extraction hung after about 29 minutes with every worker process gone (a worker had died on some image) and no output written; no CADB result had been produced or seen. The extraction script now runs in chunks of 200 images, each in its own process with a timeout, redoes a crashed chunk one image per process, and records any image that still fails as an error; the measurements are unchanged. The spec was re-frozen (new hash) before the rerun; the DINOv3 features, already complete, do not depend on it.

Data roles

setimagesrolestate
PICD held-out pool, DevA1,656design: the lens may be changed against it (amendments dated)used
PICD held-out pool, DevB1,656confirmation: read once under the frozen spec (hash 570a835117e0e098)spent
Six-category subset (both halves)828baseline training and learning curves (M3b)used
LockboxB960fresh test, read once under the M3c spec (hash 88f4193d8b36edc3)spent
CADB (all 9,497; test split 950)9,497second dataset, zero-shot transfer under the M4 spec (hash 0fc784df3015916d); annotators' own marks used for T2spent
Synthetic images10,020 + 4,884 + 1,200recovery, M2b tests, calibration (seeds fixed in the scripts)regenerable
spechashfrozencovers
M3 (DevB confirmation)570a835117e0e0985930855e2ac5317bfd2840008a4c354d12eb905a7cb9c41e2026-11-20 12:02:10lens/*.py, catalogue, tests/m3_*.py, calibration, plan snapshot
M3c (LockboxB)88f4193d8b36edc32d3d587fdaecaf1faf65186cde7fa2cfd075bd7fba8c5c822026-11-20 12:47:36the same plus tests/m3b_analyse.py, tests/m3c_*.py, both plan snapshots
M4 (CADB)0fc784df3015916da5cf3a3d5b38afcb09ab2755fe1185512514dda564a002922026-11-20 14:50:20the same plus tests/m4_*.py and the M4 plan snapshot (re-frozen after amendment A6)

Related public work

workwhat it doeswhat we did with it
ADadras: Rule-of-Thirds detection (ACM SUMAC 2025, MIT)22 named geometric features and a logistic or boosted classifier for thirdsnot run (listed as a future comparator)
PhotoFramer-Assessment (CVPR 2026, MIT)a 7B vision-language model fine-tuned for composition score and classnot run
Facet (analyzers/composition.py)subject box scored against thirds points and the centreits heuristic reimplemented from the public source and compared (Figure 10); Facet itself not run
CADB (BMVC 2021; AADB images)9,497 photographs with composition scores, 13 composition classes and elementsused as the second dataset (Figures 15, 16): class crosswalk, annotators' marks, fitted comparators; zero-shot, local copy only
Grid Maker Pro overlay list82 drawing and design overlays, about 27 of them photographic compositionsnames of templates only; its popularity claims are unsourced
DeepGaze, UMSIgaze saliency and design importance modelsnot used

3. Templates and method

Each template is a geometry spec (lines, points, paths) in catalogue/templates.json; the crosswalk to PICD and CADB is by name and marked draft. Only templates whose geometry is unambiguous in standard sources are implemented.

Figure 1. Which PICD categories a template covers.
P-RoTS-RoTP-CentS-CentP-DiaLS-DiaP-HoriLS-Hori2LS-Hori3S-HoriP-VerL-Ver2L-Ver3L-VerMulP-TriLS-TriLS-C-CurLS-O-CurLS-S-CurLS-DifS-PerPL-DenPL-PatP-ScatPICD categories (label order)has a v0 templatetemplate planned (M2b)no template

Reading. The overlay vocabulary covers well under half of PICD.

Of the 24 PICD categories, 10 have a v0 template; the other 14 are arrangements, textures, curves or perspective that no overlay in the catalogue describes. CADB classes without any template: pattern, fill the frame.

Data table for figure 1
PICD categorytemplatescoverage
P-RoTthirds_ptsv0
S-RoTthirds_ptsv0
P-Centcentre_ptv0
S-Centcentre_ptv0
P-Diadiag_baroque, diag_sinisterv0
LS-Diadiag_baroque, diag_sinisterv0
P-Horinonenone
LS-Hori2centre_hv0
LS-Hori3thirds_hv0
S-Horinonenone
P-Vernonenone
L-Ver2centre_vv0
L-Ver3thirds_vv0
L-VerMulnonenone
P-Trinonenone
LS-Trinonenone
LS-C-Curnonenone
LS-O-Curnonenone
LS-S-Curnonenone
LS-Difnonenone
S-Perpersp_1pt, persp_2pt, persp_3ptplanned
PL-Dennonenone
PL-Patnonenone
P-Scatnonenone
idtemplatekindpositions / geometryPICDCADBstatus
thirds_hRule of thirds, horizontal lineshline0.333, 0.667LS-Hori3rule of thirds, horizontalv0
thirds_vRule of thirds, vertical linesvline0.333, 0.667L-Ver3rule of thirds, verticalv0
thirds_ptsRule of thirds, power pointspoints[0.3333333333333333, 0.3333333333333333], [0.333333333333333P-RoT, S-RoTrule of thirdsv0
centre_hCentre, horizontal midlinehline0.500LS-Hori2center, horizontalv0
centre_vCentre, vertical midlinevline0.500L-Ver2center, vertical, symmetricv0
centre_ptCentre pointpoints[0.5, 0.5]P-Cent, S-Centcenterv0
phi_hGolden-ratio grid, horizontal lineshline0.382, 0.618-golden ratiov0
phi_vGolden-ratio grid, vertical linesvline0.382, 0.618-golden ratiov0
phi_ptsGolden-ratio grid, power pointspoints[0.3819660112501051, 0.3819660112501051], [0.381966011250105-golden ratiov0
fifths_hRule of fifths, horizontal lineshline0.200, 0.400, 0.600, 0.800--v0
fifths_vRule of fifths, vertical linesvline0.200, 0.400, 0.600, 0.800--v0
diag_baroqueBaroque diagonal (bottom-left to top-right)diagBL-TRLS-Dia, P-Diadiagonalv0
diag_sinisterSinister diagonal (top-left to bottom-right)diagTL-BRLS-Dia, P-Diadiagonalv0
golden_triangleGolden trianglecomposite--triangleM2b
rabatmentRabatmentvline---M2b
golden_spiralGolden spiralpath--curvedM2b
persp_1ptOne-point perspectivevp-S-Pervanishing pointM2b
persp_2ptTwo-point perspectivevp-S-Pervanishing pointM2b
persp_3ptThree-point perspectivevp-S-Pervanishing pointM2b
armature14Armature, 14-linecomposite---deferred
rootrectRoot rectangles and phi rectangle (frame proportion)frame---frame-only
radialRadial / circularpath--radialdeferred
symmetryMirror symmetrymirror--symmetricdeferred
Figure 2. How a template fit is computed on a photograph.
1/31/22/3y* = 0.37row profile: mean |vertical gradient| of each rowLS-Hori3 image 006768 (seeded draw); shaded bands: +/- 1.5% tolerance around the template positionstemplate fits for this image: thirds_h z = 0.8 centre_h z = 0.1 phi_h z = 4.2 fifths_h z = 1.7

Reading. One measurement (the profile) serves every horizontal template; the thirds, centre, phi and fifths scores differ only in which positions they read. Here the strongest line sits at 0.37 of the height and phi_h scores highest (z 4.2); a line near the lower or upper third can sit nearer the phi position than the thirds one, which are only 4.9% of the frame apart (see the thirds-to-phi sweep below).

A real photograph (PICD; dataset credit under the overlay figure in section 5) beside its row profile. The strongest horizontal line sets y*; each template reads the profile within the tolerance of its position and is scored against the rest of the profile.

Data table for figure 2
template / readingz scorerank score
thirds_h0.810.92
centre_h0.140.43
phi_h4.161.98
fifths_h1.700.74
y* (dominant horizontal line)0.369

Evidence. At a long side of 384 px: a position profile of line strength against position for horizontal, vertical and the two diagonal orientations; a mass map and a blob response for compact objects; coverage of the dominant line (how much of its length has an edge). Fit. A template's fit is the profile value within a tolerance (1.5% of the frame) of its positions, ranked against the rest of the profile (rank score) and scored by magnitude against the profile's own spread (robust z, corrected for the number of primitives). No trained model is used anywhere in the lens. Full definitions: PLAN.md.

4. Synthetic tests

All stages were tested first on images whose layout is exact by construction. Sanity gates were fixed beforehand and all passed (position error under 1% of the frame, AUC at least 0.9 against nulls, kind accuracy at least 0.9, spiral AUC at least 0.9, perspective count accuracy at least 0.8).

Figure 3. What the synthetic images look like.
horizontal line at 1/3
horizontal line at 1/3
vertical line at 0.382 (phi)
vertical line at 0.382 (phi)
compact object on a power point
compact object on a power point
diagonal tone split (TL-BR)
diagonal tone split (TL-BR)
golden-triangle strokes
golden-triangle strokes
golden spiral, variant 5
golden spiral, variant 5
two-point perspective drawing
two-point perspective drawing
point at contrast 0.05 (hard)
point at contrast 0.05 (hard)

Reading. The synthetic tests are the easy case: clean strokes, tone splits and drawn lines. The hard point at contrast 0.05 shows why compact objects fail first.

Exact layouts placed on template positions with jitter up to 0.5% of the frame, a smooth background, low-contrast distractors and noise. Generated by lens/synth.py and lens/synth2.py; seeds in the figure code.

Data table for figure 3
synthetic layout
horizontal line at 1/3
vertical line at 0.382 (phi)
compact object on a power point
diagonal tone split (TL-BR)
golden-triangle strokes
golden spiral, variant 5
two-point perspective drawing
point at contrast 0.05 (hard)
Figure 4. Template recovery on exact synthetic layouts.
0.50.60.70.80.91.00.960.920.72noise 00.970.920.72noise 0.020.970.930.85noise 0.050.900.860.77contrast 0.100.830.800.74contrast 0.05Top-1 template recovery on exact synthetic layouts (13 v0 templates; 4 aspect ratios)within kind, rank scorewithin kind, z scoreall templates, z score

Reading. Noise barely matters; contrast does. Choosing among all templates at once is worse than within a kind because a compact object on a power point also makes the line profiles peak (see the confusion matrix below).

10,020 images across four aspect ratios and five conditions. 'Within kind' restricts the choice to templates of the same kind (horizontal, vertical, point, diagonal).

Data table for figure 4
conditionwithin kind (rank score)within kind (z score)all templates (z score)
noise 00.9650.9170.721
noise 0.020.9660.9220.717
noise 0.050.9700.9330.850
contrast 0.100.9000.8640.772
contrast 0.050.8350.8030.736
Figure 5. Where thirds hands over to phi.
0.000.250.500.751.000.300.320.340.360.380.40thirds 0.333phi 0.382position of a single synthetic horizontal line (fraction of the height)thirds_h winsphi_h wins

Reading. The hand-over sits at 0.355, almost exactly the midpoint (0.358) of the two template positions.

A single synthetic horizontal line, 20 images per position, 4:3, noise 0.02.

Data table for figure 5
line positionmedian position errorthirds_h winsphi_h winscentre_h wins
0.30.0001.000.000.00
0.3050.0021.000.000.00
0.310.0011.000.000.00
0.3150.0011.000.000.00
0.320.0011.000.000.00
0.3250.0031.000.000.00
0.330.0021.000.000.00
0.3350.0021.000.000.00
0.340.0021.000.000.00
0.3450.0001.000.000.00
0.350.0021.000.000.00
0.3550.0010.550.450.00
0.360.0030.001.000.00
0.3650.0010.050.950.00
0.370.0030.001.000.00
0.3750.0020.000.950.00
0.380.0000.000.750.00
0.3850.0020.000.550.00
0.390.0010.000.600.00
0.3950.0030.000.550.00
0.40.0020.000.450.00
Figure 6. Which template is read for which synthetic layout.
thirds_hthirds_htrue thirds_h read as thirds_h: 1.00true thirds_h read as thirds_v: 0.00true thirds_h read as thirds_pts: 0.00true thirds_h read as centre_h: 0.00true thirds_h read as centre_v: 0.00true thirds_h read as centre_pt: 0.00true thirds_h read as phi_h: 0.00true thirds_h read as phi_v: 0.00true thirds_h read as phi_pts: 0.00true thirds_h read as fifths_h: 0.00true thirds_h read as fifths_v: 0.00true thirds_h read as diag_baroque: 0.00true thirds_h read as diag_sinister: 0.00thirds_vthirds_vtrue thirds_v read as thirds_h: 0.00true thirds_v read as thirds_v: 1.00true thirds_v read as thirds_pts: 0.00true thirds_v read as centre_h: 0.00true thirds_v read as centre_v: 0.00true thirds_v read as centre_pt: 0.00true thirds_v read as phi_h: 0.00true thirds_v read as phi_v: 0.00true thirds_v read as phi_pts: 0.00true thirds_v read as fifths_h: 0.00true thirds_v read as fifths_v: 0.00true thirds_v read as diag_baroque: 0.00true thirds_v read as diag_sinister: 0.00thirds_ptsthirds_ptstrue thirds_pts read as thirds_h: 0.03true thirds_pts read as thirds_v: 0.23.23true thirds_pts read as thirds_pts: 0.07.07true thirds_pts read as centre_h: 0.00true thirds_pts read as centre_v: 0.00true thirds_pts read as centre_pt: 0.00true thirds_pts read as phi_h: 0.36.36true thirds_pts read as phi_v: 0.29.29true thirds_pts read as phi_pts: 0.00true thirds_pts read as fifths_h: 0.00true thirds_pts read as fifths_v: 0.00true thirds_pts read as diag_baroque: 0.01true thirds_pts read as diag_sinister: 0.02centre_hcentre_htrue centre_h read as thirds_h: 0.00true centre_h read as thirds_v: 0.00true centre_h read as thirds_pts: 0.00true centre_h read as centre_h: 1.00true centre_h read as centre_v: 0.00true centre_h read as centre_pt: 0.00true centre_h read as phi_h: 0.00true centre_h read as phi_v: 0.00true centre_h read as phi_pts: 0.00true centre_h read as fifths_h: 0.00true centre_h read as fifths_v: 0.00true centre_h read as diag_baroque: 0.00true centre_h read as diag_sinister: 0.00centre_vcentre_vtrue centre_v read as thirds_h: 0.00true centre_v read as thirds_v: 0.00true centre_v read as thirds_pts: 0.00true centre_v read as centre_h: 0.00true centre_v read as centre_v: 1.00true centre_v read as centre_pt: 0.00true centre_v read as phi_h: 0.00true centre_v read as phi_v: 0.00true centre_v read as phi_pts: 0.00true centre_v read as fifths_h: 0.00true centre_v read as fifths_v: 0.00true centre_v read as diag_baroque: 0.00true centre_v read as diag_sinister: 0.00centre_ptcentre_pttrue centre_pt read as thirds_h: 0.00true centre_pt read as thirds_v: 0.00true centre_pt read as thirds_pts: 0.00true centre_pt read as centre_h: 0.29.29true centre_pt read as centre_v: 0.42.42true centre_pt read as centre_pt: 0.23.23true centre_pt read as phi_h: 0.00true centre_pt read as phi_v: 0.00true centre_pt read as phi_pts: 0.00true centre_pt read as fifths_h: 0.00true centre_pt read as fifths_v: 0.00true centre_pt read as diag_baroque: 0.03true centre_pt read as diag_sinister: 0.03phi_hphi_htrue phi_h read as thirds_h: 0.00true phi_h read as thirds_v: 0.00true phi_h read as thirds_pts: 0.00true phi_h read as centre_h: 0.00true phi_h read as centre_v: 0.00true phi_h read as centre_pt: 0.00true phi_h read as phi_h: 0.65.65true phi_h read as phi_v: 0.00true phi_h read as phi_pts: 0.00true phi_h read as fifths_h: 0.35.35true phi_h read as fifths_v: 0.00true phi_h read as diag_baroque: 0.00true phi_h read as diag_sinister: 0.00phi_vphi_vtrue phi_v read as thirds_h: 0.00true phi_v read as thirds_v: 0.00true phi_v read as thirds_pts: 0.00true phi_v read as centre_h: 0.00true phi_v read as centre_v: 0.00true phi_v read as centre_pt: 0.00true phi_v read as phi_h: 0.00true phi_v read as phi_v: 0.70.70true phi_v read as phi_pts: 0.00true phi_v read as fifths_h: 0.00true phi_v read as fifths_v: 0.30.30true phi_v read as diag_baroque: 0.00true phi_v read as diag_sinister: 0.00phi_ptsphi_ptstrue phi_pts read as thirds_h: 0.23.23true phi_pts read as thirds_v: 0.17.17true phi_pts read as thirds_pts: 0.00true phi_pts read as centre_h: 0.00true phi_pts read as centre_v: 0.00true phi_pts read as centre_pt: 0.00true phi_pts read as phi_h: 0.00true phi_pts read as phi_v: 0.08true phi_pts read as phi_pts: 0.01.01true phi_pts read as fifths_h: 0.18.18true phi_pts read as fifths_v: 0.29.29true phi_pts read as diag_baroque: 0.02true phi_pts read as diag_sinister: 0.01fifths_hfifths_htrue fifths_h read as thirds_h: 0.00true fifths_h read as thirds_v: 0.00true fifths_h read as thirds_pts: 0.00true fifths_h read as centre_h: 0.00true fifths_h read as centre_v: 0.00true fifths_h read as centre_pt: 0.00true fifths_h read as phi_h: 0.13.13true fifths_h read as phi_v: 0.00true fifths_h read as phi_pts: 0.00true fifths_h read as fifths_h: 0.87.87true fifths_h read as fifths_v: 0.00true fifths_h read as diag_baroque: 0.00true fifths_h read as diag_sinister: 0.00fifths_vfifths_vtrue fifths_v read as thirds_h: 0.00true fifths_v read as thirds_v: 0.00true fifths_v read as thirds_pts: 0.00true fifths_v read as centre_h: 0.00true fifths_v read as centre_v: 0.00true fifths_v read as centre_pt: 0.00true fifths_v read as phi_h: 0.00true fifths_v read as phi_v: 0.21.21true fifths_v read as phi_pts: 0.00true fifths_v read as fifths_h: 0.00true fifths_v read as fifths_v: 0.79.79true fifths_v read as diag_baroque: 0.00true fifths_v read as diag_sinister: 0.00diag_baroquediag_baroquetrue diag_baroque read as thirds_h: 0.00true diag_baroque read as thirds_v: 0.00true diag_baroque read as thirds_pts: 0.00true diag_baroque read as centre_h: 0.00true diag_baroque read as centre_v: 0.00true diag_baroque read as centre_pt: 0.00true diag_baroque read as phi_h: 0.00true diag_baroque read as phi_v: 0.00true diag_baroque read as phi_pts: 0.00true diag_baroque read as fifths_h: 0.00true diag_baroque read as fifths_v: 0.00true diag_baroque read as diag_baroque: 1.00true diag_baroque read as diag_sinister: 0.00diag_sinisterdiag_sinistertrue diag_sinister read as thirds_h: 0.00true diag_sinister read as thirds_v: 0.00true diag_sinister read as thirds_pts: 0.00true diag_sinister read as centre_h: 0.00true diag_sinister read as centre_v: 0.00true diag_sinister read as centre_pt: 0.00true diag_sinister read as phi_h: 0.00true diag_sinister read as phi_v: 0.00true diag_sinister read as phi_pts: 0.00true diag_sinister read as fifths_h: 0.00true diag_sinister read as fifths_v: 0.00true diag_sinister read as diag_baroque: 0.00true diag_sinister read as diag_sinister: 1.00rows: template the image was built on; columns: template with the highest z score (over all 13)

Reading. The mistakes are geometric: compact objects on a power point or the centre are read as the line templates that pass through them, and fifths lines as the nearby phi lines.

Default contrast, noise 0.02, scored over all 13 templates with the z score. Cells with at least 0.10 off the diagonal, or a diagonal below 0.90, are labelled.

Data table for figure 6
true templateread asshare
thirds_hthirds_h1.000
thirds_vthirds_v1.000
thirds_ptsthirds_h0.025
thirds_ptsthirds_v0.225
thirds_ptsthirds_pts0.075
thirds_ptsphi_h0.358
thirds_ptsphi_v0.292
thirds_ptsdiag_baroque0.008
thirds_ptsdiag_sinister0.017
centre_hcentre_h1.000
centre_vcentre_v1.000
centre_ptcentre_h0.292
centre_ptcentre_v0.425
centre_ptcentre_pt0.225
centre_ptdiag_baroque0.025
centre_ptdiag_sinister0.033
phi_hphi_h0.650
phi_hfifths_h0.350
phi_vphi_v0.700
phi_vfifths_v0.300
phi_ptsthirds_h0.233
phi_ptsthirds_v0.175
phi_ptsphi_v0.083
phi_ptsphi_pts0.008
phi_ptsfifths_h0.183
phi_ptsfifths_v0.292
phi_ptsdiag_baroque0.017
phi_ptsdiag_sinister0.008
fifths_hphi_h0.133
fifths_hfifths_h0.867
fifths_vphi_v0.208
fifths_vfifths_v0.792
diag_baroquediag_baroque1.000
diag_sinisterdiag_sinister1.000
Figure 7. Kind (line vs compact) reading and arbitrated recovery.
0.000.250.500.751.000.960.940.86default contrast0.790.750.72contrast 0.100.650.590.68contrast 0.05kind (line vs compact) accuracytop-1 among the detected kindtop-1 over all

Reading. Compact points are the casualty at low contrast; lines and diagonals survive.

Thresholds tau_c = 0.60, tau_b = 0.0175 calibrated on a separate 1,200-image set, then frozen.

Data table for figure 7
conditionkind accuracyarbitrated top-1unarbitrated top-1
default contrast0.9590.9360.856
contrast 0.100.7910.7540.724
contrast 0.050.6530.5910.676
Figure 8. Golden spiral: tolerance to displacement.
0.000.250.500.751.00chance for 8 variants0%1%2%4%8%spiral displaced by this share of the short sideAUC against nullsvariant accuracy

Reading. The spiral can be placed to about 2% of the short side; beyond 4% it is lost.

Eight variants; AUC against perturbed spirals and straight strokes, and eight-way variant accuracy, as the exact spiral is displaced.

Data table for figure 8
displacement (share of short side)AUC against nullsvariant accuracy
0%0.9930.990
1%0.9900.938
2%0.9800.938
4%0.7720.688
8%0.7040.125

Triangle, rabatment, perspective. The golden triangle separates from a bare diagonal at AUC 1.00; rabatment is the top template on 4:3 ({'rabatment': 40}) and ties with thirds on 3:2 and with the fifths end lines on 4:5; the exact vanishing-point count is 0.95 on clean line drawings (one-point scenes 0.90, median vanishing-point error 0.005 of the frame for one-point scenes).

5. Real photographs (PICD)

Design on DevA; spec frozen and hashed; one confirmation run on DevB; a last fresh test on LockboxB with the plan and predictions fixed before it was read. The comparators are a reimplementation of Facet's thirds and centre heuristic, a fitted logistic probe on the lens features (a fitted layer) and a fitted logistic probe on DINOv3 embeddings (a fitted layer over a trained model).

Figure 9. The 11 training-free crosswalk predictions on three sets.
0.30.40.50.60.70.80.9One-vs-rest AUC of the training-free template score for the 11 mapped categoriesP-RoT (thirds_pts)S-RoT (thirds_pts)P-Cent (centre_pt)S-Cent (centre_pt)P-Dia (diag (max of two))LS-Dia (diag (max of two))LS-Hori2 (centre_h)LS-Hori3 (thirds_h)L-Ver2 (centre_v)L-Ver3 (thirds_v)S-Per (finite VP support)DevA (design)DevB (confirmation)LockboxB (fresh)

Reading. 8 of 11 met on each set; the same three fail on all three.

Circles carry 95% bootstrap intervals; squares are the design set. Bold labels are predictions not met on LockboxB. Template scores are the z scores fixed in PLAN.md.

Data table for figure 9
categorytemplateDevADevB [95% interval]LockboxB [95% interval]LockboxB prediction
P-RoTthirds_pts0.6450.677 [0.612, 0.742]0.641 [0.545, 0.724]met
S-RoTthirds_pts0.4660.409 [0.346, 0.466]0.501 [0.414, 0.586]not met
P-Centcentre_pt0.6160.621 [0.537, 0.704]0.635 [0.536, 0.736]met
S-Centcentre_pt0.5430.514 [0.454, 0.578]0.473 [0.395, 0.559]not met
P-Diadiag (max of two)0.6470.672 [0.601, 0.737]0.630 [0.536, 0.728]met
LS-Diadiag (max of two)0.7880.754 [0.697, 0.809]0.802 [0.724, 0.868]met
LS-Hori2centre_h0.8000.836 [0.783, 0.879]0.824 [0.766, 0.879]met
LS-Hori3thirds_h0.7420.687 [0.613, 0.758]0.800 [0.724, 0.868]met
L-Ver2centre_v0.7730.805 [0.749, 0.864]0.753 [0.657, 0.843]met
L-Ver3thirds_v0.7260.722 [0.650, 0.786]0.743 [0.652, 0.822]met
S-Perfinite VP support0.4620.480 [0.422, 0.541]0.399 [0.327, 0.470]not met
Figure 10. Methods compared on fresh images, per category.
0.30.40.50.60.70.80.91.0LockboxB (fresh images): one-vs-rest AUC for each method, per PICD categoryP-RoTS-RoTP-CentS-CentP-DiaLS-DiaP-HoriLS-Hori2LS-Hori3S-HoriP-VerL-Ver2L-Ver3L-VerMulP-TriLS-TriLS-C-CurLS-O-CurLS-S-CurLS-DifS-PerPL-DenPL-PatP-Scatlens template (training-free)Facet-style heuristicfitted probe, lens featuresfitted probe, DINOv3

Reading. The fitted DINOv3 probe leads almost everywhere. Between the two training-free scores, the lens template is above the Facet-style heuristic on the line, diagonal and point categories and below it on S-Cent.

Fitted probes train on the whole pool (3,312 images); the lens template score and the Facet-style heuristic need no training.

Data table for figure 10
categorylens templateFacet-stylefitted lens probefitted DINOv3 probe
P-RoT0.6410.5920.8040.872
S-RoT0.5010.5020.7860.939
P-Cent0.6350.5540.8160.928
S-Cent0.4730.5990.7600.931
P-Dia0.630-0.7150.888
LS-Dia0.802-0.7540.936
P-Hori--0.7640.954
LS-Hori20.8240.4990.8960.959
LS-Hori30.8000.4610.9050.980
S-Hori--0.7590.961
P-Ver--0.7150.896
L-Ver20.7530.4370.8610.865
L-Ver30.7430.5120.7540.833
L-VerMul--0.8260.936
P-Tri--0.7520.905
LS-Tri--0.8690.963
LS-C-Cur--0.7190.921
LS-O-Cur--0.8920.981
LS-S-Cur--0.7420.985
LS-Dif--0.8120.955
S-Per0.399-0.8880.992
PL-Den--0.8510.994
PL-Pat--0.8660.992
P-Scat--0.7260.933

What the lens reports

Figure 11. What the lens reports on a photograph.
LS-Hori2 000217
Strongest horizontal line at 0.40 of the height: 0.07 from the upper third.
LS-Hori3 034445
Strongest horizontal line at 0.28 of the height: 0.05 from the upper third.
L-Ver2 014341
Strongest vertical line at 0.50 of the width: 0.00 from the middle.
L-Ver3 028027
Strongest vertical line at 0.41 of the width: 0.07 from the left third.
P-Cent 036915
Most compact object at (0.52, 0.52): 0.03 from the centre, 0.21 from the nearest power point.
P-RoT 041811
Most compact object at (0.30, 0.30): 0.28 from the centre, 0.05 from the nearest power point.

Six images drawn at random (seeded) from LockboxB, one per category of the three position pairs. White dashed lines mark 1/3, 1/2 and 2/3; the solid line or circle is the measured position. Images from PICD (Zhao et al., CVPR 2025), the part released for redistribution, shown reduced and uncropped under CC BY-NC-SA 4.0 and the dataset's Terms of Use; the dataset does not record photographer or platform per image; ids shown.

Data table for figure 11
categoryimage idreading
LS-Hori2000217Strongest horizontal line at 0.40 of the height: 0.07 from the upper third.
LS-Hori3034445Strongest horizontal line at 0.28 of the height: 0.05 from the upper third.
L-Ver2014341Strongest vertical line at 0.50 of the width: 0.00 from the middle.
L-Ver3028027Strongest vertical line at 0.41 of the width: 0.07 from the left third.
P-Cent036915Most compact object at (0.52, 0.52): 0.03 from the centre, 0.21 from the nearest power point.
P-RoT041811Most compact object at (0.30, 0.30): 0.28 from the centre, 0.05 from the nearest power point.

6. The five pairs that no whole-image method separated

In an earlier benchmark study (unpublished) five category pairs scored 0.49 to 0.57 pair accuracy for every method. Three of them have a position reading. Two use the line readings (LS-Hori2 vs LS-Hori3, L-Ver2 vs L-Ver3), which section 7 validates against human-marked lines on a second dataset. The third (P-RoT vs P-Cent) uses the compact-object reading, which that check did not support, so it is shown here but held back. The two P-Dia pairs need an arrangement reading the lens does not have. The reading is the distance of the dominant horizontal line, vertical line or compact blob from the centre; the interpretation rule was fixed before any real image was read.

Figure 12. Where the dominant line or object sits in each category (LockboxB).
Strongest horizontal line: height1/31/22/3LS-Hori2LS-Hori3Strongest vertical line: position1/31/22/3L-Ver2L-Ver3Compact object: distance from centrecentrepower pointP-CentP-RoT

Reading. Middle categories cluster at 1/2 (or at the centre); third categories sit at 1/3 and 2/3 (or a power point).

40 images per category.

Data table for figure 12
readingcategory 1mediancategory 2median
Strongest horizontal line: heightLS-Hori20.528LS-Hori30.653
Strongest vertical line: positionL-Ver20.496L-Ver30.584
Compact object: distance from centreP-Cent0.120P-RoT0.256
Figure 13. The three position pairs on three sets.
0.40.50.60.70.80.91.0The three position pairs: AUC of the position reading on three setsLS-Hori3 vs LS-Hori2L-Ver3 vs L-Ver2P-RoT vs P-Centpooled DINOv3 probe (DevB)DevA (design)DevB (confirmation)LockboxB (fresh)

Reading. All three pairs separate on all three sets.

AUC of the pre-stated position reading; the pooled DINOv3 probe uses about 69 training images per category.

Data table for figure 13
pairscoreDevADevB [95% interval]LockboxB [95% interval]pooled DINOv3 probe, DevBdetection rate, LockboxB
LS-Hori3 vs LS-Hori2|y*-0.5|0.8460.863 [0.789, 0.923]0.776 [0.665, 0.876]0.54398%
L-Ver3 vs L-Ver2|x*-0.5|0.7660.816 [0.738, 0.888]0.794 [0.682, 0.901]0.63995%
P-RoT vs P-Centblob distance to centre0.8850.744 [0.654, 0.822]0.828 [0.728, 0.928]0.65829%
Figure 14. Do learned probes recover the separation?
Horizon: middle vs third0.50.60.70.80.91.010204070100138labelled training images per categoryVertical line: middle vs third10204070100138labelled training images per categoryCompact object: centre vs power point10204070100138labelled training images per categoryDINOv3 pooledDINOv3 4x4 patch gridDINOv3 patch-norm mapbrightness gridedge-strength gridposition reading (no training)Lines: mean of 10 random splits on the pool (test 38 per category). Diamonds at 138: trained on the whole pool, tested on LockboxB (40 per category).

Reading. Position-aware features catch up with the reading at about 20 to 40 labelled images for the vertical and compact pairs; the pooled embedding does not.

Probes use cross-validated regularisation; 38 test images per category in the pool experiment.

Data table for figure 14
pairmethod10204070100LockboxB (train 138)
LS-Hori3 vs LS-Hori2D-pool0.555 +/- 0.0740.550 +/- 0.0890.596 +/- 0.0640.602 +/- 0.0570.630 +/- 0.0770.740
LS-Hori3 vs LS-Hori2D-grid0.590 +/- 0.0710.631 +/- 0.0630.693 +/- 0.0480.738 +/- 0.0450.770 +/- 0.0370.668
LS-Hori3 vs LS-Hori2D-norm0.586 +/- 0.0650.584 +/- 0.0700.623 +/- 0.0500.629 +/- 0.0320.641 +/- 0.0270.653
LS-Hori3 vs LS-Hori2G-bright0.621 +/- 0.0700.678 +/- 0.0380.742 +/- 0.0420.777 +/- 0.0390.787 +/- 0.0570.802
LS-Hori3 vs LS-Hori2G-edge0.643 +/- 0.1040.720 +/- 0.0760.768 +/- 0.0540.797 +/- 0.0410.814 +/- 0.0380.818
LS-Hori3 vs LS-Hori2position reading0.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.776
L-Ver3 vs L-Ver2D-pool0.575 +/- 0.0450.604 +/- 0.0570.626 +/- 0.0490.659 +/- 0.0440.680 +/- 0.0490.642
L-Ver3 vs L-Ver2D-grid0.597 +/- 0.0570.618 +/- 0.0650.642 +/- 0.0380.667 +/- 0.0470.698 +/- 0.0450.637
L-Ver3 vs L-Ver2D-norm0.721 +/- 0.0760.781 +/- 0.0720.820 +/- 0.0580.842 +/- 0.0480.844 +/- 0.0520.844
L-Ver3 vs L-Ver2G-bright0.563 +/- 0.0620.579 +/- 0.0480.618 +/- 0.0530.638 +/- 0.0420.656 +/- 0.0440.676
L-Ver3 vs L-Ver2G-edge0.702 +/- 0.0920.774 +/- 0.0480.807 +/- 0.0400.842 +/- 0.0410.849 +/- 0.0430.848
L-Ver3 vs L-Ver2position reading0.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.794
P-RoT vs P-CentD-pool0.531 +/- 0.0800.532 +/- 0.0650.589 +/- 0.0370.605 +/- 0.0520.662 +/- 0.0430.571
P-RoT vs P-CentD-grid0.551 +/- 0.0750.556 +/- 0.0640.625 +/- 0.0490.668 +/- 0.0610.732 +/- 0.0410.677
P-RoT vs P-CentD-norm0.729 +/- 0.0810.836 +/- 0.0520.896 +/- 0.0470.924 +/- 0.0330.926 +/- 0.0340.928
P-RoT vs P-CentG-bright0.507 +/- 0.0830.544 +/- 0.0800.605 +/- 0.0640.627 +/- 0.0530.646 +/- 0.0380.593
P-RoT vs P-CentG-edge0.729 +/- 0.0770.782 +/- 0.0890.841 +/- 0.0420.869 +/- 0.0330.881 +/- 0.0260.812
P-RoT vs P-Centposition reading0.796 +/- 0.0450.796 +/- 0.0450.796 +/- 0.0450.796 +/- 0.0450.796 +/- 0.0450.828

Reading the three figures together. The labelled categories do differ in position as defined, and a named reading shows it with no labelled images. Position-aware probes show the information is also easy to learn, so the separation is cleaner than the reading alone suggested (AUC up to 0.93 on LockboxB for the compact pair, where a patch-norm probe does much better than the blob reading). The pooled embedding discards much of it, though less on horizons (0.74) than on the other two pairs (0.64, 0.57).

7. A second dataset: CADB

CADB (Zhang, Niu and Zhang, BMVC 2021) has 9,497 photographs, 13 composition classes per image (multi-label) and the annotators' own marks for each class. It was downloaded after the plan (PLAN.md, section M4) was written and the spec hashed, and read once, with no design step: the lens is the same frozen lens. Two questions: do the template scores rank the CADB classes they map to, and do the lens's line positions agree with where the annotators drew the lines?

Figure 15. A second dataset: the lens on CADB composition classes.
0.40.50.60.70.80.91.0CADB test split (950 images): one-vs-rest AUC per composition class (positives in brackets)center (451)horizontal (246)diagonal (201)vertical (182)rule_of_thirds (113)triangle (48)symmetric (54)golden_ratio (39)curved (57)fill_the_frame (66)vanishing_point (27)pattern (21)radial (6)lens template (95% interval)Facet-style heuristicfitted probe, lens featuresfitted probe, DINOv3

Reading. Four of five predicted classes are above chance, but only the line-coverage readings are strong. A fitted DINOv3 probe leads on every class.

CADB (BMVC 2021; AADB Flickr images; research use only; local copy, no images shown). The lens spec is the frozen M3 spec: zero-shot transfer, no design on CADB. Multi-label images count as positives for each of their classes. Fitted probes train on the official train split (8,547); the test split has 950 images. Bold labels are classes whose lens score does not clear 0.5 with its interval (diagonal was a pre-stated prediction; golden ratio, triangle and curved had none; vanishing point was predicted not to).

Data table for figure 15
classpositives (test)lens scorelens AUC test [95% interval]lens AUC all 9,497Facet-stylefitted lens probefitted DINOv3 probe
center451max centre_h/v/pt0.550 [0.513, 0.587]0.5370.5120.6580.810
horizontal246line coverage (h)0.774 [0.740, 0.806]0.737-0.8140.876
diagonal201max of two diagonals0.535 [0.488, 0.582]0.522-0.6610.810
vertical182line coverage (v)0.632 [0.586, 0.675]0.617-0.7100.862
rule_of_thirds113max thirds_h/v/pts0.565 [0.510, 0.619]0.5350.5940.6190.736
triangle48max golden triangle0.513 [0.428, 0.601]0.505-0.6380.675
symmetric54----0.5970.885
golden_ratio39max phi_h/v/pts0.545 [0.442, 0.644]0.556-0.5800.591
curved57golden spiral0.473 [0.397, 0.546]0.510-0.5370.828
fill_the_frame66----0.7100.848
vanishing_point27finite VP support0.597 [0.491, 0.704]0.559-0.7700.979
pattern21----0.7700.984
radial6----0.7040.930
Figure 16. Does the lens agree with where the annotators marked the line?
Horizontal: lens y* against the marked lineannotators' mark (height fraction), n = 2117median error 0.040; 53% within 0.05Vertical: lens x* against the marked lineannotators' mark (width fraction), n = 377median error 0.069; 47% within 0.05

Reading. The dominant-line readings agree with the human-marked lines; permuting the marks across images gives errors four to six times larger.

Images with exactly one annotated horizontal (n = 2117) or vertical (n = 377) segment, all 9,497 images; the dashed line is perfect agreement. Annotation coordinates are in each image's own pixel frame.

Data table for figure 16
classimages with one markmedian errorwithin 0.05median error, permuted marks
horizontal21170.04053%0.226
vertical3770.06947%0.287

Reading. The pre-stated rule (at least four of five predicted classes above chance) reads "supports generalisation", but the result is lopsided. The line-coverage readings are strong (horizontal 0.77, vertical 0.63) and agree with the annotators' marks; the thirds and centre scores are barely above chance (0.57, 0.55); the diagonal, golden, spiral and perspective scores are not supported. The Facet-style thirds heuristic (0.59) is above the lens on rule_of_thirds. A fitted DINOv3 probe leads on every class.

8. Fallen ideas and operating windows

what was tried or expectedwhat happenedwhat it taught
Rank-only template scoreIt saturated: any strong line or noise bump could reach rank 1, so a flat profile in the other orientation beat the true line (A2).Score against the null by magnitude (robust z), keep the rank score for choosing within a kind.
Raw disc share as point evidenceA line passes through the power points and scored like a point (A1).Use a blob response: share minus the maximum on a ring around it.
Noise as the stress testGaussian noise up to 0.05 barely moved any result (A3).Contrast against distractors is the stressor; compact structures fail first.
Top-1 over all templatesA compact object on a power point also makes the line profiles peak; top-1 over all templates is 0.86 at best.Add the extent reading and choose among templates of the detected kind.
Single-shape and perspective templates on real photographsS-RoT 0.50, S-Cent 0.47, S-Per 0.40 on LockboxB (S-Per significantly below chance).A point template is not a shape template; vanishing points are everywhere in textured scenes. Operating window: lines and compact points, not shapes or perspective.
Facet-style thirds and centre score0.50 and 0.46 on the two horizon categories (LockboxB).A subject-box score ignores a horizon; the lens line readings do not.
Blob-distance reading for P-RoT vs P-CentAUC 0.83 on LockboxB against 0.93 for a patch-norm probe; blob detection fires on about 30% of images.The information is in the image; a better compact-object reading is open.
'The reading stays ahead on the horizon pair'Held on the pool (0.85 against 0.81 at 100 per category) and not on LockboxB (0.78 against 0.82 for an edge grid).Differences of 0.05 are inside the noise at 40 images per category; the claim is dropped.
'Pooled embeddings discard position' as a general statementThe pooled DINOv3 embedding reached 0.74 on the horizon pair when trained on 138 images per category.True for the vertical and compact pairs, weaker for horizons.
Compact-object and thirds/centre point scores on CADBCADB test AUC 0.57 for rule_of_thirds and 0.55 for center; the blob location does not track the annotated boxes (median distance 0.28, permuted 0.28).The compact-object reading works on PICD's centre-versus-power-point pair but is not validated by the annotators' boxes; subject placement needs a better subject detector (a trained saliency model would be labelled as such).
Diagonal, golden and perspective scores on CADBdiagonal 0.53, golden_ratio 0.54, triangle 0.51, curved 0.47, vanishing_point 0.60.No evidence for these templates on real photographs; the synthetic results are not enough.
Overlay templates beyond thirds, centre and diagonalsGolden triangle, spiral, phi, fifths and rabatment have no PICD category and no real-photograph test.Their value is the synthetic identifiability map, not a validated detector.

9. Limits and threats to validity

10. Reproduction

Commands in the order they were run. Seeds are fixed in every script; the guards refuse a second DevB or LockboxB run or a changed spec.

# 0. catalogue (templates as data, crosswalk by name)
python3 -I catalogue/build_catalogue.py
# 1. M2: exact synthetic layouts, position templates
python3 -I tests/run_recovery.py ; python3 -I tests/analyse_recovery.py
# 2. M2b: extent, golden triangle, rabatment, spiral, perspective (calibrate on separate seeds, then test)
python3 -I tests/run_m2b.py cal ; python3 -I tests/run_m2b.py test ; python3 -I tests/analyse_m2b.py
# 3. M3: PICD pool (read-only images in composition-benchmark/data); design on DevA, freeze, confirm once on DevB
python3 -I tests/m3_extract.py devA ; python3 -I tests/m3_analyse.py devA
python3 -I tests/m3_freeze.py ; python3 -I tests/m3_extract.py devB ; python3 -I tests/m3_analyse.py devB      # devB refuses a second run or a changed spec
# 4. M3b: baselines on the three pairs (DINOv3 in an environment with torch and timm, offline)
HF_HUB_OFFLINE=1 python tests/m3b_extract_dino.py ; python3 -I tests/m3b_analyse.py
# 5. M3c: fresh LockboxB test. The spec was frozen by writing spec_hash() of tests/m3c_extract.py to results/m3c_spec.sha256, then:
python3 -I tests/m3c_extract.py ; HF_HUB_OFFLINE=1 python tests/m3c_extract_dino.py ; python3 -I tests/m3c_analyse.py
# 6. M4: CADB (download CADB_Dataset.zip from the authors' Dropbox link into data/cadb_zip, unzip into data/cadb); spec frozen as for M3c, then
python3 -I tests/m4_extract.py ; HF_HUB_OFFLINE=1 python tests/m4_extract_dino.py ; python3 -I tests/m4_analyse.py
# 7. this book
python3 -I labbook/make_labbook.py
environmentpythonlibrariesused for
system3.14.3numpy 2.4.2, scipy, opencv 4.13.0, Pillow, scikit-learn 1.8.0everything except DINOv3
second environment with torch and timm (the original used a local venv)3.14.3torch (nightly), timm 1.0.30DINOv3 embeddings (offline, cached weights)

Results manifest (captured when this book was built)

filesha256 (first 16)last modified
results/claims_ledger.jsonfa43213a89074ca420 Nov 2026 18:27
results/m2b.jsond4cd881c365e371420 Nov 2026 11:13
results/m2b_calibration.json287c930320bb092420 Nov 2026 11:11
results/m3_devA.jsonc05d0bdfc73ae58120 Nov 2026 12:01
results/m3_devB.json127bf93ab8c5b27220 Nov 2026 12:04
results/m3_spec.sha25657355f1ef9bfe0a920 Nov 2026 12:02
results/m3b.jsona042ccaec7b2049420 Nov 2026 12:34
results/m3b_dino.npz843df516550adc1320 Nov 2026 12:33
results/m3c.json294de7dbebb0028720 Nov 2026 12:52
results/m3c_dino_lockboxb.npz378e1b689ac9f10920 Nov 2026 12:48
results/m3c_spec.sha256d2f2e97b9d1c0f6220 Nov 2026 12:47
results/m4.json266c58415b90111420 Nov 2026 15:20
results/m4_dino_cadb.npy80927df63ea2b4a620 Nov 2026 14:36
results/m4_spec.sha2562b60cb23185ab3f920 Nov 2026 14:50
results/recovery.jsonf0df35c992411e0c20 Nov 2026 11:03

Source notes: the template vocabulary comes from a tool vendor's overlay list (Grid Maker Pro; unsourced popularity claims, so used as a list of names only). Datasets: PICD (CC BY-NC-SA 4.0 with Terms of Use). Comparators: Facet (analyzers/composition.py, read for the public description), DINOv3 (timm weights, offline). See also the short note.