scimeatlas

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

ACL 2022Vision-language and multimodal › Cross-modal learningapproach: Contrastive vision-language alignmentopen problems in this approach1,125 citations (OpenAlex)

Sun Yat-sen University · Microsoft Research Asia · Langboat Technology

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

13measured effects
9improved
2no 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.

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

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 contrastive learning pre-training task (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 13.73 -> 20.45Improved
add cross-modal generation task (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 18.03 -> 20.45Improved
add code comments to pre-training data (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 12.81 -> 20.45Improved
add AST to pre-training (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 17.06 -> 20.45Improved
add AST to pre-training (ablation)UniXcoder · Code generation (CONCODE)BLEU-4: 38.52 -> 38.23No clear effect
use proposed AST mapping instead of BFS (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 18.39 -> 20.45Improved
use proposed AST mapping instead of DFS (ablation)UniXcoder · Zero-shot code-to-code searchMAP overall: 16.94 -> 20.45Improved
add contrastive learning task (ablation)UniXcoder · POJ-104MAP@R: 87.83 -> 90.52Improved
add cross-modal generation task (ablation)UniXcoder · POJ-104MAP@R: 90.51 -> 90.52No clear effect
add comments to pre-training data (ablation)UniXcoder · CONCODE code generationEM: 21.45 -> 22.60Improved
UniXcoder vs CodeT5-baseUniXcoder · CONCODE code generationBLEU-4: 40.73 vs 38.23Hurt
use UniXcoder decoder-only-style completion vs CodeGPTUniXcoder · JavaCorpus line completionEM: 30.60 -> 32.90Improved

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?

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