Abstract
Physics problems constitute a significant aspect of reasoning, necessitating complicated reasoning ability and abundant physics knowledge. However, existing large language models (LLMs) frequently fail due to a lack of knowledge or incorrect knowledge application. To mitigate these issues, we propose Physics Reasoner, a knowledge-augmented framework to solve physics problems with LLMs. Specifically, the proposed framework constructs a comprehensive formula set to provide explicit physics knowledge and utilizes checklists containing detailed instructions to guide effective knowledge application. Namely, given a physics problem, Physics Reasoner solves it through three stages: problem analysis, formula retrieval, and guided reasoning. During the process, checklists are employed to enhance LLMs’ self-improvement in the analysis and reasoning stages. Empirically, Physics Reasoner mitigates the issues of insufficient knowledge and incorrect application, achieving state-of-the-art performance on SciBench with an average accuracy improvement of 5.8%.
Introduction: The Challenge of Physics Reasoning
Despite the significant advances in Large Language Models (LLMs), solving complex physics problems remains a formidable challenge. Unlike general reasoning tasks, physics requires a precise combination of mathematical logic and domain-specific knowledge. Current models often struggle not because they lack computational power, but due to two primary failure modes: Knowledge Deficiency and Knowledge Misapplication.
As illustrated in Figure 1, a model may fail by simply lacking the specific nuclear physics knowledge required to identify charges (Deficiency) or by incorrectly structuring a known formula, such as placing a constant in the denominator rather than the numerator (Misapplication). While techniques like Chain-of-Thought (CoT) and Program-of-Thought (PoT) improve logical flow, they do not inherently solve the underlying "physics ignorance."
Methodology: The Physics Reasoner Framework
To address these gaps, the Physics Reasoner framework introduces a structured, three-stage process that moves away from single-shot prompting toward a deliberate, iterative reasoning cycle.
1. Problem Analysis
The model first extracts known variables from the problem text and formats them into Python code. To ensure accuracy, the framework employs a Checklist for Problem Analysis (CLPA). This checklist prompts the model to verify if it has overlooked hidden variables, confused vectors with scalars, or failed to convert units to the standard SI system.
2. Knowledge Retrieval
Rather than relying on the model's internal, often probabilistic memory, Physics Reasoner queries a curated Formula Set. This set consists of 122 representative college-level formulas across four major fields: Fundamental Physics, Celestial Mechanics, Electricity, and Thermodynamics. Each entry includes detailed variable definitions and specific application conditions to prevent context-related errors.
3. Guided Reasoning
In the final stage, the model generates Python code to solve the problem using the retrieved formulas. This stage is governed by a Checklist for Guided Reasoning (CLGR), which forces the model to double-check the physical validity of its approach—for example, ensuring that a collision is correctly identified as elastic or inelastic before applying conservation laws. The final result is obtained by executing the refined code in a deterministic Python interpreter, eliminating arithmetic errors.
Experimental Evaluation
The framework was evaluated on two rigorous benchmarks:
- SciBench: A collection of college-level scientific problems focusing on classical dynamics, thermodynamics, and electromagnetism.
- TheoremQA: A broader dataset testing generalization across various scientific domains.
Key Results
Physics Reasoner achieved state-of-the-art performance, with an average accuracy improvement of 5.8% across SciBench. The framework proved highly scalable; for instance, GPT-3.5-turbo’s accuracy rose from 18.3% to 29.1%, while GPT-4-turbo reached a peak of 53.0%.
Manual analysis, as shown in Figure 2, confirms that the framework significantly reduces the prevalence of knowledge-related errors. By providing a structured "physics handbook" and a "tutor’s checklist," the system effectively halved the rate of knowledge misapplication in specific datasets compared to standard baselines.
Conclusion and Future Work
Physics Reasoner demonstrates that for specialized domains, structured knowledge retrieval and explicit self-correction checklists are more effective than broad fine-tuning. By grounding LLM reasoning in verified formulas and deterministic code execution, the framework bridges the gap between linguistic understanding and physical accuracy.
Future work will focus on automating the expansion of the formula set to cover more advanced fields like quantum mechanics and developing more dynamic, multi-loop reasoning paths to handle increasingly abstract scientific inquiries.
Summary updated