arXiv:2610.25134cs.CLOct 2026

Manuscript Offprint

arXiv:2610.25134

TIRE: Top-Down Formula Instantiation with Reliable Execution for Physics Problem Synthesis

Xiaoyu Wu, Zhaoxin Yu, Xinglin Xiao, Nan Xu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Advancing physics reasoning in large language models requires scalable training data that connect physical laws, concrete problem scenarios, and verifiable numerical answers. Expert-designed problems offer top-down control over physical laws, conditions, and scenarios, but require costly human effort. LLM-based synthesis from texts scales efficiently, but model-generated answers and assessments leave supervision vulnerable to hallucinations. We introduce TIRE, a framework for Top-Down Formula Instantiation with Reliable Execution that brings knowledge-driven problem construction to large-scale data generation. Top-down instantiation uses reusable physical formulas and their applicability conditions to control the physical relations and numerical configurations of generated problems. Reliable execution establishes reference answers before problem generation, providing a common numerical foundation for problem construction and teacher distillation. Together, these mechanisms combine control over problem content with execution-grounded supervision for both supervised fine-tuning and reinforcement learning. Using TIRE, we construct TIRE-19k, spanning nine subfields of physics. Across 3 backbone LLMs and 4 benchmarks, TIRE-19k outperforms 5 representative datasets with equal amounts of SFT data, exceeding the strongest baseline by 2.86 percentage points on average. Further GRPO raises Qwen3-8B's average accuracy by 1.52 percentage points over its TIRE-19k SFT checkpoint. These results demonstrate the value of generating physics training data from explicit physical knowledge with reliable execution.

Code: https://github.com/ScienceOne-AI/TIRE

Dataset: https://huggingface.co/datasets/ScienceOne-AI/TIRE

1 INTRODUCTION

Physics problem solving requires models to translate physical scenarios described in natural language into appropriate physical models and derive verifiable answers through symbolic derivation and numerical computation. It is therefore both an important task for evaluating the scientific reasoning capabilities of large language models (LLMs) and relevant to practical applications such as intelligent science education, engineering analysis, and research assistance (Wang et al., 2024; Xu et al., 2025). The current limitations of models in physics reasoning are largely due to a shortage of high-quality, verifiable training data. In mathematics, researchers have gradually established a systematic pipeline for generating verifiable data: they first construct executable programs, computational graphs, or formal proofs that encode valid solution processes, then convert them into natural-language problems and solutions, and finally use deterministic verifiers to independently and objectively check the correctness of the generated data (Huang et al., 2024; Ying et al., 2024; Ren et al., 2025; Wang et al., 2026). Compared with mathematical problem solving, in which derivations are typically carried out within a given formal structure, physics problem solving is more challenging. It requires not only formal mathematical derivation and computation, but also consistency among real-world physical scenarios, applicable laws, their conditions of validity, and formal models (Wang et al., 2024; Pang et al., 2025; Li et al., 2026a).

Existing efforts to build physics problem-solving data broadly follow two routes. One route relies on expert-designed problems from textbooks, examinations, and question banks (Chen et al., 2023; Xu et al., 2025). Experts construct problems top-down, starting from physical laws and specifying conditions, parameters, and scenarios. This gives direct control over problem content and quality, but the required human effort limits dataset scale. The other route uses LLMs to directly generate or complete problems, reasoning processes, and answers from existing texts (Zhang et al., 2024; Fan et al., 2025; Yu et al., 2026). Although this approach scales efficiently, model hallucinations can introduce errors into problems and solutions, and quality assessment often relies on language models without an independent computational reference grounded in physics. The physical laws and parameter values represented in the data also depend on source texts and model preferences, limiting control over problem construction. The challenge is to combine top-down construction from physical knowledge with scalable generation and reliable supervision grounded in program execution.

Therefore, we propose TIRE, a framework for Top-Down Formula Instantiation with Reliable Execution that transforms structured physical knowledge into scalable training data for physics reasoning. Top-down instantiation starts from reusable physics formulas and their applicability conditions, giving explicit control over the physical relations and numerical configurations underlying each problem. TIRE translates these relations into validated executable programs, instantiates concrete parameter values, and constructs natural-language problems grounded in the resulting instances. Reliable execution establishes reference answers before problem generation, providing a common numerical foundation for both problem construction and teacher distillation. A teacher independently solves the generated problems, and its reasoning traces are selected by matching their final answers to these execution-derived references. This integration of physical knowledge, controlled instantiation, and teacher distillation supports systematic data construction with reliable, execution-grounded numerical supervision for both supervised fine-tuning and reinforcement learning. Using TIRE, we construct TIRE-19k, comprising 19,144 examples across nine subject areas and grounded in 3,051 formula records extracted from PHYSICS and SciBench.

Our main contributions are as follows:

  1. We propose TIRE, a framework that combines top-down formula instantiation with reliable execution to generate physics training data at scale. Physical knowledge guides problem construction, and deterministic program outputs provide reference answers for supervision.

  2. Based on TIRE, we construct the TIRE-19k dataset, covering nine subfields of physics with 19,144 examples grounded in 3,051 formula records. Each example includes an execution-derived reference answer and an answer-verified teacher reasoning trace.

  3. We conduct extensive experiments. Across three backbones and four benchmarks, TIRE-19k outperforms existing datasets in both in-domain performance and out-of-domain generalization with equal amounts of training data. Ablations support the framework's components, teacher comparisons demonstrate its effectiveness with multiple teachers, and GRPO yields further gains after SFT.