arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21076cs.CL
收藏

GradeLegal: 自动化评分德国法律案例

GradeLegal: Automated Grading for German Legal Cases

University of Passau(帕绍大学);Deggendorf Institute of Technology(德格多夫技术学院)

Abdullah Al Zubaer, Lorenz Wendlinger, Simon Alexander Nonn, Michael Granitzer, Jelena Mitrovic

AI总结:

本研究探讨了大型语言模型能否用于自动化评分德国刑事和公法案例解决方案,通过系统评估27个专有和开源LLM,发现基于样本解决方案和评分标准的提示策略能有效模拟专家评分,尤其在公法领域达到0.91的QWK值,而在刑事法律领域仅为0.60,表明刑事法律评分任务更难。此外,集成方法能进一步提高评分一致性,并为更强的闭源单模型提供替代方案。

摘要:

对德国法律考试解决方案进行评分面临日益增长的体积和合格评分员短缺,导致反馈延迟并形成瓶颈。同时,这是一个高风险的专家任务,因为国家考试成绩强烈影响德国的职业发展。尽管具有实际相关性,文献中缺乏系统研究有效评分法律考试的方法。为解决这一差距,我们研究了大型语言模型(LLMs)是否能支持自动化评分德国刑事和公法案例解决方案,从而实现可扩展的反馈和学生自我测试。我们系统评估了27个专有和开源LLM,并通过基准测试提示策略,逐步增加任务相关信息,如样本解决方案和评分标准。使用二次加权κ(QWK),基于推理的LLM在获得样本解决方案和评分标准时,能在公法领域模拟专家评分(最高0.91),而刑事法律领域仅为0.60,表明刑事法律评分任务更难。除了单模型评分外,集成方法能通过其最佳成员提高一致性高达0.15,并可为更强的闭源单模型提供替代方案。此外,我们的发现表明,有效的提示设计和模型选择对于可靠的LLM基于法律考试评分至关重要。

英文摘要:

Grading German legal exam solutions faces growing volumes and a shortage of qualified graders, delaying feedback and creating a bottleneck. At the same time, it is a high-stakes expert task, since state exam grades strongly influence career outcomes in Germany. Despite this practical relevance, literature lacks systematic studies on effective methods for grading legal exams. To address this gap, we investigate whether large language models (LLMs) can support the automated grading of German legal case solutions in criminal and public law, thereby enabling scalable feedback and student self-testing. We present a systematic evaluation of 27 proprietary and open-source LLMs, benchmarking prompting strategies that incrementally add task-related information, such as a sample solution and a grading rubric. Using quadratic weighted kappa (QWK), reasoning-oriented LLMs can approximate expert grading in public law when given a sample solution and a grading rubric (up to 0.91), compared to 0.60 in criminal law, suggesting a harder grading task in criminal law. Beyond single-model grading, ensembling improves agreement by up to 0.15 over its best member and can offer an alternative to stronger closed-source single models. In addition, our findings suggest that effective prompt design and model selection are necessary for reliable LLM-based grading of legal exams.

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

↑