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
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 ↗
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
- 1,706 improved
- 42 no clear effect
- 21 mixed
- 35 hurt
- Beyond Looking Up, Try Looking Around: Harmonizing Global Structure and Local Consistency in Optimal Transport for Short Text Clustering ICML 2026 · add contrastive learning · SearchSnippets · ACC: 56.65 -> 80.12Improved
- SleepLM: Natural-Language Intelligence for Human Sleep ICML 2026 · add contrastive objective to captioning (CoCa vs Cap) · sleep event IoU · IoU: 29.2 -> 27.4Hurt
- LIMSSR: LLM-Driven Sequence-to-Score Reasoning under Training-Time Incomplete Multimodal Observations ICML 2026 · add contrastive loss L_con · FS1000 average · Spearman correlation: 0.759 -> 0.789Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add multi-view contrastive learning (MVCL) (ablation) | Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 51.0 -> 54.4 | Improved |
| add fine-grained type inference (FGTI) (ablation) | Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 52.6 -> 54.4 | Improved |
| add the CFG view (ablation) | Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 52.1 -> 54.4 | Improved |
| add the program transformation view (ablation) | Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 52.5 -> 54.4 | Improved |
| add the AST view (ablation) | Code-MVP · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 53.0 -> 54.4 | Improved |
| multi-view contrastive pre-training vs SynCoBERT | code retrieval · Code retrieval average (AdvTest, CoNaLa, CoSQA) | MRR: 52.0 -> 54.4 | Improved |
| multi-view pre-training vs SynCoBERT | code-to-code retrieval · Python800 | MAP@R: 89.2 -> 91.5 | Improved |
| multi-view pre-training vs SynCoBERT | code clone detection · Python800 | accuracy: 96.1 -> 97.4 | Improved |
| multi-view pre-training vs SynCoBERT | code defect detection · GREAT | accuracy: 88.2 -> 89.3 | Improved |
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?
- Evaluated on only a few datasets from one domain or setup. · 12 papers state it
- Results are sensitive to hyperparameters that need tuning per dataset. · 11 papers state it
- Gains over the strongest baselines are small or not uniform. · 6 papers state it
Closest papers by meaning
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.87)
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.87)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.86)
- PinNet: Pinpoint Instructive Information for Retrieval Augmented Code-to-Text Generation (ICML 2024 · similarity 0.85)
- Uncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code Rewriting (AAAI 2025 · similarity 0.85)
- AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection (AAAI 2024 · similarity 0.85)
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.