scimeatlas

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

CODE-MVP: Learning to Represent Source Code from Multiple Views with Contrastive Pre-Training

Xin Wang, Yasheng Wang, Yao Wan, Jiawei Wang, Pingyi Zhou, Li Li, Hao Wu, Jin Liu

NAACL 2022Label-efficient and robust learning › Recognition and long-tailapproach: Uncertainty-aware multi-view learningopen problems in this approach52 citations (OpenAlex)

Wuhan University · Huawei Technologies · Huazhong University of Science and Technology · Monash University · Yunnan University

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

9measured effects
9improved

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.

This paper tried a common change: Add a contrastive loss

add multi-view contrastive learning (MVCL) · Code retrieval average (AdvTest, CoNaLa, CoSQA) · MRR: 51.0 -> 54.4 Improved

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add multi-view contrastive learning (MVCL) (ablation)Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 51.0 -> 54.4Improved
add fine-grained type inference (FGTI) (ablation)Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 52.6 -> 54.4Improved
add the CFG view (ablation)Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 52.1 -> 54.4Improved
add the program transformation view (ablation)Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 52.5 -> 54.4Improved
add the AST view (ablation)Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 53.0 -> 54.4Improved
multi-view contrastive pre-training vs SynCoBERTcode retrieval · Code retrieval average (AdvTest, CoNaLa, CoSQA)MRR: 52.0 -> 54.4Improved
multi-view pre-training vs SynCoBERTcode-to-code retrieval · Python800MAP@R: 89.2 -> 91.5Improved
multi-view pre-training vs SynCoBERTcode clone detection · Python800accuracy: 96.1 -> 97.4Improved
multi-view pre-training vs SynCoBERTcode defect detection · GREATaccuracy: 88.2 -> 89.3Improved

Open problems in uncertainty-aware multi-view learning

Do uncertainty-aware multi-view methods hold up on real noise and conflict, with less tuning and on more datasets?

All 5 open problems and what was already tried →

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