paper-with-me

Papers

M2G-Eval: Enhancing and Evaluating Multi-granularity Multilingual Code Generation

2025-12-27 · Fanglin Xu, Wei Zhang, Jian Yang, Guo Chen, Aishan Liu, Zhoujun Li, Xianglong Liu, Bryan Dai arxiv

The rapid advancement of code large language models (LLMs) has sparked significant research interest in systematically evaluating their code generation capabilities, yet existing benchmarks predominantly assess models at a single structural granularity and focus on limited programming languages, obscuring fine-grained capability variations across different code scopes and multilingual scenarios. We introduce M2G-Eval, a multi-granularity, multilingual framework for evaluating code generation in large language models (LLMs) across four levels: Class, Function, Block, and Line. Spanning 18 programming languages, M2G-Eval includes 17K+ training tasks and 1,286 human-annotated, contamination-controlled test instances. We develop M2G-Eval-Coder models by training Qwen3-8B with supervised fine-tuning and Group Relative Policy Optimization. Evaluating 30 models (28 state-of-the-art LLMs plus our two M2G-Eval-Coder variants) reveals three main findings: (1) an apparent difficulty hierarchy, with Line-level tasks easiest and Class-level most challenging; (2) widening performance gaps between full- and partial-granularity languages as task complexity increases; and (3) strong cross-language correlations, suggesting that models learn transferable programming concepts. M2G-Eval enables fine-grained diagnosis of code generation capabilities and highlights persistent challenges in synthesizing complex, long-form code.

📄 PDF Abstract BibTeX arXiv:2512.22628

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

MAKIEval: A Multilingual Automatic WiKidata-based Framework for Cultural Awareness Evaluation for LLMs

2025-05-27 · Raoyuan Zhao, Beiduo Chen, Barbara Plank, Michael A. Hedderich

Large language models (LLMs) are used globally across many languages, but their English-centric pretraining raises concerns about cross-lingual disparities for cultural awareness, often resulting in biased outputs. Howev…

SpecificityText GenerationTranslation

M-Prometheus: A Suite of Open Multilingual LLM Judges

2025-04-07 · José Pombal, Dongkeun Yoon, Patrick Fernandes, Ian Wu 외

The use of language models for automatically evaluating long-form text (LLM-as-a-judge) is becoming increasingly common, yet most LLM judges are optimized exclusively for English, with strategies for enhancing their mult…

Machine TranslationModel Selection

ADAM: A Diverse Archive of Mankind for Evaluating and Enhancing LLMs in Biographical Reasoning

2025-09-26 · Jasin Cekinmez, Omid Ghahroodi, Saad Fowad Chandle, Dhiman Gupta 외 arxiv

We introduce ADAM (A Diverse Archive of Mankind), a framework for evaluating and improving multimodal large language models (MLLMs) in biographical reasoning. To the best of our knowledge, this is the first work to syste…

X-WebAgentBench: A Multilingual Interactive Web Benchmark for Evaluating Global Agentic System

2025-05-21 · Peng Wang, Ruihan Tao, Qiguang Chen, Mengkang Hu 외

Recently, large language model (LLM)-based agents have achieved significant success in interactive environments, attracting significant academic and industrial attention. Despite these advancements, current research pred…

Language ModelingLanguage ModellingLarge Language Model

Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore

2024-02-28 · Sheikh Shafayat, Eunsu Kim, Juhyun Oh, Alice Oh

Evaluating the factuality of long-form large language model (LLM)-generated text is an important challenge. Recently there has been a surge of interest in factuality evaluation for English, but little is known about the …

DiversityFormHallucinationLanguage Modeling+3