Abstract
Large Language Models (LLMs) are playing an expanding role in physics research by enhancing reasoning, symbolic manipulation, and numerical computation. However, ensuring the reliability and interpretability of their outputs remains a significant challenge. In our framework, we conceptualize the collaboration between AI and human scientists as a dynamic interplay among three modules: the reasoning module, the interpretation module, and the AI-scientist interaction module. Recognizing that effective physics reasoning demands rigorous logical consistency, quantitative precision, and deep integration with established theoretical models, we introduce the interpretation module to improve the understanding of AI-generated outputs, which is not previously explored in the literature. This module comprises multiple specialized agents, including summarizers, model builders, UI builders, and testers, which collaboratively structure LLM outputs within a physically grounded framework, by constructing a more interpretable science model. A case study demonstrates that our approach enhances transparency, facilitates validation, and strengthens AI-augmented reasoning in scientific discovery.
Introduction
While Large Language Models (LLMs) are increasingly capable of solving complex physics problems, they suffer from an "interpretability gap." In physics, obtaining the correct numerical answer is insufficient if the derivation is logically unsound or violates fundamental laws such as conservation of energy. Currently, LLMs often produce "opaque" reasoning trajectories—long, unstructured chains of thought that are difficult for human experts to verify. This lack of transparency can lead to the "right for the wrong reasons" phenomenon, where an AI arrives at a correct result through flawed physical assumptions. To address this, we propose a framework that transforms "black-box" physics AI into a transparent, verifiable "AI Scientist."
The Multi-Agent Framework
Our approach conceptualizes the AI-human collaboration through three integrated modules:
- Reasoning Module: The primary solver (e.g., GPT-4o) that generates initial solutions using symbolic tools like Python or direct inference.
- Interpretation Module: The core innovation, utilizing specialized agents to structure and validate the AI's output. A Summarizer distills logic, while a Model Builder creates explicit Theory and Code Models. A UI Builder provides interactive visualization, and an Auxiliary Tester performs automated sanity checks against edge cases.
- AI-Scientist Interaction Module: A feedback loop where human experts inspect the generated models and provide critiques to refine the AI’s reasoning.
Evaluation and Key Insights
The framework was evaluated using SciBench, focusing on 50 complex problems from foundational physics and thermodynamics textbooks. A central concept introduced is Executable Interpretability: by requiring the LLM to generate a structured Python class (PhysicsModel), the system makes internal physical assumptions explicit and testable.
The value of this approach is demonstrated by the Auxiliary Tester. In a case study involving projectile motion with air resistance, the tester identified that while the AI's initial answer seemed plausible, its model failed under high-resistance conditions, revealing a fundamental flaw in the underlying physics logic.
Results
Evaluation focused on two metrics: Numerical Consistency and Theoretical Consistency.
- Numerical Accuracy: Both GPT-4o and GPT-4o-mini achieved high consistency, with generated code matching reasoning in over 90% of cases.
- Theoretical Rigor: GPT-4o demonstrated superior theoretical consistency. While GPT-4o-mini produced several "inconsistent" cases with fundamental errors, GPT-4o remained robust, though the interpretation module was still vital for exposing subtle "moderately consistent" nuances.
- Human Efficiency: The automated generation of interactive UIs (via Gradio) significantly reduced the cognitive burden on human scientists, enabling rapid validation through visual inspection and parameter manipulation.
Conclusion
By decomposing "black-box" reasoning into structured, runnable models, this framework enhances the transparency and reliability of AI in physics research. Future work will expand this to more complex domains like quantum mechanics and fluid dynamics, and explore deeper self-correction loops where human feedback directly informs the reasoning process.
Summary updated