Abstract
Legal document classification is a critical task for modern legal technology, yet it remains hampered by a lack of multilingual resources. This paper introduces MultiEURLEX, a comprehensive dataset comprising 65,000 European Union laws translated into 23 official languages. We investigate the challenges of zero-shot cross-lingual transfer and demonstrate that while standard fine-tuning often degrades a model's multilingual capabilities, parameter-efficient adaptation techniques like Adapters significantly enhance performance in under-resourced languages.
Introduction
While Natural Language Processing (NLP) has seen rapid advancement in English-centric legal applications, many languages lack the annotated data necessary to train robust models. This creates a "data gap" that limits the accessibility of legal technology across different jurisdictions. Furthermore, legal datasets often suffer from temporal concept drift, where models evaluated on random splits over-estimate their real-world utility by ignoring how laws and terminology evolve over time.
To address these issues, we present MultiEURLEX, designed to test how well AI can transfer legal knowledge from resource-rich languages (e.g., English) to resource-poor ones (e.g., Maltese) without additional training data.
The MultiEURLEX Dataset
MultiEURLEX covers 23 official EU languages representing seven distinct language families. Each document is indexed using the EUROVOC taxonomy, a hierarchical system that allows for classification at varying levels of granularity, from 21 broad categories to over 7,000 specific labels. Unlike traditional benchmarks, MultiEURLEX employs a chronological split, training on older legislation and testing on newer laws to simulate real-world deployment challenges.
Methodology: Combating Catastrophic Forgetting
A primary challenge in cross-lingual transfer is "catastrophic forgetting," where a model overwrites its general multilingual knowledge during task-specific fine-tuning. We evaluated several state-of-the-art Transformer models (XLM-ROBERTA, MT5) using four parameter-efficient adaptation strategies:
- Adapter Modules: Small, trainable layers inserted between original model blocks.
- BitFit: Updating only the network's bias terms.
- LNFit: Updating only layer normalization parameters.
- Frozen Layers: Locking the initial layers of the model.
By training as little as 0.05% of the model's parameters, we aimed to preserve the model's "multilingual brain" while specializing it for legal classification.
Key Results and Insights
The Superiority of Adapters
Our experiments reveal that full fine-tuning is a double-edged sword: while it maximizes performance in the source language, it causes a sharp decline in cross-lingual transfer. In contrast, Adapters provided a "sweet spot," maintaining high source-language accuracy while improving transfer performance by up to 6.8 points in mean R-Precision (mRP).
Linguistic Proximity and Efficiency
Transfer performance is heavily influenced by linguistic similarity; for example, transferring from Italian to French is more effective than transferring to Finnish. Additionally, we found that extremely lightweight methods like BitFit and LNFit were surprisingly competitive, suggesting that massive retraining is not always necessary for domain specialization.
The "Random Split" Illusion
By comparing chronological splits to random ones, we confirmed that random splits overestimate performance by approximately 25%. This highlights the importance of accounting for temporal drift in legal NLP benchmarks.
Conclusion and Future Work
MultiEURLEX serves as a vital benchmark for evaluating the cross-lingual capabilities of legal AI. Our findings suggest that parameter-efficient adaptation is essential for maintaining multilingualism in specialized domains. Future research will focus on handling extremely long documents—as many EU laws exceed the 512-token limit of current models—and addressing the "long-tail" of rare legal labels within the EUROVOC taxonomy.
Summary updated