arrow
返回

Functional Consistency of LLM Code Embeddings: A Self-Evolving Data Synthesis Framework for Benchmarking

delete2025-08-29
delete0
PRE
AI
Z
Zhuohao Li
W
Wenqing Chen
J
Jianxing Yu
Z
Zhichao Lu
DOI:10.1016/j.eswa.2025.129523delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
• 我们提出了一种新颖的功能导向型代码自进化框架,能够系统地生成多样化的代码变体,有效覆盖不同的语法和语义一致性场景。 • 所有生成的代码样本均配有严格的测试用例以验证其功能正确性,确保数据集的高质量和可靠性。 • 在多个下游任务(包括代码克隆检测、功能一致性识别和代码检索)上的广泛实验表明,当模型在进化数据集上进行训练时,性能得到显著提升。 • 本研究揭示了现有代码嵌入模型在捕捉功能语义方面的固有局限性,并表明使用自进化数据进行训练可显著增强其理解和泛化功能代码等价关系的能力。
Keyword:
Functionality-Oriented Code Self-Evolution
Code Variant Generation
Functional Correctness
Code Embedding Models
Downstream Code Tasks

期刊

Expert Systems with Applications 封面图
Expert Systems with Applications
IF:
7.5
论文数:
3.0W
被引数:
10.2W

机构

S
sun yat-sen university
学者数:
1.9W
论文数: 6.4K
被引数: 14
C
City University of Hong Kong
学者数:
2.3W
论文数: 3.0W
被引数: 6.1W
引用论文

引用论文

Automatic detection of Long Method and God Class code smells through neural source code embeddings
err2022-10-01
err25
errOAAI
errKovacevic, Aleksandar; Slivka, Jelena; Vidakovic, Dragan; Grujic, Katarina-Glorija; Luburic, Nikola; Prokic, Simona; Sladic, Goran
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
code2vec: learning distributed representations of code
err2019-01-02
err0
errOAAI
errUri Alon; Meital Zilberstein; Omer Levy; Eran Yahav
err分享
err收藏
学者 查看更多内容