arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.23989cs.SEcs.AI
收藏

Rubric Is All You Need: 利用问题特定评分标准增强基于LLM的代码评估

Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics

BITS Pilani(比特斯理工学院)
Aditya Pathak, Rachit Gandhi, Vaibhav Uttam, Arnav Ramamoorthy, Pratyush Ghosh, Aaryan Raj Jindal, Shreyash Verma, Aditya Mittal, Aashna Ased, Chirag Khatri, Ya… 展开作者

Aditya Pathak, Rachit Gandhi, Vaibhav Uttam, Arnav Ramamoorthy, Pratyush Ghosh, Aaryan Raj Jindal, Shreyash Verma, Aditya Mittal, Aashna Ased, Chirag Khatri, Yashwanth Nakka, Devansh, Jagat Sesh Challa, Dhruv Kumar

AI总结:

本文提出使用问题特定评分标准的多智能体方法增强基于LLM的代码逻辑评估,并引入两个学生提交数据集及新指标Leniency,实验证明其优于问题无关评分标准。

摘要:

自从大型语言模型(LLMs)因GPT-3和ChatGPT的发布而流行以来,LLMs在编程相关任务中展现出了显著的前景。虽然使用LLMs进行代码生成已成为一个热门研究领域,但使用LLMs进行代码评估仍未被充分探索。在本文中,我们聚焦于基于LLM的代码评估,并试图填补现有空白。我们提出了多智能体的新颖方法,使用针对问题陈述定制的问题特定评分标准(question-specific rubrics),并论证这些方法在逻辑评估方面优于现有使用问题无关评分标准(question-agnostic rubrics)的方法。为解决缺乏合适评估数据集的问题,我们引入了两个数据集:一个数据结构与算法数据集,包含来自流行数据结构与算法练习网站的150份学生提交;以及一个面向对象编程数据集,包含来自本科计算机科学课程的80份学生提交。除了使用标准指标(Spearman相关系数、Cohen's Kappa)外,我们还提出了一种新指标,称为Leniency,该指标量化了相对于专家评估的评估严格程度。我们的综合分析表明,问题特定评分标准显著增强了教育环境中代码的逻辑评估,提供了与教学目标一致的更好反馈,而不仅仅是语法正确性。

英文摘要:

Since the emergence of Large Language Models (LLMs) popularized by the release of GPT-3 and ChatGPT, LLMs have shown remarkable promise in programming-related tasks. While code generation using LLMs has become a popular field of research, code evaluation using LLMs remains under-explored. In this paper, we focus on LLM-based code evaluation and attempt to fill in the existing gaps. We propose multi-agentic novel approaches using \emph{question-specific rubrics} tailored to the problem statement, arguing that these perform better for logical assessment than the existing approaches that use \emph{question-agnostic rubrics}. To address the lack of suitable evaluation datasets, we introduce two datasets: a Data Structures and Algorithms dataset containing 150 student submissions from a popular Data Structures and Algorithms practice website, and an Object Oriented Programming dataset comprising 80 student submissions from undergraduate computer science courses. In addition to using standard metrics (Spearman Correlation, Cohen's Kappa), we additionally propose a new metric called as Leniency, which quantifies evaluation strictness relative to expert assessment. Our comprehensive analysis demonstrates that \emph{question-specific rubrics} significantly enhance logical assessment of code in educational settings, providing better feedback aligned with instructional goals beyond mere syntactic correctness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑