Evaluating Document Representations for Content-based Legal Literature Recommendations

Malte Ostendorff, Elliott Ash, Terry Ruas, Bela Gipp, Julian Moreno-Schneider +1 more
4/28/2021
cs.CLcs.IR

Official code: malteos/legal-document-similarity (32 stars, Jupyter Notebook, last commit 2021-04-29).

Abstract

Recommender systems assist legal professionals in finding relevant literature for supporting their case. Despite its importance for the profession, legal applications do not reflect the latest advances in recommender systems and representation learning research.

Show full abstract

Simultaneously, legal recommender systems are typically evaluated in small-scale user study without any public available benchmark datasets. Thus, these studies have limited reproducibility. To address the gap between research and practice, we explore a set of state-of-the-art document representation methods for the task of retrieving semantically related US case law. We evaluate text-based (e.g., fastText, Transformers), citation-based (e.g., DeepWalk, Poincaré), and hybrid methods. We compare in total 27 methods using two silver standards with annotations for 2,964 documents. The silver standards are newly created from Open Case Book and Wikisource and can be reused under an open license facilitating reproducibility. Our experiments show that document representations from averaged fastText word vectors (trained on legal corpora) yield the best results, closely followed by Poincaré citation embeddings. Combining fastText and Poincaré in a hybrid manner further improves the overall result. Besides the overall performance, we analyze the methods depending on document length, citation count, and the coverage of their recommendations. We make our source code, models, and datasets publicly available at https://github.com/malteos/legal-document-similarity/.

View on arXivView PDF

Code Implementations(1)

Legal document similarity - Code, data, and models for the ICAIL 2021 paper "Evaluating Document Representations for Content-based Legal Literature Recommendations"

3210Jupyter Notebook, PythonApr 21, 20215 years ago

Similar Papers

Cite this paper

@article{ostendorff2021evaluating,
  title  = {Evaluating Document Representations for Content-based Legal Literature Recommendations},
  author = {Malte Ostendorff and Elliott Ash and Terry Ruas and Bela Gipp and Julian Moreno-Schneider and Georg Rehm},
  year   = {2021},
  eprint = {2104.13841},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.13841}
}

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

Discussion