FactTest: Factuality Testing in Large Language Models with Finite-Sample and Distribution-Free Guarantees
ELVIA analysis
Independent review pending
The distribution-free Type I calibration survives the checks performed here. The power analysis, however, assumes a posterior-threshold characterization of the optimal rule that fails when the true posterior has atoms, even if the estimated score is continuous. This invalidates a step supporting a central theoretical contribution under the stated generality. A separate example shows why a quantile envelope for rejection sampling does not inherit the exact covariate-shift guarantee. The released scripts also omit a small-sample threshold branch and interchange two metric labels. None of these checks establishes that the reported benchmark measurements are false.
Problem 1. the optimal posterior threshold need not exist
MajorEvidence and reasoning
Problem statement
Section 2.3 asserts optimal deterministic rule always has strict posterior-threshold form; proof of Theorem 2.2 uses exact posterior tails. uniform, independent fair Bernoulli, continuous approximate score +epsilon(2X-1), identity.
Proof
Section 2.3 (p. 3) asserts that an optimizer over deterministic measurable classifiers has the form Theorem 2.2 assumes a continuous estimated score under This does not imply that has no atoms. The proof on p. 14 subsequently uses the exact equalities and
Here is a counterexample to this characterization. Take uniform on with an independent fair Bernoulli variable. Thus is uniform and For any every strict threshold of either accepts everyone, violating the constraint, or accepts nobody, with Yet is admissible and strictly better. In fact every admissible rule has power at most so this rule is optimal. Taking to be the identity and supplies a continuous score and the required uniform approximation for arbitrarily small positive
The difficulty occurs before the bound can be evaluated: the stated optimal-threshold parameters are not defined as claimed for this distribution. This is not presented as a numerical counterexample satisfying an additional, implicit assumption that those exact posterior quantiles already exist. Rather, it disproves the asserted general characterization and identifies the missing hypothesis in the power theorem and proof. Sample-size conditions and continuity of the estimated score do not remove the posterior atom.
A restriction ensuring exact posterior tail probabilities at and would eliminate this particular obstruction. Alternatively, a boundary-selection or randomized NP rule needs an explicit definition and a new excess-risk argument. The full repaired power bound is not certified here. The finding is Major because the defective step supports the paper’s central Type II guarantee. The Type I theorem, which uses arbitrary scores rather than posterior optimality, remains intact.
Possible revision
State exact posterior boundary assumptions or redo analysis with boundary selection. Full repaired bound unverified.
Problem 2. Released threshold selection implements all-sample-size construction.
MinorEvidence and reasoning
Problem statement
Released threshold selection implements all-sample-size construction. = = = sorted ten scores.
Proof
The stored-score branch in `calibration/HotpotQA/calculate_vanilla_threshold.py`, lines – accumulates the binomial upper tail downward and reads `certainties[k]` when the sum first exceeds In the ordinary interior case this indexing corresponds correctly to But for the first term is the branch immediately requests index of a ten-element array. The paper instead prescribes the sentinel The loop also excludes so it is not a complete implementation for all parameter regimes. This is a static control-flow demonstration, not an executed author-code failure. An explicit full-domain selection with the sentinel repairs the identified boundary case; no full implementation certification is claimed. This release-only finding is Minor.
Possible revision
Handle k=n0+ sentinel explicitly and enumerate entire domain.
Problem 3. Evaluation labels identify FPR and FNR.
MinorEvidence and reasoning
Problem statement
Evaluation labels identify FPR and FNR. TP3 FP1 TN4 FN2.
Proof
The final two print statements in `evaluation/HotpotQA/eval.py` label as `fnr`, and as `fpr`. For the true rates are and respectively, but those labels are interchanged. Relabeling the outputs is a local correction. The inspected comparator itself is correctly strict, preserving tie conservatism. This is Minor; the frozen release alone does not prove which script or post-processing generated the published tables.
Possible revision
Swap printed labels and independently verify table-producing version.
Problem 4. Whether the disclosed practical estimated-ratio/percentile-envelope implementation inherits the exact shift guarantee.
Needs EvidenceEvidence and reasoning
Problem statement
Whether the disclosed practical estimated-ratio/percentile-envelope implementation inherits the exact shift guarantee. Exact oracle conditional ratios but percentile rather than global envelope; covariate shift attainable with independent Y.
Verification
Theorem 3.1 (p. 4) explicitly assumes the exact conditional density ratio and a global upper bound Under those assumptions, accepting each source sample with probability indeed gives the target conditional law; the proof is sound. Section 5.4 (p. 8) instead estimates and takes a 90th-percentile envelope. Appendix C.4 specifies logistic-regression estimation, without an error bound. These are disclosed practical choices, but they do not retain the theorem’s guarantee.
Even with an oracle ratio, clipping at a quantile changes the accepted law to a density proportional to relative to For a two-stratum example, set The 90th percentile under either source or target is Every source point is then accepted because both ratios are at least so the retained distribution is the source, not the target. Choose score and With probability the calibration sample contains no point of and the calibrated threshold is zero. The target FPR is then This obeys covariate shift by taking independent of the stratum in both domains. If points above are discarded instead of clipped, the rare target stratum is also lost.
This example refutes transfer of the exact guarantee to that quantile-envelope rule, not Theorem 3.1. It does not reproduce ParaRel-OOD or establish that its observed curve is incorrect. Section 5.4 explicitly presents these choices and conclusions as an experimental evaluation. Its wording can therefore reasonably be read as a statement about the displayed empirical curves, rather than a claim that the estimated/truncated implementation satisfies Theorem 3.1. The counterexample establishes a limit on transferring that theorem; it does not establish a false empirical claim in the paper. This is a scope clarification, with any stronger practical guarantee or historical violation requiring further evidence. A general guarantee for this implementation would need a ratio-error and truncation correction.
Possible revision
Keep the empirical reading; a stronger guarantee would require ratio-error/truncation analysis, but no demonstrated claim-level correction is imposed.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Notably, we prove that FACTTEST also ensures strong Type II error control under mild conditions and can be extended to maintain its effectiveness when covariate shifts exist.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1, Abstract
Actual review scope
The recorded inspection concerns these source locations: Physical pp. 3–4; proof p. 14, part 2.; p. 8 §5.4, p. 17 C.4 versus p. 4 Theorem 3.1.; calibration/HotpotQA/calculate_vanilla_threshold.py lines85–101; p. 3 sentinel.; evaluation/HotpotQA/eval.py final print statements.