Research map / Label-efficient and robust learning / Recognition and long-tail
OASIS: Order-Augmented Strategy for Improved Code Search
Zuchen Gao, Zizheng Zhan, Xianming Li, Erxin Yu, Haotian Zhang, Bin Chen, Yuqun Zhang, Jing Li
Southern University of Science and Technology · The Hong Kong Polytechnic University · Kuaishou
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 InfoNCE contrastive loss to order loss · NL2Code avg · MRR@1000: 67.33 -> 69.75 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 order (CoSENT) loss to InfoNCE (ablation) | OASIS · NL2Code avg | MRR@1000: 65.49 -> 69.75 | Improved |
| Add InfoNCE contrastive loss to order loss (ablation) | OASIS · NL2Code avg | MRR@1000: 67.33 -> 69.75 | Improved |
| Add similarity refinement with LLM (ablation) | OASIS · NL2Code avg | MRR@1000: 69.15 -> 69.75 | Improved |
| Use both AST and threshold candidate selection instead of one (ablation) | OASIS · NL2Code avg | MRR@1000: 69.46 -> 69.75 | Improved |
| Train with plain InfoNCE on LLM-generated docstring data | Qwen2.5-Coder-1.5B · NL2Code avg | MRR@1000: 65.96 -> 65.49 | Hurt |
| Raise similarity adjustment delta_s from 0.1 to 0.2 (ablation) | OASIS · NL2Code validation avg | MRR: 71.79 -> 71.58 | Hurt |
| Lower similarity adjustment delta_s from 0.1 to 0.05 (ablation) | OASIS · NL2Code validation avg | MRR: 71.79 -> 71.65 | Hurt |
| Use OASIS training instead of CodeSage-large | OASIS · Code2Code (9 languages) | MAP: 38.51 -> 47.87 | Improved |
| Use OASIS instead of CodeSage-large on hard Python subset | OASIS · CSN Python hard subset | MRR@1000: 45.67 -> 51.13 | Improved |
| Apply OASIS training to a small CodeBERT backbone | OASIS (codebert-mlm) · CSN NL2Code (avg) | MRR: 63.68 -> 65.97 | Improved |
| Apply OASIS training to a small CodeBERT backbone | OASIS (codebert-mlm) · CSN Python | MRR: 64.38 -> 63.32 | Hurt |
| Use OASIS instead of Text-Embedding-3-Large (the label source) | OASIS · CoSQA | MRR@1000: 55.38 -> 55.77 | Improved |
Open problems in multilingual language representation pretraining
Do multilingual text representations hold up beyond a few languages, larger models and real, non-synthetic data?
- Few languages and scripts are covered, and English dominates. · 37 papers state it
- Models are tested only at small scale, with larger ones untried. · 15 papers state it
- Data built with LLMs, translation or synthesis may carry noise and bias. · 15 papers state it
Closest papers by meaning
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.87)
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.86)
- CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval (CVPR 2026 · similarity 0.86)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.86)
- Uncertainty-Aware Contrastive Learning with Hard Negative Sampling for Code Search Tasks (AAAI 2025 · similarity 0.86)
- Planning in Natural Language Improves LLM Search for Code Generation (ICLR 2025 · 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.