AI Paper Atlas

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

Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completion

Hengzhi Pei, Jinman Zhao, Leonard Lausen, Sheng Zha, George Karypis

AAAI 2023Large language models › Agents, code and mathapproach: Execution-based code verification7 citations (OpenAlex)

University of Illinois, Urbana Champaign · Amazon

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

12measured effects
11improved
1no clear effect

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
add function implementation context at inferenceCodeGen-MONO · CallArgs test, unidirectionalEM: 43.45 -> 46.26Improved
add function usage context at inferenceCodeGen-MONO · CallArgs test, unidirectionalEM: 43.45 -> 52.99Improved
fine-tune with implementation and usage contexts instead of local context aloneCodeT5-base · CallArgs test, unidirectionalEM: 47.16 -> 62.73Improved
fine-tune with implementation and usage contexts instead of local context aloneCodeT5-base · CallArgs test, in-fillingEM: 56.59 -> 69.28Improved
add function implementation context (ablation)CodeT5-base · CallArgs test, unidirectionalEM: 47.16 -> 52.66Improved
add function usage context (ablation)CodeT5-base · CallArgs test, unidirectionalEM: 47.16 -> 58.95Improved
add function implementation context (ablation)CodeT5-base · CallArgs test, in-fillingEM: 56.59 -> 60.22Improved
add function usage context (ablation)CodeT5-base · CallArgs test, in-fillingEM: 56.59 -> 65.57Improved
increase each of 3 usage-context length budgets from 64 to 128 (ablation)CodeT5-base · CallArgs test, unidirectionalEM: 61.59 -> 62.73Improved
increase the number of usage contexts at a fixed length budget (ablation)CodeT5-base · CallArgs test, unidirectionalEM: 63.00; 62.87No clear effect
copy arguments from a similar usage above a threshold instead of relying only on the model (ablation)CodeT5-base with implementation context · CallArgs test, unidirectionalEM: 52.66 -> 56.26Improved
use usage examples during training rather than only copying a matching usage (ablation)CodeT5-base · CallArgs test, unidirectionalEM: 56.26; 57.61; 61.59Improved

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.

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