atlas

Research map / Large language models / Language, safety and interpretability

Controlling Equational Reasoning in Large Language Models with Prompt Interventions

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Faithfulness of LLM explanations · 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.

Uses a symbolic engine to generate fine-grained equational derivation data and applies prompt interventions (variable renaming, expression exchange, alternative goal, step removal) to study how LLM derivation errors change, comparing fine-tuned T5 against few-shot GPT and LLaMa-based models.

Problem

LLMs hallucinate and are sensitive to input perturbations when deriving mathematical equations; it is unclear how prompt interventions relate to specific types of derivation errors and whether reference-based metrics capture these errors.

Approach

Adapts and speeds up a symbolic data generation framework to produce fine-grained derivation data, applies targeted prompt interventions that map to distinct error-type footprints, and contrasts reference-based metrics with template-based error counts and human evaluation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune T5-Large on generated fine-grained derivations instead of using 5-shot GPT-4Equational reasoning · Static setROUGE: 82.8 -> 91.0Helped
Fine-tune FLAN-T5-Large on generated fine-grained derivations instead of using 5-shot GPT-4Equational reasoning · Static sethuman-rated accuracy: 98 vs 98No clear effect
Rename variables to out-of-distribution symbolsFine-tuned models · Variable Renaming (VR)redundant equation count: up to 2000%Hurt
Exchange the left- and right-hand expressions in equationsLLMs · Expression Exchange (EE)equational reasoning qualityMixed
Use an alternative in-distribution goal equationLLMs · Alternative Goal (AG)human-rated accuracyNo clear effect
Remove integration and differentiation results from the promptLLMs · Step Removal (SR)skipped steps: up to 300%Hurt
Remove integration and differentiation results from the promptGPT-4 · Step Removal (SR)human-evaluated reasoning errors: 1000% moreHurt

Surprising findings

Limitations

Experimental setup

Datasets: symbolic-engine generated derivation dataset

Benchmarks: in-distribution static test set Variable Renaming Expression Exchange Alternative Goal Step Removal

Metrics: ROUGE BLEU BLEURT GLEU template-based error counts human accuracy

Baselines: GPT-4 GPT-3.5 LLaMa-2-7B Llemma-7B

Builds on: symbolic derivation data generation framework (prior work)

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