Vector Grimoire: Codebook-based Shape Generation under Raster Image Supervision
ELVIA analysis
Independent review pending
The shape representation, quantization and geometric objectives, generation metrics, postprocessing and available release code were inspected. The current release feeds inconsistent intensity scales into the CLIP feature extractors used for Grimoire and Im2Vec Fréchet evaluation. This is a demonstrated release-level defect under its pinned dependencies; historical score provenance is unresolved. The PSNR-based distribution comparison also requires its unprovided reference protocol. The geometric penalty’s behavior does not establish a failure of the joint training objective. The supported overall impact is Minor, with empirical subitems marked Needs Evidence and scientific adjudication pending.
Problem 1. Inconsistent CLIP input rescaling in the current released FID comparison
MinorEvidence and reasoning
Problem statement
Sections 5.1–5.2 and Appendix A.12 use CLIP-image features for the reported Fréchet metric. This is a disclosed CLIP-feature distance, not conventional Inception-feature FID. A comparison requires a common feature mapping for all methods.
The release pins `torchmetrics==1.0.1` and `transformers==4.31.0`. Its `evaluation/eval_ART_strokes.py`, lines – constructs `FrechetInceptionDistance(feature=wrapper, normalize=True)`, but the wrapper calls the CLIP processor with `do_rescale=False`. The same combination appears in `eval.py`, lines – and `evaluation/eval_Grimoire_MNIST.py`, lines – In contrast, `evaluation/eval_im2vec.py`, lines – uses the same Fréchet normalization flag but leaves CLIP rescaling at its default.
The loaders and raster conversion paths use floating tensors. Official TorchMetrics source version 1.0.1 applies before passing the tensor to any feature module, including the custom wrapper [tm]. No author wrapper divides this value by The official Transformers 4.31.0 CLIP processor defaults to rescaling by before mean/standard-deviation normalization [hf].
Pinned TorchMetrics 1.0.1 and Transformers 4.31.0 behavior. Raster helper outputs float images in []. Current release is not assumed to be the historical experiment revision.
Proof
The Grimoire and baseline feature pipelines do not apply the same preprocessing under the declared dependency versions.
Consider a spatially constant white RGB image, so resizing and cropping do not alter its values. Float input becomes byte With default CLIP red-channel mean and standard deviation For float half-intensity, byte conversion gives with red-channel normalized values approximately and The black case agrees, showing why checking only zero pixels would miss the defect. Independent scalar calculations reproduce these values without executing author code or downloaded dependency code.
The evaluators apply different preprocessing maps, so their outputs cannot be interpreted as scores from one common intended CLIP feature pipeline. Both real and generated images pass through each evaluator’s own map; that symmetry does not make cross-evaluator feature definitions identical.
The supported impact is Minor, confined to the acquired release. The historical environment and entrypoints producing the paper’s tables are unbound, so published rankings and numerical changes remain Needs Evidence. No CLIP weights or image features were computed, and no numerical change in Fréchet distance is claimed.
A verified local correction is to restore the processor’s rescaling after TorchMetrics’ byte conversion, consistently across evaluators. Another option is an explicitly shared floating-input feature pipeline with redundant conversion removed. Only the input-unit correction is established; complete evaluator execution and table recomputation remain outstanding. Author source files were preserved without modification.
Possible revision
Apply one consistent image range and CLIP rescaling policy; with the byte path, retain processor rescaling by
Problem 2. PSNR does not have a recoverable reference-pairing protocol
Needs EvidenceEvidence and reasoning
Problem statement
Section 5.4 and Table 4, p. 8, use PSNR on generated User samples to argue that alternatives fall farther from the target dataset distribution. Values are dB for Grimoire, for CLIPDraw, for VectorFusion, and for SVGDreamer. The inspected text and acquired source do not specify reference-image pairing, alignment, pixel range or aggregation. Static searches found no PSNR evaluator.
For reference and generated image PSNR depends on a paired error and specified range Under independent pairing, A generator collapsed to has expected MSE an independent correct generator has This illustrates why paired fidelity alone is not a distributional guarantee. It does not assert that the authors used this pairing or aggregation.
PSNR requires defined reference/sample pairs and pixel range. Independent pairing is only a diagnostic possibility, not attributed to the actual experiment.
Verification
The ancillary SDS comparison lacks the correspondence needed to interpret its quantitative evidence.
The assessment is Needs Evidence. Supply the evaluator, reference/generated sample list, pairing and range definitions, and explain what aspect of distributional matching is measured. Figure 10 visibly illustrates a style difference among its selected samples; it does not determine the missing quantitative protocol. Reconstruction MSE and other comparisons remain separate evidence.
Possible revision
Provide evaluator, paired reference/generated image identifiers, alignment, range and aggregation.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
We demonstrate the effectiveness of our method by fitting GRIMOIRE for closed filled shapes on MNIST and Emoji, and for outline strokes on icon and font data, surpassing previous image-supervised methods in generative quality and the vector-supervised approach in flexibility.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1, Abstract
Actual review scope
The recorded inspection concerns these source locations: Section 5.2/A12; requirements.txt; eval.py and evaluation scripts; Section 5.4, Table 4, appendices A1–A19.