IC-1168For GPT-4 Code Interpreter, code-based self-verification improves MATH accuracy to 73.54% while natural language self-verification slightly degrades it to 69.29% relative to the 69.69% base

Report a problem with this record

Aojun Zhou, Ke Wang, Zimu Lu, Weikang Shi, Sichun Luo, Zipeng Qin, Shaoqing Lu, Anya Jia, Linqi Song, Mingjie Zhan, Hongsheng Li

SourceSolving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verification

The paper compares two verification strategies applied to GPT-4 Code Interpreter on MATH: natural language verification (asking the model to verify in text) and code-based verification (asking it to write and execute verification code). Natural language verification yields 69.29% overall, a 0.40% decrease from the 69.69% base, with four of seven subtopics declining. Code-based verification yields 73.54%, a 3.85% gain, with all seven subtopics improving. The paper also reports that the verification process has 95.88% precision and 79.11% recall over five sampled paths, meaning verified-true answers are highly reliable.

Evidence
correlational
Key metric
MATH overall: NL verification 69.29% (-0.40 vs base), code-based verification 73.54% (+3.85 vs base); verification precision 95.88%, recall 79.11%, accuracy 73.54% (5 sampled paths)
Caveat
The natural language verification result is based on a single prompt formulation; the paper does not explore multiple NL verification strategies. The precision/recall numbers are from 5 sampled paths on MATH only.
Model
GPT-4 / ChatGPT4 / GPT-4 Code Interpreter / GPT-4 Technical Report
Datasets
MATH [eval]
Methods
Self-Consistency / Self-consistency prompting / Wang et al. 2023 (self-consistency) / Wang et al. 2023b (Self-Consistency) [compared-to]
Related work
Self-Consistency / Self-consistency prompting / Wang et al. 2023 (self-consistency) / Wang et al. 2023b (Self-Consistency) [compared-to], Let's Verify Step by Step [context]
Related findings
IC-1167, IC-1169
Extraction
automatic-extraction