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
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add representation-level augmentation | RoBERTa (code) · CodeSearchNet Python | MRR: 0.610 -> 0.663 | Improved |
| add representation-level augmentation | CodeBERT · CodeSearchNet (Ruby, JavaScript, Python) | MRR: 0.648 -> 0.664 (Ruby), 0.636 -> 0.654 (Python) | Improved |
| add representation-level augmentation | GraphCodeBERT · CodeSearchNet Ruby | MRR: 0.705 -> 0.721 | Improved |
| add representation-level augmentation | CodeBERT · CodeSearchNet PHP | MRR: 0.615 -> 0.619 | Improved |
| apply any single augmentation method alone (ablation) | RoBERTa, CodeBERT, GraphCodeBERT · CodeSearchNet Python | MRR: e.g. RoBERTa 0.629 -> 0.658 (stochastic perturbation) | Improved |
| combine all augmentations instead of using one (ablation) | RoBERTa, CodeBERT, GraphCodeBERT · CodeSearchNet Python | MRR: CodeBERT 0.655 (binary) vs 0.654 (all) | No clear effect |
| add augmentation to UniXCoder with vector normalization | UniXCoder · CodeSearchNet Python | MRR: 0.721 -> 0.699 | Hurt |
| add augmentation to UniXCoder after removing normalization | UniXCoder · CodeSearchNet Python | MRR: 0.708 -> 0.728 | Improved |
| remove vector normalization from UniXCoder (no augmentation) (ablation) | UniXCoder · CodeSearchNet Python | MRR: 0.721 -> 0.708 | Hurt |
| increase augmentation times N from 5 to 15 or 25 (ablation) | CodeBERT · CodeSearchNet Python | MRR: greater than Table 3 result; slower convergence (30 vs 50 epochs) | Improved |
| add representation-level augmentation to a triplet loss | CodeBERT · CodeSearchNet Ruby | MRR: 0.594 -> 0.610 | Improved |
| add representation-level augmentation to a logistic loss | GraphCodeBERT · CodeSearchNet JavaScript | MRR: 0.612 -> 0.632 | Improved |
Closest papers by meaning
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.88)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.87)
- Uncertainty-Aware Contrastive Learning with Hard Negative Sampling for Code Search Tasks (AAAI 2025 · similarity 0.87)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.87)
- PinNet: Pinpoint Instructive Information for Retrieval Augmented Code-to-Text Generation (ICML 2024 · similarity 0.85)
- CHICOT: A Developer-Assistance Toolkit for Code Search with High-Level Contextual Information (AAAI 2024 · 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.
