atlas

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

Are Language Models Efficient Reasoners? A Perspective from Logic Programming

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLM-guided program synthesis · 0 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 a logic-programming framework that measures LM reasoning efficiency by comparing natural-language proofs to shortest hyperpaths, using GSM-style problems injected with irrelevant axioms.

Problem

Standard LM reasoning evaluations measure only final-answer correctness and ignore efficiency, i.e., whether models avoid unnecessary inference steps when irrelevant information is present.

Approach

Verbalized logic programs map each theorem to natural-language strings, so an LM's natural-language proof can be parsed into theorems and compared against the shortest proof (hyperpath) found by forward chaining; efficiency is the ratio of shortest-proof size to model-proof size, disentangling unnecessary steps from verbosity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add one irrelevant axiomLlama-3.1-8B · GSMaccuracy (%): 65.0 -> 60.8Hurt
Add one irrelevant treeLlama-3.1-8B · GSMaccuracy (%): 65.0 -> 52.6Hurt
Add multiple irrelevant treesLlama-3.1-8B · GSMaccuracy (%): 65.0 -> 41.0Hurt
Add one irrelevant axiomQwen2.5-Math-7B · GSMaccuracy (%): 52.8 -> 43.4Hurt
Add multiple irrelevant treesQwen2.5-Math-7B · GSMaccuracy (%): 52.8 -> 23.5Hurt
Add one irrelevant axiomQwQ-32B · GSMaccuracy (%): 63.4 -> 62.2No clear effect
Add multiple irrelevant treesQwQ-32B · GSMaccuracy (%): 63.4 -> 50.1Hurt
Add one irrelevant axiomDeepSeek-R1 · GSMaccuracy (%): 99.4 -> 98.2No clear effect
Add multiple irrelevant treesDeepSeek-R1 · GSMaccuracy (%): 99.4 -> 97.6No clear effect
Replace relevant axioms with irrelevant content while keeping problem length equalLlama-3.1-8B · GSM, one-tree-length comparisonaccuracy (%): 58.6 -> 52.6Hurt
Replace relevant axioms with irrelevant content while keeping problem length equalQwen2.5-Math-7B · GSM, one-axiom-length comparisonaccuracy (%): 48.4 -> 43.4Hurt
Add entity overlap between irrelevant axioms and the queryLlama-3.1-8B · GSM, multiple irrelevant trees, non-ground queryefficiency: 60.2 -> 43.5Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K

Benchmarks: synthetic GSM problems with irrelevant axioms (500 problems)

Metrics: answer accuracy efficiency (shortest proof vertices / model proof vertices) efficiency on non-axioms exact matches correct theorems proportion

Baselines: Qwen2.5-Math-7B-Instruct QwQ-32B DeepSeek-R1

Builds on: logic programming forward chaining GSM8K

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