TL;DR
LEXAM is a new multilingual benchmark consisting of 7,537 real-world law school exam questions designed to evaluate both the final answers and the intermediate reasoning steps of Large Language Models (LLMs). The study reveals that even advanced reasoning models struggle with structured, multi-step legal analysis, and introduces a robust, human-validated "ensemble LLM-as-a-Judge" framework to reliably grade open-ended legal responses.
What Problem Does This Paper Address?
While LLMs have made massive strides in deterministic STEM benchmarks (like math Olympiads or physics problems), evaluating their performance in nuanced, context-dependent domains like law remains a major challenge.
Most existing legal benchmarks rely purely on multiple-choice questions (MCQs), evaluating only the final output (outcome-based evaluation). This approach overlooks the actual reasoning process required to reach a conclusion. In a high-stakes domain like law, a model might guess the right answer for the wrong reasons, or fail to provide the structured arguments required in real-world practice. Furthermore, legal reasoning varies across jurisdictions and languages, making general-purpose benchmarks insufficient for capturing localized legal doctrines.
Methods
The authors constructed LEXAM by extracting and curating actual university law exams. To evaluate the models effectively across different question types, they designed a dual evaluation pipeline:
- For Multiple-Choice Questions: To prevent models from simply guessing correctly due to weak distractors, the authors introduced a perturbation setup. They systematically expanded the number of answer choices (from 4 up to 32 options) while keeping the core question stem identical.
- For Open-Ended Questions: Grading long-form legal answers is notoriously difficult. The authors developed a specialized prompt for an LLM-as-a-Judge framework, iteratively tuned by legal experts with PhD-level training. To eliminate the known issues of "self-bias" (models favoring their own outputs) and "family-bias," they deployed a minimum-score ensemble judge combining GPT-4o, Qwen3-32B, and DeepSeek-V3. The final score assigned is the lowest score given by any model in the ensemble, ensuring strict and impartial grading.
Datasets
The paper introduces LEXAM, a dataset containing 7,537 questions derived from 340 real law exams spanning 116 courses at the University of Zurich Faculty of Law.
- Formats: 2,841 open-ended questions and 4,696 multiple-choice questions.
- Languages: Multilingual, featuring independent exam questions in both English and German (not parallel translations, to avoid semantic drift).
- Legal Domains: Covers 78 subdomains across private law, public law, criminal law, and interdisciplinary topics.
- Jurisdictions: Includes Swiss domestic law, European/International law, and generic legal theory.
Key Insights and Ideas
- The Illusion of MCQ Competence: Standard 4-choice MCQs often hide a model's true limitations. When the number of choices scales up to 16 or 32, model accuracy plummets. This indicates that current LLMs rely heavily on eliminating obviously wrong answers rather than demonstrating genuine legal comprehension.
- The Power of the Pessimistic Ensemble: Single LLM judges tend to be overly lenient or biased toward their own architecture. Taking the minimum score of an ensemble of diverse models (open and closed-source) correlates remarkably well with human expert grading, passing the rigorous Alternative Annotator Test (Alt-test).
- Contextual Vulnerability: Models perform significantly worse on highly context-specific domestic law (like Swiss public law) compared to international or generic legal principles. They also exhibit a noticeable performance gap when tested in German versus English.
Key Results
- Open-Ended Questions: State-of-the-art reasoning models led the pack, with GPT-5 scoring highest (70.20/100), followed closely by Gemini-2.5-Pro (67.40). Conventional large models like GPT-4o scored around 56.93, while smaller models struggled significantly (e.g., Llama-3.1-8B-it scored a meager 10.00).
- MCQ Scaling Challenges: On 16-choice MCQs, GPT-5.2 achieved the top accuracy at 52.53%. However, the perturbation tests highlighted a steep decline: Gemini-2.5-Pro dropped from 68.61% accuracy on 4-choice questions to 35.62% on 32-choice questions. Under the same 32-choice conditions, DeepSeek-V3 dropped to 16.03%, performing close to random guess thresholds.
Limitations and Future Work
The current iteration of LEXAM is heavily anchored in continental civil-law traditions (specifically Swiss and European frameworks). Because legal systems vary drastically, the authors acknowledge that these results might not fully generalize to common-law jurisdictions like the United States or the United Kingdom.
To address this, future work includes expanding LEXAM into a broader, multi-jurisdictional benchmark by collaborating with international institutions to integrate law materials from the US, Germany, Mainland China, Hong Kong, and Israel. Additionally, the authors plan to implement mechanisms to handle "temporal drift," ensuring the benchmark remains updated as real-world laws change.
Summary updated