ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Minor

Vector Grimoire: Codebook-based Shape Generation under Raster Image Supervision

Marco Cipriano, Moritz Feuerpfeil, Gerard de Melo

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

Minor
Evidence 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 6666–91,91, 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 165165–189,189, and `evaluation/eval_Grimoire_MNIST.py`, lines 6060–85.85. In contrast, `evaluation/eval_im2vec.py`, lines 9595–119,119, uses the same Fréchet normalization flag but leaves CLIP rescaling at its default.

The loaders and raster conversion paths use floating [0,1][0,1] tensors. Official TorchMetrics source version 1.0.1 applies b=uint8⁡(255x)b=\operatorname{uint8}(255x) before passing the tensor to any feature module, including the custom wrapper [tm]. No author wrapper divides this value by 255.255. The official Transformers 4.31.0 CLIP processor defaults to rescaling by 1/2551/255 before mean/standard-deviation normalization [hf].

Pinned TorchMetrics 1.0.1 and Transformers 4.31.0 behavior. Raster helper outputs float images in [0,0,11]. 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 x=1x=1 becomes byte b=255.b=255. With default CLIP red-channel mean μ=0.48145466\mu=0.48145466 and standard deviation σ=0.26862954,\sigma=0.26862954, zGrimoire=255−μσ≃947.4704,zdefault=255/255−μσ≃1.9303.z_{\rm Grimoire}=\frac{255-\mu}{\sigma}\simeq947.4704, \qquad z_{\rm default}=\frac{255/255-\mu}{\sigma}\simeq1.9303. For float half-intensity, byte conversion gives 127,127, with red-channel normalized values approximately 470.9778470.9778 and 0.06174.0.06174. 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 1/2551/255 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.

□\square

Possible revision

Apply one consistent image range and CLIP rescaling policy; with the byte path, retain processor rescaling by 1/255.1/255.

Problem 2. PSNR does not have a recoverable reference-pairing protocol

Needs Evidence
Evidence and reasoning

Problem statement

Section 5.4 and Table 4, p. 8, use PSNR on 2020 generated User samples to argue that alternatives fall farther from the target dataset distribution. Values are 45.1945.19 dB for Grimoire, 28.6828.68 for CLIPDraw, 36.6236.62 for VectorFusion, and 34.5334.53 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 XX and generated image Y,Y, PSNR depends on a paired error and specified range R:R: PSNR⁡=10log⁡10R2MSE⁡(X,Y).\operatorname{PSNR}=10\log_{10}\frac{R^{2}}{\operatorname{MSE}(X,Y)}. Under independent pairing, E∥X−Y∥2=tr⁡ΣX+tr⁡ΣY+∥μX−μY∥2.\mathbb E\|X-Y\|^{2} =\operatorname{tr}\Sigma_X+\operatorname{tr}\Sigma_Y +\|\mu_X-\mu_Y\|^2. A generator collapsed to μX\mu_X has expected MSE tr⁡ΣX;\operatorname{tr}\Sigma_X; an independent correct generator has 2tr⁡ΣX.2\operatorname{tr}\Sigma_X. 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.

Submit an author revisionContribute a review