Abstract
While Large Language Models (LLMs) have shown remarkable progress in general mathematical reasoning, their ability to apply specialized domain knowledge remains a significant hurdle. We introduce FormulaReasoning, a new bilingual dataset of over 5,000 junior high school physics problems designed to test explicit formula application. Our research identifies a "complexity cliff": while top-tier models approach human accuracy on standard problems, their performance collapses when faced with "coupled" questions requiring systems of equations. This work provides a new benchmark for process-supervised numerical reasoning and suggests that explicit knowledge anchors are essential for scientific accuracy.
Introduction: Beyond Commonsense Math
Most current numerical reasoning benchmarks, such as GSM8K, focus on "commonsense" mathematics—logic where operations are implied by natural language (e.g., "sharing equally" implies division). However, real-world scientific and engineering problems require explicit domain knowledge in the form of formulas, such as calculating heat absorption ($Q = cm\Delta t$) or thermal efficiency.
Existing datasets often suffer from two primary issues: they rely on implicit logic that fails to reflect specialized complexity, and they lack process supervision, providing only final answers. This makes it difficult to discern whether a model is truly reasoning or simply hallucinating a correct guess. FormulaReasoning addresses these gaps by using formulas as primary "knowledge anchors" for the reasoning process.
The FormulaReasoning Dataset
The authors developed a rigorous pipeline to create a high-quality, "formula-first" dataset consisting of 5,324 junior high school physics questions. The dataset features fine-grained annotations, including normalized reasoning steps, parameter names, symbols, and units.
As illustrated in the table above, FormulaReasoning provides a much higher density of questions requiring explicit formulas compared to traditional benchmarks like GSM8K or MATH. To push models further, the researchers also introduced FormulaReasoning+, a subset of 4,392 "coupled" questions that require solving for an intermediate value from one physics problem to solve a second, related problem.
Methodology
To ensure the dataset's quality and robustness against data leakage, several innovative methods were employed:
- Formula Normalization: A consolidated database of 272 distinct physics formulas was built by merging over 12,000 raw expressions using symbolic rules and semantic analysis.
- Question Alteration: To prevent models from relying on memorized exam questions, the researchers used "inverse transformation"—masking a known parameter and requiring the model to solve for it instead.
- Evaluation Paradigms: Models were tested using various techniques, including Chain-of-Thought (CoT), Program-of-Thought (PoT), and Retrieval-Augmented Generation (RAG) using the normalized formula database.
Key Results and the "Complexity Cliff"
The evaluation revealed that the primary struggle for LLMs is not arithmetic, but the selection and application of the correct formula. Even models with strong coding capabilities struggled to translate physical constraints into programmatic contexts.
As shown in the results, top-performing models like GPT-5 and o3-mini lead the field, reaching accuracy levels of ~90-92% on the standard set, nearly matching the human baseline of 92.03%. However, a massive performance drop-off occurs with increased complexity. On the harder FormulaReasoning+ set, these top models drop to ~74%, while mid-tier models like GPT-4o (67.5% on standard) are decimated, falling to roughly 16% accuracy.
Conclusion
FormulaReasoning demonstrates that explicit knowledge retrieval is a powerful tool for improving LLM reliability; providing models with relevant formulas via RAG consistently boosted performance. While current frontier models are nearing human capability on single-step formula application, multi-step "coupled" reasoning remains a significant challenge. Future work will look to expand this framework into other scientific disciplines like chemistry and finance to further bridge the gap between simple calculation and true domain expertise.
Summary updated