paper-with-me

홈 › Papers

CODE-DITING: A Reasoning-Based Metric for Functional Alignment in Code Evaluation

2025-05-26 · Guang Yang, Yu Zhou, Xiang Chen, Wei Zheng, Xing Hu, Xin Zhou, David Lo, Taolue Chen

Trustworthy evaluation methods for code snippets play a crucial role in neural code generation. Traditional methods, which either rely on reference solutions or require executable test cases, have inherent limitation in flexibility and scalability. The recent LLM-as-Judge methodology offers a promising alternative by directly evaluating functional consistency between the problem description and the generated code. To systematically understand the landscape of these LLM-as-Judge methods, we conduct a comprehensive empirical study across three diverse datasets. Our investigation reveals the pros and cons of two categories of LLM-as-Judge methods: the methods based on general foundation models can achieve good performance but require complex prompts and lack explainability, while the methods based on reasoning foundation models provide better explainability with simpler prompts but demand substantial computational resources due to their large parameter sizes. To address these limitations, we propose CODE-DITING, a novel code evaluation method that balances accuracy, efficiency and explainability. We develop a data distillation framework that effectively transfers reasoning capabilities from DeepSeek-R1671B to our CODE-DITING 1.5B and 7B models, significantly enhancing evaluation explainability and reducing the computational cost. With the majority vote strategy in the inference process, CODE-DITING 1.5B outperforms all models with the same magnitude of parameters and achieves performance which would normally exhibit in a model with 5 times of parameter scale. CODE-DITING 7B surpasses GPT-4o and DeepSeek-V3 671B, even though it only uses 1% of the parameter volume of these large models. Further experiments show that CODEDITING is robust to preference leakage and can serve as a promising alternative for code evaluation.

📄 PDF Abstract BibTeX arXiv:2505.19502

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

WebMMU: A Benchmark for Multimodal Multilingual Website Understanding and Code Generation

2025-08-22 · Rabiul Awal, Mahsa Massoud, Aarash Feizi, Zichao Li 외 arxiv

We present WebMMU, a multilingual benchmark that evaluates three core web tasks: (1) website visual question answering, (2) code editing involving HTML/CSS/JavaScript, and (3) mockup-to-code generation. Unlike prior benc…

Visual Question AnsweringInformation ExtractionCode Generation

On the Limitations of Embedding Based Methods for Measuring Functional Correctness for Code Generation

2024-04-26 · Atharva Naik

The task of code generation from natural language (NL2Code) has become extremely popular, especially with the advent of Large Language Models (LLMs). However, efforts to quantify and track this progress have suffered due…

Code GenerationHumanEval

Informed Multi-context Entity Alignment

2022-01-02 · Kexuan Xin, Zequn Sun, Wen Hua, Wei Hu 외

Entity alignment is a crucial step in integrating knowledge graphs (KGs) from multiple sources. Previous attempts at entity alignment have explored different KG structures, such as neighborhood-based and path-based conte…

Entity AlignmentEntity EmbeddingsKnowledge GraphsRelation

How RL Unlocks the Aha Moment in Geometric Interleaved Reasoning

2026-03-01 · Xiangxiang Zhang, Caijun Jia, Siyuan Li, Dingyu He 외 arxiv

Solving complex geometric problems inherently requires interleaved reasoning: a tight alternation between constructing diagrams and performing logical deductions. Although recent Multimodal Large Language Models (MLLMs) …

Reinforcement Learning

VideoCoF: Unified Video Editing with Temporal Reasoner

2025-12-08 · Xiangpeng Yang, Ji Xie, Yiyuan Yang, Yue Ma 외 arxiv

Existing video editing methods face a critical trade-off: expert models offer precision but rely on task-specific priors like masks, hindering unification; conversely, unified temporal in-context learning models are mask…