Research map / Vision-language and multimodal / Cross-modal learning
UniXcoder: Unified Cross-Modal Pre-training for Code Representation
Daya Guo, Shuai Lu, Nan Duan, Yanlin Wang, Ming Zhou, Jian Yin
Sun Yat-sen University · Microsoft Research Asia · Langboat Technology
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 pre-training task · Zero-shot code-to-code search · MAP overall: 13.73 -> 20.45 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 contrastive learning pre-training task (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 13.73 -> 20.45 | Improved |
| add cross-modal generation task (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 18.03 -> 20.45 | Improved |
| add code comments to pre-training data (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 12.81 -> 20.45 | Improved |
| add AST to pre-training (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 17.06 -> 20.45 | Improved |
| add AST to pre-training (ablation) | UniXcoder · Code generation (CONCODE) | BLEU-4: 38.52 -> 38.23 | No clear effect |
| use proposed AST mapping instead of BFS (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 18.39 -> 20.45 | Improved |
| use proposed AST mapping instead of DFS (ablation) | UniXcoder · Zero-shot code-to-code search | MAP overall: 16.94 -> 20.45 | Improved |
| add contrastive learning task (ablation) | UniXcoder · POJ-104 | MAP@R: 87.83 -> 90.52 | Improved |
| add cross-modal generation task (ablation) | UniXcoder · POJ-104 | MAP@R: 90.51 -> 90.52 | No clear effect |
| add comments to pre-training data (ablation) | UniXcoder · CONCODE code generation | EM: 21.45 -> 22.60 | Improved |
| UniXcoder vs CodeT5-base | UniXcoder · CONCODE code generation | BLEU-4: 40.73 vs 38.23 | Hurt |
| use UniXcoder decoder-only-style completion vs CodeGPT | UniXcoder · JavaCorpus line completion | EM: 30.60 -> 32.90 | Improved |
Open problems in contrastive vision-language alignment
Which contrastive vision-language alignment methods carry over to other architectures, modalities and larger models, and at what cost?
- The alignment method adds training or inference cost. · 14 papers state it
- Tested only on CLIP-like dual encoders, not other architectures. · 12 papers state it
- Results depend on the quality of external LLMs, generators or labels. · 11 papers state it
Closest papers by meaning
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.90)
- CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation (EMNLP 2021 · similarity 0.90)
- CodeT5+: Open Code Large Language Models for Code Understanding and Generation (EMNLP 2023 · similarity 0.89)
- AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (ICML 2024 · similarity 0.87)
- JanusCoder: Towards a Foundational Visual-Programmatic Interface for Code Intelligence (ICLR 2026 · similarity 0.86)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.86)
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.