<!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>Using Probabilistic Soft Logic to Improve Information Extraction in the Legal Domain</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Birgit Kirsch</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sven Giesselbach</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Timothee Schmude</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Malte Volkening</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Frauke Rostalski</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan Ruping</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Fraunhofer Center for Machine Learning</institution>
          ,
          <addr-line>Schloss Birlinghoven, Sankt Augustin</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Fraunhofer IAIS</institution>
          ,
          <addr-line>Schloss Birlinghoven, Sankt Augustin</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute for Criminal Law and Criminal Procedure, University of Cologne</institution>
          ,
          <addr-line>Cologne</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Extracting information from court process documents to populate a knowledge base produces data valuable to legal faculties, publishers and law rms. A challenge lies in the fact that the relevant information is interdependent and structured by numerous semantic constraints of the legal domain. Ignoring these dependencies leads to inferior solutions. Hence, the objective of this paper is to demonstrate how the extraction pipeline can be improved by the use of probabilistic soft logic rules that re ect both legal and linguistic knowledge. We propose a probabilistic rule model for the overall extraction pipeline, which enables to both map dependencies between local extraction models and to integrate additional domain knowledge in the form of logical constraints. We evaluate the performance of the model on a German court sentences corpus.</p>
      </abstract>
      <kwd-group>
        <kwd>Information Extraction</kwd>
        <kwd>Tech</kwd>
        <kwd>Probabilistic Soft Logic</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In the year 2018 alone, there were approximately 870,000 court procedures in
Germany4. All of them are documented in text, however to this date there are
still only rudimentary solutions as to how to search for information within these
documents. Transforming these documents into structured form produces data
that can give insight into court processes and may be a valuable source to
examine research questions such as the perceived imbalance in degrees of penalty
between di erent regions in Germany, as described in
        <xref ref-type="bibr" rid="ref3">Grundies (2018)</xref>
        .
According to the examinations of Grundies, there are substantial deviations (up to
15%) in how the same crime is punished in southern and northern Germany.
The objective of this paper is to extract relevant information from these
documents to populate a database that can be used for further analysis. While one
Copyright c 2020 by the paper's authors. Use permitted under Creative Commons
License Attribution 4.0 International (CC BY 4.0).
4 https://www.destatis.de/DE/Themen/Staat/Justiz-Rechtsp ege/ inhalt.html
might think of using standard natural language understanding approaches to
tackle this task, the particular challenge lies in the fact that the relevant
information in these texts is interdependent and structured by complex legal domain
knowledge. For example, the probability of occurrence of a monetary ne in the
court sentence obviously depends on the type of court sentence (imprisonment
or ne). Ignoring these dependencies leads to inferior solutions for information
extraction. Hence, we demonstrate how the extraction of information from legal
texts can be improved by the use of probabilistic soft logic rules that re ect legal
knowledge.
      </p>
      <p>Each document results in one entry in a knowledge base with seven facts
about the document speci c case and defendant, delineated in Section 3. Figure 1
displays the extraction pipeline to populate such a knowledge base and visualizes
the dependencies between local components. It consists of the following two
stages:
1. Document Classi cation: classi cation on document level predicts database
entries with a xed set of possible values, such as the type of court sentence
( ne, imprisonment or acquittal).
2. Named Entity Recognition (NER): classi cation on token basis extracts
all information with an unlimited set of possible values that have to be
extracted from the document text itself, such as the duration of imprisonment.
This will be treated as a named entity recognition task with the objective
to assign a xed set of classes to each token and extract the information
from the token text that is assigned the respective entity class. If a model
assigns the same class to multiple text spans, they have to be consolidated
to extract one value per document.</p>
      <p>This baseline approach introduced for the use case raises multiple challenges:
error propagation in the pipeline, value consolidation of NER predictions and
the sparsity of training data.</p>
      <p>
        Error propagation: One major disadvantage of this approach is that errors
are propagated from the rst classi cation component on document basis to
the second classi cation component on token basis. This may lead to a lower
performance with respect to the nal aggregated document results. This problem
is known from other NLP tasks such as knowledge base population. Recent work
therefore focused on solving multiple tasks and modeling it as an end-to-end
statistical inference problem
        <xref ref-type="bibr" rid="ref9">(Sachan et al., 2018)</xref>
        .
      </p>
      <p>Value consolidation: One additional source of error is the consolidation of
multiple token spans in the same document to extract one value per document.
A NER classi er may in one document classify multiple token spans with the
same class and as a consequence create multiple candidates that need to be
consolidated to generate one valid value per NER class and document. Assigning
the same NER class to multiple spans in one document is only valid when they
refer to the same entity, e.g. the text span is similar. Integrating this as a hard
constraint in a post-processing step may introduce additional errors.</p>
      <p>Label sparsity: Since obtaining, anonymizing and labeling court sentence
documents is a tedious process, the corpus available to train the pipeline
classiers is rather small. Beside the raw data there is valuable knowledge, both about
dependencies between the information (e.g., a defendant with previous
convictions is more likely to get imprisoned) and about the document structure (e.g.,
date and location of the court are likely to be in the beginning of the document).
This sort of knowledge is not exploited in traditional approaches.</p>
      <p>In order to address these challenges, we propose a probabilistic model
constructed with a logical templating language that models a joint objective over
the whole pipeline. By reasoning over all pipeline tasks jointly, we try to weaken
the e ect of propagated errors. By then modeling dependencies between NER
candidates per document we address value consolidation challenges and with
using a logical templating language, we enable to integrate additional background
knowledge. Contributions of this paper can be summed up as the following:
{ We propose a probabilistic model based on PSL for the overall extraction
pipeline, which enables to map dependencies between local classi cation
models.
{ We model relevant concepts from the legal domain in the form of logical
constraints and integrate them into the probabilistic model.
{ We provide an empirical evaluation of the approach on a data set of court
sentences and compare results with the traditional pipeline approach.
The remainder of this paper is organized as follows: Section 2 gives an overview
of related work in the eld of joint information extraction and probabilistic
pipelines, Section 3 describes our approach, Section 4 provides an experimental
evaluation on a German sentencing corpus and reviews benchmarks in
comparison with a traditional pipeline approach, Section 5 concludes with a summary
and future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Modeling pipelines in NLP and handling error propagation is a well known
problem in multiple elds of research. Former work proposed diverse approaches
to tackle this, e.g. by using graphical models or inductive logic programming.
        <xref ref-type="bibr" rid="ref4">Marciniak and Strube (2005)</xref>
        introduced a model built upon linear
programming for NLP pipelines of cascading classi ers and
        <xref ref-type="bibr" rid="ref8">Roth and Yih (2002)</xref>
        use
a bayesian belief network for joint prediction for entity and relation classi
cation models.
        <xref ref-type="bibr" rid="ref10">Singh et al. (2013)</xref>
        apply a joint graphical model for the tasks
entity tagging and relation extraction including co-reference resolution to
allow ow of uncertainty across task boundaries. Besides the mere modeling of
multiple tasks, former work also focused on incorporating on additional domain
knowledge.
        <xref ref-type="bibr" rid="ref7">Pawar et al. (2017)</xref>
        introduce a neural model to address boundary
identi cation, entity type classi cation and relation type classi cation jointly
(AWP-NN) and show that re ning the output with a Markov Logic Network to
incorporate additional knowledge improves the results.
        <xref ref-type="bibr" rid="ref5">Min et al. (2017)</xref>
        propose
a probabilistic graphical model to extract facts from documents end-to-end to
ll a knowledge base. Besides taking into account full corpus information for
joint inference, they empirically show that integrating knowledge about entity
and relation occurrences improves the results. This work is based on
        <xref ref-type="bibr" rid="ref9">Sachan
et al. (2018)</xref>
        , who propose to use the statistical relational learning framework
PSL to model the pipeline in a probabilistic way. To our knowledge we are the
rst to introduce a rule based probabilistic model for the aforementioned NLP
extraction pipeline that is able to incorporate additional domain knowledge and
apply and evaluate it on a legal corpus. The concept of automatically extracting
information from court procedure documents was proposed and developed as a
prototype in the Legal Tech Lab Cologne5 in early 2019 { an initiative, formed
to nd solutions for digitisation of legal procedures.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Approach</title>
      <p>
        We propose a probabilistic model for an information extraction pipeline that
jointly reasons over two pipeline stages: the Document Classi cation Stage
and the NER Stage. This model is constructed using the logical templating
language Probabilistic Soft Logic introduced by
        <xref ref-type="bibr" rid="ref1">Bach et al. (2017)</xref>
        . The following
subsections explain both pipeline stages and the probabilistic model in detail.
5 https://legaltechcologne.de/
3.1
      </p>
      <sec id="sec-3-1">
        <title>Document Classi cation Stage</title>
        <p>
          In this stage, all defendant and case-related information such as the type of court
sentence is extracted. The objective of this stage is to perform three separate
classi cation tasks and assign the following categories to each document:
{ Previous Convictions (PC) : Yes/No
{ Type of court sentence6 (TS): Imprisonment/Fine/Acquittal
{ Probation (PR): Yes/No
For each classi cation task, two separate model architectures are trained and
applied, the inbuilt convolutional neural network (CNN) based model provided
by spaCy 7, as well as a transformer based classi cation model, BERT
          <xref ref-type="bibr" rid="ref2">(Devlin
et al., 2018)</xref>
          , which we will shortly discuss in the following subsections. The
labels for the classi cation are assigned per court sentence in the documents.
BERT Classi er:
          <xref ref-type="bibr" rid="ref2">Devlin et al. (2018)</xref>
          introduce a language model based on
transformer networks
          <xref ref-type="bibr" rid="ref11">(Vaswani et al., 2017)</xref>
          , which has been shown to yield
state-of-the-art performance in many natural language understanding tasks. We
use the small German BERT model integrated in the hugging-face library8.
Since BERT is restricted by memory constraints in the amount of tokens it can
process and the document classes are available on a sentence level in the training
set, indicating wether a sentence mentions a previous conviction (yes, no), a
probation (yes, no) and the type of sentence, we train BERT to classify sentences
instead of document classes. We train a separate classi cation model for each of
the aforementioned categories and introduce the class Other for sentences which
do not contain any class annotation. The values are aggregated to document
classes. Therefore, we rst lter out sentences in which the model predicts Other
as the most likely class. Out of all remaining sentences we return the class
probabilities for the sentence with the highest con dence of the classi er, i.e.
where the maximum probability is the highest. If no sentences remain, we pick
the highest probability for each of the classes, normalize and return the tuple of
the new class probabilities.
spaCy Classi er: This architecture is based on a CNN with mean pooling and
a nal feed-forward layer. The network is fed with pretrained word embeddings
trained on the German Wikipedia and the German common crawl
          <xref ref-type="bibr" rid="ref6">(Ortiz Suarez
et al., 2019)</xref>
          .9
6 Note that in the following it will be important to carefully distinguish between court
sentences and sentences as a linguistic construct!
7 An open-source library for Natural Language Processing, https://spacy.io/
8 Model pretrained on the German Wikipedia, an online collection of legal court
sentences and news texts, https://huggingface.co/bert-base-german-cased
9 https://oscar-corpus.com/
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Named Entity Recognition (NER) Stage</title>
        <p>In the NER stage all document-class speci c information such as amount of
the ne have to be extracted from the document. Objective of the NER stage
is to assign one of the following classes to each token in the document: date
of the court sentence (date), court location (loc), amount of the ne (f amnt),
number of day- nes (f units)10 and duration of imprisonment (d impr). Whether
f amnt and f units or d impr are present in a document depends on the type of
court sentence (imprisonment or ne). For this classi cation task we rely on two
architectures described below.</p>
        <p>BERT NER: The named entity recognition model based on BERT has the
same general transformer architecture as the classi er. Instead of predicting
the class of sentences, a per-token classi cation takes place. We use a single
feedforward layer with softmax activation to calculate the token labels.
spaCy NER: The spaCy NER model11 utilizes a di erent architecture. Its
embedding layer consists of two parts incorporating syntactic knowledge about
the word, and a stack of 4 residual CNN layers to capture contextual information.
Both layers are followed by a feed-forward network. Finally, a form of attention
mechanism is used to incorporate additional information about the previous
tokens and previous entity predictions. The nal layer is a feed-forward and
correction layer, which prevents illegal state shifts
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Probabilistic Pipeline</title>
        <p>
          We introduce a graphical model of a joint probability distribution to reason
over all stage outputs at the same time. This model integrates both local stage
model predictions, dependencies between the stages and additional background
knowledge. For model construction we use the Statistical Relational Learning
Framework PSL, introduced by
          <xref ref-type="bibr" rid="ref1">Bach et al. (2017)</xref>
          . It provides a First Order
Logic templating language to de ne a joint probability distribution over a set of
random variables. Therefore, rule templates are translated to a special type of
Markov Random eld, a Hinge-Loss - Markov Random Field (HL-MRF). In this
graphical model, each node represents a random variable and each edge a
dependency between variables. Given a set of observed variables X = (X1; :::; Xn), a set
of random variables Y = (Y1; :::; Yn0 ), a set of potential functions = ( 1; :::; m)
and a set of weights ! = (!1; :::; !m), a HL-MRF represents the following
probability density function over Y conditioned on X:
        </p>
        <p>P (Y jX) =
10 In German criminal law, nes are calculated in day- nes. The number of day- nes
depends on the severeness of the o ense while the amount of each day- ne is based
on the o ender's personal income.
11 https://spacy.io/universe/project/video-spacys-ner-model
with Z as a normalization factor.</p>
        <p>j (X; Y ) = (maxflj (X; Y ); 0g)pj
(2)
with lj representing a linear function and pj 2 f1; 2g.</p>
        <p>Potential functions j are de ned per clique, a subset of fully connected
nodes in the graph, assigning a probability mass to each clique state. A clique
state is one assignment of values to all random variables participating in the
clique. Assignment of a higher value to one clique state means that this state
will be interpreted as being more likely. In PSL, these potential functions are
generated using logical rst order rules, such as:
w : F riends(A; B) ^ F riends(B; C) ) F riends(A; C)
(3)
A weight w is assigned to each rule and indicates its importance. F riends is
called a predicate. Predicates can take one to multiple arguments, such as A and
B. Both A and B are variables and serve as placeholders. They can be substituted
by concrete instances, referred to as constants. A PSL-model itself consists of a
set of these template rules and a weight for each. Substituting all variables in
the rule template set with their respective constants is called grounding. Every
grounded rule represents one clique in the underlying graph structure and every
grounded predicate is an observed or unobserved random variable mapped to a
node in the clique. The weight of a grounded rule determines the weight !j of a
potential function. A potential function assignment denotes the degree to which
a rule is satis ed. Clique states that lead to satisfying a rule will be assigned a
higher value than clique states that lead to the violation of a rule. Intuitively
spoken, assignments of Y are more likely the fewer rules they violate.</p>
        <p>Our proposed rule set can be categorized into four rule types: basic rules,
domain rules, pipeline rules and similarity rules, examined in the following
subsections. Table 1 provides a detailed explanation for all elements participating
in each rule.</p>
        <p>Basic Rule Set: The basic set models the relationship between the local
classi cation models (re ected by the observed predicate f cls pc(s1) for stage one
and f cls(s2) by stage two respectively) and the true unobserved stage prediction
(cls pc(s1) for stage one and cls(s2) for stage two).</p>
        <p>f cls pc(s1)(d; m; c pc) ^ T (m; c pc) ) cls pc(s1)(d; c pc)2
!f cls pc(s1)(d; m; c pc) ^ T (m; c pc) )!cls pc(s1)(d; c pc)2
f cls(s2)(d; z; m; c) ^ T (m; c) ) cls(s2)(d; z; c)2
!f cls(s2)(d; z; m; c) ^ T (m; c) )!cls(s2)(d; z; c)2
cls pc(s1)(d; +c pc) = 1:
!cls(s2)(d; z; c)
(4)
(5)
(6)
(7)
(8)
d = f1; :::; Dg with D as the number of documents in the corpus
m = fSP ACY; BERT g local stage model
z = f1; :::; Zg with Z as the number of token candidates
c pc = fyes; nog class types predicted by P reviousConviction
classi er
c st = fF ine; Imprisonm:; Acq:g class types predicted by courtsentencetype classi er
c pr = fyes; no; otherg class types predicted by probation classi er
c = fdate; :::; locg class types predicted by N ER classi er
Observed Predicates
f cls pc(s1)(d; m; c pc)
f cls st(s1)(d; m; c st)
f cls pr(s1)(d; m; c pr)
f cls(s2)(d; z; m; c)
CLOSE(d; z1; z2)
SIM (d; z1; z2)
prediction output of the local P reviousConviction
classi er model m for document d and class c pc
prediction output of the local courtsentencetype
classi er model m for document d and class c st
prediction output of the local probation classi er
model m for document d and class c pr
prediction output of the local model m for document
d, token candidate z and class c
assigned 1, when there are at most 20 token between
z1 and z2, 0 otherwise
assigned 1, when the text z1 and z2 span over is
equal, 0 otherwise
Unobserved Predicates
cls pc(s1)(d; c pc)
cls ts(s1)(d; c ts)
cls pr(s1)(d; c pr)
cls(s2)(d; z; c)</p>
        <p>
          Rules 4 and 5 display the rules for the local classi cation models from stage one
for P reviousConvictions. T (m; c) is a trust score introduced by
          <xref ref-type="bibr" rid="ref9">Sachan et al.
(2018)</xref>
          that denotes the trustworthiness of a local model m when predicting a
class c. Intuitively spoken, Rule 4 encodes that when a local model m predicts
a class c pc for a document d and the model is trustworthy, then the predicted
unobserved class is more likely to be c pc. A similar rule set exists for the class
types T ypeof sentence and P robation. Rules 6 and 7 show the rules for the local
NER classi cation models from stage two respectively. Rules 8 and 9 model the
prior beliefs that the prediction probability for all class types of the P C-classi er
sum up to one and that a token candidate z is not assigned the NER-class type.
        </p>
        <p>Figure 2 displays a simpli ed model of the grounded observed (grey nodes)
and unobserved predicates (white nodes) according to the above rule sets. The
model is grounded only for one class (c1 pv, c1 pr) of the document classi ers pc
and pr, for one document d1, two local stage one models m1 and m2, two local
stage two models m3 and m4 to predict one class c3 and two NER candidates
z1 and z2 for which class c3 should be predicted. Potential functions resulting
from the baseline rules are presented as red squares.</p>
        <p>Pipeline Rule Set: This rule set incorporates relationships between prediction
outputs of the document and NER classi cation stages and relationships between
local models from one stage. Rule 10 for example expresses the dependency
between the st classi er and the NER classi er. Whenever the predicted value
for court sentence type is not " ne", it is unlikely that the information about
the amount of the ne is present in the document</p>
        <p>Rule 11 models the dependency between the P R and the ST classi ers for
of the rst stage.</p>
        <p>!cls st(s1)(d;0 f ine0) )!cls(s2)(d; z;0 f amount0)2
cls pr(s1)(d;0 no0) ) cls st(s1)(d;0 imprisonment0)2
Domain Rule Set: The domain rules permit to incorporate knowledge about
the document structure (e.g. in Rule 12) and class dependencies such as that
defendants with previous convictions are more likely to be sentenced to
imprisonment or that the height of the ne and the number of day- nes are most likely
mentioned in the same paragraph (see Rule 13).</p>
        <p>cls pc(s1)(d;0 yes0) ) cls st(s1)(d;0 imprisonment0)2
cls(s2)(d; z1;0 f amnt0)^!CLOSE(d; z1; z2) ) cls(s2)(d; z1;0 f units0)2
(10)
(11)
(12)
Similarity Rule Set: The similarity rules model the relationship between
multiple mentions of the same entity in one document. Rule 14 denotes that when
two candidates in one document span over similar strings, they are more likely
to be assigned the same NER type. This ensures that when one information like
the date of the court sentence is mentioned multiple times in the document it is
always assigned the same NER class type and when two candidates don't have
equal content, they are unlikely to refer to the same entity (Rule 15).
cls(s2)(d; z1; c) ^ SIM (d; z1; z2) ) cls(s2)(d; z2; c)2
cls(s2)(d; z1; c)^!SIM (d; z1; z2) )!cls(s2)(d; z2; c)2
(14)
(15)
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Evaluation</title>
      <p>Data: We evaluate the performance of the model introduced in Section 3 using a
corpus with 146 German court sentences12. Each document describes an o ence
(theft), where the defendant is either sentenced to imprisonment or to a ne,
and which is only related to one case and one defendant. The documents are
split into training, validation and test set.</p>
      <p>
        PSL Pipeline Model: For the probabilistic model we train local stage
classiers for document and token classi cation using the architectures described in
Section 3. All classi ers are trained on the training set and applied to the
validation and test set. We use the validation set to estimate the trustworthiness
scores (Rules 4, 5, 6, 7) and to re ne weights. To evaluate the performance of the
rule model and its subsets, we do not provide an evaluation for the local stage
tasks (document and token classi cation), but focus on the amount of correctly
extracted values per document. We perform inference for the unobserved
variables listed in Table 1 to predict all layer outputs at the same time. As proposed
in
        <xref ref-type="bibr" rid="ref1">Bach et al. (2017)</xref>
        , we use the consensus optimization approach Alternating
Direction Method of Multipliers (ADMM).
      </p>
      <p>Basic Pipeline Model: We compare the proposed solution to the pipeline
approach visualized in Figure 1, where all local models are trained using the
BERT architecture (see Section 3). Since the models that were trained using the
architecture of spaCy had a poor performance on the test set, the performance
of the pipeline model based on these classi ers is not evaluated here. The local
document classi cation models are trained on both training and validation set
and are applied to the test set to predict document class labels. The local
token classi cation models are trained both on training and validation set and are
then applied to the test set. The N ER classi cation results per document are
consolidated by selecting the candidate with the highest probability score
predicted by the model for each N ER class. We model dependencies between the
12 manually annotated by the University of Cologne
predicted type of sentence and the N ER prediction as hard constraints. When
the predicted class is "Fine", prediction for "f amnt" and "f units" are set to
"NaN" (for document class "Imprisonment", prediction for "d impr" is set to
"NaN" respectively). We additionally provide results for the extraction
workow where this stage dependency is not modeled and contradicting results are
not removed. Table 2 provides a comparison of model performances. The rst
seven entries denote the performance of the rule models consisting of di erent
rule subset: basic (basic rules), sim (similarity rules), pipe (pipeline rules) and
domain (domain rules). The scores per extracted information type re ect the
amount of correctly extracted values on the test corpus.</p>
      <p>The two PSL models achieving the highest overall matching rate both contain
basic, pipeline and domain rules. Modeling relations between N ER candidates
by integrating the similarity rules does not seem to have an in uence on the
performance in this experiment. On average over all information types, the highest
scoring PSL model outperforms both BERT benchmark models. For some
particular types (Date, d impr and st) the BERT benchmark model achieves a higher
matching rate. These results indicate that modeling the pipeline in a
probabilistic way and integrating domain knowledge improves the overall performance.
Since the data set is very small, further analysis on a bigger corpus and a more
detailed analysis of the rule model e ects are required.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Summary</title>
      <p>This paper proposes a rule based probabilistic model to improve the extraction
pipeline for information extraction from court sentence documents. The model
enables to both map dependencies between local extraction components and to
integrate additional domain knowledge in the form of logical constraints. We
evaluate the performance of the model on a German court sentences corpus and
show that the model improves results compared to a BERT benchmark model.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>This research has been funded by the Federal Ministry of Education and
Research of Germany as part of the competence center for machine learning ML2R
(01IS18038B)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Bach</surname>
            ,
            <given-names>S.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Broecheler</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Getoor</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Hinge-loss markov random elds and probabilistic soft logic</article-title>
          .
          <source>J. Mach. Learn. Res</source>
          .
          <volume>18</volume>
          (
          <issue>1</issue>
          ),
          <volume>3846</volume>
          {
          <fpage>3912</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Devlin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toutanova</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>BERT: pre-training of deep bidirectional transformers for language understanding</article-title>
          . CoRR abs/
          <year>1810</year>
          .04805 (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Grundies</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Regionale unterschiede in der gerichtlichen sanktionspraxisin der bundesrepublik deutschland. eine empirische analyse</article-title>
          .
          <source>In: Kriminalsoziologie. Handbuch fur Wissenschaft und Praxis</source>
          . pp.
          <volume>295</volume>
          {
          <fpage>316</fpage>
          .
          <string-name>
            <surname>Baden-Baden</surname>
          </string-name>
          , Germany (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Marciniak</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Strube</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Beyond the pipeline: Discrete optimization in NLP</article-title>
          .
          <source>In: Proceedings of the Ninth Conference on Computational Natural Language Learning (CoNLL-2005)</source>
          . pp.
          <volume>136</volume>
          {
          <fpage>143</fpage>
          . Association for Computational Linguistics, Ann Arbor,
          <source>Michigan (Jun</source>
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Min</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Freedman</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meltzer</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Probabilistic Inference for Cold Start Knowledge Base Population with Prior World Knowledge 1</article-title>
          ,
          <issue>601</issue>
          {
          <fpage>612</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>Ortiz</given-names>
            <surname>Suarez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.J.</given-names>
            ,
            <surname>Sagot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Romary</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          :
          <article-title>Asynchronous Pipeline for Processing Huge Corpora on Medium to Low Resource Infrastructures</article-title>
          . In: Banski,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Barbaresi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Biber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Breiteneder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Clematide</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Kupietz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            , Lungen, H.,
            <surname>Iliadi</surname>
          </string-name>
          , C. (eds.) 7th Workshop on
          <article-title>the Challenges in the Management of Large Corpora (CMLC-7). Leibniz-Institut fur Deutsche Sprache</article-title>
          , Cardi , United
          <string-name>
            <surname>Kingdom</surname>
          </string-name>
          (
          <year>Jul 2019</year>
          ), https://hal.inria.fr/hal-02148693
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Pawar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bhattacharyya</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palshikar</surname>
          </string-name>
          , G.:
          <article-title>End-to-end relation extraction using neural networks and Markov logic networks</article-title>
          .
          <source>In: Proceedings of the 15th Conference of EACL:</source>
          Volume
          <volume>1</volume>
          ,
          <string-name>
            <given-names>Long</given-names>
            <surname>Papers</surname>
          </string-name>
          . pp.
          <volume>818</volume>
          {
          <fpage>827</fpage>
          . Association for Computational Linguistics, Valencia,
          <source>Spain (Apr</source>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Roth</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yih</surname>
          </string-name>
          , W.t.:
          <article-title>Probabilistic reasoning for entity &amp; relation recognition</article-title>
          .
          <source>In: COLING 2002: 19th Intern. Conf. on Computational Linguistics</source>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Sachan</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dubey</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <article-title>A</article-title>
          ., Mitchell,
          <string-name>
            <given-names>T.M.</given-names>
            ,
            <surname>Roth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Xing</surname>
          </string-name>
          ,
          <string-name>
            <surname>E.P.</surname>
          </string-name>
          :
          <article-title>Learning pipelines with limited data and domain knowledge: A study in parsing physics problems</article-title>
          . In: Bengio,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Wallach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Larochelle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Grauman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>CesaBianchi</surname>
          </string-name>
          , N.,
          <string-name>
            <surname>Garnett</surname>
            ,
            <given-names>R</given-names>
          </string-name>
          . (eds.)
          <source>Advances in NIPS 31</source>
          , pp.
          <volume>140</volume>
          {
          <fpage>151</fpage>
          . Curran Associates, Inc. (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Singh</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riedel</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martin</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McCallum</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Joint inference of entities, relations, and coreference</article-title>
          .
          <source>In: Proceedings of the 2013 Workshop on AKBC</source>
          . p.
          <volume>1</volume>
          {
          <issue>6</issue>
          . AKBC '
          <volume>13</volume>
          ,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA (
          <year>2013</year>
          ), https://doi.org/10.1145/2509558.2509559
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <surname>Vaswani</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shazeer</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parmar</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Uszkoreit</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>A.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaiser</surname>
          </string-name>
          , L.u.,
          <string-name>
            <surname>Polosukhin</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Attention is all you need</article-title>
          . In: Guyon,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Luxburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.V.</given-names>
            ,
            <surname>Bengio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Wallach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Fergus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Vishwanathan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Garnett</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <source>Advances in NIPS 30</source>
          , pp.
          <volume>5998</volume>
          {
          <fpage>6008</fpage>
          . Curran Associates, Inc. (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>