scimeatlas

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

Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistency

Baizhou Huang, Shuai Lu, Xiaojun Wan, Nan Duan

ACL 2024Large language models › Agents, code and mathapproach: Code generation benchmarksopen problems in this approach84 citations (OpenAlex)

Peking University · State Key Laboratory of Media Convergence Production Technology and Systems · Microsoft Research Asia

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
8improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply MPSC-Semantic on top of the foundation modelGPT-3.5-Turbo · HumanEvalPass@1: 68.38 -> 83.38Improved
apply MPSC-SemanticGPT-3.5-Turbo · CodeContestsPass@1: 2.57 -> 10.09Improved
use MPSC-Semantic instead of baselinesGPT-3.5-Turbo · HumanEvalPass@1: 78.05 (CodeT) -> 83.38Improved
add the specification perspective (ablation)MPSC-Semantic · MBPPPass@1: 70.18 -> 73.23Improved
add the specification perspective (ablation)MPSC-Semantic · HumanEval+Pass@1: 73.52 -> 73.54No clear effect
add the test case perspective (ablation)MPSC-Semantic · HumanEvalPass@1: 78.30 -> 83.38Improved
add intra-consistency information (Semantic vs Uniform) (ablation)MPSC · HumanEvalPass@1: 74.17 -> 83.38Improved
apply MPSC-Semantic with Pass@5 on strong modelsDeepseek Coder-6.7B · HumanEvalPass@5: 86.73 -> 84.71Hurt
apply MPSC-SemanticGPT-4 · HumanEvalPass@1: 81.48 -> 92.15Improved
reduce specifications and test cases to 10 eachMPSC-Semantic · HumanEvalPass@1: 83.38 (50 spec/100 tests) -> 78.93Hurt
increase edge density in the consistency graphMPSC-Uniform · benchmarksperfect performance ratioImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in code generation benchmarks

Do code benchmarks and methods hold beyond Python, small test sets and leaked data?

All 5 open problems and what was already tried →

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