一句话:指出源代码词汇增长远快于自然语言,导致神经语言模型面临大词表与OOV问题并难以扩展。
统计语言模型已被成功应用于大规模源代码语料,催生代码建议、可读性改进和 API 迁移等开发工具。然而,源代码引入新词汇的速度远高于自然语言,新标识符名称不断增殖,导致词汇表迅速膨胀并产生大量词表外(OOV)词。该文指出,大代码并不等于大词汇表;大词表和 OOV 问题会严重影响源代码神经语言模型(NLM)的性能,使其难以扩展。摘要未披露具体方法或评估结果,主要贡献在于揭示并强调这一词汇瓶颈。
Statistical language modeling techniques have successfully been applied to large source code corpora, yielding a variety of new software development tools, such as tools for code suggestion, improving readability, and API migration. A major issue with these techniques is that code introduces new vocabulary at a far higher rate than natural language, as new identifier names proliferate. Both large vocabularies and out-of-vocabulary issues severely affect Neural Language Models (NLMs) of source code, degrading their performance and rendering them unable to scale.