Breaking Bureaucracy: Evaluating open-source LLMs for legal document review

In this paper, we evaluate open-source generative LLMs on legal Natural Language Inference (NLI). Legal inspectorial processes take place in specific domains and often deal with confidential data. This creates a need for working with local models that do not require labeled training data. We evaluate our models on the ContractNLI benchmark and two NLI4Wills datasets. We successfully reproduce the baseline for the task (Span NLI BERT) and we evaluate multiple open-source LLMs on the same task. We analyze the invalid rate of the models, and their stability across temperature settings and domains. Among the generative models, Gemma-4 26B performs the best, reaching an accuracy of 81.2%, even outperforming the supervised model on one metric. On accuracy, it is not possible to beat the supervised model with zero-shot approaches. Qwen-3.6 35B performs well on both ContractNLI and additional datasets in the legal wills domain. Our findings indicate that zero-shot, open-source, generative LLMs are a viable alternative for real-world legal NLI when no supervised data is available. Our code is available at https://github.com/fbaratov/contractnli-llms.

Link
https://www.semanticscholar.org/paper/7763b19bf270cf26c1fd0f88ca24dc280e07748d
Found by
Semantic Scholar
Authors
Farrukh Baratov, Niki van Stein, Suzan Verberne
Categories
benchmark, evaluation, dataset
Published
2026-10-05
Last seen by the radar
2026-10-07
Citations
0
Influential citations
0
Radar score
46 / 100 (how it is scored)
Why it scored so
Matched: benchmark, dataset, evaluat, training data; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2610.06345
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar