mlsanityData to 7 Oct 2026

Exploring Language Model's Code Generation Ability with Auxiliary Functions

arXiv 2403.10575 ↗First posted 15 Mar 2024cs.SE cs.AI cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Auxiliary function is a helpful component to improve language model's code generation ability. However, a systematic exploration of how they affect has yet to be done. In this work, we comprehensively evaluate the ability to utilize auxiliary functions encoded in recent code-pretrained language models. First, we construct a human-crafted evaluation set, called HumanExtension, which contains examples of two functions where one function assists the other. With HumanExtension, we design several experiments to examine their ability in a multifaceted way. Our evaluation processes enable a comprehensive understanding of including auxiliary functions in the prompt in terms of effectiveness and robustness. An additional implementation style analysis captures the models' various implementation patterns when they access the auxiliary function. Through this analysis, we discover the models' promising ability to utilize auxiliary functions including their self-improving behavior by implementing the two functions step-by-step. However, our analysis also reveals the model's underutilized behavior to call the auxiliary function, suggesting the future direction to enhance their implementation by eliciting the auxiliary function call ability encoded in the models. We release our code and dataset to facilitate this research direction.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 25 of its 37 references that are in the map. First posted on arXiv 15 Mar 2024.

Builds on

25 of 37 references.

References · 25

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  8. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  9. 2021Measuring Coding Challenge Competence With APPScited by 879
  10. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  11. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  12. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
13 more
  1. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  2. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  3. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  4. 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
  5. 2018Mapping Language to Code in Programmatic Contextcited by 104
  6. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  7. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
  8. 2022Execution-Based Evaluation for Open-Domain Code Generationcited by 89
  9. 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 66
  10. 2022CoCoMIC: Code Completion By Jointly Modeling In-file and Cross-file Contextcited by 64
  11. 2015Neural Programmer: Inducing Latent Programs with Gradient Descentcited by 32
  12. 2023StudentEval: A Benchmark of Student-Written Prompts for Large Language Models of Codecited by 32
  13. 2019Machine Translation from Natural Language to Code using Long-Short Term Memorycited by 4

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 1.

2 papers.