scimeatlas

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

The Larger they are, the Harder they Fail: Language Models do not Recognize Identifier Swaps in Python

Antonio Valerio Miceli-Barone, Fazl Barez, Ioannis Konstas, Shay B. Cohen

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

University of Edinburgh · Heriot-Watt University

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

11measured effects
2improved
4no clear effect
5hurt

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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase model sizeOPT family · Builtin identifier swap (Python)classification loss: Pearson 0.94Hurt
increase model sizeGPT-3 family · Builtin identifier swap (Python)classification loss: Pearson 0.97Hurt
increase model sizeCodeGen models · Builtin identifier swap (Python)classification loss: Pearson 0.46 (multi), 0.10 (mono)No clear effect
increase model sizeFLAN-T5 · Builtin identifier swap (Python)classification loss: Pearson 0.01No clear effect
increase model sizeOpenAI Codex · Builtin identifier swap (Python)classification lossImproved
instruction tuning (InstructGPT vs base GPT-3)GPT-3 · Builtin identifier swap (Python)classification lossHurt
fine-tune on Python-only data (CodeGen-mono vs multi)CodeGen · Builtin identifier swap (Python)classification lossHurt
fine-tune code-davinci-002 on English demonstrations (GPT-3.5)code-davinci-002 · Builtin identifier swap (Python)classification lossHurt
increase model sizeAnthropic chat models (claude-instant, claude) · Builtin swap, chat pairwise choiceaccuracy: 10-18% accuracyImproved
increase model sizeOpenAI chat models (gpt-3.5-turbo, gpt-4) · Builtin swap, chat pairwise choiceaccuracy: < 4% accuracyNo clear effect
hint the correct solution over multiple dialogue turnsChatGPT-3.5 and GPT-4 · Builtin swap (manual)correct continuationNo clear effect

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