paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Bridging pre-trained models and downstream tasks for source code understanding

连接预训练模型与下游任务以理解源代码
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 3/10 · 论文关注代码预训练模型的下游任务适配,使用语义保持变换和课程学习微调,属于ML+PL的宽泛交叉;但未涉及用户核心方向中的静态分析、Agentic程序、LLM/Agent辅助形式化验证、浮点程序分析或贝叶斯程序分析。引用 71 inbox
Deze Wang, Zhouyang Jia, Shanshan Li, Yue Yu, Yun Xiong, Wei Dong, Xiangke Liao
crossref: 2026-09-12

AI 速览

一句话:用语义保持变换扩充下游数据并配合课程学习微调,帮助预训练代码模型更好地适配新任务。

论文关注源代码理解中「先预训练、再微调」范式下的一个关键问题:相比从头训练大模型,如何有效地把预训练模型适配到新的下游任务仍未被充分探索。作者提出一种桥接预训练模型与代码相关任务的方法:一方面利用语义保持变换(semantic-preserving transformation)来丰富下游数据的多样性,促使预训练模型学习到对这些语义等价变换保持不变的语义特征;另一方面引入课程学习(curriculum learning),将变换后的数据按由易到难的方式组织,用于微调已有预训练模型。这样既缓解了下游任务数据有限、分布单一的问题,又让模型在微调阶段逐步适应更复杂的样本。摘要未报告具体数据集、基线或量化结果。

问题
在源代码理解中,如何有效地将已有预训练模型适配到新的下游任务,而不是代价高昂地从零训练大规模模型,这一问题尚未得到充分研究。
方法
利用语义保持变换扩充下游数据的多样性,使预训练模型学习到与这些语义等价变换无关的不变语义特征;并引入课程学习,将变换后的数据按由易到难的顺序组织起来微调预训练模型。
评估
摘要仅说明该方法用于微调已有预训练模型以完成代码理解下游任务,未给出具体数据集、基线对比或评价指标。
原文摘要(Abstract)

With the great success of pre-trained models, the pretrain-then-finetune paradigm has been widely adopted on downstream tasks for source code understanding. However, compared to costly training a large-scale model from scratch, how to effectively adapt pre-trained models to a new task has not been fully explored. In this paper, we propose an approach to bridge pre-trained models and code-related tasks. We exploit semantic-preserving transformation to enrich downstream data diversity, and help pre-trained models learn semantic features invariant to these semantically equivalent transformations. Further, we introduce curriculum learning to organize the transformed data in an easy-to-hard manner to fine-tune existing pre-trained models.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6922,
  title = {Bridging pre-trained models and downstream tasks for source code understanding},
  author = {Deze Wang and Zhouyang Jia and Shanshan Li and Yue Yu and Yun Xiong and Wei Dong and Xiangke Liao},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510062}
}