An Empirical Study on Cross-X Transfer for Legal Judgment Prediction

Joel Niklaus, Matthias Stürmer, Ilias Chalkidis
9/25/2022
27 citations
cs.CLcs.AIcs.LG

Official code: Kaleidophon/deep-significance (343 stars, Python, GPL-3.0, last commit 2026-09-21). 1 more implementation below.

Abstract

Cross-lingual transfer learning has proven useful in a variety of Natural Language Processing (NLP) tasks, but it is understudied in the context of legal NLP, and not at all in Legal Judgment Prediction (LJP). We explore transfer learning techniques on LJP using the trilingual Swiss-Judgment-Prediction dataset, including cases written in three languages.

Show full abstract

We find that cross-lingual transfer improves the overall results across languages, especially when we use adapter-based fine-tuning. Finally, we further improve the model's performance by augmenting the training dataset with machine-translated versions of the original documents, using a 3x larger training corpus. Further on, we perform an analysis exploring the effect of cross-domain and cross-regional transfer, i.e., train a model across domains (legal areas), or regions. We find that in both settings (legal areas, origin regions), models trained across all groups perform overall better, while they also have improved results in the worst-case scenarios. Finally, we report improved results when we ambitiously apply cross-jurisdiction transfer, where we further augment our dataset with Indian legal cases.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Kaleidophon/deep-significanceOfficial343PythonGPL-3.02026-09-21
JoelNiklaus/SwissJudgementPredictionOfficial27Python–2025-09-23
GPL-3.0

Enabling easy statistical significance testing for deep neural networks.

34320Python, Jupyter NotebookFeb 23, 20212 months agoGPL-3.0
compare-scoresdeep-learningdeep-neural-networksdeeplearningdl+8 more

This repository provides code for experiments with the state-of-the-art in text classification to predict the judgements of Swiss court decisions

278Python, ShellMay 10, 20211 years ago

Similar Papers

Cite this paper

@article{niklaus2022empirical,
  title  = {An Empirical Study on Cross-X Transfer for Legal Judgment Prediction},
  author = {Joel Niklaus and Matthias Stürmer and Ilias Chalkidis},
  year   = {2022},
  eprint = {2209.12325},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.12325}
}

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/2209.12325.svg)](https://codeofpaper.com/paper/2209.12325)

Discussion