Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solving

Shuai Zheng, Yudi Zhang, Meng Fang, Zihan Zhang, Zhitan Wu, Mykola Pechenizkiy, Ling Chen

Introduction

While Large Language Models (LLMs) and Large Multimodal Models (LMMs) have demonstrated remarkable proficiency in general mathematics and science, expert-level physics remains a significant hurdle. Solving Physics Olympiad problems requires more than just formulaic application; it demands a sophisticated integration of conceptual reasoning, quantitative analysis, symbolic mathematics, and the interpretation of complex visual diagrams. In these high-stakes scenarios, foundation models frequently struggle with hallucinations or the misapplication of physical principles.

To address these challenges, this research explores the potential of Retrieval-Augmented Generation (RAG) in the physics domain. Just as a human student reviews past examinations to master problem-solving strategies, RAG allows a model to consult a database of relevant problems and solutions before generating an answer. This paper introduces PhoPile, a new multimodal benchmark designed specifically to evaluate RAG performance on Olympic-level physics problems.

The PhoPile Benchmark

PhoPile is the first multimodal RAG benchmark tailored for the physics domain. It is curated from prestigious competitions, including the International Physics Olympiad (IPhO) and various regional equivalents, ensuring a high level of difficulty and reasoning depth.

  • Retrieval Corpus: Contains 2,662 problems and their detailed solutions spanning from 1967 to 2018. This serves as the "study material" for the models.
  • Evaluation Set: Comprises 390 problems from the 2019–2021 period. This set is divided into PhoPile-Test (text-only) and PhoPile(V)-Test (vision-inclusive), where problems include diagrams and graphs. All mathematical expressions are standardized in LaTeX to ensure consistency.

Methodology

The researchers developed a comprehensive RAG pipeline to evaluate various foundation models across different retrieval and generation configurations.

Retrieval and Generation

The study tested a variety of retrievers, including sparse text retrievers (BM25), dense text retrievers (Contriever, Dragon+), and multimodal retrievers (CLIP, VisualBERT, ALIGN). On the generation side, the authors evaluated proprietary models like GPT-4, Gemini-Pro, and GPT-4V, alongside open-source models such as Llama-3 and DeepSeekMath. Notably, they also fine-tuned smaller open-source models, such as Mathstral-7B, specifically on the retrieval corpus to assess the impact of domain-specific training.

Self-Reflection and Automated Grading

Recognizing that retrieved context can sometimes introduce noise, the authors implemented a self-reflection mechanism. In this setup, the model generates two answers—one with RAG and one without—and then uses a GPT-4-based prompt to evaluate and select the more robust solution.

To handle the complexity of physics reasoning, the study utilized an LLM-as-a-Judge approach. A GPT-4-based automated grader scores answers on a scale of 0 to 10, accounting for intermediate reasoning steps and partial credit. This automated system was validated against evaluations from human physics instructors to ensure accuracy.

Key Insights and Results

RAG as a Performance Multiplier

The experiments demonstrated that RAG can significantly enhance model performance, though its effectiveness varies by model and retriever.

  • Text-Only Performance: Using the Contriever retriever, Gemini-Pro’s pass rate increased from 17.18% to 30.51%. GPT-4’s base performance of 26.41% rose to 28.46% when paired with Dragon+ retrieval and the self-reflection mechanism.
  • Multimodal Performance: On the vision-inclusive dataset, GPT-4V’s pass rate improved from 21.79% to 30.10% when augmented with CLIP-based retrieval.

The Power of Fine-Tuning

One of the most striking findings was the efficacy of smaller, fine-tuned models. The Mathstral-7B-v0.1-FT, when combined with BM25 retrieval, achieved a 29.02% pass rate. This performance allows a 7-billion parameter model to rival the capabilities of much larger, closed-source models like GPT-4, suggesting that exposure to domain-specific formatting and reasoning patterns is a powerful substitute for raw scale.

The Challenge of Noisy Retrieval

Despite the gains, RAG is a "double-edged sword." General-purpose retrievers often fetch problems that are superficially similar but physically distinct, leading the generator to apply incorrect numerical conditions or physical constants. The self-reflection step proved crucial in mitigating these errors, allowing models to discard unhelpful or misleading context.

Conclusion and Future Work

The PhoPile benchmark highlights both the promise and the current limitations of RAG in expert-level science. While retrieval provides a significant boost, the sensitivity of models to "noisy" examples necessitates more sophisticated, domain-specific retrieval techniques and robust reflection mechanisms.

Future research will focus on developing multimodal cross-referencing techniques. By enabling more fluid interactions between text, LaTeX formulas, and visual diagrams, the researchers aim to reduce the friction models currently face when synthesizing complex multimodal information in physics reasoning.

Summary updated

BibTeX
@misc{zheng2025benchmarking,
  author = {Shuai Zheng and Yudi Zhang and Meng Fang and Zihan Zhang and Zhitan Wu and Mykola Pechenizkiy and Ling Chen},
  title = {{Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solving}},
  year = {2025},
  eprint = {2510.00919},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.00919},
}
Figure