Title: Multi-label legal text classification with BiLSTM and attention

Authors: Liriam Enamoto; Andre R.A.S. Santos; Ricardo Maia; Li Weigang; Geraldo P. Rocha Filho

Addresses: Department of Computer Science, University of Brasília, Brasília, Federal District, Brazil ' Faculty of Law, State University of Rio de Janeiro, Rio de Janeiro, Brazil ' Department of Computer Science, University of Brasília, Brasília, Federal District, Brazil ' Department of Computer Science, University of Brasília, Brasília, Federal District, Brazil ' Department of Computer Science, University of Brasília, Brasília, Federal District, Brazil

Abstract: Like many other knowledge fields, the legal area has experienced an information-overloaded scenario. However, to extract data from legal documents is a challenge due to the complexity of legal concepts and terms. This work aims to address Bidirectional Long Short-Term Memory (BiLSTM) to perform Portuguese legal text classification to solve such challenges. The proposed model is a shallow network with one BiLSTM layer and one Attention layer trained over two small data sets extracted from two Brazilian courts: the Superior Labour Court (TST) and 1st Region Labour Court. The experimental results show that combining the BiLSTM layer and the Attention layer for long judicial texts helps capture the past and future contexts and extract multiple tags. As the main contribution of this research, the proposed model can quickly process multi-label and multi-class data sets and adapt to new contexts in different languages.

Keywords: legal text; multi-label; text classification; BiLSTM; attention.

DOI: 10.1504/IJCAT.2022.125186

International Journal of Computer Applications in Technology, 2022 Vol.68 No.4, pp.369 - 378

Received: 21 May 2021
Accepted: 27 Jul 2021

Published online: 01 Sep 2022 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article