Processing Long Legal Documents with Pre-trained Transformers: Modding LegalBERT and Longformer

Publikation: Bidrag til bog/antologi/rapportKonferencebidrag i proceedingsForskningfagfællebedømt

Dokumenter

  • Fulltext

    Forlagets udgivne version, 1,72 MB, PDF-dokument

Pre-trained Transformers currently dominate most NLP tasks. They impose, however, limits on the maximum input length (512 sub-words in BERT), which are too restrictive in the legal domain. Even sparse-attention models, such as Longformer and BigBird, which increase the maximum input length to 4,096 sub-words, severely truncate texts in three of the six datasets of LexGLUE. Simpler linear classifiers with TF-IDF features can handle texts of any length, require far less resources to train and deploy, but are usually outperformed by pre-trained Transformers. We explore two directions to cope with long legal texts: (i) modifying a Longformer warm-started from LegalBERT to handle even longer texts (up to 8,192 sub-words), and (ii) modifying LegalBERT to use TF-IDF representations. The first approach is the best in terms of performance, surpassing a hierarchical version of LegalBERT, which was the previous state of the art in LexGLUE. The second approach leads to computationally more efficient models at the expense of lower performance, but the resulting models still outperform overall a linear SVM with TF-IDF features in long legal document classification.

OriginalsprogEngelsk
TitelNLLP 2022 - Natural Legal Language Processing Workshop 2022, Proceedings of the Workshop
Antal sider13
ForlagAssociation for Computational Linguistics (ACL)
Publikationsdato2022
Sider130-142
ISBN (Elektronisk)9781959429180
StatusUdgivet - 2022
Begivenhed4th Natural Legal Language Processing Workshop, NLLP 2022, co-located with the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022 - Abu Dhabi, United Arab Emirates
Varighed: 8 dec. 2022 → …

Konference

Konference4th Natural Legal Language Processing Workshop, NLLP 2022, co-located with the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022
LandUnited Arab Emirates
ByAbu Dhabi
Periode08/12/2022 → …
SponsorBloomberg, European Research Council (ERC), LBox

Bibliografisk note

Funding Information:
This research has been co-funded by the European Regional Development Fund of the European Union and Greek national funds through the Operational Program Competitiveness, Entrepreneurship and Innovation, under the call RESEARCH – CREATE – INNOVATE (Τ2ΕΔΚ-03849). This work is also partly funded by the Innovation Fund Denmark (IFD)7 under File No. 0175-00011A.

Publisher Copyright:
© 2022 Association for Computational Linguistics.

Links

ID: 358725705