TL;DR
This paper introduces PhoPile, the first multimodal benchmark for evaluating retrieval-augmented generation (RAG) in Olympic-level physics problem-solving. By combining LLMs/LMMs with retrieval systems on a new dataset containing diagrams and equations, they demonstrate RAG's potential to improve physics reasoning while highlighting current limitations and future research directions.
What Problem Does This Paper Address?
Foundation models, like LLMs and LMMs, have shown impressive capabilities in various domains, including logic and scientific reasoning. However, their ability to tackle complex, expert-level problems, such as those found in physics Olympiads, remains largely unexplored. These problems often require not just recalling facts but also integrating multimodal information (diagrams, graphs, equations) and applying sophisticated reasoning strategies. Existing benchmarks for physics are scarce and often text-only, failing to capture the full complexity of real-world physics problem-solving. Furthermore, current foundation models struggle with domain-specific expertise, factual hallucination, and consistent application of physical principles. This paper aims to bridge this gap by evaluating RAG's effectiveness in enhancing physics reasoning for these challenging problems.
Methods
The core of this work is the Retrieval-Augmented Generation (RAG) pipeline. Given a physics problem, a retriever searches an external corpus of past physics problems and their solutions to find relevant context. This retrieved information is then used to augment the prompt for a generator (an LLM or LMM) to produce a solution.
Key methodological contributions include:
- PhoPile Dataset: A novel multimodal dataset specifically curated for Olympiad-level physics problems, including diagrams, graphs, and equations.
- LLM-as-Judge Framework: An evaluation framework that uses GPT-4 to score model-generated solutions, capable of handling diverse answer formats (numerical, symbolic, step-wise) and providing more nuanced assessments than automated grading.
- Reflection Mechanism: An optional step where GPT-4 compares RAG-generated answers against non-RAG answers to mitigate potential noise from retrieved information and improve robustness.
- Diverse Retrievers and Generators: The study benchmarks various text-only retrievers (BM25, Emb-cos, Dragon+, Contriever) and multimodal retrievers (CLIP, ALIGN, VisualBERT) with leading LLMs (Llama-3, GPT-3.5, GPT-4, Gemini-Pro) and LMMs (GPT-4V, Gemini-Pro-Vision).
Datasets
- PhoPile: A newly introduced dataset comprising 390 Olympiad-level physics problems from 2019-2021 for evaluation, and 2,662 problems from before 2019 serving as the retrieval corpus. PhoPile is multimodal, containing text, diagrams, graphs, and equations. It's further split into
PhoPile-Test(text-only) andPhoPile(V)-Test(with images). - Existing Datasets (Mentioned for context): OlympiadBench, MathPile, proof-pile-2, MiniF2F, MATH, GSM8K, MLFMF, MathOdyssey, MathVista, SciQ Dataset, ScienceQA, C-eval, E-EVAL, TheoremQA.
Key Insights and Ideas
- RAG Enhances Physics Reasoning: Integrating retrieval with physics corpora demonstrably improves the performance of both LLMs and LMMs on complex physics problems. This suggests that past problems offer valuable knowledge and problem-solving strategies that models can leverage.
- Multimodality is Crucial: Physics problems often rely heavily on visual information (diagrams, graphs). The PhoPile dataset's inclusion of these elements is vital for a realistic evaluation of physics problem-solving capabilities.
- Domain-Specific Retrieval is Needed: While general-purpose retrievers show promise, the paper hints that specialized physics retrievers could further boost performance by better understanding physics concepts and relationships.
- Noise from Retrieval is a Challenge: Retrieved examples, while beneficial, can sometimes introduce irrelevant or misleading information, negatively impacting model performance. This highlights the need for robust models and potentially more sophisticated retrieval filtering.
- LLM-as-Judge is Effective: The LLM-as-judge framework proves to be a scalable and reliable method for evaluating physics solutions, accommodating the diverse formats and reasoning steps inherent in physics problems.
Key Results
- Performance Improvements: RAG consistently improved performance across various models. For instance, Gemini-Pro saw an increase from 12.82% to 17.95% pass rate. Fine-tuned open-source models also showed significant gains.
- GPT-4V Outperforms Gemini-Pro-V: In multimodal evaluations, GPT-4V generally achieved better results than Gemini-Pro-V, especially when paired with the CLIP retriever.
- Retrievers Matter: The choice of retriever significantly impacts performance. CLIP was particularly effective for GPT-4V, while VisualBERT favored Gemini-Pro-V.
- Reflection Mechanism Helps: The reflection mechanism showed noticeable performance improvements, indicating its utility in mitigating retrieval noise.
- Difficulty Matters: Performance generally decreased with problem difficulty, with LLMs/LMMs scoring significantly lower on "Superhard" problems compared to "Easy" ones.
- Error Analysis: Common errors included providing guidelines instead of direct answers, being misled by retrieved examples, and retrieving irrelevant content.
Limitations and Future Work
- Retrieval Corpus Scale: The retrieval corpus is limited due to data acquisition constraints. Future work aims to expand this corpus and incorporate multimodal cross-referencing for richer interactions between text, formulas, and images.
- Domain-Specific Retrievers: The paper suggests the need for domain-specific retrievers tailored for physics to better capture relevant knowledge and strategies.
- Robustness to Noise: Further research is needed to improve the robustness of foundation models to noisy or irrelevant retrieved information.
- Multimodal Reasoning: While LMMs are evaluated, there's still significant room for improvement in their ability to fully leverage multimodal information for complex physics reasoning.
Summary updated