Bridge-Coder: Transferring Model Capabilities from High-Resource to Low-Resource Programming Language

Most LLMs universally excel at generating code for high-resource programming languages (HRPLs) like Python, a capability that has become standard due to the abundance of training data.However, they struggle significantly with low-resource programming languages (LRPLs) such as D, exacerbating the digital divide.This gap limits developers using LRPLs from equally benefiting and hinders innovation within underrepresented programming communities.To make matters worse, manually generating data for LRPLs is highly labor intensive and requires expensive expert effort.In this work, we begin by analyzing the NL-PL Gap, where LLMs' direct-generated LRPL data often suffers from subpar quality due to the misalignment between natural language (NL) instructions and programming language (PL) outputs.To address this issue, we introduce Bridge-Assist Generation, a method to generate LRPL data utilizing LLM's general knowledge, HRPL proficiency, and in-context learning capabilities.To further maximize the utility of the generated data, we propose Bridged Alignment to obtain Bridge-Coder.To thoroughly evaluate our approach, we select four relatively LRPLs: R, D, Racket, and Bash.Experimental results reveal that Bridge-Coder achieves significant improvements over the original model, with average gains of 18.71 and 10.81 on two comprehensive benchmarks, M-HumanEval and M-MBPP.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.567
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Bridge-Coder: Transferring Model Capabilities from High-Resource to Low-Resource Programming Language

Renjie Pi, Jianshu Zhang, Runtao Liu, Rui Pan et al.
Distributed and Parallel Computing Systems
article

Bridge-Coder: Transferring Model Capabilities from High-Resource to Low-Resource Programming Language

Renjie Pi, Jianshu Zhang, Runtao Liu, Rui Pan, Jipeng Zhang, Ziqiang Zheng, Yuanzhe Li, Tong Zhang
article en

Abstract

Most LLMs universally excel at generating code for high-resource programming languages (HRPLs) like Python, a capability that has become standard due to the abundance of training data.However, they struggle significantly with low-resource programming languages (LRPLs) such as D, exacerbating the digital divide.This gap limits developers using LRPLs from equally benefiting and hinders innovation within underrepresented programming communities.To make matters worse, manually generating data for LRPLs is highly labor intensive and requires expensive expert effort.In this work, we begin by analyzing the NL-PL Gap, where LLMs' direct-generated LRPL data often suffers from subpar quality due to the misalignment between natural language (NL) instructions and programming language (PL) outputs.To address this issue, we introduce Bridge-Assist Generation, a method to generate LRPL data utilizing LLM's general knowledge, HRPL proficiency, and in-context learning capabilities.To further maximize the utility of the generated data, we propose Bridged Alignment to obtain Bridge-Coder.To thoroughly evaluate our approach, we select four relatively LRPLs: R, D, Racket, and Bash.Experimental results reveal that Bridge-Coder achieves significant improvements over the original model, with average gains of 18.71 and 10.81 on two comprehensive benchmarks, M-HumanEval and M-MBPP.

Openalex Percentile: Top 79%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Bridge-Coder: Transferring Model Capabilities from High-Resource to Low-Resource Programming Language — Renjie Pi, Jianshu Zhang, et al. · (2025) | TGRS Research Map | TGRS