paper-with-me

Papers

ContractEval: Benchmarking LLMs for Clause-Level Legal Risk Identification in Commercial Contracts

2025-08-05 · Shuang Liu, Zelong Li, Ruoyun Ma, Haiyan Zhao, Mengnan Du arxiv

The potential of large language models (LLMs) in specialized domains such as legal risk analysis remains underexplored. In response to growing interest in locally deploying open-source LLMs for legal tasks while preserving data confidentiality, this paper introduces ContractEval, the first benchmark to thoroughly evaluate whether open-source LLMs could match proprietary LLMs in identifying clause-level legal risks in commercial contracts. Using the Contract Understanding Atticus Dataset (CUAD), we assess 4 proprietary and 15 open-source LLMs. Our results highlight five key findings: (1) Proprietary models outperform open-source models in both correctness and output effectiveness, though some open-source models are competitive in certain specific dimensions. (2) Larger open-source models generally perform better, though the improvement slows down as models get bigger. (3) Reasoning ("thinking") mode improves output effectiveness but reduces correctness, likely due to over-complicating simpler tasks. (4) Open-source models generate "no related clause" responses more frequently even when relevant clauses are present. This suggests "laziness" in thinking or low confidence in extracting relevant content. (5) Model quantization speeds up inference but at the cost of performance drop, showing the tradeoff between efficiency and accuracy. These findings suggest that while most LLMs perform at a level comparable to junior legal assistants, open-source models require targeted fine-tuning to ensure correctness and effectiveness in high-stakes legal settings. ContractEval offers a solid benchmark to guide future development of legal-domain LLMs.

📄 PDF Abstract BibTeX arXiv:2508.03080

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Legal-DC: Benchmarking Retrieval-Augmented Generation for Legal Documents

2026-03-12 · Yaocong Li, Qiang Lan, Leihan Zhang, Le Zhang arxiv

Retrieval-Augmented Generation (RAG) has emerged as a promising technology for legal document consultation, yet its application in Chinese legal scenarios faces two key limitations: existing benchmarks lack specialized s…

ContractEval: A Benchmark for Evaluating Contract-Satisfying Assertions in Code Generation

2025-10-14 · Soohan Lim, Joonghyuk Hahn, Hyunwoo Park, Sang-Ki Ko 외 arxiv

Current code generation evaluation measures functional correctness on well-formed inputs that satisfy all input preconditions. This paradigm has a critical limitation: task descriptions often leave these preconditions im…

Code Generation

Better Call CLAUSE: A Discrepancy Benchmark for Auditing LLMs Legal Reasoning Capabilities

2025-11-01 · Manan Roy Choudhury, Adithya Chandramouli, Mannan Anand, Vivek Gupta arxiv

The rapid integration of large language models (LLMs) into high-stakes legal work has exposed a critical gap: no benchmark exists to systematically stress-test their reliability against the nuanced, adversarial, and ofte…

Legal Reasoning

LLMs for Legal Subsumption in German Employment Contracts

2025-07-02 · Oliver Wardas, Florian Matthes arxiv

Legal work, characterized by its text-heavy and resource-intensive nature, presents unique challenges and opportunities for NLP research. While data-driven approaches have advanced the field, their lack of interpretabili…

Graph-based Keyword Planning for Legal Clause Generation from Topics

2023-01-07 · Sagar Joshi, Sumanth Balaji, Aparna Garimella, Vasudeva Varma

Generating domain-specific content such as legal clauses based on minimal user-provided information can be of significant benefit in automating legal contract generation. In this paper, we propose a controllable graph-ba…

Text Generation