AI Paper Atlas

Research map / Label-efficient and robust learning / Self-supervised and contrastive

Contrastive Code Representation Learning

Paras Jain, Ajay Jain, Tianjun Zhang, Pieter Abbeel, Joseph E. Gonzalez, Ion Stoica

EMNLP 2021Label-efficient and robust learning › Self-supervised and contrastiveapproach: Representation evaluation and trade-offs231 citations (OpenAlex)

University of California, Berkeley

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

15measured effects
11improved
3hurt
1mixed

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 data augmentation

add compiler data augmentations during supervised training from scratch · method name prediction and type inference · F1 / Acc@1: F1 16.86 -> 15.65; Acc@1 45.66 -> 44.14; 51.73 -> 50.33 Hurt

What 778 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 ContraCode pre-training to Transformer instead of RoBERTa MLMTransformer · HackerRank clone detection, adversarial N=4AUROC: 25.83 -> 64.97Improved
add ContraCode pre-training to TransformerTransformer · HackerRank clone detection, natural codeAUROC: 72.31 -> 75.73Improved
add hybrid ContraCode + MLM objective instead of ContraCode alone (ablation)Transformer · HackerRank clone detection, adversarial N=4AUROC: 64.97 -> 37.81Hurt
add hybrid ContraCode + MLM objective (ablation)Transformer · HackerRank clone detection, natural codeAUROC: 75.73 -> 79.39Improved
add RoBERTa MLM pre-training to Transformer for type inferenceTransformer · TypeScript type inferenceAcc@1: 45.66 -> 40.85Hurt
add ContraCode pre-training to TransformerTransformer · TypeScript type inferenceAcc@1: 45.66 -> 46.86Improved
add ContraCode pre-training to DeepTyper BiLSTMDeepTyper BiLSTM · TypeScript type inferenceAcc@1: 51.73 -> 54.01Improved
add ContraCode pre-training to Transformer for method name predictionTransformer · CodeSearchNet JavaScript method name predictionF1: 16.86 -> 17.24Improved
add compiler data augmentations during supervised training from scratch (ablation)Transformer / DeepTyper · method name prediction and type inferenceF1 / Acc@1: F1 16.86 -> 15.65; Acc@1 45.66 -> 44.14; 51.73 -> 50.33Hurt
add code compression augmentations (T, C, DCE, CF) to pre-training (ablation)ContraCode DeepTyper BiLSTM · TypeScript type inferenceAcc@1: 50.69 -> 52.65Improved
add line subsampling to pre-training augmentations (ablation)ContraCode DeepTyper BiLSTM · TypeScript type inferenceAcc@1: 51.05 -> 52.65Improved
add identifier modification augmentations (VR, IM) to pre-training (ablation)ContraCode DeepTyper BiLSTM · TypeScript type inferenceAcc@1: 51.94 -> 52.65Improved

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