计算机科学 > 软件工程
[提交于 2025年11月6日]
标题:How Natural Language Proficiency Shapes GenAI Code for Software Engineering Tasks
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:With the widespread adoption of Foundation Model (FM)-powered tools in software engineering, the natural language prompt has become a critical interface between developers and Large Language Models (LLMs). While much research has focused on prompt structure, the natural language proficiency is an underexplored factor that can influence the quality of generated code. This paper investigates whether the English language proficiency itself independent of the prompting technique affects the proficiency and correctness of code generated by LLMs. Using the HumanEval dataset, we systematically varied the English proficiency of prompts from basic to advanced for 164 programming tasks and measured the resulting code proficiency and correctness. Our findings show that LLMs default to an intermediate (B2) natural language level. While the effect on the resulting code proficiency was model-dependent, we found that higher-proficiency prompts consistently yielded more correct code across all models. These results demonstrate that natural language proficiency is a key lever for controlling code generation, helping developers tailor AI output and improve the reliability of solutions.
提交历史
来自:Ruksit Rojpaisarnkit[v1] 2025年11月6日 星期四 07:06:20 UTC