Pith. sign in

REVIEW 2 cited by

LPML: LLM-Prompting Markup Language for Mathematical Reasoning

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2309.13078 v2 pith:VDC7QLT4 submitted 2023-09-21 cs.AI cs.LGcs.PL

classification cs.AIcs.LGcs.PL
keywords llmslanguagereasoningmarkupmathematicalpythonapproacherrors
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

In utilizing large language models (LLMs) for mathematical reasoning, addressing the errors in the reasoning and calculation present in the generated text by LLMs is a crucial challenge. In this paper, we propose a novel framework that integrates the Chain-of-Thought (CoT) method with an external tool (Python REPL). We discovered that by prompting LLMs to generate structured text in XML-like markup language, we could seamlessly integrate CoT and the external tool and control the undesired behaviors of LLMs. With our approach, LLMs can utilize Python computation to rectify errors within CoT. We applied our method to ChatGPT (GPT-3.5) to solve challenging mathematical problems and demonstrated that combining CoT and Python REPL through the markup language enhances the reasoning capability of LLMs. Our approach enables LLMs to write the markup language and perform advanced mathematical reasoning using only zero-shot prompting.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Beyond Passive Critical Thinking: Fostering Proactive Questioning to Enhance Human-AI Collaboration

    cs.CL 2025-07 conditional novelty 6.0 of 10

    A training method using reinforcement learning and answerability heuristics lets small language models actively ask for missing math details and then solve problems, raising accuracy on the new GSM-MC benchmark from 0...

  2. More or Less Wrong: A Benchmark for Directional Bias in LLM Comparative Reasoning

    cs.CL 2025-06 conditional novelty 6.0 of 10

    Comparative words in prompts can shift LLM answers toward the framed direction in simple arithmetic comparisons, with demographic terms amplifying the effect.

Pith tools