TL;DR
Popular benchmarks for translating natural language to first-order logic (FOLIO and MALLS) are riddled with errors, containing incorrect logical formulas in over 42% of their samples. This paper provides corrected ground truths for these datasets—revealing that current benchmarks drastically underestimate LLM performance—and introduces an LLM-assisted framework that cuts human data-cleaning effort by up to 15x.
What Problem Does This Paper Address?
Autoformalization—the automatic translation of natural language (NL) into machine-readable First-Order Logic (FOL)—is a cornerstone of neurosymbolic AI and rigorous AI safety verification. To measure progress, the community relies heavily on datasets like FOLIO and MALLS.
However, these benchmarks have never been thoroughly audited. If the ground-truth formulas are wrong or deeply ambiguous, we cannot accurately measure model capabilities. The authors set out to quantify this dataset noise and find a scalable, human-in-the-loop way to fix it.
Methods
The authors first conducted a rigorous human audit of the datasets. To scale up the cleanup process without requiring exhaustive human review of every single sample, they designed a Verdict-and-Refinement (V&R) task. Given an NL sentence, a candidate FOL formula, and an ontology, an LLM acts as a judge to provide a three-way verdict (yes for correct, no for incorrect, or ? for ambiguous/uncertain) along with a corrected refinement formula if needed.
They tested two pipeline architectures:
- Pipeline 1 (Direct V&R): The LLM evaluates the dataset's original formula directly.
- Pipeline 2 (Re-generation and V&R): The original formula is discarded, the LLM generates a fresh translation from scratch, and then evaluates its own generation.
Crucially, they discovered that LLMs rarely label a correct formula as incorrect. By sorting the review queue so that malformed, uncertain (?), and rejected (no) formulas are checked first, human annotators can focus exclusively on the most error-prone data.
Datasets
The study audits and provides corrected ground truths for two major benchmarks, using a third high-quality dataset as a control:
- FOLIO (Validation split, 275 instances): An advanced benchmark mapping multi-sentence stories and conclusions to logic.
- MALLS (Test subset, 100 instances): A large-scale dataset synthetically generated by GPT-4.
- GGC (Grade Grinder Corpus, 213 instances): A highly reliable, instructor-verified dataset used as a control to ensure the LLM pipelines don't introduce noise into already-correct data.
The audit revealed staggering error rates: 42.5% of FOLIO and 42% of MALLS instances contained incorrect FOL formalizations. Furthermore, natural language ambiguity was rampant, affecting 51% of MALLS sentences.
Key Insights and Ideas
- The "Better Model" Penalty: Annotation noise disproportionately punishes stronger models. When evaluated against the original flawed benchmarks, top-tier models look mediocre because they generate correct logic that disagrees with the incorrect ground truth.
- Asymmetric LLM Judgments: LLMs are highly specific when validating correct logic—they rarely generate false positives for correctness. This asymmetry makes them incredibly effective first-pass filters for human-in-the-loop workflows.
- The Ambiguity Trap: A huge portion of dataset failures aren't logical errors but linguistic ones. The authors cataloged recurring ambiguities (like inclusive vs. exclusive
either_oror plural nouns) to help future dataset creators establish clear canonical rules.
Key Results
- Massive Performance Shifts: Re-evaluating state-of-the-art LLMs (Gemma 4 31B-it, Qwen3-30B-A3B, and GPT-4o-mini) on the corrected datasets yielded massive accuracy jumps between +11 and +23 percentage points on FOLIO.
- 15x Efficiency Gains in Curation: Using the framework's prioritization queue with Gemma 4, a human reviewer can achieve 90% dataset accuracy after reviewing fewer than 20% of instances for FOLIO, and just 5% of instances for MALLS (a 15x reduction compared to unguided random review).
Limitations and Future Work
The authors note that dataset curation is inherently subjective, meaning minor residual errors or alternative interpretations of ambiguity might still exist. Additionally, their ambiguity flagging criteria are not yet fully standardized across the broader NLP community.
Moving forward, they plan to scale this pipeline to the full training splits of FOLIO and MALLS. They also suggest exploring iterative refinement loops to increase pipeline autonomy and adding a dedicated NLP pre-processing stage specifically designed to detect and resolve linguistic ambiguities before the formalization step even begins.
Summary updated