MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfer

TL;DR

引入MULTI-EURLEX,基于XLM-ROBERTA和MT5的多语种多标签法律文本分类数据集,探索零样本跨语迁移与适配策略。

cs.CL 🔴 高级 2021-09-02 162 引用 46 次浏览
Ilias Chalkidis Manos Fergadiotis Ion Androutsopoulos
多语种学习 法律NLP 跨语迁移 多标签分类 模型适配

核心发现

方法论

本研究构建了包含65,000份欧盟法律文件的MULTI-EURLEX多语种多标签数据集,涵盖23种官方语言,标签基于EUROVOC分类体系。采用基于Transformer的预训练模型(如XLM-ROBERTA和MT5)进行多任务学习,重点研究在单语微调后进行零样本跨语迁移的表现。通过多种适配策略(如部分微调、适配器、BITFIT、LNFIT)缓解模型在微调过程中遗忘多语知识的问题。实验采用时间划分(按时间顺序)与随机划分两种方式,验证概念漂移对模型性能的影响。评估指标采用平均R-Precision(mRP),在多标签、多语言环境下衡量模型的迁移能力和鲁棒性。

关键结果

  • 在单语微调后,模型在其他未见语种上的零样本迁移性能显著下降,例如,XLM-ROBERTA在全部23语种中的平均mRP从未微调的66.6%降至微调后仅剩53.7%。引入适配策略后,性能提升最多达6.8个百分点,适配器表现优异,尤其在多语种环境中保持了较强的迁移能力。采用时间划分的实验显示,概念漂移导致模型性能逐步下降,随机划分则高估了实际表现,验证了时间序列划分的必要性。多标签层级(三级)标签的实验中,模型在标签数量和类别复杂度增加时,迁移难度加大,但适配策略仍能显著改善效果。
  • 结果还表明,微调策略对模型的多语迁移能力影响巨大,部分微调和适配器能有效保持预训练的多语知识,避免灾难性遗忘。MT5模型在编码器微调中表现出较强的迁移能力,但在采用适配器时,性能反而下降,提示不同模型对适配策略的敏感性。此外,模型在不同标签层级的表现也存在差异,标签越细粒度,迁移难度越大。
  • 本研究还通过对比不同的微调策略,验证了只微调偏置项(BITFIT)和层归一化参数(LNFIT)在保持多语知识方面的有效性。这些策略在参数量极少的情况下,仍能实现较好的迁移效果,展示了模型参数高效微调的潜力。整体而言,本文系统评估了多语种法律文本分类的迁移能力,为未来多语种法律AI的开发提供了坚实的基础。

研究意义

本研究填补了法律文本多语种跨语迁移的空白,提供了丰富的多语种、多标签、时间敏感的数据资源,推动了法律NLP的多语种应用发展。通过引入多种适配策略,有效缓解了模型微调中的灾难性遗忘问题,为多语种模型在实际法律场景中的部署提供了技术支撑。研究强调时间序列划分的重要性,揭示了概念漂移对模型性能的深远影响,促使未来研究关注模型的时间鲁棒性。该数据集和方法论也为跨语迁移的理论研究提供了宝贵的实验平台,有望推动多语种法律信息检索、自动分类和智能问答等应用的落地。

技术贡献

本文的技术贡献主要体现在以下几个方面:首先,构建了涵盖23种官方语言、具有层级标签的多标签法律文本数据集MULTI-EURLEX,为跨语迁移研究提供了丰富的资源。其次,系统分析了在单语微调后模型在多语种环境中的灾难性遗忘问题,提出采用部分微调、适配器、BITFIT和LNFIT等多种参数高效适配策略,有效保持预训练的多语知识。再次,结合时间划分实验,验证了概念漂移对模型性能的影响,强调了时间序列划分的必要性。最后,通过大量实验证明,适配策略在多语迁移中具有显著优势,为多语种法律AI的实际应用提供了技术路径。

新颖性

本研究的创新点在于首次系统性地将多语种、多标签法律文本分类任务引入跨语迁移研究,结合时间划分验证概念漂移的影响。引入多种参数高效的适配策略(如BITFIT和LNFIT)以缓解灾难性遗忘,突破了以往只关注全参数微调的局限。与现有的多语模型迁移研究不同,本文特别关注法律文本的特殊性质和层级标签结构,提出多粒度标签层级的迁移分析,为法律NLP的多语种应用提供了新思路。

局限性

  • 尽管采用了多种适配策略,但在极端标签类别极度不平衡的情况下,模型迁移效果仍有限,尤其在标签层级越细粒度时表现更差。
  • 模型在处理新兴法律概念或未出现在训练集中的标签时,表现不佳,说明模型的泛化能力仍需提升。
  • 实验主要集中在欧洲联盟法律体系,跨地区或跨法律体系的迁移能力尚未验证,未来需扩展到更多法律体系和语种。

未来方向

未来研究可探索更复杂的多任务学习框架,结合知识图谱增强模型的理解能力。此外,应关注模型的时间鲁棒性,设计适应概念漂移的持续学习策略。扩展到非欧洲法律体系,构建更广泛的多语种、多标签法律文本数据集,也是未来的重要方向。同时,结合机器翻译和知识迁移技术,提升低资源语种的法律文本分类能力,将极大推动法律AI的普及和应用。

AI 总览摘要

在全球化和数字化的推动下,法律文本的自动化处理成为法律科技领域的重要研究方向。传统的法律文本分类方法多依赖单语数据,难以应对多语种、多标签和时间变化带来的复杂挑战。尤其是在欧洲联盟,法律文件以多语种形式存在,标签体系庞大且层级复杂,亟需高效的跨语迁移技术。本研究提出了MULTI-EURLEX数据集,涵盖23种官方语言的65,000份欧盟法律文件,配备了基于EUROVOC的多层级标签,为多语种法律文本分类提供了丰富的资源基础。

利用这一数据集,我们系统性地研究了在单语微调后进行零样本跨语迁移的表现,发现模型在未见语种上的性能显著下降,尤其是在标签层级越细粒度时。为此,本文引入多种参数高效的适配策略,包括部分微调、适配器、BITFIT和LNFIT,有效缓解了灾难性遗忘问题,显著提升了跨语迁移性能。实验还结合时间划分,验证了概念漂移对模型性能的影响,强调了时间序列划分的必要性,避免了随机划分带来的性能高估。

在模型方面,本文采用XLM-ROBERTA和MT5两大预训练模型,系统比较了不同微调策略的效果。结果显示,适配器在多语迁移中表现最优,能在保持源语性能的同时,显著提升目标语的分类效果。研究还发现,微调偏置项(BITFIT)和层归一化参数(LNFIT)在参数极少的情况下,仍能保持较好的迁移能力,展现了参数微调的潜力。

这些研究成果不仅丰富了多语种法律文本处理的理论体系,也为实际应用提供了技术路径。未来,研究将关注模型的时间鲁棒性、低资源语种的迁移能力,以及跨地区法律体系的适应性,推动法律AI在全球范围内的普及与深化。

深度解读

原文摘要

We introduce MULTI-EURLEX, a new multilingual dataset for topic classification of legal documents. The dataset comprises 65k European Union (EU) laws, officially translated in 23 languages, annotated with multiple labels from the EUROVOC taxonomy. We highlight the effect of temporal concept drift and the importance of chronological, instead of random splits. We use the dataset as a testbed for zero-shot cross-lingual transfer, where we exploit annotated training documents in one language (source) to classify documents in another language (target). We find that fine-tuning a multilingually pretrained model (XLM-ROBERTA, MT5) in a single source language leads to catastrophic forgetting of multilingual knowledge and, consequently, poor zero-shot transfer to other languages. Adaptation strategies, namely partial fine-tuning, adapters, BITFIT, LNFIT, originally proposed to accelerate fine-tuning for new end-tasks, help retain multilingual knowledge from pretraining, substantially improving zero-shot cross-lingual transfer, but their impact also depends on the pretrained model used and the size of the label set.

cs.CL

参考文献 (20)

Parameter-Efficient Transfer Learning for NLP

N. Houlsby, A. Giurgiu, Stanislaw Jastrzebski 等

2019 7188 引用 ⭐ 高影响力 查看解读 →

We Need To Talk About Random Splits

Anders Søgaard, S. Ebert, Jasmijn Bastings 等

2020 116 引用 ⭐ 高影响力 查看解读 →

Attention is All you Need

Ashish Vaswani, Noam Shazeer, Niki Parmar 等

2017 190598 引用 ⭐ 高影响力 查看解读 →

BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

Jacob Devlin, Ming-Wei Chang, Kenton Lee 等

2019 120175 引用 ⭐ 高影响力 查看解读 →

mT5: A Massively Multilingual Pre-trained Text-to-Text Transformer

Linting Xue, Noah Constant, Adam Roberts 等

2020 3338 引用 ⭐ 高影响力 查看解读 →

How Does NLP Benefit Legal System: A Summary of Legal Artificial Intelligence

Haoxiang Zhong, Chaojun Xiao, Cunchao Tu 等

2020 435 引用 ⭐ 高影响力 查看解读 →

Training BatchNorm and Only BatchNorm: On the Expressive Power of Random Features in CNNs

Jonathan Frankle, D. Schwab, Ari S. Morcos

2020 165 引用 ⭐ 高影响力 查看解读 →

Large-Scale Multi-Label Text Classification on EU Legislation

Ilias Chalkidis, Manos Fergadiotis, Prodromos Malakasiotis 等

2019 264 引用 ⭐ 高影响力 查看解读 →

Layer Normalization

Jimmy Ba, J. Kiros, Geoffrey E. Hinton

2016 13053 引用 查看解读 →

Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift

Sergey Ioffe, Christian Szegedy

2015 47607 引用 查看解读 →

Predicting judicial decisions of the European Court of Human Rights: a Natural Language Processing perspective

Nikolaos Aletras, D. Tsarapatsanis, Daniel Preotiuc-Pietro 等

2016 739 引用

A survey of cross-lingual embedding models

Sebastian Ruder

2017 127 引用

Deep Residual Learning for Image Recognition

Kaiming He, X. Zhang, Shaoqing Ren 等

2015 237641 引用 查看解读 →

Recurrent neural network-based models for recognizing requisite and effectuation parts in legal texts

Truong-Son Nguyen, Le-Minh Nguyen, S. Tojo 等

2018 49 引用

Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyond

Mikel Artetxe, Holger Schwenk

2018 1176 引用 查看解读 →

XNLI: Evaluating Cross-lingual Sentence Representations

Alexis Conneau, Guillaume Lample, Ruty Rinott 等

2018 1661 引用 查看解读 →

GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding

Alex Wang, Amanpreet Singh, Julian Michael 等

2018 8885 引用 查看解读 →

Intriguing Properties of Randomly Weighted Networks: Generalizing While Learning Next to Nothing

Amir Rosenfeld, John K. Tsotsos

2018 57 引用 查看解读 →

Datasheets for datasets

Timnit Gebru, Jamie H. Morgenstern, Briana Vecchione 等

2018 3385 引用 查看解读 →

Explainable Prediction of Medical Codes from Clinical Text

J. Mullenbach, Sarah Wiegreffe, J. Duke 等

2018 707 引用 查看解读 →

被引用 (20)

EXCISE: Query-Side Exclusion for Late-Interaction Retrieval

2026 ⭐ 高影响力 查看解读 →

A Review of Question-Answering Systems Using Deep Learning in the Arabic Language

2025 2 引用 ⭐ 高影响力

Examining and Adapting Time for Multilingual Classification via Mixture of Temporal Experts

2025 10 引用 ⭐ 高影响力 查看解读 →

Mimir: Large-scale Multilingual Concept Modeling

2026 ⭐ 高影响力 查看解读 →

LEMUR: A Corpus for Robust Fine-Tuning of Multilingual Law Embedding Models for Retrieval

2026 2 引用 ⭐ 高影响力 查看解读 →

Decoding legal processes: AI-driven system to streamline processing of the criminal records in Moroccan courts

2025 5 引用

MELABenchv1: Benchmarking Large Language Models against Smaller Fine-Tuned Models for Low-Resource Maltese NLP

2025 4 引用 查看解读 →

Enhancing Indian legal judgment classification with embeddings, feature selection, and ensemble strategies

2025 6 引用

LegalBench.PT: A Benchmark for Portuguese Law

2025 3 引用 查看解读 →

Topic Classification of Interviews on Emergency Remote Teaching

2025 2 引用

LegalViz: Legal Text Visualization by Text To Diagram Generation

2025 4 引用 查看解读 →

Language Bias in Information Retrieval: The Nature of the Beast and Mitigation Methods

2025 3 引用 查看解读 →

Continually Adding New Languages to Multilingual Language Models

2025 5 引用 查看解读 →

MTEB-NL and E5-NL: Embedding Benchmark and Models for Dutch

2025 6 引用 查看解读 →

Scale-Free Characteristics of Multilingual Legal Texts and the Limitations of LLMs

Ready to Translate, Not to Represent? Bias and Performance Gaps in Multilingual LLMs Across Language Families and Domains

2025 1 引用 查看解读 →

Survey on legal information extraction: current status and open challenges

2025 15 引用

The German Commons - 154 Billion Tokens of Openly Licensed Text for German Language Models

2025 2 引用 查看解读 →

Document Intelligence in the Era of Large Language Models: A Survey

2025 7 引用 查看解读 →

Forging GEMs: Advancing Greek NLP through Quality-Based Corpus Curation

2025 1 引用 查看解读 →