paper-with-me

Papers

Measuring The Impact Of Programming Language Distribution

2023-02-03 · Gabriel Orlanski, Kefan Xiao, Xavier Garcia, Jeffrey Hui, Joshua Howland, Jonathan Malmaud, Jacob Austin, Rishabh Singh, Michele Catasta

Current benchmarks for evaluating neural code models focus on only a small subset of programming languages, excluding many popular languages such as Go or Rust. To ameliorate this issue, we present the BabelCode framework for execution-based evaluation of any benchmark in any language. BabelCode enables new investigations into the qualitative performance of models' memory, runtime, and individual test case results. Additionally, we present a new code translation dataset called Translating Python Programming Puzzles (TP3) from the Python Programming Puzzles (Schuster et al. 2021) benchmark that involves translating expert-level python functions to any language. With both BabelCode and the TP3 benchmark, we investigate if balancing the distributions of 14 languages in a training dataset improves a large language model's performance on low-resource languages. Training a model on a balanced corpus results in, on average, 12.34% higher $pass@k$ across all tasks and languages compared to the baseline. We find that this strategy achieves 66.48% better $pass@k$ on low-resource languages at the cost of only a 12.94% decrease to high-resource languages. In our three translation tasks, this strategy yields, on average, 30.77% better low-resource $pass@k$ while having 19.58% worse high-resource $pass@k$.

📄 PDF Abstract BibTeX arXiv:2302.01973

Code (1)

google-research/babelcode 공식 구현

Tasks

Code TranslationTranslation

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Hope, Aspirations, and the Impact of LLMs on Female Programming Learners in Afghanistan

2025-11-09 · Hamayoon Behmanush, Freshta Akhtari, Roghieh Nooripour, Ingmar Weber 외 arxiv

Designing impactful educational technologies in contexts of socio-political instability requires a nuanced understanding of educational aspirations. Currently, scalable metrics for measuring aspirations are limited. This…

EsoLang-Bench: Evaluating Genuine Reasoning in Large Language Models via Esoteric Programming Languages

2026-03-10 · Aman Sharma, Paras Chopra arxiv

Large language models achieve near-ceiling performance on code generation benchmarks, yet most of the programming languages used by popular benchmarks such as SWE-bench and HumanEval (e.g. Python, JavaScript) are squarel…

Few-Shot LearningCode Generation

Measuring Item Similarity in Introductory Programming: Python and Robot Programming Case Studies

2018-05-24 · Radek Pelánek, Tomáš Effenberger, Matěj Vaněk, Vojtěch Sassmann 외

A personalized learning system needs a large pool of items for learners to solve. When working with a large pool of items, it is useful to measure the similarity of items. We outline a general approach to measuring the s…

No News is Good News: A Critique of the One Billion Word Benchmark

2021-10-25 · Helen Ngo, João G. M. Araújo, Jeffrey Hui, Nicholas Frosst

The One Billion Word Benchmark is a dataset derived from the WMT 2011 News Crawl, commonly used to measure language modeling ability in natural language processing. We train models solely on Common Crawl web scrapes part…

Language ModelingLanguage Modelling

Green AI: Which Programming Language Consumes the Most?

2024-12-31 · Niccolò Marini, Leonardo Pampaloni, Filippo Di Martino, Roberto Verdecchia 외

AI is demanding an evergrowing portion of environmental resources. Despite their potential impact on AI environmental sustainability, the role that programming languages play in AI (in)efficiency is to date still unknown…