arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00865cs.CLcs.AIcs.CYcs.LG
收藏

利用自然语言处理预测智利服务条款中的潜在滥用条款

Predicting potentially abusive clauses in Chilean terms of services with natural language processing

Universidad Adolfo Ibáñez(阿道夫·伊巴涅斯大学)

Christoffer Loeffler, Andrea Martínez Freile, Tomás Rey Pizarro

AI总结:

本文针对智利服务条款中潜在滥用条款检测问题,提出四类20类的标注方案并构建首个西班牙语法律条款多标签数据集,通过评估Transformer模型揭示了预训练策略和少样本规模对检测与分类性能的影响。

摘要:

本研究针对消费者合同中日益严重的信息不对称问题,这一问题因在线服务激增而加剧,这些服务包含复杂且很少被阅读的服务条款。尽管已有关于自动分析方法的研究,但该问题因普遍聚焦于英语机器学习方法以及欧盟等主要司法辖区而更加严重。我们引入了一种新的方法论和一个大规模数据集来弥补这一空白。我们提出了一种包含四个类别、共20个类的新型标注方案,并将其应用于智利使用的50份在线服务条款。我们对基于Transformer的模型的评估揭示了语言和/或领域特定预训练、少样本规模以及模型架构等因素如何影响潜在滥用条款的检测与分类。结果显示,不同任务和模型之间的性能差异很大,检测任务的最高宏F1分数在79%到89%之间,微F1分数最高可达96%,而分类任务的宏F1分数在60%到70%之间,微F1分数在64%到80%之间。值得注意的是,这是第一个面向法律条款的西班牙语多标签分类数据集,适用智利法律,并对法律领域的西班牙语模型进行了全面评估。我们的工作为未来在较少被考虑的法律分析方法开发方面奠定了基础,并有望催生支持智利乃至整个拉丁美洲消费者的实际应用。

英文摘要:

This study addresses the growing concern of information asymmetry in consumer contracts, exacerbated by the proliferation of online services with complex Terms of Service that are rarely even read. Even though research on automatic analysis methods is conducted, the problem is aggravated by the general focus on English-language Machine Learning approaches and on major jurisdictions, such as the European Union. We introduce a new methodology and a substantial dataset addressing this gap. We propose a novel annotation scheme with four categories and a total of 20 classes, and apply it on 50 online Terms of Service used in Chile. Our evaluation of transformer-based models highlights how factors like language- and/or domain-specific pre-training, few-shot sample size, and model architecture affect the detection and classification of potentially abusive clauses. Results show a large variability in performance for the different tasks and models, with the highest macro-F1 scores for the detection task ranging from 79% to 89% and micro-F1 scores up to 96%, while macro-F1 scores for the classification task range from 60% to 70% and micro-F1 scores from 64% to 80%. Notably, this is the first Spanish-language multi-label classification dataset for legal clauses, applying Chilean law and offering a comprehensive evaluation of Spanish-language models in the legal domain. Our work lays the ground for future research in method development for rarely considered legal analysis and potentially leads to practical applications to support consumers in Chile and Latin America as a whole.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑