de en
AI & Recht DOI: 10.38023/673190ef-90b9-4627-bfa0-07245f33d20d

Using transformers to multi-label long legal documents

Hanane el Aajati
Roderick Lucas
Radboud Winkels
Region:

Niederlande

Rechtsgebiete:

AI & Recht

Sammlung:

Tagungsband IRIS 2023

Zitiervorschlag: Hanane el Aajati / Roderick Lucas / Radboud Winkels, Using transformers to multi-label long legal documents, in: Jusletter IT 30. März 2023

This paper describes experiments to find an efficient method to multi-label official legal documents using Transformers. Transformers are popular and powerful ML models because they are pre-trained on large amounts of data. A significant drawback is that most Transformers cannot process documents longer than 512 tokens. We try to tackle this issue by proposing a new method to multi-label long documents – summarizing long documents first before multi-labeling with the bert-base-cased Transformer. This summarization method is compared with two existing methods: truncating documents after the first 512 tokens and Longformer. The methods are evaluated on the F1 score, and the results show that the Longformer performs the best. The summarization method and truncating method seem to output almost equal F1 scores. Although the summarization method did not perform well on the dataset used in this research, it could be promising for datasets with more structured documents.


Inhaltsverzeichnis

  • 1. Introduction
  • 2. Background
    • 2.1. Bert
    • 2.2. Longformer
    • 2.3. Summarization
    • 2.4. The Data
  • 3. The Experiment
  • 4. Results
  • 5. Conclusions and Future Work
  • 6. References
Loggen Sie sich bitte ein, um den ganzen Text zu lesen.
Für Campus registrieren? Mehr dazu
Login Poster
Baldi & Caratsch
Rechtsanwältin/Rechtsanwalt; [...] Baldi & Caratsch
TURICUM LEGAL AG
Rechtsanwältin / Rechtsanwalt TURICUM LEGAL AG
Altenburger Ltd legal + tax
Erfahrene Steueranwältin oder Steueranwalt Altenburger Ltd legal + tax
taormina law AG
Eine Strafverteidigerin | Ein [...] taormina law AG
Bär & Karrer SA (Lugano)
Rechtsanwältin / Rechtsanwalt im [...] Bär & Karrer SA (Lugano)
BodmerFischer AG
Anwaltsassistent/in mit Zahlenflair [...] BodmerFischer AG
Chlup Legal Services
Jurist/in MLaw / Associate (60–100%, [...] Chlup Legal Services
Widmer Baurecht AG
Rechtsanwältin / Rechtsanwalt [...] Widmer Baurecht AG
Aktuelle Rechtsfragen im Bau-, [...]
/dam/jcr:3b19cfcc-674e-4cbb-80c7-76170c4aafbb/St.Galler%20Uni.PNG
St.Galler Erbrechtstag Institut für Rechtswissenschaft und [...]
/dam/jcr:d609667f-72a5-42a1-8c38-8551afcf5bfc/UniFreiburg_Europarecht.PNG
Weiterbildungen Datenschutzrecht / [...] Institut für Europarecht, [...]
7. Fortbildungsseminar zur [...]
/dam/jcr:8a7f3354-213a-43de-a59d-a7475e221373/Flyer-RechtssicherKI.png
Rechtssicher mit KI – Ganztageskurs [...] Begrenzte Plätze.
17. Liechtensteinischer Stiftungsrech[...]
/dam/jcr:83f09d58-4a62-41b1-9c9c-02abeb440d40/academy.svg
Webinar: «Update Familienrecht: Was [...] Weblaw Academy - Webinar @ Weblaw
Tagung zum öffentlichen Personalrecht 2025
/dam/jcr:110e5872-bd39-43a3-8ce3-f81b23cbf88f/Freiburg%20Uni.PNG
CAS Droit des migrations Les Universités de Berne, Neuchâtel [...]
St. Galler Mietrechtstag 2025
Entwicklungen im Recht der [...]
/dam/jcr:d86bd260-93c9-4843-a380-13c7048bd390/recht_aktuell_Logo_verkleinert.jpg
9. Basler Sozialversicherungsrechtst[...] Prof. Dr. iur. Kurt Pärli
Séance d’information: Paralegal avec [...]
Intensivkurs «Geldwäscherei und [...]
/dam/jcr:83f09d58-4a62-41b1-9c9c-02abeb440d40/academy.svg
KI im juristischen Alltag - [...] Weblaw Academy
Zertifikatsstudiengang Treuhandwesen
/dam/jcr:72c8dc43-22be-40c9-8c47-c9c2eb7d5f5c/fernunilogo.png
CAS Datenschutz Unternehmen und Verwaltung FernUni Schweiz | UniDistance Suisse
Protection des données & IA
/dam/jcr:83f09d58-4a62-41b1-9c9c-02abeb440d40/academy.svg
KI im juristischen Alltag - [...] Weblaw Academy
/dam/jcr:d609667f-72a5-42a1-8c38-8551afcf5bfc/UniFreiburg_Europarecht.PNG
Weiterbildungsstudiengang CAS [...] Institut für Europarecht, [...]
CAS MedLaw
Intensivkurs «Anti-Money Laundering»
Intensivkurs „Wirtschaftsstraftaten [...]
10. Basler Arbeitsrechtstagung - [...]
CAS Data Protection & Technology
CAS Strafprozessrecht
CAS IT Audit & Assurance
CAS Berufliche Vorsorge
Intensivkurs «Internationales [...]
Intensivkurs «Strafrecht und Unternehmen»
CAS Prozessführung – Civil Litigation
Intensivkurs „Strafrecht und [...]
/dam/jcr:c2a09a2e-ee26-4225-a6e7-2d9825723fad/irphsglogodergboriginal.jpg
CAS Compliance in Financial Services Institut für Rechtswissenschaft und [...]
Executive Master of Laws (LL.M.) in [...]
CAS Haftpflicht- und Versicherungsrecht
Executive Master of Laws (LL.M.) im [...]
Executive Master of Laws (LL.M.) im [...]