Research map / Large language models / Language, safety and interpretability
Language Agnostic Code Embeddings
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
8improved
3no clear effect
3hurt
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 |
|---|---|---|---|
| remove language-specific component (CS-LRD) from embeddings | CodeBERT (mean) · XLCoST Code2Code, monolingual database | MRR: 51.18 -> 69.33 (+18.15) | Improved |
| remove language-specific component (LRD) from embeddings | CodeT5+ · XLCoST Code2Code, source-excluded multilingual database | MRR: 48.99 -> 61.33 (+12.34) | Improved |
| remove language-specific component (CS-LRD) from embeddings | CodeT5+ · XLCoST Code2Code, source-included multilingual database | MRR: 29.89 -> 41.65 (+11.76) | Improved |
| remove language-specific component (centering) from embeddings | CodeBERT (mean) · XLCoST Code2Code, monolingual database | MRR: 51.18 -> 44.95 (-6.23) | Hurt |
| remove language-specific component (any method) from embeddings | UniXcoder · XLCoST Code2Code | MRR: 97.62 -> 97.68 (+0.06) monolingual | No clear effect |
| remove language-specific component from embeddings | CodeT5+ · CodeSearchNet Text2Code | MRR: 74.29 -> 72.84 (centering, -1.45) | No clear effect |
| remove language-specific component (centering) from embeddings | UniXcoder (mean) · CodeSearchNet Text2Code, monolingual database | MRR: 46.58 -> 49.72 (+3.14) | Improved |
| also project out English component from the query embedding (ablation) | language-component removal for Text2Code · CodeSearchNet Text2Code | MRR | Improved |
| increase rank r of the language subspace (ablation) | CS-LRD · XLCoST Code2Code | MRR | Improved |
| increase estimation set size to at least 1000 samples per language (ablation) | Centering, LRD, CS-LRD · XLCoST Code2Code | MRR change | Improved |
| use CS-LRD on cls embedding instead of mean embedding (ablation) | CodeBERT · XLCoST Code2Code, monolingual database | MRR: 47.23 -> 73.45 (+26.22) | Improved |
| remove language-specific component (centering) from pooler embedding (ablation) | GraphCodeBERT (pooler) · XLCoST Code2Code, source-included multilingual database | MRR: 14.76 -> 2.58 (-12.18) | Hurt |
Open problems in multilingual LLM data and culture
Which languages, model sizes and evaluation methods are still missing from multilingual LLM and translation studies?
- Only a few languages are covered and low-resource ones are mostly missing. · 42 papers state it
- Only small models are tested, and larger ones are left untested. · 21 papers state it
- Data is machine-translated or LLM-generated and may carry artifacts. · 15 papers state it
Closest papers by meaning
- XCodeEval: An Execution-based Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval (ACL 2024 · similarity 0.91)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.90)
- CONSIDER: Commonalities and Specialties Driven Multilingual Code Retrieval Framework (AAAI 2024 · similarity 0.90)
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.88)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.88)
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding (ICLR 2025 · similarity 0.88)
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.