Abstract
Recent advancements in Large Language Models (LLMs) have led to high scores on standard mathematical benchmarks. However, these benchmarks often fail to capture the complexity of real-world problems involving multiple interdependent variables. This paper introduces BeyondX, a benchmark specifically designed for multi-unknown algebraic problems, and proposes Formulate-and-Solve, a novel prompting strategy. Our findings reveal a significant performance "ceiling" as the number of variables increases, which our proposed method effectively addresses by integrating symbolic solvers.
Introduction: The Multi-Variable Challenge
While models like GPT-4 achieve near-perfect accuracy on datasets like GSM8K, these successes may mask a lack of robust reasoning. Most existing benchmarks are limited to one or two unknowns. In contrast, mathematical modeling in science and engineering frequently requires solving systems with many variables. The researchers investigate whether LLMs can maintain reasoning integrity as problem "width" grows, identifying a critical gap in current capabilities.
Methodology
The study introduces two key innovations to address the complexity gap:
1. Progressive Expansion
Generating high-quality, solvable multi-variable problems is non-trivial. The authors developed an automated pipeline that takes simple "seed" problems and incrementally adds variables. This "divide-and-conquer" approach uses a Program Verifier to ensure each modified problem remains mathematically consistent and solvable.
2. Formulate-and-Solve Prompting
To overcome the cognitive load of internal calculation, the Formulate-and-Solve strategy shifts the LLM's role from "calculator" to "translator." The model is instructed to identify the core question, assign symbols to unknowns, and formulate equations for a symbolic solver like SymPy.
Results and Analysis
The evaluation on the BeyondX benchmark (comprising problems with 3 to 5 unknowns) yielded several key insights.
The Complexity Wall
Standard prompting methods, such as Zero-shot Chain-of-Thought (CoT), show a staggering decay in performance. GPT-4's accuracy drops from approximately 90% on simple problems to just 20% when faced with five variables. This suggests that LLMs struggle with the internal state management required for complex systems.
Performance of Formulate-and-Solve
The proposed method significantly outperforms existing techniques. By offloading the final computation to a symbolic solver, the model maintains high accuracy even as complexity scales.
As shown in the figure above, the "Ours" (Formulate-and-Solve) method maintains a success rate above 60% for five variables on GPT-3.5, while traditional methods like ZS-CoT drop to near zero.
Conclusion
The BeyondX benchmark highlights a significant limitation in current LLM evaluation and performance. The success of the Formulate-and-Solve approach demonstrates that the primary bottleneck is often the internal calculation of complex systems rather than the underlying logic. Future work will expand this framework to geometry, calculus, and multi-modal reasoning tasks.
Summary updated