LLMs仍面临哪些挑战?对代码生成基准的深入分析
Where Do LLMs Still Struggle? An In-Depth Analysis of Code Generation Benchmarks
AI总结:
本文分析了LLMs在代码生成基准中的表现,识别出主要失败任务,并探讨了静态复杂度和常见问题导致的弱点。
摘要:
大型语言模型(LLMs)在代码生成方面取得了显著成就,其性能提升已成为AI研究的核心焦点。基准测试和排行榜日益流行,提供LLMs的定量排名。然而,它们对LLMs持续无法解决的任务提供有限见解,这对理解当前限制和指导更强大模型的发展至关重要。为填补这一空白,我们检查了四个流行基准中的代码生成任务,确定了主要LLMs最可能失败的任务。为理解这些失败的原因,我们调查了静态复杂度是否导致这些失败,并系统检查了LLMs持续挣扎的114个任务。我们的分析揭示了LLMs四个反复出现的弱点模式,以及基准任务中常见的复杂问题,这些最常导致失败。
英文摘要:
Large Language Models (LLMs) have achieved remarkable success in code generation, and the race to improve their performance has become a central focus of AI research. Benchmarks and leaderboards are increasingly popular, offering quantitative rankings of LLMs. However, they provide limited insight into the tasks that LLMs consistently fail to solve - information that is crucial for understanding current limitations and guiding the development of more capable models. To address this gap, we examined code generation tasks across four popular benchmarks, identifying those that major LLMs are most likely to fail. To understand the causes of these failures, we investigated whether the static complexity of solution code contributes to them, followed by a systematic inspection of 114 tasks that LLMs consistently struggled with. Our analysis revealed four recurring patterns of weaknesses in LLMs, as well as common complications within benchmark tasks that most often lead to failure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。