<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>LamBERTa: Law Article Mining Based on Bert Architecture for the Italian Civil Code</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andrea Tagarelli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Simeri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. Computer Engineering</institution>
          ,
          <addr-line>Modeling, Electronics, and Systems Engineering (DIMES)</addr-line>
          ,
          <institution>University of Calabria</institution>
          ,
          <addr-line>87036 Rende (CS)</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present LamBERTa, a BERT-based framework for law article retrieval as a prediction problem, focusing on civil-law codes, and specifically trained on the Italian civil code. To the best of our knowledge, LamBERTa is the first advanced, deep learning approach to law article prediction for the Italian legal system. This paper is an extended abstract from our recent research work in [1].</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;language models</kwd>
        <kwd>deep learning</kwd>
        <kwd>legal data</kwd>
        <kwd>artificial intelligence and law</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Modeling law search and retrieval as prediction problems has recently emerged as a
predominant approach in law intelligence [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Predictive tasks in legal information systems have often
been addressed as text classification problems, ranging from case classification and legal
judgment prediction, to legislation norm classification, and statute prediction. Early studies have
focused on statistical textual features and machine learning methods, then the progress of deep
learning methods for text classification has prompted the development of deep neural network
frameworks for several learning tasks, such as charge prediction [
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ], sentence modality
classification [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ], legal question answering [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        More recently, deep pre-trained language models, particularly the Bidirectional Encoder
Representations from Transformers (BERT) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], have emerged showing outstanding efectiveness in
several NLP tasks. Thanks to their ability to learn a contextual language understanding model,
they overcome the need for feature engineering (upon which classic, sparse vectorial
representation models rely). Nonetheless, since these models are originally trained from generic domain
corpora, they should not be directly applied to a specific domain corpus, as the distributional
representation (embeddings) of their lexical units may significantly shift from the nuances and
peculiarities expressed in domain-specific texts; this certainly holds for the legal domain as well,
where language understanding is particularly challenging. In this respect, developing BERT
models for legal documents has attracted increased attention, mostly concerning classification
problems (e.g., [
        <xref ref-type="bibr" rid="ref10 ref11 ref12 ref13 ref14 ref15 ref9">9, 10, 11, 12, 13, 14, 15</xref>
        ]).
Motivations for BERT-based approach. Exploiting deep neural-network, pre-trained
language modeling to solve the law article retrieval task has a number of key advantages
that include the following. First, like any other deep neural network model, it totally avoids
manual feature engineering, and hence the need for feature selection or relevance weighting
methods (e.g., TF-IDF). Second, like sophisticated recurrent and convolutional neural networks,
it models language semantics and non-linear relationships between terms; however, better
than recurrent and convolutional neural networks, it is able to capture subtle and complex
lexical patterns including the sequential structure and long-term dependencies, thus obtaining
the most comprehensive local and global feature representations of a text sequence. Third,
it incorporates the so-called attention mechanism, which allows a learning model to assign
higher weight to text features according to their higher informativeness or relevance to the
learning task. Fourth, being an efective bidirectional Transformer model, it overcomes the main
limitations of early deep contextualized models (e.g., ELMO) [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] or decoder-based Transformer
models (e.g., GPT) [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>Research problem and challenges. The problem we tackle in this paper is law article
retrieval, i.e., finding articles of interest out of a legal corpus that can be recommended as
an appropriate response to a query expressing a legal matter. We assume that any query is
expressed in natural language and discusses a legal subject that is in principle covered by the
target law code corpus; moreover, a query is assumed to be free of references to any article
identifier in the law code.</p>
      <p>We address the law article retrieval problem based on the supervised machine learning
paradigm: given a user-provided instance, i.e., a legal question, the goal is to automatically
predict the category associated to the posed question, or more in general, to compute the
probability distribution over all the predefined categories. In our context, the prediction is
carried out by a machine learning system that must be trained on a target law code, in order to
learn a classifier that will be used to perform the predictions against legal queries by exclusively
utilizing the textual information contained in the law articles.</p>
      <p>Like any other machine learning method, using deep pre-trained models like BERT for
classification tasks requires the availability of data annotated with the class labels, so to design
the independent training and testing phases for the classifier. However, we have to cope with a
prediction task that is challenging from diferent perspectives, which are summarized as follows:
• The first challenge refers to the high number of classes, which are in the order of hundreds,
or even thousands.
• The second challenge corresponds to the so-called few-shot learning problem, i.e., dealing
with a small amount of per-class examples to train a machine learning model, which
Bengio et al. recognize as one of the “extreme classification” scenarios [ 18]. Indeed, the
number of classes are thousands, resp. hundreds, as they correspond to the number of
articles in the law code, resp. portion of it, that is used to train the law article retrieval
model. Also, all available articles must be used for training the model, therefore it is not
straightforward to select a test set from the target corpus.
• The third challenge arises from our special interest in Italian law data, whereby we notice
a lack of test query benchmarks for Italian legal article retrieval/prediction tasks.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Our proposed approach</title>
      <p>
        Our research aims to address all the aforementioned challenges. To this purpose, in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we
investigate on the modeling, learning and understanding of civil-law-based corpora, and we
propose LamBERTa – Law article mining based on BERT architecture, a BERT-based framework
for law article retrieval as a prediction problem. LamBERTa is designed to fine-tune an Italian
pre-trained BERT on the Italian Civil Code (ICC) as the target law code, for law article retrieval
as prediction, i.e., given a natural language query, predict the most relevant ICC article(s).
Notably, few works have been developed for Italian BERT-based models [19], such as a retrained
BERT for various NLP tasks on Italian tweets [20], and a BERT-based masked-language model
for spell correction [21]; however, to the best of our knowledge, no study leveraging BERT for
the Italian civil-law has been proposed until [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Data. The ICC is divided into six, logically coherent books, each in charge of providing rules
for a particular civil law theme: Book-1, on Persons and the Family, articles 1-455 – contains
the discipline of the juridical capacity of persons, of the rights of the personality, of collective
organizations, of the family; Book-2, on Successions, articles 456-809 – contains the discipline
of succession due to death and the donation contract; Book-3, on Property, articles 810-1172
– contains the discipline of ownership and other real rights; Book-4, on Obligations, articles
1173-2059 – contains the discipline of obligations and their sources, that is mainly of contracts
and illicit facts (the so-called civil liability); Book-5, on Labor, articles 2060-2642 – contains the
discipline of the company in general, of subordinate and self-employed work, of profit-making
companies and of competition; Book-6, on the Protection of Rights, articles 2643-2969 – contains
the discipline of the transcription, of the proofs, of the debtor’s financial liability and of the
causes of pre-emption, of the prescription.</p>
      <p>Overview of the LamBERTa framework. Figure 1 shows the conceptual architecture of
LamBERTa. The starting point is a pre-trained Italian BERT model whose source data consists of
a recent Wikipedia dump, various texts from the OPUS corpora collection, and the Italian part
of the OSCAR corpus; the final training corpus has a size of 81GB and 13 138 379 147 tokens. 1</p>
      <p>LamBERTa models are generated by fine-tuning the pre-trained Italian BERT model on a
sequence classification task (i.e., BERT with a single linear classification layer on top) given
in input the articles of the ICC or a portion of it. This fine-tuning is accomplished by using a
typical configuration of BERT for masked language modeling, with 12 attention heads and 12
hidden layers, and initial (i.e., pre-trained) vocabulary of 32 102 tokens. Each model was trained
for 10 epochs, using cross-entropy as loss function, Adam optimizer and initial learning rate
selected within [1e-5, 5e-5] on batches of 256 examples.</p>
      <p>The LamBERTa architecture can be configured w.r.t. two model aspects: (i) the learning
approach and (ii) the training-instance labeling scheme for a given corpus of ICC articles. As
for the former, we consider two learning approaches, here dubbed global and local learning,
respectively. A global model is trained on the whole ICC, whereas a local model is trained on
a particular book of the ICC, which is seen as a logically coherent subset of the whole civil code.</p>
      <p>1bert-base-italian-xxl-uncased, available at https://huggingface.co/dbmdz/.
Either type of model is designed to be a classifier at article level, i.e., class labels correspond to
the articles in the book(s) covered by the model.</p>
      <p>LamBERTa models are trained using WordPiece tokenization of the article sentences. To
avoid subwording domain-specific (i.e., legal) terms, thus disrupting their semantics, we enrich
the BERT vocabulary with a selection of terms from the ICC articles, before tokenization.</p>
      <p>Given the one-to-one association between classes and articles, and since the entire ICC
must be used to embed the whole knowledge therein, a question becomes how to create as
many training instances as possible for each article to make LamBERTa learn efectively. To
this purpose, we devise various unsupervised schemes of labeling of the ICC articles, to
create the training sets of LamBERTa models. These schemes adopt diferent strategies for
selecting and combining portions from each article to derive the training set, while sharing
the requirements of generating a minimum number of training units per article, here denoted
as   ; moreover, since each article is usually comprised of few sentences, and  
needs to be relatively large (we chose 32 as default value), each of the schemes implements
a round-robin (RR) method that iterates over replicas of the same group of training units per
article until at least   are generated. The most efective scheme turned out to be the
unigram with parameterized emphasis on the title, which builds the set of training units for each
article as comprised of two subsets: the one containing the article’s sentences with round-robin
selection, and the other one containing only replicas of the article’s title.</p>
      <p>
        Experimental evaluation. In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], LamBERTa models are evaluated through an extensive
experimental analysis by considering single-label evaluation as well as multi-label evaluation
tasks, based on six diferent types of queries , which vary by source, length and lexical
characteristics, and are summarized as follows: (Q1) Queries that correspond to randomly
selected sentences from the articles of a book; (Q2) Same as Q1, but with paraphrasing of
the queries; (Q3) Queries defined by comments on the ICC articles, i.e., annotations about the
interpretation of the meanings and law implications associated to an article; (Q4) Same as Q3,
but the comments are split into sentences; (Q5) Queries defined by case law decisions from the
civil section of the Italian Court of Cassation that contains jurisprudential sentences associated
with the ICC articles; (Q6) Queries defined by extracting the ICC metadata, i.e., headings of
chapters, subchapters, and sections of each ICC book.
      </p>
      <p>
        The obtained results, which are reported in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], have shown the efectiveness of LamBERTa
w.r.t. all book-specific query sets, and its superiority against widely used deep-learning text
classifiers, namely BiLSTM [22], a bidirectional LSTM model as sequence encoder, TextCNN [23],
a convolutional-neural-network-based model with multiple filter widths for text encoding and
classification, TextRCNN [24], a bidirectional LSTM with a pooling layer on the last sequence
output, Seq2Seq-A [25, 26], a Seq2Seq model with attention mechanism, and the Transformer
model for text classification, which is adapted from the model originally proposed in [ 27] for
machine translation. Also, we considered a few-shot learner conceived for an attribute-aware
prediction task [28] that we have originally adapted based on the availability of ICC metadata.
      </p>
      <p>On both global and local learning scenarios, our LamBERTa models outperform all the above
mentioned competing methods, which has confirmed our initial expectation on the superiority
of LamBERTa in learning classification models from few per-class labeled examples under a
tough multi-class classification scenario.</p>
      <p>
        Explainability. Explainability is one crucial aspect that typically arises in deep/machine
learning models, and is clearly of high interest also in artificial intelligence and law (e.g., [ 29, 30]).
In this regard, in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] we investigate explainability of our LamBERTa models focusing on (i)
understanding of how they form complex relationships between the textual tokens, and (ii)
providing insights into the patterns generated by LamBERTa models through a visual exploratory
analysis of the learned representation embeddings.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Conclusions</title>
      <p>Our work falls into the corpus of recently developed studies that aim to show how artificial
intelligence tools can be helpful not only to legal experts to reduce their workload, but also to
citizens who can benefit from such tools to serve their search and consultation needs.</p>
      <p>In this respect, we have presented LamBERTa, a BERT-based language understanding
framework for law article retrieval as a prediction task. One key feature of LamBERTa is its ability
to deal with a challenging learning scenario, where the multi-class classification setting is
characterized by hundreds or thousands of classes and very few, per-class training instances
that are generated in an unsupervised fashion.</p>
      <p>It should be emphasized that, while focusing on the Italian Civil Code in its current version,
the LamBERTa architecture can easily be generalized to learn from other law code systems.</p>
      <p>
        For all technical and experimental details on our research study and the LamBERTa framework,
the interested reader is referred to [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
in: arxiv, 2018.
[18] S. Bengio, K. Dembczynski, T. Joachims, M. Kloft, M. Varma, Extreme Classification,
Technical Report, Report from Dagstuhl Seminar 18291, 2019. doi:10.4230/DagRep.8.
7.62.
[19] F. Tamburini, How “BERTology” Changed the State-of-the-Art also for Italian NLP, in: Proc.
7th Italian Conf. on Computational Linguistics (CLiC-it), volume 2769 of CEUR Workshop
Proceedings, CEUR-WS.org, 2020.
[20] M. Polignano, P. Basile, M. de Gemmis, G. Semeraro, V. Basile, AlBERTo: Italian BERT
Language Understanding Model for NLP Challenging Tasks Based on Tweets, in: Proc.
6th Italian Conf. on Computational Linguistics (CLiC-it), volume 2481 of CEUR Workshop
Proceedings, CEUR-WS.org, 2019.
[21] D. Puccinelli, S. Demartini, R. E. D’Aoust, Fixing comma splices in italian with BERT,
in: Proc. 6th Italian Conf. on Computational Linguistics (CLiC-it), volume 2481 of CEUR
Workshop Proceedings, CEUR-WS.org, 2019.
[22] P. Liu, X. Qiu, X. Huang, Recurrent neural network for text classification with multi-task
learning, in: Proc. IJCAI, 2016, pp. 2873–2879.
[23] Y. Kim, Convolutional neural networks for sentence classification, in: Proc. EMNLP, 2014,
p. 1746–1751.
[24] S. Lai, L. Xu, K. Liu, J. Zhao, Recurrent convolutional neural networks for text classification,
in: Proc. AAAI, 2015, p. 2267–2273.
[25] C. Du, L. Huang, Text classification research with attention-based recurrent neural
networks, Int. J. Comput. Commun. Control 13 (2018) 50–61.
[26] D. Bahdanau, K. Cho, Y. Bengio, Neural machine translation by jointly learning to align
and translate, in: Proc. ICLR, 2015.
[27] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, I.
Polosukhin, Attention is all you need, in: Proc. NIPS, 2017, pp. 5998–6008.
[28] Z. Hu, X. Li, C. Tu, Z. Liu, M. Sun, Few-shot charge prediction with discriminative legal
attributes, in: Proc. COLING, Association for Computational Linguistics, 2018, pp. 487–498.
[29] K. Branting, B. Weiss, B. Brown, C. Pfeifer, A. Chakraborty, L. Ferro, M. Pfaf, A. S. Yeh,
Semi-supervised methods for explainable legal prediction, in: Proc. Int. Conf. on Artificial
Intelligence and Law (ICAIL), 2019, pp. 22–31.
[30] P. Hacker, R. Krestel, S. Grundmann, F. Naumann, Explainable AI under contract and tort
law: legal incentives and technical challenges, Artif. Intell. Law 28 (2020) 415–439.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Tagarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Simeri</surname>
          </string-name>
          ,
          <article-title>Unsupervised law article mining based on deep pre-trained language representation models with application to the Italian civil code</article-title>
          ,
          <source>Artif. Intell. Law</source>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>57</lpage>
          . doi:
          <volume>10</volume>
          .1007/s10506-021-09301-8.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>F.</given-names>
            <surname>Dadgostari</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Guim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Beling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Livermore</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rockmore</surname>
          </string-name>
          ,
          <article-title>Modeling law search as prediction</article-title>
          ,
          <source>Artif. Intell. Law</source>
          <volume>29</volume>
          (
          <year>2021</year>
          )
          <fpage>3</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Luo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Feng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <article-title>Learning to predict charges for criminal cases with legal basis</article-title>
          ,
          <source>in: Proc. EMNLP</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>2727</fpage>
          -
          <lpage>2736</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>H.</given-names>
            <surname>Ye</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Luo</surname>
          </string-name>
          , W. Chao,
          <article-title>Interpretable charge predictions for criminal cases: Learning to generate court views from fact descriptions</article-title>
          ,
          <source>in: Proc. NAACL-HLT</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>1854</fpage>
          -
          <lpage>1864</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>J. O'Neill</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Buitelaar</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Robin</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <article-title>O'Brien, Classifying sentential modality in legal language: a use case in financial regulations, acts and directives</article-title>
          ,
          <source>in: Proc. Int. Conf. on Artificial Intelligence and Law (ICAIL)</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>159</fpage>
          -
          <lpage>168</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>I.</given-names>
            <surname>Chalkidis</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Androutsopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Michos</surname>
          </string-name>
          ,
          <article-title>Obligation and Prohibition Extraction Using Hierarchical RNNs</article-title>
          ,
          <source>in: Proc. Annual Meeting of the Association for Computational Linguistics (ACL)</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>254</fpage>
          -
          <lpage>259</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Do</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <article-title>Legal question answering using ranking SVM and deep convolutional neural network</article-title>
          ,
          <source>CoRR abs/1703</source>
          .05320 (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          ,
          <article-title>BERT: pre-training of deep bidirectional transformers for language understanding</article-title>
          ,
          <source>in: Proc. NAACL-HLT</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>4171</fpage>
          -
          <lpage>4186</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Rabelo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Goebel</surname>
          </string-name>
          ,
          <article-title>Combining similarity and transformer methods for case law entailment</article-title>
          ,
          <source>in: Proc. Int. Conf. on Artificial Intelligence and Law (ICAIL)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>290</fpage>
          -
          <lpage>296</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>I.</given-names>
            <surname>Chalkidis</surname>
          </string-name>
          , I. Androutsopoulos,
          <string-name>
            <given-names>N.</given-names>
            <surname>Aletras</surname>
          </string-name>
          ,
          <article-title>Neural legal judgment prediction in english</article-title>
          ,
          <source>in: Proc. ACL</source>
          , Association for Computational Linguistics,
          <year>2019</year>
          , pp.
          <fpage>4317</fpage>
          -
          <lpage>4323</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Sanchez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Manotumruksa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Albakour</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lipani</surname>
          </string-name>
          ,
          <article-title>Easing legal news monitoring with learning to rank and BERT</article-title>
          , in
          <source>: Proc. ECIR</source>
          , volume
          <volume>12036</volume>
          of Lecture Notes in Computer Science, Springer,
          <year>2020</year>
          , pp.
          <fpage>336</fpage>
          -
          <lpage>343</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          , W. Ma,
          <string-name>
            <given-names>K.</given-names>
            <surname>Satoh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , S. Ma, BERT-PLI:
          <article-title>modeling paragraphlevel interactions for legal case retrieval</article-title>
          ,
          <source>in: Proc. IJCAI</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>3501</fpage>
          -
          <lpage>3507</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>I.</given-names>
            <surname>Chalkidis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fergadiotis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Malakasiotis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Aletras</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Androutsopoulos</surname>
          </string-name>
          ,
          <article-title>LEGAL-BERT: the muppets straight out of law school</article-title>
          , CoRR abs/
          <year>2010</year>
          .02559 (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>H.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. M.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Vuong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q. M.</given-names>
            <surname>Bui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          , T. B.
          <string-name>
            <surname>Dang</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>M. L.</given-names>
          </string-name>
          <string-name>
            <surname>Nguyen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Satoh</surname>
          </string-name>
          , JNLP team:
          <article-title>Deep learning approaches for legal processing tasks in COLIEE 2021</article-title>
          , CoRR abs/2106.13405 (
          <year>2021</year>
          ). URL: https://arxiv.org/abs/2106.13405. arXiv:
          <volume>2106</volume>
          .
          <fpage>13405</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M.</given-names>
            <surname>Yoshioka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Aoki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Suzuki</surname>
          </string-name>
          ,
          <article-title>BERT-based ensemble methods with data augmentation for legal textual entailment in COLIEE statute law task</article-title>
          ,
          <source>in: Proc. Int. Conf. on Artificial Intelligence and Law (ICAIL)</source>
          , ACM,
          <year>2021</year>
          , pp.
          <fpage>278</fpage>
          -
          <lpage>284</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M. E.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Neumann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Iyyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gardner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Clark</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          ,
          <article-title>Deep contextualized word representations</article-title>
          ,
          <source>in: Proc. NAACL-HLT</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>2227</fpage>
          -
          <lpage>2237</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>A.</given-names>
            <surname>Radford</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Sutskever</surname>
          </string-name>
          ,
          <article-title>Improving language understanding by generative pre-training,</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>