Abstract
Physics reasoning represents a significant challenge for Large Language Models (LLMs), requiring the seamless integration of linguistic comprehension, conceptual knowledge, and mathematical precision. This paper introduces MoRA (Mixture of Refinement Agents), an agentic framework designed to iteratively identify and correct physics-related errors. By categorizing failures into miscomprehension, conceptual, or computational mistakes, MoRA routes problems to specialized agents that utilize external tools such as GraphRAG for conceptual retrieval and Python code execution for mathematical verification. Experimental results demonstrate that MoRA significantly enhances the performance of open-source models, yielding accuracy improvements of up to 16% on specialized physics benchmarks.
Introduction
While Large Language Models (LLMs) have achieved remarkable success across various academic domains, physics remains a particularly difficult "final boss." Solving a physics problem is rarely a single-step process; it requires a three-tiered integration of distinct cognitive skills. First, the model must correctly interpret variables and objectives (Problem Comprehension). Second, it must select the appropriate physical laws and formulas (Conceptual Mapping). Finally, it must execute multi-step algebraic or arithmetic operations without error (Computation).
Current open-source models frequently stumble at one or more of these stages. A critical bottleneck identified by researchers is the models' inability to self-correct; when prompted to "think again," they often repeat the same hallucinated formulas or arithmetic errors rather than identifying the root cause of the failure.
Categorizing Physics Errors
To address these failures, the researchers established a taxonomy of common errors encountered by LLMs in physics tasks. These are broadly classified into three categories:
- Problem Miscomprehension: Misinterpreting the given variables or the final goal of the question.
- Incorrect Concept Application: Selecting the wrong physical principle or formula (e.g., using a point-mass moment of inertia formula for a complex geometric solid).
- Computational Error: Making arithmetic mistakes during calculation, often due to the probabilistic nature of next-token prediction.
The MoRA Framework
The proposed MoRA (Mixture of Refinement Agents) framework treats error correction as a specialized routing and tool-use problem. Rather than relying on a single model to "fix everything," MoRA employs an iterative loop guided by a high-reasoning "Judge" model (GPT-4o).
Iterative Refinement Process
The process begins with Error Identification, where the Judge analyzes the base model's solution and assigns flags or scores (0 to 1) for comprehension, conceptual accuracy, and computational precision. Based on this diagnostic feedback, the solution is routed to one of three specialized agents:
- Miscomprehension Agent: Uses targeted prompting to realign the model with the question's actual requirements.
- Concept Refinement Agent: When conceptual errors are detected, this agent utilizes GraphRAG to query an external physics knowledge base, providing the model with the correct "textbook" context it may lack internally.
- Computational Refinement Agent: To eliminate arithmetic hallucinations, this agent generates and executes Python code. This ensures that calculations are performed by a deterministic engine rather than a probabilistic language model.
Experimental Setup and Results
The researchers evaluated MoRA using several benchmarks, including SciEval-Static, MMLU, and a newly curated PhysicsQA dataset consisting of 370 intermediate-level high school physics problems. This new dataset provides a balanced challenge across Mechanics (21.8%), Electromagnetism (29.8%), and Thermodynamics (15.7%).
The results show that MoRA provides a substantial performance boost over standard Chain-of-Thought (CoT) prompting:
- Llama-3-70B: Accuracy on PhysicsQA improved from 56.76% to 70.14% (a ~13.4% jump).
- Gemma-2-27B: Accuracy rose from 54.59% to 70.62%, a nearly 16% improvement.
- Efficiency: The "Concept Refinement" agent was exceptionally successful, achieving a 100% refinement rate on MMLU datasets for both Llama and Gemma, highlighting the power of external knowledge retrieval in correcting formula errors.
Conclusion
The MoRA framework demonstrates that improving LLM reasoning in specialized fields like physics requires a structured "order of operations": Comprehension → Concept → Computation. By using frontier models as diagnostic tools to guide smaller, open-source models through tool-augmented refinement steps, researchers can bridge the gap between general-purpose AI and specialized scientific reasoning. Future work will focus on reducing the dependency on proprietary "Judge" models and scaling these techniques to more advanced theoretical physics.
Summary updated