atlas

Research map / Large language models / Agents, code and math

Exploring Equation as a Better Intermediate Meaning Representation for Numerical Reasoning of Large Language Models

AAAI 2024 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes BRIDGE, a prompting pipeline (erase, decompose, translate, answer) that makes LLMs generate equations instead of programs as intermediate meaning representations for numerical reasoning, with a theoretical proposition that equations are at least as accurate as programs.

Problem

LLMs generate equations as intermediate meaning representations for math word problems worse than programs, even though equations are semantically closer to questions; the paper asks how to theoretically justify and empirically improve equation generation.

Approach

Erase the asking part of the question and decompose the remaining text into sub-questions so that few-shot LLMs translate into equations rather than constant expressions or programs; add a regenerate-with-rising-temperature loop until the final equation system is solvable, and prove via a subset/hop-number proposition that equation IMRs should have higher generation accuracy than programs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use BRIDGE instead of the previous SOTA methodCodex · GSM8Kexact match: 72.0 -> 74.2Helped
use BRIDGE instead of the previous SOTA methodCodex · SVAMPexact match: 85.2 -> 86.1Helped
use BRIDGE instead of the previous SOTA methodCodex · Algebraexact match: 76.3 -> 78.5Helped
add the Erase stage (ablation)BRIDGE with Codex · GSM8Kexact match: 69.0 -> 74.2Helped
add the Decompose stage (ablation)BRIDGE with Codex · GSM8Kexact match: 68.2 -> 74.2Helped
add the Erase stage (ablation)BRIDGE with Codex · SVAMPexact match: 86.0 -> 86.1No clear effect
add the Decompose stage (ablation)BRIDGE with Codex · SVAMPexact match: 85.6 -> 86.1Helped
add the Erase stage (ablation)BRIDGE with Codex · Algebraexact match: 72.1 -> 78.5Helped
add the Decompose stage (ablation)BRIDGE with Codex · Algebraexact match: 77.8 -> 78.5Helped
add the Erase stage (ablation)BRIDGE with GPT3.5 · GSM8Kexact match: 76.1 -> 77.0Helped
add the Decompose stage (ablation)BRIDGE with GPT3.5 · GSM8Kexact match: 74.2 -> 77.0Helped
add the Erase stage (ablation)BRIDGE with GPT3.5 · SVAMPexact match: 81.9 -> 82.5Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K SVAMP Algebra

Benchmarks: GSM8K SVAMP Algebra

Metrics: exact match proportion of equation-based correct answers equation counts with and without Erase

Baselines: CoT Tab-CoT Declarative PoT PAL

Builds on: program-of-thoughts PAL chain-of-thought self-consistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy