REVIEW 2 cited by
Multi-Programming Language Ensemble for Code Generation in Large Language Model
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Multi-Programming Language Ensemble for Code Generation in Large Language Model
read the original abstract
Large language models (LLMs) have significantly improved code generation, particularly in one-pass code generation. However, most existing approaches focus solely on generating code in a single programming language, overlooking the potential of leveraging the multi-language capabilities of LLMs. LLMs have varying patterns of errors across different languages, suggesting that a more robust approach could be developed by leveraging these multi-language outputs. In this study, we propose Multi-Programming Language Ensemble (MPLE), a novel ensemble-based method that utilizes code generation across multiple programming languages to enhance overall performance. By treating each language-specific code generation process as an individual "weak expert" and effectively integrating their outputs, our method mitigates language-specific errors and biases. This multi-language ensemble strategy leverages the complementary strengths of different programming languages, enabling the model to produce more accurate and robust code. Our approach can be seamlessly integrated with commonly used techniques such as the reflection algorithm and Monte Carlo tree search to improve code generation quality further. Experimental results show that our framework consistently enhances baseline performance by up to 17.92% on existing benchmarks (HumanEval and HumanEval-plus), with a standout result of 96.25% accuracy on the HumanEval benchmark, achieving new state-of-the-art results across various LLM models. The code will be released at https://github.com/NinjaTech-AI/MPLE
Forward citations
Cited by 2 Pith papers
-
A Systematic Methodology for Evaluating Failure Independence in LLM-Generated Code
Across 224 problems and twelve models, LLM-generated implementations show strongly correlated failures, so majority-vote N-version ensembles realize only about 0.43–0.44 of the reliability gain expected under independence.
-
Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Study
LLM-generated programs, especially when paired across languages or with human code, produce measurable 1-out-of-2 reliability gains under classical software-diversity analysis on three programming-contest specifications.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.