FormInv: A Measurement Protocol for Semantic Invariance in Mathematical Reasoning Benchmarks

Thomas, Nishal, Thomas, Noel

–arXiv.org Artificial Intelligence 

Abstractmodel dominates on all paraphrase families, the A paraphrase-quality audit of MathCheck (Zhoufamilies a benchmark chooses to include implicet al., 2024b) detected 4 semantically-incorrectitly fix its model ranking (a No-Free-Benchmark corollary). FormInv supplies the audit protocolparaphrases in 129 groups (3.1%); removing (which reranks the published MathCheck bench-them drops GPT-4o from rank 2 to rank 4 and elevates Claude Haiku and DeepSeek V3 abovemark), the difficulty-controlled CIR and SCR it; these ranking changes are invisible to anyas invariance measures (with a proposed persingle-model evaluation. Cross-model unanim-theorem Cochran's Q significance test) evaluated on 9 models across 366-811 items whose canon-ity found these errors automatically ( 3/4modical statements are Lean4-verified (paraphrasesels for MathCheck; 6/9 for our primary evaluation) for under $10; in our own dataset theare CASand expert-verified, with the crosssame protocol found that 47% of auto-generatedmodel audit as a third verification layer), and connective-variation paraphrases were semanti-FormInvSelector for regime-aware model selection.cally On the theorems every model answers correctly in canonical form, where accuracy is identical by construction, a seman-1. Introduction tically equivalent rewording still flips the an-Consider two questions about the same theorem: "Is it true swer for 5-42% of them: Claude Haiku 4.5 thatx 0 for every real number x?" and "For any real flips a known-correct answer 9 as often asx, is 0 x?" These statements are logically equivalent DeepSeek V3 (41.9% vs. 4.7% on the 43 the- (under Lean4 real analysis conventions). Yet Claude Sonorems all models share), a 37-point difficulty-net answers the first correctly and the second incorrectly controlled gap we call the Conditional Incon-across 16.7% of comparison-order paraphrases (F6). The CIR ranking replicates 4o fails this class of transformation at 0.0%. Reverse the on an independent 103-theorem set. Raw Se-family: ask both models to recognize a definition by expanmantic Consistency Rates (SCR) span 50-82% sion (F7), and the ranking reverses: GPT-4o fails at 10.0% across 9 models, but we show this cross-modelwhile Claude fails at 6-8%. The same pair of frontier modspread is mostly a mechanical consequence ofels, the same theorems, opposite weaknesses. Model rankcompounding accuracy over k 6 paraphrases; ings reverse across paraphrase families. This is the phewhat is not mechanical, and what CIR isolates, nomenon FormInv was built to measure. But the reversal is is the within-theorem clustering of failures (SCRa symptom of a more general problem in how benchmarks sits 9 points above an independence null, p < are built and read, and FormInv's primary contribution is 0.01 for 6 of the 8 models tested).