HyperAIHyperAI

Command Palette

Search for a command to run...

Multi-LCB: LiveCodeBench를 여러 프로그래밍 언어로 확장

Maria Ivanova Pavel Zadorozhny Rodion Levichev Ivan Petrov Adamenko Pavel Ivan Lopatin Alexey Kutalev Dmitrii Babaev

초록

LiveCodeBench(LCB)는 최근 코드 생성 작업에서 대규모 언어 모델(LLM)을 평가하기 위해 널리 채택된 벤치마크가 되었다. LCB는 프로그래밍 경시대회 문제를 선별하고 지속적으로 신규 문제를 추가하며 출시일 기준으로 필터링함으로써 데이터 오염을 고려한 평가를 수행하고, 코딩 능력에 대한 포괄적인 시각을 제공한다. 그러나 LCB는 여전히 Python에 국한되어 있어, 실제 소프트웨어 엔지니어링에서 요구되는 다양한 프로그래밍 언어에 대해 LLM이 일반화될 수 있는지에 대한 의문은 여전히 해결되지 않은 상태로 남아 있다. 본 연구에서는 Python을 포함한 12개의 프로그래밍 언어에 걸쳐 LLM을 평가하기 위한 벤치마크인 Multi-LCB를 제안한다. Multi-LCB는 LCB의 오염 통제 및 평가 프로토콜을 유지한 채, LCB 데이터셋의 Python 작업을 다른 언어의 동등한 작업으로 변환한다. 원래 LCB 형식과 완전히 호환되므로 Multi-LCB는 향후 LCB 업데이트를 자동으로 추적하여 언어 간 코드 생성 능력을 체계적으로 평가할 수 있으며, 모델이 Python을 훨씬 넘어선 성능을 유지하도록 요구한다. Multi-LCB에서 24개의 LLM에 대한 지시 수행 및 추론 능력을 평가한 결과, Python 과적합, 언어별 오염, 그리고 다국어 성능 간의 현격한 격차에 대한 증거가 확인되었다. 본 연구의 결과는 Multi-LCB를 다중 프로그래밍 언어 코드 평가를 위한 엄격한 새로운 벤치마크로 확립하며, LCB의 주요 한계를 직접적으로 해결하고 현재 LLM 능력의 중요한 격차를 드러낸다.

One-sentence Summary

Multi-LCB extends the Python-only LiveCodeBench benchmark to twelve programming languages by transforming its tasks into equivalent versions in other languages while preserving contamination controls, and an evaluation of twenty-four large language models reveals substantial cross-language performance disparities, language-specific contamination, and evidence of Python overfitting.

Key Contributions

  • Multi-LCB extends the LiveCodeBench benchmark to twelve programming languages by converting Python tasks into equivalent implementations while preserving the original release-date filtering and live evaluation protocol.
  • The framework automatically tracks future LiveCodeBench updates to enable continuous multilingual assessment and supports the evaluation of twenty-four instruction and reasoning-oriented large language models.
  • Empirical evaluation reveals Python overfitting, language-specific data contamination, and substantial performance disparities, demonstrating that Python proficiency does not reliably predict capability across other programming environments.

Introduction

Large language models have become central to AI-assisted programming and automated software development, making rigorous evaluation benchmarks essential for tracking model capabilities. While LiveCodeBench established a contamination-aware standard for measuring code generation, it evaluates only Python. This narrow scope obscures whether models truly generalize programming competence or merely overfit to a single language, leaving a critical gap in assessing real-world software engineering workflows. The authors address this limitation by introducing Multi-LCB, an extension that scales LiveCodeBench’s contamination-controlled protocol across twelve programming languages. By systematically translating tasks while preserving continuous updates and standardized execution, the authors enable direct cross-language comparison and uncover significant performance disparities, language-specific data leakage, and widespread Python overfitting in modern models.

Dataset

Dataset Composition and Sources

  • The authors introduce Multi-LCB, a multilingual extension of the LiveCodeBench (LCB) code generation dataset designed to evaluate programming capabilities across twelve languages.
  • The dataset aggregates problems from three major competitive programming platforms: LeetCode, AtCoder, and Codeforces.
  • Supported languages include C++, C#, Python, Java, Rust, Go, TypeScript, JavaScript, Ruby, PHP, Kotlin, and Scala.
  • Language selection prioritizes popularity, stable infrastructure support, and paradigmatic diversity across type systems, memory management models, and runtime environments.

Key Details for Each Subset

  • Platform Formats: AtCoder and Codeforces tasks retain their native STDIN/STDOUT format, while LeetCode tasks originally use a functional format requiring specific function signatures and are converted to the unified STDIN/STDOUT structure.
  • Filtering Rules: The dataset inherits LCB's contamination controls by filtering tasks based on contest release dates relative to model training windows.
  • Quality Constraints: Tasks admitting multiple valid answers or requiring explicit data structure construction are excluded to ensure strict input/output grading.
  • I/O Structures: Converted tasks are categorized by input and output dimensionality, including scalar values, one-dimensional arrays, and two-dimensional arrays.
  • Scope Limitations: The benchmark covers 12 languages based on 2025 popularity rankings and excludes others such as Swift or Haskell due to runtime or ecosystem constraints.

Usage and Processing

  • Evaluation Only: The authors use Multi-LCB strictly as an evaluation resource. No models are trained on the dataset, and there are no training splits or mixture ratios.
  • Prompt Strategy: The benchmark employs a zero-shot prompting strategy. Prompts consist of a system message defining target language expertise, a user message containing the natural language description with explicit STDIN/STDOUT specifications and sample cases, and a code block placeholder.
  • Conversion Pipeline: A dedicated pipeline converts LeetCode functional tasks to the unified STDIN/STDOUT format. This includes adapting problem prompts and transforming all test cases, including hidden tests, to enable a single evaluation harness across all languages.
  • Evaluation Protocol: Generated code is compiled or executed in the target language and assessed using the Pass@1 metric.

Metadata and Processing Details

  • Metadata Construction: Each task retains metadata from LCB, including contest release dates for contamination tracking, platform source, and difficulty levels.
  • Formatting Rules: During conversion, lists are formatted as space-separated values. Two-dimensional arrays use a structure where the first line indicates the number of rows, followed by row-wise space-separated values.
  • Language Agnosticism: The conversion process ensures tasks remain language-agnostic, requiring no language-specific rewriting of the core problem logic.
  • Validation: Manual inspection of sample tasks confirmed the absence of inconsistencies caused by language-dependent features.

Method

The authors present Multi-LCB, a comprehensive evaluation framework designed to assess large language models across twelve distinct programming languages. This approach extends the original LiveCodeBench (LCB) to address the limitation of Python-only evaluation, enabling direct comparison of model capabilities on identical problems across different languages. The system relies on a modular pipeline that standardizes the problem-solving process from prompt construction to code execution.

Refer to the framework diagram below:

The pipeline begins with problem samples sourced from LCB or LCB PRO, which include natural language descriptions and test case examples. The authors leverage a standardized prompt template to format these inputs. For non-Python settings, the header of the code block is adjusted (e.g., """cpp or """java), while the rest of the prompt structure remains identical to the Python baseline. This ensures consistency in how the LLM receives instructions. The LLM is then tasked with generating code that adheres to a STDIN/STDOUT format, allowing for standardized input and output handling.

A critical module in this architecture is the "LeetCode Problems Tests Converter." Since many coding benchmarks, such as LeetCode, provide test cases as structured data (e.g., lists or arrays) rather than raw text, this converter transforms them into a format suitable for standard input streams. For instance, an input like [[1,2,3], [4,5,6]] is converted into a text representation where dimensions and elements are printed on separate lines. This module also facilitates compatibility with tests from other platforms like AtCoder and Codeforces.

Finally, the generated code and the converted test cases are passed to the execution environment. The framework supports a diverse range of execution models, categorized into compiled languages (C++, Rust, Go, Java, C#, Scala, Kotlin), interpreted languages (Python, Ruby, PHP), and transpiled languages (TypeScript to JavaScript). The system executes the code against the test cases and computes the Pass@1 metric to evaluate correctness. This end-to-end process allows for rigorous, contamination-aware evaluation of coding models across a wide spectrum of programming languages.

Experiment

The evaluation utilizes a fully automated, zero-shot pipeline to assess twenty-four large language models across twelve programming languages, validating cross-lingual generalization capabilities, benchmark fidelity, and contamination controls through secure execution against hidden test suites. Qualitative analysis reveals a persistent performance bias toward Python, demonstrating that single-language proficiency is an unreliable proxy for true multi-language coding competence. Temporal checks and error breakdowns confirm that release-date filtering effectively isolates genuine generalization from pretraining exposure, while also highlighting algorithmic correctness as the primary bottleneck and exposing predictable syntactic and runtime challenges inherent to compiled languages. Ultimately, the findings indicate that robust multi-language code generation remains a significant frontier, heavily constrained by training data distribution, language-specific execution overheads, and escalating problem complexity.

The experiment evaluates the OpenReasoning-Nemotron-32B model across 12 programming languages, analyzing performance by task difficulty and error type. Results show a consistent decline in success rates as problem complexity increases from Easy to Hard, with Hard tasks proving the most challenging. Error analysis reveals language-specific patterns, such as higher compilation errors in C++ and runtime errors in Java, while Python maintains the highest performance and lowest error rates. Model performance decreases significantly as task difficulty increases, with Hard problems showing the largest performance gaps. Wrong-answer errors dominate across most languages, but compiled languages like C++ and Rust also exhibit notable compilation error rates. Python demonstrates superior capability with the highest success rates and minimal runtime or syntax errors compared to other languages.

The authors evaluate a suite of large language models on the Multi-LCB benchmark to assess code generation capabilities across multiple programming languages. The results demonstrate that reasoning-augmented models, particularly the largest Qwen3 variant, achieve the highest overall performance. The evaluation reveals a persistent trend where models score significantly higher on Python tasks compared to JavaScript and TypeScript, highlighting a language-specific bias in current capabilities. Reasoning-enhanced models dominate the leaderboard, with the top-performing variant showing superior capabilities across all evaluated languages. There is a consistent performance gap between Python and other languages, as models achieve higher success rates on Python tasks. Efficient model architectures demonstrate strong competitiveness, securing high rankings despite having fewer parameters than the leading models.

The authors evaluate a diverse set of large language models across multiple programming languages using a zero-shot prompting strategy. Results demonstrate that Python remains the most proficient language for current models, while compiled languages like Scala and Kotlin present significantly higher difficulty. Top-performing reasoning-augmented models establish a strong frontier, yet most evaluated systems struggle to achieve robust correctness across diverse language ecosystems. Python consistently yields the highest scores across nearly all models, whereas languages like Scala and Kotlin show the lowest performance. Reasoning-augmented models significantly outperform their non-reasoning counterparts, particularly in complex, compiled languages. Strong performance in Python does not reliably predict success in other programming languages, highlighting a gap in cross-lingual generalization.

The experiment evaluates a range of large language models across multiple programming languages to assess code generation capabilities. The results indicate that reasoning-augmented models, particularly the largest Qwen3 variant, achieve the highest overall performance. A consistent pattern emerges where Python scores are significantly higher than those of other languages, with Scala demonstrating the lowest success rates across most models. Reasoning-enhanced models consistently outperform instruction-tuned variants of comparable size. Python yields the highest pass rates across the majority of models, whereas Scala shows the lowest performance. The largest evaluated model establishes a clear performance advantage over smaller or less capable counterparts.

The evaluation demonstrates that reasoning-augmented models consistently achieve higher Pass@1 scores across diverse programming languages compared to standard instruction-tuned variants. Performance varies substantially by language, with interpreted languages like TypeScript and Go generally yielding higher success rates than compiled languages such as Rust and Scala. Additionally, platform-specific challenges are evident, as models often perform better on interview-style problems than on competitive programming tasks. Reasoning-enhanced models significantly outperform their standard counterparts across all evaluated languages. Interpreted languages like TypeScript and Go show higher overall success rates compared to compiled languages like Rust and Scala. Models generally achieve higher Pass@1 scores on LeetCode-style problems than on competitive programming platforms like AtCoder.

Multiple experiments evaluate a diverse range of large language models across numerous programming languages to assess code generation capabilities and validate the effects of reasoning augmentation, task complexity, and language paradigms. Qualitative analysis reveals that reasoning-enhanced architectures consistently outperform standard instruction-tuned variants, with larger models demonstrating superior robustness on increasingly difficult problems. Performance exhibits a pronounced language-specific bias, as interpreted languages like Python and TypeScript yield significantly higher success rates than compiled alternatives, and strong results in one language do not reliably predict cross-lingual generalization. Furthermore, error patterns highlight distinct challenges across ecosystems, with compiled languages struggling primarily with syntax and compilation issues while models consistently perform better on standard interview-style tasks than on rigorous competitive programming benchmarks.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp
Multi-LCB: LiveCodeBench를 여러 프로그래밍 언어로 확장 | 문서 | HyperAI초신경