Across Programming Language Silos: A Study on Cross-Lingual Retrieval-augmented Code Generation
Qiming Zhu 1,2 , Jialun Cao 3 , Xuanang Chen 1 , Yaojie Lu 1 , Hongyu Lin 1 , Xianpei Han 1,2 , Le Sun 1,2 , Shing-Chi Cheung 3 · 2025
Read Across Programming Language Silos: A Study on Cross-Lingual Retrieval-augmented Code Generation by Qiming Zhu 1,2 , Jialun Cao 3 , Xuanang Chen 1 , Yaojie Lu 1 , Hongyu Lin 1 , Xianpei Han 1,2 , Le Sun 1,2 , Shing-Chi Cheung 3 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-03535.txt.
Description
Qiming Zhu and co-authors study retrieval-augmented code generation across programming languages in a 2025 paper. Most such research stays inside a single language. Real teams migrate and reuse code across languages constantly. Cross-lingual transfer had never been mapped systematically.
A new data set covers thirteen languages with nearly fourteen thousand instances. Experiments probed how knowledge moves between language pairs. Transfer proved non-trivial even with direct injection of examples. Success depended on how close the languages are linguistically. Diversity of the model's training corpus also mattered. Code-specific retrievers relied little on natural language inside code. Comments and identifiers mattered less than expected there. The authors distill guidance for multilingual system design. Language pairing and corpus mix become planning variables. The data set is released with the paper.
Catalog record
| CREATOR | Qiming Zhu 1,2 , Jialun Cao 3 , Xuanang Chen 1 , Yaojie Lu 1 , Hongyu Lin 1 , Xianpei Han 1,2 , Le Sun 1,2 , Shing-Chi Cheung 3 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 58 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2506-03535