Position: All Current Generative Fidelity and Diversity Metrics are Flawed
ELVIA analysis
Independent review pending
The first reported finding concerns “Released C-Prec and C-Rec measurements are swapped and routed to opposite criteria”. Exchanging the arguments could compensate for the reversal, but the actual callers pass real then synthetic, and the base class and local assignments confirm that order. A subsequent relabelling could also compensate, but the inspected aggregation and printing paths preserve the keys. The correct inequality inside `PR_Cover_Indicator` does not fix the orientation error. Nor does the different neighbour-radius rounding: the witness works under both choices.
0057-P1 — Released C-Prec and C-Rec measurements are swapped and routed to opposite criteria — Counterevidence: No evidence that every published PDF number was generated by this exact release; no author code executed
Problem 1. Released C-Prec and C-Rec measurements are swapped and routed to opposite criteria
MajorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
Let R be the real embedded sample and G the generated embedded sample. For a sample point x in S, let b_S(x) be the distance to its k-prime-th nearest neighbour in S, excluding x itself. Define a ball using distance at most b_S(x). With k positive, the intended empirical cover scores are:
The paper identifies C-Prec as fidelity and C-Rec as diversity in Table 1 (p. 4), and bases the evaluations and practitioner guidance on that distinction. Its publisher-linked README says the released workflow produces Tables 3 and 4 [E1-E3].
The inspected path is:
`sanity_checks/gaussian_mixture.py` constructs a metric computer with real data, then calls `compute_metric` with synthetic data.
`metrics/metric_computer.py::MetricComputer` fits StandardScaler on the real data and applies that same transformation to both sets.
`metrics/precision_recall_cover/precision_recall_cover_computer.py::PrecisionRecallCoverComputer.compute_metric` explicitly sets P to scaled real data and Q to scaled synthetic data.
Its first loop counts sufficiently covered real-centred balls and returns that average as `precision_cover`. Its second loop counts sufficiently covered synthetic-centred balls and returns that average as `recall_cover`.
`experiment_config.py::metric_types` maps these keys to fidelity and diversity, respectively. `sanity_check_criteria.py::CriterionSeparatorByMetricType` selects the corresponding tests. `aggregate_pass_fail_tables.py::print_metric_names` prints the keys as C-Prec and C-Rec without reversing them.
Thus the computed quantities are the opposite of the intended named measurements. The inspected class is the one registered in the benchmark; the finding does not depend on its unused duplicate function.
finite distinct one-dimensional samples; positive real variance; valid neighbor counts; no cross-radius ties; common positive affine standardization preserves all counts.
Proof
Judgment: Major, scoped to the core public implementation.
Choose:
`R = {4i : 0 <= i < 500} union {100000 + 4i : 0 <= i < 500}`
`G = {2j + 1 : 0 <= j < 1000}`
The generated sample covers the first real cluster and omits the second. Each set has exactly distinct finite points. R has nonzero variance. Cross-set distances are odd integers while within-set radii are even, so no cross-ball boundary tie occurs. StandardScaler applies a common translation and positive rescaling in one dimension; every comparison remains unchanged.
The target paper prescribes k-prime = ceil(log() + ) = and k = ceil() = The released constructor instead uses a 15-neighbour radius with The discrepancy below holds for both:
Radius convention | Cross-counts at retained real points | Cross-counts at omitted real points | Cross-counts at generated points
Printed defaults: k-prime = | | |
Released defaults: k-prime = | | |
Every generated-centred ball contains at least five real points, so PC = Exactly of the real-centred balls contain at least five generated points, so RC = The released dictionary, by its statically established semantics, reports precision_cover = and recall_cover =
The reviewer-authored standard-library script `code_audit/independent_cover_check.py` enumerates integer distances and counts. Its saved JSON records these outputs. It never imports or invokes author code [E5].
Possible revision
Return generated-centered covered fraction as precision and real-centered covered fraction as recall; then re-evaluate criteria.
Problem 2. Reversed inequalities in Eqs11-12
MinorEvidence and reasoning
Problem statement
Inspection subject recorded in the report
Let R be the real embedded sample and G the generated embedded sample. For a sample point x in S, let b_S(x) be the distance to its k-prime-th nearest neighbour in S, excluding x itself. Define a ball using distance at most b_S(x). With k positive, the intended empirical cover scores are:
Reversed inequalities in Eqs11-12.
Proof
Judgment: Minor, limited to the documented metric specification.
Location. Appendix A, physical p. 13, Eqs. (11)-(12), visually inspected. Each indicator uses a cross-count at most k, whereas the intended method requires at least k [E1, E4].
For a complete check, use r_i = i/1000 and g_i = + i/1000, ,…, Both sets contain distinct points. With the paper’s k-prime = and every within-set radius is at most whereas the smallest cross-set distance is Every cross-count is zero. Therefore:
- Printed Eqs. (11)-(12) give C-Prec = C-Rec =
- The intended cover definitions give PC = RC =
Open versus closed balls does not change this example. The same zero-count argument applies to separated compact supports with all within-support diameters smaller than their separation. The error is established without interpreting a numerical plot [E6].
Reversing both signs to “at least” restores the cited empirical definitions exactly. This repair does not fix Problem 1. The local Minor judgment rests on the demonstrated scope: this is an incorrect printed specification, while the actual predicate in the released implementation already uses the intended direction. No false derived theorem or additional experimental corruption was established from this sign error alone.
Possible revision
Replace <=k with >=k in both indicators.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Based on these desiderata and the results of our checks, we arrive at our position: all current generative fidelity and diversity metrics are flawed.
Published ICML 2025 proceedings PDF (PMLR 267); Abstract, PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: pp. 1-2 implementation/benchmark contribution p. 4 Table 1 p. 13 AppendixA repository PrecisionRecallCoverComputer.compute_metric, experiment_config.metric_types, CriterionSeparatorByMetricType, print_metric_names; p. 13 AppendixA Eqs11-12.