Automatic Legal Writing Evaluation of LLMs
Not on the map. Why?
Abstract (arXiv)
Despite the recent advances in Large Language Models, benchmarks for evaluating legal writing remain scarce due to the inherent complexity of assessing open-ended responses in this domain. One of the key challenges in evaluating language models on domain-specific tasks is finding test datasets that are public, frequently updated, and contain comprehensive evaluation guidelines. The Brazilian Bar Examination meets these requirements. We introduce oab-bench, a benchmark comprising 105 questions across seven areas of law from recent editions of the exam. The benchmark includes comprehensive evaluation guidelines and reference materials used by human examiners to ensure consistent grading. We evaluate the performance of four LLMs on oab-bench, finding that Claude-3.5 Sonnet achieves the best results with an average score of 7.93 out of 10, passing all 21 exams. We also investigated whether LLMs can serve as reliable automated judges for evaluating legal writing. Our experiments show that frontier models like OpenAI's o1 achieve a strong correlation with human scores when evaluating approved exams, suggesting their potential as reliable automated evaluators despite the inherently subjective nature of legal writing assessment. The source code and the benchmark -- containing questions, evaluation guidelines, model-generated responses, and their respective automated evaluations -- are publicly available.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 15 of its 36 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
15 of 36 references.
References · 15
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2023Large Language Models are not Fair Evaluatorscited by 1,085
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 897
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 734
- 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 406
- 2023GPTScore: Evaluate as You Desirecited by 361
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 336
- 2024FrontierMath: A Benchmark for Evaluating Advanced Mathematical Reasoning in AIcited by 243
- 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 142
Built on by
Citing papers per year: 2025: 3; 2026: 9.
12 papers.
- 2026Sabi'a-4 Technical Reportcited by 6
- 2025PoETa v2: Toward More Robust Evaluation of Large Language Models in Portuguesecited by 5
- 2026Magis-Bench: Evaluating LLMs on Magistrate-Level Legal Taskscited by 2
- 2025CLaw: Benchmarking Chinese Legal Knowledge in Large Language Models - A Fine-grained Corpus and Reasoning Analysiscited by 1
- 2026Evaluating LLMs for Police Decision-Making: A Framework Based on Police Action Scenarioscited by 1
- 2025Na Pr'atica, qual IA Entende o Direito? Um Estudo Experimental com IAs Generalistas e uma IA Jur'idicacited by 0
- 2026MARCA: A Checklist-Based Benchmark for Multilingual Web Searchcited by 0
- 2026Prosa: Rubric-Based Evaluation of LLMs on Real User Chats in Brazilian Portuguesecited by 0
- 2026GradeLegal: Automated Grading for German Legal Casescited by 0
- 2026BLUEX v2: Benchmarking LLMs on Open-Ended Questions from Brazilian University Entrance Examscited by 0
- 2026MultiSynt/MT: Trillion-Token Multi-Parallel Pre-Training Data Translated Across 36 Languagescited by 0
- 2026SoK: Grading Open-Text Legal Answers, from Law School Exams to Trustworthy Rubric Judgescited by 0
- 2026SoK: Grading Open-Text Legal Answers, from Law School Exams to Trustworthy Rubric Judges14 Oct 2026
- 2026MultiSynt/MT: Trillion-Token Multi-Parallel Pre-Training Data Translated Across 36 Languages1 Jul 2026
- 2026BLUEX v2: Benchmarking LLMs on Open-Ended Questions from Brazilian University Entrance Exams21 Jun 2026
- 2026GradeLegal: Automated Grading for German Legal Cases20 May 2026
- 2026Magis-Bench: Evaluating LLMs on Magistrate-Level Legal Tasks8 May 2026
- 2026Prosa: Rubric-Based Evaluation of LLMs on Real User Chats in Brazilian Portuguese2 May 2026
- 2026MARCA: A Checklist-Based Benchmark for Multilingual Web Search15 Apr 2026
- 2026Sabi'a-4 Technical Report10 Mar 2026
- 2026Evaluating LLMs for Police Decision-Making: A Framework Based on Police Action Scenarios7 Jan 2026
- 2025PoETa v2: Toward More Robust Evaluation of Large Language Models in Portuguese21 Nov 2025
- 2025Na Pr'atica, qual IA Entende o Direito? Um Estudo Experimental com IAs Generalistas e uma IA Jur'idica20 Oct 2025
- 2025CLaw: Benchmarking Chinese Legal Knowledge in Large Language Models - A Fine-grained Corpus and Reasoning Analysis25 Sep 2025