<!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>Multitask Models for Supervised Protest Detection in Texts</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>University of North Carolina at Charlotte</institution>
          ,
          <addr-line>Charlotte NC 28223</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The CLEF 2019 ProtestNews Lab tasks participants to identify text relating to political protests within larger corpora of news data. Three tasks include article classi cation, sentence detection, and event extraction. I apply multitask neural networks capable of producing predictions for two and three of these tasks simultaneously. The multitask framework allows the model to learn relevant features from the training data of all three tasks. This paper demonstrates performance near or above the reported state-of-the-art for automated political event coding though noted di erences in research design make direct comparisons di cult.</p>
      </abstract>
      <kwd-group>
        <kwd>event data</kwd>
        <kwd>neural networks</kwd>
        <kwd>political protests</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Hurriyetoglu et al. propose a competitive lab in which participants are tasked
with producing models to automatically identify indicators of protest in
crosscountry (but monolingual) text corpora [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. With respect to application area,
this challenge builds on work done in political science on deriving structured data
about political events of interest from unstructured texts (i.e. news).
Methodologically, the lab is structured as a competition in which select data are provided
to competitors for model training and other data are withheld for evaluation
purposes. The tasks themselves fall into the categories of text classi cation at the
document (task 1) and sentence (task 2) levels and semantic role labeling (task
3).
      </p>
      <p>This paper proceeds by rst introducing the three challenge tasks and the
provided data. Then the two models are described: one model for tasks 1 and 2
and a second model for tasks 1, 2, and 3. Results for each task are discussed and
compared to the published state-of-the-art on similar tasks. Finally, directions
for future research are highlighted.</p>
      <sec id="sec-1-1">
        <title>Data and Task Description</title>
        <p>The competition comprises three tasks. All three tasks evaluate participants'
ability to identify indicators of protest events in English text data. However,
the three tasks di er in resolution (document-, sentence-, and word-level data)
and in provided data sets. Each task comprises four data sets: train, dev, test,
and China. As its name implies, the train data set is used to train models. The
dev data set is a validation set provided to participants for model ne-tuning.
The test data set is out-of-sample and therefore the labels associated with these
data are withheld from participants. Similarly, the China data set is an
out-ofsample set used to evaluate cross-country performance of models. Train, dev, and
test contain text data from English-language news stories collected from Indian
sources. The China data set is composed of English-language news collected
from Chinese sources. Lab participants are able to observe X and y, the texts
and associated labels, for train and dev. Participants can only observe X, the
texts, for test and dev.</p>
        <p>The role of the China set is to evaluate the performance of models in a
crosscountry setting; more speci cally, the China data appear similar in form to the
test data (in that they are English news wire text) but are generated by di erent
underlying data generating processes (DGP). The DGP of the train, dev, and test
sets represent Indian political and social processes as well as reporting norms,
standards, and laws. The China data set represents the same for China.</p>
        <p>A small amount of data preprocessing is performed prior to modeling. All
non-alphanumeric characters are removed and all whitespace characters (e.g.
tabs, newlines, spaces) are replaced with a single space. For tasks 1 and 2,
characters are all converted to lowercase.1 All sequences are zero-padded such
that every sequence within a given task's corpus is of equal length. The sequence
length for each corpus is equivalent to the maximum sequence length observed
in that corpus prior to padding (given in the following subsections). This is done
to satisfy a software requirement that input sequences are of the same length
during model training.</p>
        <p>Document Classi cation Task 1 challenges participants to classify
documents, in this case news articles, as one of either relating to a protest or not
relating to a protest. Documents in the train data set vary in size from 44 words
to 1599 words. The mean document length is 312 words. Total data set sizes are
given in Table 1.</p>
        <p>Sentence Classi cation Task 2 is similar to task 1 performed not on the
document level but at the sentence level. Given a sentence, the model is tasked
to predict whether the sentence describes a protest event or not. Task 2 train</p>
        <sec id="sec-1-1-1">
          <title>1 For task 3, characters are not converted to lowercase because it would have nega</title>
          <p>tively impacted the performance of the named entity recognition preprocessing step,
described later.</p>
        </sec>
        <sec id="sec-1-1-2">
          <title>2 Including control words that indicate the beginning and end of sequences.</title>
          <p>Task 1 Task 2 Task 3</p>
        </sec>
        <sec id="sec-1-1-3">
          <title>Data set (documents) (sentences) (words2)</title>
          <p>Train 3,429 5,884 21,873
Dev 456 662 3,224
Test 686 1,106 6,586</p>
          <p>
            China 1,800 1,234 4,387
data set sentences range in length from one word to 150 words and have a mean
of length of 24 words.3
Semantic Role Labeling Task 3 di ers from tasks 1 and 2 in that it is
effectively a multiclass classi cation problem. Given sentences tokenized at the
word level, participants are tasked with identifying sets of words (or phrases)
that represent particular roles in the context of a protest. These roles include
triggers, locations, facilities, organizers, participants, event times, and targets.
Tokens are labeled using IOB, inside, outside, beginning, tags [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ]. Tokens
labeled \O" are outside of a role tag. Tokens labeled \B" represent the beginning
of a phrase that is associated with one of the roles. Tokens labeled \I" are inside
of an identi ed phrase associated with a role. An example from the train dataset
is given in Figure 1.
          </p>
          <p>The
O
protesters
B-participant
blocked
B-trigger
the
O</p>
          <p>Rayakottai road
B-fname I-fname
.</p>
          <p>
            O
A robust research e ort within political science has seen many iterations on
techniques for both manual and automatic coding of event records from unstructured
texts. Most previous work on automated event coding relies on large dictionaries
of terms and phrases organized into known ontological categories. These
dictionaries are provided alongside text data to event-coding software that performs
pattern matching to identify instances of dictionary phrases within the texts.
If those phrases found in the texts match a set of heuristics, the software
produces an event record. Protests, the event category of interest here, represent
3 In fact, two entries appear to have no words { they are empty strings. It is unclear if
this is a problem with the original data, the download process, or the pre-processing
steps.
just one ontological category within the CAMEO ontology, the most common
of event-coding ontologies in use today [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ]. Dictionary-based event coding
software includes TABARI [
            <xref ref-type="bibr" rid="ref24">24</xref>
            ] and PETRARCH [25] which have been used in the
production of many event data sets including ICEWS [
            <xref ref-type="bibr" rid="ref19">19</xref>
            ], GDELT [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ], and
Phoenix [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ].
          </p>
          <p>
            While most dictionaries for coding event data are hand-coded by researchers,
recent e orts have sought to largely automate the dictionary generation process
as well { a step towards a fully-automated event data pipeline.4 One such
effort makes use of distributed word vectors to populate dictionaries given a small
input set of exemplar (\seed") phrases [
            <xref ref-type="bibr" rid="ref20 ref21">20, 21</xref>
            ]. Similar work leverages label
propagation to expand a given set of terms and phrases for event coding [
            <xref ref-type="bibr" rid="ref16">16</xref>
            ].
          </p>
          <p>
            Most recently, supervised learning has been applied to the problem of event
identi cation within text with the goal of producing an end-to-end solution. A
neural network technique similar to that presented here was used by Beieler
to label sentences according to the Schrodt's QuadClass ontology [
            <xref ref-type="bibr" rid="ref23 ref3">3, 23</xref>
            ]. That
research assumed the existence of an event in the provided text and tasked a
model to classify the event as one of four types; this di ers from the task at
hand { to predict event existence versus non-existence and to identify the key
actors and actions relevant to a protest event.
2
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Models</title>
      <p>
        While the model presented here for tasks 1 and 2 di ers from the model for
task 3, they have several properties in common. Both models are examples of
recurrent neural networks (RNNs). RNNs expect time-ordered inputs and are
able to model time-dependent sequences by persisting information across time
steps. These models di er from traditional autoregressive statistical models in
that the lag structure is variable, not pre-determined. Both models are also
multitask; that is, each model is trained on examples from two or more of the
tasks simultaneously. Finally, the inputs to both models are, at least in part,
sequences of words (or tokens). However, prior to the modeling stage, every
word has been replaced by a its corresponding word vector. The word vectors
are pre-trained on the English Wikipedia corpus using FastText, a neural
network language model that leverages both contextual information and sub-word
information to produce word vectors [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Word vectors are real-valued
numerical vectors that encode semantic and syntactic relationships between words.
The word vector representations of synonyms should be close to one another
4 It is arguable that a fully-automated event data pipeline is not desirable { if one
intends to produce structured event records, they likely desire those records to
conform to some mental model. Withholding the desired mental model from the event
data collection process risks producing records that do not conform to the desired
categories or ontology. Therefore, it is di cult to imagine scenarios where
fullyunsupervised event data collection is preferable to supervised or semi-supervised
event data collection.
(where \closeness" often means having a high cosine similarity). FastText
models words as the combination of sub-word n-grams (letter sequences). The use of
pre-trained word vectors has become common for applications in which training
a novel word embedding model may be infeasible due to, for example, corpus size
or compute resources [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. FastText-based vectors were chosen because, unlike
word2vec-based vectors, out-of-sample inference can be performed with
FastText. If words exist in our corpora that do not exist in the vocabulary that the
FastText model was trained on, new word vectors for those out-of-sample words
can be derived from the sub-word (i.e. character n-gram) information of those
out-of-sample words.
      </p>
      <p>
        Inputs
The model for tasks 1 and 2 is simple. It takes as input a time-ordered sequence
of tokens (i.e. words) of arbitrary length (and possibly padded with zero
vectors) and outputs a document-level and sentence-level prediction that the given
sequence describes a protest event. The input tokens are length 300 real-valued
distributed word vectors derived from the pre-trained FastText model. The
models rst layer consists of 10 bidirectional long short-term memory (LSTM) RNN
cells with no activation function [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. The layer outputs only the activation
values of the cells at the nal sequence token { a 10 1 real-valued vector. This
output connects to two dense, fully-connected layers of size 10 1 that compute
the weighted sum of the 10 activation values from the LSTM's output. One of
these two layers is trained only examples from task 1 (documents) and the other
is trained on only examples from task 2 (sentences). Both layers' outputs are
subject to a sigmoid activation function that maps output values between 0 and
1 corresponding to predictions of non-protest or protest, respectively. Dropout of
between 0.4 and 0.6 is applied between each layer (including the input layer) and
values are chosen empirically using the dev data set. The selected loss function
is log loss and the model is t with RMSProp [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The model architecture is
shown in Figure 2.
      </p>
      <p>The multitask nature of this model, having separate outputs for document
and sentence-level predictions, allows the two tasks to jointly train the single
LSTM layer; this e ectively increases the training data size for this layer. Having
two outputs allows the model to specialize for the two subtly-di erent tasks.
Given a document, it may be the case that only a small portion of the document
(a handful of words) refers to a protest. On the other hand, given a single sentence
about a protest, it is likely that a relatively larger portion of the words in that
sentence refer to the protest in question. Task 1 requires that the model be
sensitive to the small proportion of words indicative of a protest event in a
larger document; task 2 is not necessarily so constrained. However, in hindsight,
separating these tasks may not have been necessary: the document sub-model
performs comparably to the sentence sub-model on sentence input and vice versa.</p>
      <p>Inputs
−→
w1
−→
w2
−e−n→t1 −e−n→t2
−→
wn
−−→
entn</p>
      <p>biGRU
Concatenate
Embedding</p>
      <p>
        Hidden Layers
Max Pooling
biGRU
tanh
The model architecture for task 3 di ers from that of tasks 1 and 2.5 The input
is still a time-ordered sequence of word vectors representative of a document
or sentence. The LSTM layer has been replaced by a layer of 20 bidirectional
gated recurrent units (GRU) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Instead of outputting the activation values of
the GRU layer for the last sequence token, all activation values for the sequence
are output. For the portions of the model corresponding to tasks 1 and 2, the
5 This is due, at least in part, to the fact that the competition was structured in such
a way that tasks 1 and 2 were judged simultaneously and 3 was judged later. It is
my believe that the model for task 3 would have fared similarly well had it diverged
less from the model for tasks 1 and 2.
output sequences from the GRU layer are attened along the time axis by taking
the maximum output value for each timestep. Aside from these minor changes
and adjustments to dropout rates, the task 1 and task 2 sub-models are as
described above. Task 3, the semantic role labeling task, requires a more
complicated model. In particular, this sub-model consists of an additional bidirectional
GRU layer with hyperbolic tangent activation and a subsequent unidirectional
GRU layer that outputs a sequence of softmax-normalized predictions for each
word's semantic role. The bidirectional GRU layer in this sub-model inputs not
only the output sequence produced by the shared GRU layer but also inputs
the original sequence of word embeddings as well as a sequence corresponding to
the named entities identi ed in the input sequence. The three input sequences
(shared GRU output, word vectors, and named entities) are concatenated
wordfor-word. Named entities are discovered using Spacy, a natural language
processing module written in Python [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Dropout of 0.25 is included between every
layer of the task 3 model. The full model architecture is shown in Figure 3.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Results</title>
      <p>The two models are able to perform all three tasks at levels competitive with
the reported results of similar research e orts.</p>
      <p>
        The models were each trained for 100 epochs on consumer-grade hardware
including a 6 core CPU and an NVIDIA 1070Ti GPU.6 Training times were
typically under 30 minutes. Models were written in Keras [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], a machine learning
library for Python that wraps TensorFlow [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Due to the setup of the Lab, the true outcome values (y) for all test and China
data sets are unavailable. Therefore, only the high-level summary metrics (F1
scores) provided as feedback by the ProtestNews Lab online evaluation system
are reported for those data sets. More complete results (including precision and
recall) are provided with respect to the train and dev data sets because they can
be computed without the out-of-sample y values.</p>
      <p>While the models are able to generalize out-of-sample, their performance
degrades noticeably as the task resolution becomes ner (from documents to
sentences to words) and as the data transition from in-sample to validation,
out-of-sample, and out-of-DGP. This is not surprising as the training data sets
for tasks 1, 2, and 3 contain less overall information for each subsequent task
(and, in the case of task 3, ask more of that limited amount of information).
The decreasing performance from in-sample to out-of-sample data sets points to
over tting, a common problem in models with many parameters and one that
can sometimes be remedied with additional training data and data augmentation
techniques.</p>
      <sec id="sec-3-1">
        <title>6 An epoch is de ned as 20 batches per task where a batch is comprised of 128 training</title>
        <p>examples.</p>
        <p>No Protest
l
e
b
a
l
e
u
r
T
l
e
b
a
l
e
u
r</p>
        <p>T
Normalized confusion matrix
Normalized confusion matrix
Protest
The multitask model for tasks 1 and 2 is able to classify documents with 92%
accuracy on the dev set with an F1 score of 0.80.7 As can be seen in Figure 4(b),
the model correctly predicts 95% of non-protest events and 79% of protest events
in the dev set. In Table 2 we can see the true out-of-sample F1 scores associated
with the test and China sets are 0.84 and 0.66, respectively. This result on the
test set is encouraging because it is actually above the corresponding value on
the dev set, 0.80, and suggests that the model has not be over t to the dev set
through hyperparameter selection.</p>
        <p>Model performance deteriorates somewhat for task 2, sentence classi cation.
While the model accuracy is still high at 87%, its precision has dropped markedly.
In other words, the model is able to accurately classify non-protest event
sentences (96% accuracy) but only classi es protest events correctly 51% of the
time. This can be seen in Figure 4(b). In out-of-sample tests, the model achieves
an F1 score of 0.66 on the test set and 0.46 on the China set.
7 Note that the dev set was available at training time but was at no point provided
to the model before inference was performed. Therefore it is out-of-sample but was
available for hyperparameter tuning. Only limited results are available for the true
out-of-sample datasets as these sets are held by the lab organizers.</p>
      </sec>
      <sec id="sec-3-2">
        <title>8 All values computed using contest-provided code. Precision and recall values were</title>
        <p>not provided by the contest organizers in the output of test and China data set
evaluations and are therefore unavailable here. Unfortunately, the random seed values
for the models trained and evaluated on the test and China data sets were lost and
so the (train and dev ) and (test and China) results are from two di erent model
runs.
Train
Dev
Test
China</p>
        <p>Task 1 Task 2
Precision Recall F1 Precision Recall F1
0.93 0.84 0.88 0.63 0.82 0.71
0.79 0.81 0.80 0.51 0.79 0.62
{ { 0.84 { { 0.66
{ { 0.66 { { 0.46
3.2</p>
        <sec id="sec-3-2-1">
          <title>Task 3 Results</title>
          <p>The model that produced the Lab-submitted results for task 3 is actually capable
of performing all three tasks, the results of which are shown in Table 3. However,
I focus here on the results for semantic role labeling as this model was only
evaluated on the test and China data sets for that particular task. The precision,
recall, and F1 scores shown here are multiclass weighted averages computed with
a Lab-provided script. The unweighted average accuracy of this model on the
dev set is very high, 94%, due largely to class imbalance. The model correctly
predicts that most words in each sentence are not one of the selected roles.
However, the model appears to generalize poorly: the F1 score for the train data
set is 0.82 but drops to 0.50, 0.52, and 0.39 for the dev, test, and China data sets,
respectively. This is indicative of a model that is over t to the training data.</p>
          <p>An example of a task 3 dev data set sentence with actual and predicted
annotations is shown in Figure 5. This example illustrates ve of the seven
role categories and includes a target, participants, an organizer, triggers, and a
location. For each row of text there are up to two rows of annotations. The top
row of annotations represents the true role values provided by the Lab organizers.
The bottom row of annotations are those predicted by the model.10</p>
          <p>One-versus-all classi cation performance for the various role types is shown
in Table 4. These metrics are evaluated on the out-of-sample dev set. The model
performs better on common role labels than less common labels; it achieves
9 All values computed using contest-provided code. Due to time constraints imposed
by the contest structure, performance was not evaluated for tasks 1 and 2 on the test
and China data sets. Unfortunately, the random seed values for the models trained
|
days.</p>
          <p>loc{aztion
loc{aztion</p>
          <p>}
F1 scores greater than 0.5 on triggers, participants, and places. The model fails
to label any locations correctly. This is probably due to the model's failure to
recognize the prepositions preceding locations as the B tokens in the location
phrase. For example, \in front of the state secretariat" should be labeled
\Bloc, I-loc, I-loc, I-loc, I-loc, I-loc." Instead, the model predicts \O, I-loc, I-loc,
I-loc, I-loc, I-loc." Another example from the dev set reads \near a mosque" and
should be labeled \B-loc, I-loc, I-loc." The model instead predicts \B-fname,
I-loc, I-loc," where \fname" represents the role \facility name."</p>
          <p>The model for task 3 is also able to perform document and sentence
classi cation. While test and China set results are unavailable for this model with
respect to these two tasks, the model's performance on train and dev improves
upon the results presented in Table 2 across the board. Future work should
determine whether this is due to the second model's ability to over t to these tasks
and data sets or due to the inclusion of task 3 data in the model's rst GRU
layer. One approach for exploring this is discussed in the paper's nal section.</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>Comparison to the State-of-the-Art</title>
          <p>
            Hurriyetoglu et al. present preliminary ndings for tasks 1 and 2 [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ]. The results
shown here compare favorably to the best of their models on both tasks.11 A
model based on BERT [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ], for example, is reported to score F1=0.90 and F1=.64
on data sets roughly equivalent to test and China for task 1, just above and
below the scores of 0.84 and 0.66 reported here. The authors report a high score
of F1=0.56 on task 2 test data achieved by a support vector machine model; this
falls short of the bidirectional LSTM that scored F1=0.66.
          </p>
          <p>
            Previous studies have evaluated the performance of both human and
machinebased coding for political event data. One of these reports that the ICEWS
Jabari-NLP system achieves an average top-level event category precision of
75.6% (document level). The authors further report that the system achieves
average top-level event category recall values for documents and sentences of
65% and 59%, respectively [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ]. This evaluation matches most closely with tasks
1 and 2 here and, in all cases, the above-presented protest models outperform
the Jabari-NLP system results. Of course, the Jabari-NLP system was burdened
with classifying 19 di erent event types while the task at hand represents only
one.
          </p>
          <p>
            One previous study of undergraduate coders tasked with classifying top-level
event categories found that the three coders achieved precision values of 39%,
and evaluated on the test and China data sets were lost and so the (train and dev )
and (test and China) results are from two di erent model runs.
10 In fact, the model must distinguish between the beginning token of a role phrase
and the \internal" tokens. For example, \Kerala Government Medical O cers
Association" would be annotated, word-for-word, \B-organizer I-organizer I-organizer
I-organizer I-organizer." These are omitted for clarity.
11 The data set used in [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ] is similar to, but may not be identical to, the data set used
here. Therefore, caution should be taken when comparing the results between these
two papers.
48%, and 55% [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ]. As was the case with the Jabari-NLP comparison, these
particular precision values are not directly comparable to those reported for the
protest models due to the fact that the human coders were provided a multiclass
classi cation task, not binary.
          </p>
          <p>
            Using convolutional neural networks, Beieler [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ] reports precision scores of
0.85 and 0.60 for QuadClass classi cation on English and machine-translated
texts, respectively, when word tokens are used. If character-based tokens are
used, these scores increase to 0.94 (English) and 0.93 (native Arabic). However,
the task presented is one of event classi cation conditional on the existence of
an event in the text. This contrasts with the binary event/non-event objective
of tasks 1 and 2. Nonetheless, these results point to a path forward for continued
work on protest event detection via character-based models and convolutional
neural networks.
4
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Discussion</title>
      <p>A drawback of the multitask RNN models used above is that they do not lend
themselves to model interrogation { they are typically viewed as black box
models whose parameters resist simple interpretation. However, the addition of an
attention layer to the input sequences would allow researchers to identify those
input tokens (i.e. words) that contribute the most (or least) to a given prediction.
Attention layers do this by masking some input tokens and not others,
conditional on the input sequence itself. This would help to answer the question of
which words contribute to accurate or inaccurate model predictions and whether
those informative words di er from task to task.12</p>
      <p>
        The models presented here make use of sub-word (i.e. character) information
but only in the construction of word vectors from a pre-trained FastText model.
By the time the sequences are input to the recurrent neural network models,
the sub-word information has been aggregated to word-level tokens. Based on
previous research that demonstrates the advantages of character-based models
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], foregoing aggregation to the word vector level altogether may be bene cial.
Instead, distributed character n-gram vectors could form the input sequences to
a neural network classi er like those discussed above. This may, for example,
allow the model to learn that n-gram vectors representing capitalized letters are
more likely to occur in proper nouns, even if those proper nouns have never
before been seen by the model.
      </p>
      <p>
        Finally, the CLEF 2019 ProtestNews Lab has provided the research
community with a valuable \ground truth" data set on protest (and non-protest) events.
The lack of hand-annotated and curated event data sets has made di cult the
evaluation of event coding systems. Furthermore, due to copyright concerns that
the ProtestNews organizers have cleverly overcome, previous event data sets have
12 While there does not appear to be a single best citation for attention neural networks,
the earliest use of attention in RNN models may be [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
not published the underlying text data from which event records were derived.13
Now that annotated text data are available, future solutions for deriving
structured event records and their attributes from text should take advantage of this
resources to evaluate their performance.
      </p>
      <p>The results presented here indicate that supervised learning can achieve
strong results in identifying politically-relevant events within unstructured text.
However, the generalization of these models to out-of-sample data is imperfect;
the ease with which neural network models like those used here can over t to
the training data means that care must be taken to ensure that the models
continue to perform well on out-of-sample data. This is especially true if there
is reason to believe that the out-of-sample data may represent a di erent data
generating process than the in-sample data, as is the case here with the China
data set. Nonetheless, when su cient training data are available (perhaps only
a few thousand examples), supervised learning can play an important role in
generating political event data.
13 The organizers provided a script that allowed participants to download the story
data themselves from the original source websites.
25. Schrodt, P.A., Beieler, J., Idris, M.: Three's a charm?: Open event data coding with
el:diablo, petrarch, and the open event data alliance. version 1.0 (March 2014),
http://eventdata.parusanalytics.com/papers.dir/Schrodt-Beieler-Idris-ISA14.pdf</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abadi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Agarwal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brevdo</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Citro</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Corrado</surname>
            ,
            <given-names>G.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Devin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghemawat</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goodfellow</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harp</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Irving</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Isard</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jia</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jozefowicz</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaiser</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kudlur</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Levenberg</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mane</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monga</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moore</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murray</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olah</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schuster</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shlens</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Steiner</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Talwar</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tucker</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanhoucke</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vasudevan</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Viegas</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vinyals</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Warden</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wattenberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wicke</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>TensorFlow: Large-scale machine learning on heterogeneous systems (</article-title>
          <year>2015</year>
          ), http://tensor ow.org/, software available from tensor ow.org
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Beieler</surname>
          </string-name>
          , J.:
          <article-title>Creating a real-time, reproducible event dataset</article-title>
          .
          <source>CoRR abs/1612</source>
          .00866 (
          <year>2016</year>
          ), http://arxiv.org/abs/1612.00866
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Beieler</surname>
          </string-name>
          , J.:
          <article-title>Generating politically-relevant event data</article-title>
          .
          <source>CoRR abs/1609</source>
          .06239 (
          <year>2016</year>
          ), http://arxiv.org/abs/1609.06239
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bojanowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grave</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joulin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Enriching word vectors with subword information</article-title>
          .
          <source>CoRR abs/1607</source>
          .04606 (
          <year>2016</year>
          ), http://arxiv.org/abs/1607.04606
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Boschee</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lautenschlager</surname>
            , J.,
            <given-names>O</given-names>
          </string-name>
          <string-name>
            <surname>'Brien</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shellman</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Starz</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ward</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Bbn accent event coding evaluation.updated v01.pdf</article-title>
          .
          <source>In: ICEWS Coded Event Data. Harvard Dataverse</source>
          (
          <year>2015</year>
          ). https://doi.org/10.7910/DVN/28075/GBAGXI, https://doi.org/10.7910/DVN/28075/GBAGXI
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Cho</surname>
          </string-name>
          , K.,
          <string-name>
            <surname>van Merrienboer</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          , Gulcehre,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Bougares</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Schwenk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Bengio</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          :
          <article-title>Learning phrase representations using RNN encoder-decoder for statistical machine translation</article-title>
          .
          <source>CoRR abs/1406</source>
          .1078 (
          <year>2014</year>
          ), http://arxiv.org/abs/1406.1078
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Chollet</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , et al.: Keras. https://keras.io (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <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>
          ), http://arxiv.org/abs/
          <year>1810</year>
          .04805
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Gerner</surname>
            ,
            <given-names>D.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Abu-Jabr</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schrodt</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>O</surname>
          </string-name>
          <article-title>mur Yilmaz: Con ict and mediation event observations (cameo): A new event data framework for the analysis of foreign policy interactions</article-title>
          .
          <source>In: of Foreign Policy Interactions." Paper presented at the International Studies Association</source>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Hinton</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Srivastava</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Swersky</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Neural networks for machine learning: Lecture 6a overview of mini-batch gradient descent http://www</article-title>
          .cs.toronto.edu/ tijmen/csc321/slides/lecture slides lec6.pdf
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Hochreiter</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidhuber</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>Long short-term memory</article-title>
          .
          <source>Neural Comput</source>
          .
          <volume>9</volume>
          (
          <issue>8</issue>
          ),
          <volume>1735</volume>
          {1780 (Nov
          <year>1997</year>
          ). https://doi.org/10.1162/neco.
          <year>1997</year>
          .
          <volume>9</volume>
          .8.1735, http://dx.doi.org/10.1162/neco.
          <year>1997</year>
          .
          <volume>9</volume>
          .8.
          <fpage>1735</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Honnibal</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montani</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <article-title>: spacy 2: Natural language understanding with bloom embeddings, convolutional neural networks and incremental parsing</article-title>
          . To appear (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13. Hurriyetoglu,
          <string-name>
            <surname>A.</surname>
          </string-name>
          , Yoruk, E., Yuret,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Yoltar</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          , Gurel,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Durusan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Mutlu</surname>
          </string-name>
          ,
          <string-name>
            <surname>O.:</surname>
          </string-name>
          <article-title>A task set proposal for automatic protest information collection across multiple countries</article-title>
          . In: Azzopardi,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Stein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Fuhr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Mayr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Hau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Hiemstra</surname>
          </string-name>
          ,
          <string-name>
            <surname>D</surname>
          </string-name>
          . (eds.) Advances in Information Retrieval. pp.
          <volume>316</volume>
          {
          <fpage>323</fpage>
          . Springer International Publishing,
          <string-name>
            <surname>Cham</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>King</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lowe</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>An automated information extraction tool for international con ict data with performance as good as human coders: A rare events evaluation design</article-title>
          .
          <source>International Organization</source>
          <volume>57</volume>
          ,
          <issue>617</issue>
          {642 (Summer
          <year>2003</year>
          ), http://gking.harvard.edu/ les/gking/ les/infoex.pdf?m=
          <fpage>1360039060</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Leetaru</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schrodt</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          : Gdelt:
          <article-title>Global data on events, location, and tone</article-title>
          .
          <source>ISA Annual Convention</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Makarov</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Automated acquisition of patterns for coding political event data: Two case studies</article-title>
          .
          <source>In: Proceedings of Workshop on Computational Linguistics for Cultural Heritage</source>
          ,
          <source>Social Sciences, Humanities and Literature</source>
          . pp.
          <volume>103</volume>
          {
          <issue>112</issue>
          (
          <year>August 2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grave</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bojanowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Puhrsch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joulin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Advances in pretraining distributed word representations</article-title>
          .
          <source>In: Proceedings of the International Conference on Language Resources and Evaluation (LREC</source>
          <year>2018</year>
          )
          <article-title>(</article-title>
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Mnih</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heess</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Graves</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kavukcuoglu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Recurrent models of visual attention (</article-title>
          <year>2014</year>
          ), https://arxiv.org/abs/1406.6247
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <given-names>O</given-names>
            <surname>'Brien</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.P.</surname>
          </string-name>
          :
          <article-title>Crisis early warning and decision support: Contemporary approaches and thoughts on future research</article-title>
          .
          <source>International Studies Review</source>
          <volume>12</volume>
          (
          <issue>1</issue>
          ),
          <volume>87</volume>
          {
          <fpage>104</fpage>
          (
          <year>2010</year>
          ), http://www.jstor.org/stable/40730711
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>B.J.:</given-names>
          </string-name>
          <article-title>Automated Learning of Event Coding Dictionaries for Novel Domains with an Application to Cyberspace</article-title>
          .
          <source>Ph.D. thesis</source>
          , Duke University (
          <year>2016</year>
          ), http://hdl.handle.
          <source>net/10161/13386</source>
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>B.J.:</given-names>
          </string-name>
          <article-title>Automated dictionary generation for political eventcoding</article-title>
          .
          <source>Political Science Research</source>
          and Methods p.
          <volume>1</volume>
          {
          <issue>15</issue>
          (Forthcoming). https://doi.org/10.1017/psrm.
          <year>2019</year>
          .1
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Ramshaw</surname>
            ,
            <given-names>L.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marcus</surname>
            ,
            <given-names>M.P.</given-names>
          </string-name>
          :
          <article-title>Text chunking using transformation-based learning</article-title>
          .
          <source>CoRR cmp-lg/9505040</source>
          (
          <year>1995</year>
          ), http://arxiv.org/abs/cmp-lg/
          <fpage>9505040</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Schrodt</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          :
          <article-title>Forecasting Con ict in the Balkans using Hidden Markov Models</article-title>
          , pp.
          <volume>161</volume>
          {
          <fpage>184</fpage>
          . Springer Netherlands, Dordrecht (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Schrodt</surname>
            ,
            <given-names>P.A.</given-names>
          </string-name>
          :
          <article-title>Tabari: Textual analysis by augmented replacement instructions</article-title>
          ,
          <source>version 0.8</source>
          .4. manual. (
          <year>2014</year>
          ), http://eventdata.parusanalytics.com/tabari.dir/TABARI.0.8.4b3.manual.pdf
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>