Math-DB: A Discourse Framework for Mathematical Word Problems to Enhance LLM Reasoning

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, quick

Summary

Math Discourse Bank (Math-DB) is a novel discourse framework and annotated dataset designed to enhance Large Language Model (LLM) reasoning for mathematical word problems. It addresses the issue of LLMs relying on statistical regularities rather than true logical reasoning, which causes performance drops with problem perturbations or irrelevant information. Inspired by the Penn Discourse TreeBank and mathematics education, Math-DB defines a hierarchy of discourse senses for quantitative reasoning, including categories like Change, Combine, Compare, and Equalize. The framework was applied to the GSM-Symbolic dataset of 12,500 problems, generating 47,815 sense-labeled discourse relations over 11,414 successfully-aligned instances, achieving a 91.3% pipeline yield. Experiments show that integrating Math-DB annotations into Chain-of-Thought (CoT) prompts consistently improves LLM performance across various difficulty levels.

Key takeaway

For NLP Engineers developing LLM solutions for mathematical reasoning, incorporating structured discourse frameworks like Math-DB into your prompting strategies is crucial. This approach moves models beyond statistical regularities, improving performance and robustness against problem perturbations or irrelevant information. Consider annotating problem datasets with quantitative discourse senses to enhance Chain-of-Thought prompting, leading to more reliable and logically sound mathematical problem-solving capabilities in your applications.

Key insights

Math-DB enhances LLM mathematical reasoning by providing a discourse framework that guides models beyond surface patterns to true logical understanding.

Principles

Method

Math-DB defines a discourse hierarchy with senses like Change, Combine, Compare, and Equalize. This framework is applied to mathematical problems to generate sense-labeled discourse relations, which are then incorporated into CoT prompts.

In practice

Topics

Best for: AI Engineer, Machine Learning Engineer, Research Scientist, AI Scientist, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.