8 Evaluating “in the same vein”
There is no single metric; a small battery computed in R against the corpus is more honest.
- Local pattern statistics. KL divergence between the \(k \times k\) window distributions of output and corpus (Lucas and Volz 2019). Cheap, interpretable, and the natural measure for a WFC/MRF method.
- Novelty vs copying. Largest window of the output that occurs verbatim in the corpus, and the share of output covered by verbatim copies. Guards against quilting or large-\(N\) WFC simply reproducing a source chart. Since verbatim motifs are allowed (Helga, 2026-11-23), this is reported per region (original vs derived slots), not used as a pass/fail gate.
- Global structure. Detected symmetry group and period (Liu et al. 2004), fill ratio, motif count. Compare their distributions to the corpus.
- Perceptual style. Gram-matrix distance on CNN features (Gatys et al. 2015), or SIFID as used by SinGAN (Shaham et al. 2019); FID (Heusel et al. 2017) needs more samples than we have.
- Knittability. Maximum float length per row (after margin trimming), colours per row, isolated single stitches. These are pass/fail gates, not style scores.
- Human judgement. A small blind test with HiDEF members: corpus vs generated, which is which. In the end this is the measure that matters.
All metrics must be computed on outputs regenerated from stored seeds, so the evaluation itself is reproducible.