Large language models improve math problem solving with diverse reasoning steps

Diverse Alternative Reasoning Traces for Hard Math Problems

Computation and LanguageArtificial IntelligenceMachine Learning

Summary

Solving hard math problems with AI can be difficult because the usual ways AI finds answers often miss many solutions. The authors created a method called DART that looks at rejected solution attempts, breaks them down, and tries new, different reasoning for the hardest steps. By doing this, they find more correct solutions than before without much extra cost. Training AI on these new solution attempts helps it do better on several math test problems.

What this means in practice

  • For math software developers: Integrate DART to generate diverse solution paths for difficult math problems, improving solver coverage without added computational cost.
  • For educational technology teams: Create AI tutors that supply multiple distinct ways to solve complex math problems, enhancing student learning experiences.

Authors

Lukas Aichberger, Adam Golinski, Arno Blaas, Arwen Bradley, Jacob Springer, Mehrdad Farajtabar, Michael Kirchhof, Sinead Williamson

Abstract

Post-training large language models (LLMs) for mathematical reasoning often relies on accepted traces whose final answers pass a verifier. For hard math problems, however, such traces can be rare under independent Monte Carlo (MC) sampling. To address this, we propose Diverse Alternative Reasoning Traces (DART), a trace-mining method that starts from a rejected trace, decomposes it into reasoning steps, and ranks them by position-weighted uncertainty. It then generates deliberately distinct alternative candidates for highly ranked steps using reference-answer guidance and a meta-thought before completing the resulting traces. On greedy-unsolved DeepMath-103K problems, DART recovers 37% more problems than MC sampling at a matched number of generated traces. Its estimated generation cost per recovered problem is nearly identical, while its cost per accepted trace is 30% lower. Post-training Llama-3.1-8B-Instruct on traces mined by DART achieves the highest point estimate in five of six evaluations across MATH-500 and AIME benchmarks. These results demonstrate that revisiting rejected traces with DART can expand problem coverage and provide effective post-training data.