AI Paper Atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Exploring Representation-level Augmentation for Code Search

Haochen Li, Chunyan Miao, Cyril Leung, Yanxian Huang, Yuan Huang, Hongyu Zhang, Yanlin Wang

EMNLP 2022Label-efficient and robust learning › Recognition and long-tailapproach: Contrastive representation theory37 citations (OpenAlex)

Nanyang Technological University · Sun Yat-sen University

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

13measured effects
10improved
1no 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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add representation-level augmentationRoBERTa (code) · CodeSearchNet PythonMRR: 0.610 -> 0.663Improved
add representation-level augmentationCodeBERT · CodeSearchNet (Ruby, JavaScript, Python)MRR: 0.648 -> 0.664 (Ruby), 0.636 -> 0.654 (Python)Improved
add representation-level augmentationGraphCodeBERT · CodeSearchNet RubyMRR: 0.705 -> 0.721Improved
add representation-level augmentationCodeBERT · CodeSearchNet PHPMRR: 0.615 -> 0.619Improved
apply any single augmentation method alone (ablation)RoBERTa, CodeBERT, GraphCodeBERT · CodeSearchNet PythonMRR: e.g. RoBERTa 0.629 -> 0.658 (stochastic perturbation)Improved
combine all augmentations instead of using one (ablation)RoBERTa, CodeBERT, GraphCodeBERT · CodeSearchNet PythonMRR: CodeBERT 0.655 (binary) vs 0.654 (all)No clear effect
add augmentation to UniXCoder with vector normalizationUniXCoder · CodeSearchNet PythonMRR: 0.721 -> 0.699Hurt
add augmentation to UniXCoder after removing normalizationUniXCoder · CodeSearchNet PythonMRR: 0.708 -> 0.728Improved
remove vector normalization from UniXCoder (no augmentation) (ablation)UniXCoder · CodeSearchNet PythonMRR: 0.721 -> 0.708Hurt
increase augmentation times N from 5 to 15 or 25 (ablation)CodeBERT · CodeSearchNet PythonMRR: greater than Table 3 result; slower convergence (30 vs 50 epochs)Improved
add representation-level augmentation to a triplet lossCodeBERT · CodeSearchNet RubyMRR: 0.594 -> 0.610Improved
add representation-level augmentation to a logistic lossGraphCodeBERT · CodeSearchNet JavaScriptMRR: 0.612 -> 0.632Improved

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