<!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>Context-Aware End-To-End Relation Extracting From Clinical Texts With Attention-Based Bi-Tree-GRU</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Dehua Chen</string-name>
          <email>chendehua@dhu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yunying Wu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jiajin Le</string-name>
          <email>lejiajin@dhu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Qiao Pan</string-name>
          <email>panqiao@dhu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Donghua University</institution>
          ,
          <addr-line>Shanghai 201600</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Extracting clinical entities and their relations from clinical texts is a preliminary task for constructing medical knowledge graph. Existing end-to-end models for extracting entity and relation have limited performance in clinical text because they rarely take both latent syntactic information and the effect of context information into account. Thus, this paper proposed a context-aware end-toend neural model for extracting relations between entities from clinical texts with two level attention. We show that entity-level attention effectively acquires more syntactic information by learning a weighted sum of child word nodes rooted at the target entities. Meanwhile, sub sentence-level attention in an effort to capture the interactions between the target entity pairs and context entity pairs by assigning weights of each context representation within one sentence. Experiments on real-world clinical texts from Shanghai Ruijin Hospital demonstrate that our model significantly gains better performance in the application of clinical texts compared with existing joint models.</p>
      </abstract>
      <kwd-group>
        <kwd>Clinical Text</kwd>
        <kwd>Clinical Entity Recognition</kwd>
        <kwd>Relation Classification</kwd>
        <kwd>Joint Model</kwd>
        <kwd>Attention Mechanism</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Clinical texts such as ultrasound reports and CT reports provide a wealth of clinical
factual knowledge, mainly embodied in various clinical entities, such as organizational
entities, location entities, index entities and attribute entities. Extracting these entities
and their relation from unstructured reports are standard tasks of clinical information
extraction and the foundation of constructing medical knowledge graphs. Named Entity
Recognition (NER) and Relation Extraction (RE) as information extraction techniques
are critical to natural language understanding and knowledge acquisition. Tradition
work usually treat them as two steps to perform information extraction in a pipeline
model, where the final performance will be hurt by the preceding errors generated in
NER. To resolve this problem, joint models for NER and RE have been proposed and
found effective for alleviating the problem of error propagation and utilizing the
interactions between the two sub-tasks [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4">1,2,3,4</xref>
        ].
      </p>
      <p>
        Recently, deep learning has attracted much attention and become an alternative work
because it employs automatic feature learning without handcrafted and complicated
feature engineering. Several neural models have dominated the joint models of RE due
to the better results. Miwa M. and Bansal M. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] proposed a neural network-based
method using the shortest dependency path (SDP) between a given entity pair to
incorporate the linguistic structures. Fei L. et al [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] applied similar methods into the field of
medicine to extract the entities like drug names or disease names. Zhou P. et al [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]
proposed an attention-based bidirectional long short-term memory (Bi-LSTM) model
for RE to capture the most important semantic information in a sentence and Sorokin
D. et al [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] combined the context representations with the attention mechanism. These
previous models mostly did not consider both latent syntactic information and the effect
of context information when modeling, which take on importance in informative and
complex clinical texts because they are full of the disease description.
      </p>
      <p>
        Given a sentence “左侧[left]甲状腺[thyroid]内[inside]可见[indicate]多个[multiple]
混合性[mixed]回声[echos]，之一[one of which]大小[size]为[is]7*4mm” 1, whose
detail of annotation is shown in Figure 1, “大小” is an index and it is related to another
index “回声”. In another case, “甲状腺[thyroid]左叶[left lobe]大小[size]及[and]形态
[appearance]正常[normal]”1, “大小” is also an index, but it is directly related to two
anatomical locations “左” and “右叶”, not related to the other indexes. Tree-structured
relation extraction models [
        <xref ref-type="bibr" rid="ref5 ref9">5,9</xref>
        ] have been demonstrated the effectiveness of building
the paths between words relying on the dependency parsing trees to handle with
complex syntax information. As shown in Figure 2, “回声” and “大小” are parsed in two
sub trees, whose relation is coordinating relation (“并列关系” in Chinese) and
contributes to identifying whether it exists a relation between both indexes (“大小” is
related to the prior index). However, only including the syntactical relation in models is
not enough, the latent information within entities themselves could also be beneficial
in RE. Taking the example in Figure 2 again, the child word nodes “多” (an adjective),
“个” (a quantifier) and “混合型” (a distinctive word) are under the word node “回声”
(a norm). It implicitly indicates that the sub-tree means the description of “回声” and
could be made use of to predict their relation as “Index-Attribute”. In addition, a
1
      </p>
    </sec>
    <sec id="sec-2">
      <title>The words in square brackets are Chinese segmented words in English. The whole sentences</title>
      <p>of two examples in English are as followed: (1) There are multiple mixed echoes in the left
thyroid, one of which is 7*4 mm big. (2) The size and appearance of the thyroid are normal.
sentence in general contains at least one anatomic location, one index and one attribute.
We need to find the related indexes for the anatomic locations, the related attributes for
the indexes and detect whether the links between the indexes exist or not, so the
interactions between multiple relations (at least two) within one sentence should be captured
but mostly be neglected in the tradition models.</p>
      <p>
        In this paper, we propose a novel context-aware end-to-end neural RE model with
entity-level and sub sentence-level attention mechanism to boost performance in
clinical information extraction. We introduce entity-level attention to capture richer
syntactical information by adopting a weighted sum of different child word nodes under the
entities instead of the direct sum in traditional tree-structured models. Inspired by the
previous work [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] incorporating context representations in RE, we additionally stack
sub-sentence level attention layers on the original tree-structured RE models so that the
other entity pairs within one sentence are taken as context information to facilitate the
prediction of the target entity pairs.
      </p>
      <p>Experimental results show that the proposed model significantly achieves better
performance than state-of-the-art methods. We also analysis the contribution of different
attention methods at entity-level and sub sentence-level based on the tests of
composition change. We find entity-level attention’s performance of F1 no worse than no
attention mechanism and it generally obtains 6-9% improvement of F1 when syntactic rules
are more complex. Sub sentence-level attention boosts F1 by at least 4.2% compared
with no attention mechanism and achieves an 3.1% improvement compared with joint
models with simple attention.</p>
      <sec id="sec-2-1">
        <title>Related Work</title>
        <p>
          As for named entity recognition, traditional models are based on Hidden Markov
Models (HMM) [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and Conditional Random Fields (CRF) [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. In recent years, a great
mass of deep learning methods has been presented because they are able to take low
dimensional and dense embeddings as inputs to represent the words or other natural
language processing (NLP) features and save time and effort by learning features from
trained data automatically. Huang Z. et al [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] and Lample G. et al [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] created a
representative model based on Bi-LSTM with CRF on top, which is able to capture
memory of historical and future information in long dependency through gating units
and the transition probability of the past and next tags thanks to CRF. Notice that both
LSTM and Gated Recurrent Unit (GRU) belong to the family of recurrent neural
network (RNN). LSTM addresses the vanishing and exploding gradient problems of
conventional RNNs in long-term dependencies [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] and GRU is a variant of LSTM without
separate memory cells to modulate information flows through units [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
        </p>
        <sec id="sec-2-1-1">
          <title>For relation classification, besides classic kernel-based models [16,17], several neu</title>
          <p>
            ral models have also been proposed, such as convolutional neural network
(CNN)based models [
            <xref ref-type="bibr" rid="ref18 ref19">18,19</xref>
            ], RNN-based models [
            <xref ref-type="bibr" rid="ref20">20</xref>
            ], hybrid models combining RNN and
CNN [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ]. Recently, neural RE models investigated syntax information to facilitate
performance by tree-structured LSTM(Tree-LSTM), Tai K. S. et al [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ] firstly
introduced and Miwa M. and Bansal M. [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ] improved it by using Bi-Tree-LSTM instead of
one direction LSTM and handling an arbitrary number of children nodes in a
dependency tree instead of a fixed number.
          </p>
        </sec>
        <sec id="sec-2-1-2">
          <title>For end-to-end/joint extraction, Roth D. and Yih W. [1] proposed a joint inference</title>
          <p>
            framework via integer linear programming, Kate R. J. and Mooney R. J. [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ] gave a
graph-based method called card-pyramid parsing, and Li Q. and Ji H. [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ] presented an
incremental joint framework to accomplish entity recognition and relation classification
simultaneously. Miwa M. and Bansal M. [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ] applied joint extraction into Neural
Network model, which also was adopted in biomedical texts [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ].
          </p>
        </sec>
        <sec id="sec-2-1-3">
          <title>Zhou P. et al [7] proposed an attention-based Bi-LSTM model for RE and demon</title>
          <p>
            strated that attention mechanism is able to capture the important semantic information.
Sorokin D. et al [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ] introduce attention mechanism at sentence level to take context
information into account and obtain great improvements. Among these, there is still
room for further improvements, specially in information-rich clinical texts. We propose
a novel end-to-end neural model with attention mechanism to assign different weights
for child word nodes in the sub-trees under the target entities at entity-level and the
context entity pairs in the same sentences at sub sentence-level and finally demonstrate
that the model have the ability to capture the syntactic and context information from
clinical texts.
3
          </p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>Model</title>
        <p>In this section, we introduce the proposed context-aware end-to-end model of entity
and relation extraction with entity-level and sub sentence-level attention. The
framework comprises of one preliminary task and two primary tasks: (1)input
representation: segment the sentences into words, retrieve Part Of Speech(POS) tags, parse
the dependency of the sentences and convert them into vectors as inputs of the whole
network; (2)clinical entity extraction: Bi-GRU with CRF layer to identify the entity
types, as shown in Figure 3; (3)clinical relation extraction: Bi-Tree-GRU with attention
mechanism at entity-level and sub sentence-level to extract relationships between the
entity pairs recognized in step 2 and details are described in Figure 4. The input vectors
are shared and affected by both clinical entity and relation extraction so that the
interactions between the two steps could be exploited and the error delivery from the
previous step could be reduced.
3.1</p>
        <p>Clinical Entity Recognition
represented by one-hot encoding and need to be transformed into a dense vector  by
dictionary and  is a hyper-parameter to be chosen.
learned embedding matrix  
∈ ℝV×  , where V is the total size of vocabularies in the</p>
        <p>=   

 =
[  ,  ]
(1)
(2)</p>
        <p>Where  and  denote the embeddings of the i-th word and the POS tag
embeddings of  , respectively. Learned POS embedding matrix 
∈ ℝ 1× 1 reduces the
dimensionality of original representations of POS tags, where
is the numbers of POS
tags in our biomedical datasets and</p>
        <p>is the dimension of dense POS vectors. The
concatenation of the word embedding and POS tag embedding is taken as the input for the
task of clinical entity recognition and its dimension is
=
+  .</p>
        <p>Bi-GRU Layer.</p>
        <p>Given the input vectors 
model as the following implementation:
 and the previous hidden state h− , we mainly use GRU
(1)
(4)
(5)
(6)</p>
        <p>is
(7)
z

r

= σW</p>
        <p>= σW  
⃗⃗⃗⃗⃗⃗⃗ and ⃐h⃗⃗⃗⃗⃗⃗⃗, referring to the forward and backward GRU, are concatenated to represent
h</p>
        <p>tasks because of the bidirectional information included.
a word as h
= [ h
⃗⃗⃗⃗⃗⃗⃗
; h</p>
        <p>⃐⃗⃗⃗⃗⃗⃗⃗], which are effective for numerous sequential tagging
CRF Layer.
to y
and
,  is the score of tag y of word

:
Without CRF layer, the model will predict the tags based on the independence
assumptions and ignore the strong dependencies (e.g, I-LOC cannot follow B-IND) between
the adjacent outputs. Thus, we take the dependence between the two labels into
consideration through stacking CRF layer on Bi-GRU. Given by an input sentence, the model
could jointly decode the best chain of labels effectively by adopting Viterbi algorithm
after learning the distribution of annotated datasets.</p>
        <p>First, we compute the score of prediction sequences y
= {y , y , ⋯ , y } of the
input sentence X as followed, where   
denotes the transition score from tag y+
 , +1
SX, y</p>
        <p>= ∑=   , +1
+ ∑=
,</p>
        <p>Afterwards, we maximize the conditional probability of the prediction sequences via
softmax layer. In practice, we usually the log-likelihood to choose the parameters
during CRF training. Where Y(X) denotes all the possible prediction sequences including
those go against the BIO tagging scheme:

|X =</p>
        <p>ep SX, 
∑ ̃ ∈</p>
        <p>ep SX, ̃
= l
(
|X ) = S X, y
− log ∑ ̃ ∈
exp SX, ỹ</p>
        <sec id="sec-2-2-1">
          <title>While decoding, we predict the outputs by searching the posteriori sequences with the highest score:</title>
          <p>̂ = argmax̃ ∈</p>
          <p>SX, ỹ
beddings from dependency parsing tree are fed into Bi-Tree-GRU with entity-level and sub
sentence-level attention and finally softmax predicts the relations between entity pairs.</p>
          <p>= [ℎ ,  ，
 ]
(11)</p>
          <p>Where ℎ denotes the hidden state which has been explained in Eq.(6),  denotes
the label embeddings converted from the outputs of clinical entity recognition, the
representation of the entity tags. After dependency-parsing our clinical documents, we
convert the dependency types between the words and their parents in the parsing tree
into the dense vectors</p>
          <p>representing the syntactic information. For example, as
shown in Figure 2, the syntactical dependency relationship between the word “左侧
[left]” and its parent “甲状腺[thyroid]” is attributive relation(“定中关系” in Chinese).
We directly concatenate the three vectors and take them as the input vectors of relation
extraction task.</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Entity-Level Attention.</title>
        <p>its children embeddings.</p>
        <p>Supposed the t-th word node has N children, matrix  consists the representation
vectors of the children nodes,</p>
        <p>Wh and W
 are shared parameters to be learned,
is the
attention weight and the representation vector ℎ  is generated by a weighted sum of
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
 = [  ,  , …  ]
 = tanh Wh 
= W</p>
        <p>ℎ  = 
Then, we calculate the hidden state vector of t-th word node in the GRU unit:
z

r

= σ W</p>
        <p>= σ W</p>
        <p>We adopt the concatenation strategy to represent a sub sentence S , which is similar
with the entity recognition, but we call the two directions as bottom-up and top-down
in the tree-structured network.</p>
        <p>Where ↑ h</p>
        <p>denotes the hidden state vector in bottom-up direction for the lowest
common ancestor of the focus entity pair, and ↓ h′ , ↓ h ′′ denote the hidden state
vector in top-down direction for the first and second entities. If the entity is comprised
of more than one word, we take the word node which is less near to the root.
Sub Sentence-Level Attention With Context.</p>
        <p>One sub-sentence incorporates the words of the target pairs and other words on the path
to their lowest common ancestor. For example, as shown in Figure 2, the entity “左侧
[left]” pairs up with “回声[echos]”, and “甲状腺[thyroid]” is the word on the path to
their lowest common ancestor “可见[indicate]”, so these four words count as one
subsentence. The sub-sentences may have overlaps. Take the above-mentioned example
again, the word “回声[echos]” is also contained in another sub-sentence.</p>
        <p>Supposed that S = { , , … ,  } is comprised of k context sub-sentences, which
are related to target entity pairs, we use a weighted sum of the context sub-sentences as
followed:</p>
        <p>,
= 
=  W</p>
        <p>= ∑=</p>
        <p>∗ = [ ; ]

 ,
3.3</p>
        <p>The Adjusted Optimization Function.</p>
        <p>To increase the valid entity or relation prediction and reduce the impact of large
amounts of O(outsider) tags in NER task and U(unknown) tags in RE task, we introduce
the hyper-parameter
to adjust the imbalance of data. The smaller
is, the less impact
of ‘O’ tags in the model. We take adjusted
as the example:
= ∑ l
(
|X ) ∙ −
(</p>
        <p>|X ) ∙
= {
, 
,</p>
        <p>+ l
= ′′
≠ ′′</p>
        <p>Unlike the ways of simply getting a weighted sum of sub-sentences, we use  to
capture the relationship between the target sub-sentence
and it context sub-sentences
using the weight matrix W

to be learned.</p>
        <p>denotes the resulting
rep’s context sub-sentences, a weighted sum of each single context
rep. Finally, we obtain S* as a context vector, the concatenation of
and
, and feed it into the softmax layer.</p>
        <p>We maximize the conditional probability of the relation sequences via softmax,
compute log-likelihood and predict the outputs of relations via the highest conditional
prob</p>
        <p>≤  ≤ 
resentation of
resentation 
ability.</p>
        <p>(
| ∗;   ,  ) = 

∗ +</p>
        <p>= log (</p>
        <p>| ∗;   ,  )
̂ = argmax  ∈
∗ (
| ∗;   ,  )
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)</p>
        <sec id="sec-2-3-1">
          <title>Finally, we combine two loss function into one and use a hyper-parameter to bal</title>
          <p>=
+
= −
−
(29)</p>
        </sec>
      </sec>
      <sec id="sec-2-4">
        <title>Experiment</title>
        <p>Experimental Setting
ance them.
4
4.1
Dataset.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Dataset</title>
    </sec>
    <sec id="sec-4">
      <title>Thyroid</title>
    </sec>
    <sec id="sec-5">
      <title>Mammary Gland</title>
      <p>Metrics.
els.</p>
      <p>The experiment datasets in this paper are collected from Ruijin Hospital. We evaluated
the model on the ultrasonic reports, X-ray/CT reports, Puncture reports, pathology
reports of thyroid and mammary gland.
ually checkout the outputs and finally add some medicine-specific words and rules to
complete annotations.</p>
      <p>Hyper-Parameters.</p>
      <p>While training, we use Adagrad optimization to tune the models with three-fold
validation by adopting grid search for optional hyper-parameters and randomized search
for
scoped
ones.</p>
      <p>Initially,
we
try
{0.01/0.05/0.1/0.2}
for
learning
rate,
{50/100/150/200} for batch size, {25/50/100/150/200} for the dimension of variant
embeddings and 0.0-1.0 for drop probability and importance β and γ. During
experiments, we find a set of effective configuration, which is shown in Table 2.</p>
    </sec>
    <sec id="sec-6">
      <title>Type</title>
    </sec>
    <sec id="sec-7">
      <title>Training</title>
    </sec>
    <sec id="sec-8">
      <title>Loss</title>
    </sec>
    <sec id="sec-9">
      <title>Embedding</title>
      <p>Comparison with the baseline model.</p>
      <p>
        Table 3 compares our model with the baseline model of Miwa M. and Bansal M. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] on
the different reports from the thyroid and mammary gland dataset. Results show that
our model significantly achieve the better performance, due to the statistical
significance(p&lt;0.01) using the Wilcoxon rank-sum test on F1-scores.
Entity-Level Attention.
      </p>
      <p>
        To measure the contribution and effect of entity-level attention, we conduct the tests of
composition change to compare three types of dependency layers with different
selection of weighted nodes on four kinds of reports from the thyroid dataset. Shortest Path
Tree(SP-Tree) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] only consists of the nodes on the shortest path in dependency parsing
tree between the target entity pairs, SubTree selects the nodes in the subtree under the
lowest common ancestor of the target entity pair and FullTree take all the nodes into
the entity-level attention. Results show the performance of F1 is significantly upgraded
with assigned weights of other word nodes(p&lt;0.1).2 We find the F1 performance no
worse than no attention mechanism but the improvement is slight (about 1-2%) in
puncture reports because the syntax information puncture reports are commonly less
complicated than others. SP-Tree, SubTree and FullTree respectively improve F1 on the
whole thyroid dataset by 8.4%, 7.2%, 6.7%, and especially boost the recall score,
compared with no entity-attention, but we do not observe significant difference between
them. SP-Tree and FullTree achieve similar scores and SubTree slightly improves F1,
which is slightly different from traditional information-sparse texts. However, SP-Tree
is the most time-saving method, SubTree is the second and FullTree takes the longest
amount of time.
Sub Sentence-Level Attention.
      </p>
      <p>
        To assess the sub sentence-level attention mechanism, we also conduct the tests of
composition change to compare no attention and two types attention mechanism on four
kinds of reports from the thyroid dataset. “No attention” directly outputs the prediction
through the softmax layer, “Simple Attention” [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] simply uses a weighted sum of all
the sub-sentences including a waited classification of relation in one sentences and not
distinguish the target pairs from other context sub-sentences. “Context Attention” uses
the method as we mentioned in Section 3, fully exploits the interaction between the
target entity pairs and its context information.
      </p>
      <sec id="sec-9-1">
        <title>Compared with “Context Attention”, F1 is significantly hurt without atten</title>
        <p>tion(p&lt;0.1).2 No sub sentence-level attention degrades at least 4.2% in F1 on every kind
of report and achieves a 8.6% reduction of F1 on the whole Thyroid dataset. “Context
Attention” performs better than “Simple Attention”, though the difference in prediction
is not big.
2 The statistical significance is computed by the Wilcoxon rank-sum test on F1-scores of every
report from the thyroid dataset.
In this paper, we propose a context-aware end-to-end neural model with two level
attention to exploit the interaction between these two sub tasks and considering latent
syntactic information within entities themselves and multiple relations in a single
sentence. Our experiments give the following findings: (1) In comparison to the baseline
model, taking entity-level as well as sub-sentence level attention into account is
beneficial to clinical texts. (2) Compared with no attention models, entity-level attention
based on parsing paths between the entity pairs, has been demonstrated to be able to
acquire underlying syntactic information within entities. Entity-level attention using
SP-Tree is a good and effective choice when saving time is more prior based on the
tests of composition change. (3) By incorporating attention at sub sentence-level, we
are allowed to capture the interaction between a sub-sentence, including the target
entity pair, and its context sub-sentences, including other entity pairs, in the same
sentence. Context attention achieves significantly greater performance than no attention
and shows a slight improvement compared with simple sentence-level attention.
Acknowledgments.</p>
      </sec>
      <sec id="sec-9-2">
        <title>This work was supported by the Shanghai Innovation Action Project of Science and Technology (15511106900), the Science and Technology Development Foundation of Shanghai (16JC1400802), and the Shanghai Specific Fund Project for Information Development (XX-XXFZ-01-14-6349).</title>
        <p>6</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Roth</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yih</surname>
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Global inference for entity and relation identification via a linear programming formulation[J]. Introduction to statistical relational learning</article-title>
          ,
          <fpage>553</fpage>
          -
          <lpage>580</lpage>
          (
          <year>2007</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Kate</surname>
            <given-names>R. J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mooney</surname>
            <given-names>R. J.:</given-names>
          </string-name>
          <article-title>Joint entity and relation extraction using card-pyramid parsing[C]. Fourteenth Conference on Computational Natural Language Learning</article-title>
          .
          <source>Association for Computational Linguistics</source>
          ,
          <fpage>203</fpage>
          -
          <lpage>212</lpage>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Li</surname>
            <given-names>Q.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ji</surname>
            <given-names>H.</given-names>
          </string-name>
          :
          <article-title>Incremental Joint Extraction of Entity Mentions and Relations[C]. Meeting of the Association for Computational Linguistics</article-title>
          .
          <fpage>402</fpage>
          -
          <lpage>412</lpage>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Miwa</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sasaki</surname>
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Modeling Joint Entity and Relation Extraction with Table Representation[C]</article-title>
          .
          <source>Conference on Empirical Methods in Natural Language Processing</source>
          .
          <fpage>944</fpage>
          -
          <lpage>948</lpage>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Miwa</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bansal</surname>
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures[C]. Meeting of the Association for Computational Linguistics</article-title>
          .
          <fpage>1105</fpage>
          -
          <lpage>1116</lpage>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Fei</surname>
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fu</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ji</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A neural joint model for entity and relation extraction from biomedical text[J]</article-title>
          .
          <source>Bmc Bioinformatics</source>
          <volume>18</volume>
          (
          <issue>1</issue>
          ),
          <volume>198</volume>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Zhou</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shi</surname>
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tian</surname>
            <given-names>J.</given-names>
          </string-name>
          , Qi
          <string-name>
            <given-names>Z.</given-names>
            ,
            <surname>Li</surname>
          </string-name>
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Hao</surname>
          </string-name>
          <string-name>
            <surname>H.</surname>
          </string-name>
          , et al:
          <article-title>Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification[C]. Meeting of the Association for Computational Linguistics</article-title>
          .
          <fpage>207</fpage>
          -
          <lpage>212</lpage>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Sorokin</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gurevych</surname>
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Context-Aware Representations for Knowledge Base Relation Extraction[C]</article-title>
          .
          <source>Conference on Empirical Methods in Natural Language Processing</source>
          . (
          <volume>1784</volume>
          -
          <fpage>1789</fpage>
          )
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Tai</surname>
            <given-names>K. S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Socher</surname>
            <given-names>R.</given-names>
          </string-name>
          , Manning C. D.:
          <article-title>Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks[J]</article-title>
          .
          <source>Computer Science</source>
          <volume>5</volume>
          (
          <issue>1</issue>
          ),
          <volume>36</volume>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Passos</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mccallum</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Lexicon Infused Phrase Embeddings for Named Entity Resolution</article-title>
          [J].
          <source>Computer Science</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Luo</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lin</surname>
            <given-names>C. Y.</given-names>
          </string-name>
          , Nie Z.:
          <article-title>Joint Entity Recognition</article-title>
          and Disambiguation[C].
          <source>Conference on Empirical Methods in Natural Language Processing</source>
          . (
          <volume>879</volume>
          -
          <fpage>888</fpage>
          )
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Huang
          <string-name>
            <given-names>Z.</given-names>
            ,
            <surname>Xu</surname>
          </string-name>
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Yu</surname>
          </string-name>
          <string-name>
            <surname>K.</surname>
          </string-name>
          :
          <article-title>Bidirectional LSTM-CRF Models for Sequence Tagging</article-title>
          [J].
          <source>Computer Science</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Lample</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ballesteros</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Subramanian</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kawakami</surname>
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dyer</surname>
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Neural Architectures for Named Entity Recognition</article-title>
          [J].
          <volume>260</volume>
          -
          <fpage>270</fpage>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Sak</surname>
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Senior</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>Beaufays F.: Long short-term memory recurrent neural network architectures for large scale acoustic modeling[J]</article-title>
          .
          <source>Computer Science</source>
          , (
          <volume>338</volume>
          -
          <fpage>342</fpage>
          )
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Chung</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gulcehre</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cho</surname>
            <given-names>K. H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengio</surname>
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling[J]</article-title>
          .
          <source>Eprint Arxiv</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Zelenko</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Aone</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Richardella</surname>
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Kernel Methods for Relation Extraction</article-title>
          .[J].
          <source>Journal of Machine Learning Research</source>
          <volume>3</volume>
          (
          <issue>3</issue>
          ), (
          <fpage>1083</fpage>
          -
          <lpage>1106</lpage>
          )
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Bunescu</surname>
            <given-names>R. C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mooney</surname>
            <given-names>R. J.:</given-names>
          </string-name>
          <article-title>A shortest path dependency kernel for relation extraction[C]. Conference on Human Language Technology and Empirical Methods in Natural Language Processing</article-title>
          . Association for Computational Linguistics, (
          <volume>724</volume>
          -
          <fpage>731</fpage>
          )
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Santos</surname>
            <given-names>C. N. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiang</surname>
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhou</surname>
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Classifying Relations by Ranking with Convolutional Neural Networks[J]</article-title>
          .
          <source>Computer Science</source>
          <volume>86</volume>
          (
          <issue>86</issue>
          ), (
          <fpage>132</fpage>
          -
          <lpage>137</lpage>
          )
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Xu</surname>
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Feng</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Semantic Relation Classification via Convolutional Neural Networks with Simple Negative Sampling</article-title>
          [J].
          <source>Computer Science</source>
          <volume>71</volume>
          (
          <issue>7</issue>
          ), (
          <issue>941-9</issue>
          )
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Yan</surname>
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mou</surname>
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peng</surname>
            <given-names>H.</given-names>
          </string-name>
          , Jin Z.:
          <article-title>Classifying Relations via Long Short Term Memory Networks along Shortest Dependency Path[J]</article-title>
          .
          <source>Computer Science</source>
          <volume>42</volume>
          (
          <issue>1</issue>
          ),
          <fpage>56</fpage>
          -
          <lpage>61</lpage>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Chiu</surname>
            <given-names>J. P. C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nichols</surname>
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Named Entity Recognition with Bidirectional LSTM-CNNs[J]</article-title>
          .
          <source>Computer Science</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>22. HanLP Tool, https://github.com/hankcs/HanLP.</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>