Zero-Shot Cross-Lingual Transfer in Legal Domain Using Transformer Models

Zein Shaheen, Gerhard Wohlgenannt, Dmitry Mouromtsev
11/28/2021
cs.CLcs.AI
transformer-attention

Official code: zeinsh/Legal-Docs-Large-MLTC (4 stars, Jupyter Notebook, last commit 2022-01-29).

Abstract

Zero-shot cross-lingual transfer is an important feature in modern NLP models and architectures to support low-resource languages. In this work, We study zero-shot cross-lingual transfer from English to French and German under Multi-Label Text Classification, where we train a classifier using English training set, and we test using French and German test sets.

Show full abstract

We extend EURLEX57K dataset, the English dataset for topic classification of legal documents, with French and German official translation. We investigate the effect of using some training techniques, namely Gradual Unfreezing and Language Model finetuning, on the quality of zero-shot cross-lingual transfer. We find that Language model finetuning of multi-lingual pre-trained model (M-DistilBERT, M-BERT) leads to 32.0-34.94%, 76.15-87.54% relative improvement on French and German test sets correspondingly. Also, Gradual unfreezing of pre-trained model's layers during training results in relative improvement of 38-45% for French and 58-70% for German. Compared to training a model in Joint Training scheme using English, French and German training sets, zero-shot BERT-based classification model reaches 86% of the performance achieved by jointly-trained BERT-based classification model.

View on arXivView PDF

Code Implementations(1)

Multi Label Text Classification for Legal documents. Work on mono-lingual and multilingual parallel data

42Jupyter Notebook, PythonMay 10, 20204 years ago

Similar Papers

Cite this paper

@article{shaheen2021zeroshot,
  title  = {Zero-Shot Cross-Lingual Transfer in Legal Domain Using Transformer Models},
  author = {Zein Shaheen and Gerhard Wohlgenannt and Dmitry Mouromtsev},
  year   = {2021},
  eprint = {2111.14192},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.14192}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.14192.svg)](https://codeofpaper.com/paper/2111.14192)

Discussion