← Lab /AI/ML

Numeric-remapping attacks cut GSM8K accuracy by up to 25.8 percentage points

LLMs lose 12.16-25.82% accuracy on GSM8K when numbers are remapped but reasoning stays the same

AI/ML arXiv 2 Jun 2026 Measurement Prototype evidence

Published as “Testing LLM Arithmetic Reasoning Generalization with Automatic Numeric-Remapping Attacks”

Why it matters

Numeric-remapping provides a practical diagnostic to reveal that high benchmark scores may overstate a model’s stable arithmetic reasoning ability, especially on datasets like GSM8K.

Summary

Numeric-remapping attacks cause sizable accuracy drops on GSM8K (up to 25.82 percentage points), while MAWPS and MultiArith see only minor drops (≈1-2 pp). The paper shows this by automatically generating schema-preserving numeric variants and evaluating DeepSeek-R1, Gemma4, and GPT-OSS, with evidence from conditional attacked accuracies reported for each dataset.

What they found 2

  1. Gemma4’s conditional attacked accuracy on GSM8K drops to 74.18%, a 25.82-point decrease.

    “Gemma4 falls to 74.18% conditional attacked accuracy, corresponding to a 25.82-point conditional drop.”

  2. GPT-OSS remains the strongest GSM8K model but still loses 12.16 percentage points after numeric remapping.

    “GPT-OSS remains the strongest completed GSM8K result at 87.84%, but still loses 12.16 percentage points relative to the baseline-correct source subset.”

Caveats 6

  • On MAWPS, completed model results are above 98% conditional attacked accuracy, with GPT-OSS reaching 98.81%, and Gemma4 reaching 98.25%.
  • For MultiArith, GPT-OSS answers all retained attacks correctly, while Gemma4 and DeepSeek-R1 remain between 98.25% and 98.42%.
  • First, the empirical evaluation focuses on numeric remapping only.
  • Second, the attacked evaluation is conditional on the source model’s original correctness and on successful attack generation.
  • Third, the final attack sets are intentionally conservative.
  • Fourth, attack validity is checked primarily through automatic validation rather than exhaustive manual verification.

What’s new here 4

  • Automatic generation of numeric-remapping attacks without hand-crafted schemas or extensive manual validation.
  • A staged pipeline that extracts symbolic problem representations, applies constrained numeric changes, and recomputes the gold answer.
  • A high-confidence post-hoc audit that filters out potentially invalid transformed questions.
  • Conditional robustness evaluation that measures accuracy drop on examples the source model originally solved correctly.