NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Information Parity for Code: The Scope of Transfer in Multilingual Code Models

Alexander Tsvetkov, Alon Kipnis

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Software Engineering Benchmarks · Type: new method · Keywords: multilingual code models, cross-language transfer, information parity, code metrics, benchmark analysis

Areas: Code & Coding Agents › Code Verification › Coding agent benchmarks; Multilingual › Cross-Lingual Methods › Cross-lingual evaluation; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Code Generation Benchmarks; Benchmarks for LLMs & Agents › Cross-Domain Agent Evaluation › Software Engineering Benchmarks

Summary

The paper adapts Information Parity to code, introducing Code Information Parity (Code IP) as a metric to diagnose cross-language transfer in multilingual code models.

Explained to a 5-year-old

We have big computer brain models that write code in many languages. Sometimes they are really good at one language and bad at another. To understand why, we created a new game called Code IP that checks if the model understands different languages equally well. We made a special set of small programs in many languages that are easy to compare. By playing this game, we see that the model is good at short code snippets but not so good at longer programs, helping us fix the problems.

Explained to a 5-year-old, longer

Imagine you have a robot that can write stories in many languages, like English, Spanish, and French. Sometimes it writes great stories in English but makes lots of mistakes in Spanish. To figure out if the robot really understands Spanish or if it just needs more practice, we invented a new test called Code Information Parity, or Code IP for short. We built a big collection of tiny programs that are the same idea but written in 20 different programming languages, making sure they are simple and fair. We then run the robot on these programs and see how well it does. The results show that the robot is really good at writing short pieces of code in any language, but when we ask it to write longer, whole-program code, the test doesn’t tell us much. This helps us know where the robot needs more help and where it already works well.

For a technical reader

The work extends the Information Parity concept from natural language to code, constructing a curated multilingual code corpus that preserves semantics while minimizing boilerplate. Code Information Parity (Code IP) is computed on this corpus to measure cross-language representational efficiency. Empirical analysis shows strong negative correlations between Code IP and short-horizon generation benchmarks, moderate negative correlation on execution prediction, and no correlation on whole-program synthesis, highlighting regime-specific transfer patterns.

Problem

Large language models exhibit uneven performance across programming languages, and benchmark gaps often reflect narrow task regimes and evaluation-specific confounds. This makes it hard to tell whether poor performance stems from a broader weakness with a language, a broader difficulty on a task, or a limitation specific to a task-language combination.

Method

The approach adapts the Information Parity measure from natural language to code, constructing a controlled parallel corpus of 22 algorithms across 20 languages that preserves core semantics while minimizing boilerplate and library shortcuts. Code Information Parity is then computed on this corpus to assess cross-language representational efficiency. Correlations with multilingual benchmark results are analyzed across different task regimes.

Results

Code IP shows strong negative correlations with short-horizon generation benchmarks (ρ ranging from -0.55 to -0.81), a moderate negative correlation on execution prediction (ρ = -0.429), and no correlation on whole-program synthesis (ρ = +0.105).

Contributions

It extends the Information Parity concept to code, introducing a curated multilingual code corpus for evaluating cross-language transfer, and reveals how parity signals differ across generation, execution prediction, and synthesis tasks.

Limitations and assumptions

The metric is regime-specific and may not capture all aspects of multilingual coding ability; the corpus focuses on algorithmic snippets and may not reflect real-world codebases.

Practical relevance

Provides developers and researchers with a diagnostic tool to identify language-specific weaknesses in code models, guiding targeted improvements and benchmark design.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction