亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Software engineering meets legal texts: LLMs for auto detection of contract smells

软件 计算机科学 软件工程 计算机安全 业务 程序设计语言
作者
Moriya Dechtiar,Daniel Katz,Hongming Wang
出处
期刊:Machine learning with applications [Elsevier BV]
卷期号:20: 100639-100639 被引量:1
标识
DOI:10.1016/j.mlwa.2025.100639
摘要

Although there have been many major advances in Artificial Intelligence including its application to a wide variety of tasks, some specialized domains remain difficult to tackle. In this work, we examine parallels between software engineering and legal contract drafting and analysis. Porting well-known code smells principles to various legal contracts, we introduce ”contract smells,” text patterns that are indicative of potentially significant issues within contractual agreements. We leverage semi-auto labeling with GPT-4, prompting and expert spot checks, to create datasets for suitability testing of auto detection of these contract smells. Using transformer-based models, we explore the impact of legal domain knowledge, hyperparameters fine tuning and specific task information on detection success. We achieve high accuracy with further fine-tuning of BERT as well as LEGAL-BERT, while more consistent results were achieved using task-specific data. We further demonstrate that although multi-class detection can boost coverage of rare smells, single-class detection yields better accuracy. While this is an initial foray into the idea of contract smells, this work underscores the feasibility of applying advanced NLP techniques and LLMs to automate aspects of legal contract review, suggesting a scalable path toward standardized, machine-assisted legal drafting and analysis. • Showcased introduction of software engineering principles into contract drafting. • Pioneered concepts of ”contract smells” and their automated anomaly detection. • Demonstrated scalable semi-automated labeling with GPT prompts and expert validation. • Successful auto-detection results of pre-trained and task-specific LLMs. • Multi-class models aid complex smells; single-class outperforms on common ones.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
zqq完成签到,获得积分0
7秒前
Arman应助文件撤销了驳回
16秒前
科研通AI6.1应助紫薯芋泥采纳,获得10
20秒前
21完成签到,获得积分10
21秒前
24秒前
26秒前
44秒前
48秒前
53秒前
55秒前
59秒前
miles完成签到,获得积分10
59秒前
失眠天亦发布了新的文献求助10
1分钟前
1分钟前
大个应助守候在雨天采纳,获得10
1分钟前
于戏发布了新的文献求助10
1分钟前
炉管完成签到,获得积分10
1分钟前
木木完成签到 ,获得积分10
1分钟前
方法完成签到,获得积分10
1分钟前
火锅粉科研版完成签到,获得积分10
1分钟前
科研通AI6.2应助su采纳,获得10
1分钟前
于戏完成签到,获得积分10
1分钟前
搜集达人应助乃士采纳,获得10
1分钟前
我是老大应助fsdghert采纳,获得10
1分钟前
共享精神应助fsdghert采纳,获得10
1分钟前
cc完成签到,获得积分10
1分钟前
NexusExplorer应助皇甫深旭采纳,获得10
1分钟前
2分钟前
2分钟前
2分钟前
乃士发布了新的文献求助10
2分钟前
HFH应助健康的天佑采纳,获得10
2分钟前
2分钟前
2分钟前
乃士完成签到,获得积分10
2分钟前
2分钟前
雄关漫道完成签到,获得积分10
2分钟前
阔达的冷珍完成签到 ,获得积分10
2分钟前
2分钟前
迷路的雨安完成签到,获得积分10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to Helicopter and Tiltrotor Flight Simulation, Second Edition 2500
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Malcolm Fraser : a biography 700
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6507883
求助须知:如何正确求助?哪些是违规求助? 8300950
关于积分的说明 17720817
捐赠科研通 5608576
什么是DOI,文献DOI怎么找? 2921335
邀请新用户注册赠送积分活动 1898552
关于科研通互助平台的介绍 1761073