Skip to main content
QUICK REVIEW

[Paper Review] Extreme Multi-Label Legal Text Classification: A case study in EU Legislation

Ilias Chalkidis, Manos Fergadiotis|arXiv (Cornell University)|May 26, 2019
Topic ModelingComputer Science33 references22 citations
TL;DR

This paper introduces EURLEX57K, a large-scale dataset of 57,000 EU legislative documents annotated with EuroVoc concepts for extreme multi-label text classification. It demonstrates that bidirectional GRUs with self-attention and label-wise attention (BIGRU-LWAN) outperform prior state-of-the-art methods, including CNN-based label-wise attention, especially in frequent and few-shot label prediction, while a zero-shot variant (z-BIGRU-LWAN) achieves strong results on rare labels by leveraging label descriptors.

ABSTRACT

We consider the task of Extreme Multi-Label Text Classification (XMTC) in the legal domain. We release a new dataset of 57k legislative documents from EURLEX, the European Union's public document database, annotated with concepts from EUROVOC, a multidisciplinary thesaurus. The dataset is substantially larger than previous EURLEX datasets and suitable for XMTC, few-shot and zero-shot learning. Experimenting with several neural classifiers, we show that BIGRUs with self-attention outperform the current multi-label state-of-the-art methods, which employ label-wise attention. Replacing CNNs with BIGRUs in label-wise attention networks leads to the best overall performance.

Motivation & Objective

  • To address the lack of large-scale, publicly available legal text datasets suitable for extreme multi-label classification (xMTC) in the EU legislative domain.
  • To evaluate the performance of various neural architectures—particularly RNNs and CNNs—on xMTC using a new, large-scale dataset of EU legislation.
  • To investigate the effectiveness of few-shot and zero-shot learning in legal text classification, especially for rare or unseen labels.
  • To compare attention mechanisms, including self-attention and label-wise attention, in the context of legal document tagging.
  • To explore the interpretability of attention mechanisms in legal text classification by visualizing attention heat-maps.

Proposed method

  • The authors release EURLEX57K, a dataset of 57,000 English legislative documents from EUR-LEX, annotated with concepts from the EuroVoc thesaurus, containing over 7,000 concepts but with heavy class imbalance.
  • They evaluate multiple neural architectures: bidirectional GRUs with self-attention (BIGRU-ATT), hierarchical attention networks (HAN), and label-wise attention networks (LWAN), both with CNN and BIGRU encoders.
  • The proposed BIGRU-LWAN replaces the CNN encoder in the state-of-the-art CNN-LWAN model with a bidirectional GRU, enabling better sequence modeling and improved performance.
  • For zero-shot learning, they adapt the z-CNN-LWAN model of Rios and Kavuluru (2018b) by replacing its CNN with a BIGRU, resulting in z-BIGRU-LWAN, which leverages label descriptors without updating them during training.
  • They use attention heat-maps to visualize which words contribute most to predictions, enhancing model interpretability and supporting decision-making in legal NLP.
  • An ensemble model combines BIGRU-LWAN for frequent and few-shot labels with z-BIGRU-LWAN for zero-shot labels to improve overall robustness across label types.

Experimental results

Research questions

  • RQ1Can bidirectional GRUs with self-attention outperform CNN-based models in extreme multi-label legal text classification?
  • RQ2Does replacing the CNN encoder in label-wise attention networks with a bidirectional GRU lead to improved performance on large-scale legal text datasets?
  • RQ3How effective are zero-shot learning methods in legal text classification when labels are rare or unseen during training?
  • RQ4Can attention heat-maps from GRU-based models provide interpretable and useful evidence for model predictions in legal text classification?
  • RQ5Does incorporating label descriptors improve zero-shot generalization in legal text tagging, and does this benefit scale with model architecture?

Key findings

  • BIGRU-LWAN, which replaces the CNN in CNN-LWAN with a bidirectional GRU, achieves the best overall performance across all label types on the EURLEX57K dataset.
  • BIGRU-ATT outperforms the original CNN-LWAN model, demonstrating that self-attention with GRUs is a strong baseline for legal xMTC.
  • z-BIGRU-LWAN significantly outperforms other zero-shot methods, achieving an R@5 of 0.269 on zero-shot labels, compared to zero R@5 for other models.
  • The ensemble of BIGRU-LWAN and z-BIGRU-LWAN achieves the best overall performance, though the improvement is limited by the low frequency of zero-shot labels (163 in test set).
  • Models like HAN and max-pooling aggregators (max-HSS, lw-HAN) underperform, indicating that document section-level structure is not beneficial for xMTC in this context.
  • Attention heat-maps from BIGRU-LWAN provide multi-color, label-specific visualizations that help identify relevant words for each predicted label, enhancing model interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.