scimeatlas

Research map / Large language models / Language, safety and interpretability

Language Agnostic Code Embeddings

NAACL 2024Large language models › Language, safety and interpretabilityapproach: Multilingual LLM data and cultureopen problems in this approach15 citations (OpenAlex)

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 changedWhereMeasuredEffect
remove language-specific component (CS-LRD) from embeddingsCodeBERT (mean) · XLCoST Code2Code, monolingual databaseMRR: 51.18 -> 69.33 (+18.15)Improved
remove language-specific component (LRD) from embeddingsCodeT5+ · XLCoST Code2Code, source-excluded multilingual databaseMRR: 48.99 -> 61.33 (+12.34)Improved
remove language-specific component (CS-LRD) from embeddingsCodeT5+ · XLCoST Code2Code, source-included multilingual databaseMRR: 29.89 -> 41.65 (+11.76)Improved
remove language-specific component (centering) from embeddingsCodeBERT (mean) · XLCoST Code2Code, monolingual databaseMRR: 51.18 -> 44.95 (-6.23)Hurt
remove language-specific component (any method) from embeddingsUniXcoder · XLCoST Code2CodeMRR: 97.62 -> 97.68 (+0.06) monolingualNo clear effect
remove language-specific component from embeddingsCodeT5+ · CodeSearchNet Text2CodeMRR: 74.29 -> 72.84 (centering, -1.45)No clear effect
remove language-specific component (centering) from embeddingsUniXcoder (mean) · CodeSearchNet Text2Code, monolingual databaseMRR: 46.58 -> 49.72 (+3.14)Improved
also project out English component from the query embedding (ablation)language-component removal for Text2Code · CodeSearchNet Text2CodeMRRImproved
increase rank r of the language subspace (ablation)CS-LRD · XLCoST Code2CodeMRRImproved
increase estimation set size to at least 1000 samples per language (ablation)Centering, LRD, CS-LRD · XLCoST Code2CodeMRR changeImproved
use CS-LRD on cls embedding instead of mean embedding (ablation)CodeBERT · XLCoST Code2Code, monolingual databaseMRR: 47.23 -> 73.45 (+26.22)Improved
remove language-specific component (centering) from pooler embedding (ablation)GraphCodeBERT (pooler) · XLCoST Code2Code, source-included multilingual databaseMRR: 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?

All 5 open problems and what was already tried →

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