AI Paper Atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Soft-Labeled Contrastive Pre-Training for Function-Level Code Representation

Xiaonan Li, Daya Guo, Yeyun Gong, Yun Lin, Yelong Shen, Xipeng Qiu, Daxin Jiang, Weizhu Chen, Nan Duan

EMNLP 2022Label-efficient and robust learning › Recognition and long-tailapproach: Contrastive representation theory27 citations (OpenAlex)

Microsoft · National University of Singapore · Fudan University · Microsoft Research Asia

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
8improved
1no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add ASST positive pairs instead of code-transformation positives (ablation)UniXcoder baseline · CSN overallMRR: 74.6 -> 75.4Improved
add code-transformation positive pairs (ablation)UniXcoder baseline · CSN overallMRR: 74.4 -> 74.6Improved
add ASST positive pairs (ablation)UniXcoder baseline · CSN overallMRR: 74.4 -> 75.4Improved
add code comment (text-code) positive pairs (ablation)UniXcoder + ASST · CSN overallMRR: 75.4 -> 75.9Improved
add soft-labeled contrastive pre-training (ablation)UniXcoder + ASST + code comment · CSN overallMRR: 75.9 -> 76.8Improved
replace AST-based splitting with token-level ICT (ablation)SCodeR · Zero-shot code-to-code searchMAP: 28.6 -> 27.2Hurt
replace AST-based splitting with line-level ICT (ablation)SCodeR · Zero-shot code-to-code searchMAP: 28.6 -> 27.6Hurt
SCodeR vs UniXcoderUniXcoder · POJ-104MAP@R: 90.52 -> 92.45Improved
SCodeR vs UniXcoderUniXcoder · BigCloneBenchF1: 95.2 -> 95.3No clear effect
SCodeR vs UniXcoderUniXcoder · Zero-shot code-to-code searchMAP: 20.45 -> 23.57Improved
SCodeR vs UniXcoderUniXcoder · Markdown orderingKendall's tau: 85.9 -> 86.6Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy