Research map / Label-efficient and robust learning / Self-supervised and contrastive
Towards Learning (Dis)-Similarity of Source Code from Program Contrasts
Yangruibo Ding, Luca Buratti, Saurabh Pujar, Alessandro Morari, Baishakhi Ray, Saikat Chakraborty
Columbia University · IBM
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 contrastive learning to MLM · REVEAL · F1: 36.9 -> 42.6 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 NT-MLM to MLM+CLR± (ablation) | DISCO · REVEAL | F1: 44.2 -> 46.4 | Improved |
| add hard-negative bug-injected contrast (CLR± vs CLR+) (ablation) | DISCO · REVEAL | F1: 42.6 -> 44.2 | Improved |
| add contrastive learning to MLM (ablation) | DISCO · REVEAL | F1: 36.9 -> 42.6 | Improved |
| use hard negatives instead of positive-only contrast (ablation) | DISCO · CodeXGLUE VD | accuracy: 64.4 (CLR+) vs 63.6 (CLR±) | No clear effect |
| add contrastive learning to MLM (ablation) | DISCO · POJ-104 | MAP@R: 83.32 -> 82.44 | Hurt |
| add NT-MLM to MLM+CLR± (ablation) | DISCO · BigCloneBench | F1: 94.2 -> 94.4 | Improved |
| add NT-MLM to MLM+CLR± (ablation) | DISCO · CodeXGLUE VD | accuracy: 63.6 -> 63.8 | No clear effect |
| pre-train on medium 13G C data instead of small | DISCO · REVEAL | F1: 46.4 -> 50.2 | Improved |
| pre-train on medium data instead of small | DISCO · POJ-104 | MAP@R: 82.8 -> 83.8 | Improved |
| pre-train on medium data instead of small | DISCO · CodeXGLUE VD | accuracy: 63.8 -> 64.6 | Improved |
| use small-data DISCO instead of larger-data GraphCodeBERT | DISCO · BigCloneBench | recall: 95.2 -> 94.6 | Hurt |
Open problems in self-supervision in supervised pipelines
Which self-supervised objectives hold up beyond the benchmark they were designed on, and at what cost?
- The method still trails or barely beats the best baselines on some benchmarks. · 7 papers state it
- Hyperparameters are tuned per dataset with no principled rule. · 6 papers state it
- Training uses more memory or compute than the plain supervised setup. · 6 papers state it
Closest papers by meaning
- Contrastive Code Representation Learning (EMNLP 2021 · similarity 0.86)
- Selective Knowledge Distillation: Fusing LLM Semantic Strengths with DNN Efficiency for Binary Code Similarity Detection (ACL 2026 · similarity 0.86)
- AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection (AAAI 2024 · similarity 0.86)
- Is Function Similarity Over-Engineered? Building a Benchmark (NeurIPS 2024 · similarity 0.85)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.85)
- SecCodePRM: A Process Reward Model for Code Security (ICML 2026 · 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.