---
title: "The AI2 system at SemEval-2017 Task 10 (ScienceIE):"
description: "The AI2 ScienceIE system finds scientific terms and their relationships, using context learned from unlabeled text to improve extraction."
canonical: "https://research.elamur.ai/free/en/papers/ammar-2017-ai2-system-semeval-2017-task/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ammar-2017-ai2-system-semeval-2017-task/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / The AI2 system at SemEval-2017 Task 10 (ScienceIE): semi-supervised end-to-end entity and relation extraction

# The AI2 system at SemEval-2017 Task 10 (ScienceIE): semi-supervised end-to-end entity and relation extraction

Paper · 2017 · Waleed Ammar, Matthew E. Peters, Chandra Bhagavatula et al.

**Authors:** [Waleed Ammar](https://md.research.elamur.ai/free/en/authors/waleed-ammar/), Matthew E. Peters, [Chandra Bhagavatula](https://md.research.elamur.ai/free/en/authors/chandra-bhagavatula/) and [Russell Power](https://md.research.elamur.ai/free/en/authors/russell-power/) · **Year:** 2017 · **Venue:** Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**50** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2753023842) · [Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017)](https://aclanthology.org/volumes/S17-2/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/S17-2097/)
- [PDF](https://aclanthology.org/S17-2097.pdf)
- [DOI 10.18653/v1/s17-2097](https://doi.org/10.18653/v1/s17-2097)
- [OpenAlex](https://openalex.org/W2753023842)

Citations: OpenAlex, 2026-10-14.

## Summary

A sentence can name a scientific category and give an example of it a few words later. Recovering that connection automatically requires finding both expressions, identifying what sort of entities they describe, and deciding which expression names the broader category. The AI2 team tackled these decisions in ScienceIE, a shared task in [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). Its system identifies spans labeled Task, Material, or Process and looks for synonymy and narrower-to-broader links. In the paper’s example, the text gives nitrogen as an example of a spin-1 nucleus. The desired output preserves both Material mentions and the direction of the link from the example to its category.

The system first assigns tags to the words of a sentence and assembles those tags into typed mentions. It then evaluates pairs of mentions from the same sentence. To represent a pair, it chooses a grammatical head for each phrase and describes the route between those heads in two ways. One route follows grammatical connections, and the other follows the words as written. Term lists and knowledge-base matches contribute additional evidence. AI2 trains the tagging and relation components separately and combines predictions from several trained instances of each.

The semisupervised approach lets the tagger benefit from text that carries no scientific entity labels. A forward [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) learns by predicting the next word, and a separately trained backward predictor learns by predicting the preceding word. AI2 gives the tagger a vector assembled from their internal states at each token. It can then use what the predictors learned about words in context alongside information about the token’s spelling and identity.

The highest score an individual tagger achieved on the ScienceIE development set was 49.9 entity F1 without the pretrained context vectors and 54.1 with them. The entity ensemble reached 55.2. On the final test set, AI2 led the evaluation that began with raw paragraphs, scoring 0.43 overall and 0.28 on its relation portion. It placed second on entities in that setting with 0.55 F1. It also placed second in the separate evaluation where annotated entities were supplied. The development comparison provides the component-level evidence for contextual pretraining. The final rankings describe the performance of the complete submission under the two evaluation protocols.

## Deep dive: The AI2 system at SemEval-2017 Task 10 (ScienceIE): semi-supervised end-to-end entity and relation extraction

AI2’s ScienceIE system finds scientific phrases and their relationships, using context learned from unlabeled text to improve entity tagging. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A phrase in a sentence is the unit of extraction

ScienceIE asks for structured information from paragraphs drawn from different scientific domains. The entity part of the task begins with a question about the text itself. Which words make up a mention, and what category should that occurrence receive? The category inventory distinguishes Task, Material, and Process. An output needs to identify a particular stretch of text, so finding a word associated with one of those categories is only part of the job. The tagger also has to decide whether the annotation calls for the surrounding words to be included.

This is a form of [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/) in which the expressions of interest include ordinary scientific descriptions. Consider the paper’s example of *spin-1 nucleus*. The word *nucleus* helps identify the kind of thing being discussed. The modifier specifies the category the writer actually invokes, and the annotation includes it. The same sentence contains the Process mention *electron spin*. Both examples show why the unit of extraction is the span. Its boundaries capture which expression the author used for the entity in that occurrence.

A typed mention consequently carries information at two levels. Its location tells the system which words are available for a later analysis of the phrase. Its type describes how to treat that phrase in the extraction task. An entity label of Material applies to *nitrogen* and to *spin-1 nucleus* in the example. Once those mentions have been found, there is a further decision about what the sentence says about them. The shared type leaves open whether one is an example of the other, whether they are equivalent, or whether the task calls for any link at all.

#### Relations have meaning and argument order

ScienceIE asks for two kinds of positive links. Synonym-of expresses equivalence between mentions and has the same interpretation when the endpoints are exchanged. Hyponym-of points from a narrower expression to a broader one. For that relation, exchanging the endpoints changes the assertion. The reader of the example can see that the category *spin-1 nucleus* appears before *nitrogen*, while the relation begins with *nitrogen*. Sentence order gives the system a stable way to enumerate the pair. The label must still convey which mention has which semantic role.

The example also shows why the presence of several scientific terms in one sentence creates a candidate selection problem. The human [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) identifies a positive relation for the Material pair. The sentence also mentions a Process, yet the annotation supplies no positive link involving it. A relation classifier therefore needs a way to distinguish pairs supported by the annotation from the other pairs made available by the mention finder. Once a pair is deemed related, the task still requires the system to pick a relation and, where applicable, its orientation.

For the purposes of this task, those decisions give the extracted phrases some of the structure they have in the prose. Recovering a synonym link preserves the connection between alternative terms. Recovering a hyponym link preserves the distinction between a category and a more specific expression. The example also illustrates how the evidence can be distributed. The category is expressed inside a multiword span, the example is a separate span, and the wording that introduces the example occurs between them. A useful representation has to bring those locations together.

#### The starting information changes the task

In Scenario 1, a paragraph is the system’s starting point. AI2 has to determine the entity spans and their labels before it can pair mentions for relation classification. The relation stage receives the tagger’s output, so the tagger affects both the content and the size of the candidate set. If one end of an annotated link is omitted, the classifier has no candidate containing that end. An extra predicted phrase can create new pairs, each of which then requires a decision. A phrase found with altered boundaries can supply the classifier with a related piece of text while still giving it a different endpoint from the annotated one.

In Scenario 3, the task supplies the annotated spans and types, known as gold entities. AI2 still has to decide which pairs should receive positive links and what those links mean. The supplied spans remove the need to infer where a phrase begins or ends, and the supplied types give the classifier a known category for each endpoint. A system can face a difficult relation decision even with those facts settled. The distinction matters when reading the scores because the two scenarios put the relation component to work on different inputs.

The paragraph is the unit presented in the full extraction setting. AI2’s pairing rule operates within each sentence, so sentence boundaries determine which mentions can be considered together. The relation stage can compare widely separated mentions within that unit, using the available grammatical connections or the written sequence. The same rule restricts the possible endpoints to mentions that the preprocessing has placed in a common sentence.

#### The work AI2 draws on

The architectural starting point is Miwa and Bansal’s recurrent approach to extraction. As the AI2 paper presents it, this work supplies a precedent for connecting entity and relation decisions and for using both sequences and tree structures. AI2’s submission combines that general design with a character-based encoding, contextual features from word prediction, vocabulary evidence from external resources, and ensembles. These additions bring in evidence from levels ranging from the inside of a token to the grammatical connections between phrases. [End-to-End Relation Extraction](https://md.research.elamur.ai/free/en/papers/miwa-2016-end-end-relation-extraction-lstms/)

For the entity decision, the authors relate their sequence-scoring procedure to the work of Collobert and colleagues. A span label is represented by several small decisions, one at each token. A scoring procedure that considers them together can evaluate whether the proposed start, interior, and end form a plausible sequence. In the AI2 system, that structured decision is made separately for each entity type. [Natural Language Processing (almost) from Scratch](https://md.research.elamur.ai/free/en/papers/collobert-2011-natural-language-processing-almost-scratch/)

The contextual feature follows work by Józefowicz and colleagues on recurrent word prediction. That line of work offers an objective for learning from ordinary text. The word that follows a prefix is already present in the training sequence and can serve as its target. AI2 takes the internal representation produced in solving this prediction problem and gives it a second use in scientific tagging. The manually annotated data still supply the examples of entity and relation labels. [Exploring the Limits of Language Modeling](https://md.research.elamur.ai/free/en/papers/jozefowicz-2016-exploring-limits-language-modeling/)

There are thus several distinct sources of supervision in the design. Scientific annotations teach the extractor which spans and links the task wants. Word prediction teaches the contextual component something about the uses of words in sequences. Term lists supply evidence through matches, so their contribution enters as a feature of a particular input. The tagger and relation classifier learn to weigh the evidence they receive for their respective decisions.

### The method, step by step

#### From the paragraph to a set of decisions

AI2 starts by preparing a sentence analysis that both components can use. It constructs a representation at each token and predicts sequences of entity tags. The spans recovered from those sequences become possible endpoints for links. For each eligible pair, the relation component builds a representation of the two mentions, the words and grammatical connections between their heads, and any matching pair features. A classification step determines the link to report. In the supplied-entity scenario, the annotated spans take the place of the discovered ones when the system forms pairs.

AI2’s extraction pipeline from text to typed links The steps in order.

#### Establishing the units the tagger will label

AI2 uses spaCy for sentence segmentation and [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/). Segmentation identifies the sentence sequences, and tokenization determines the individual units inside them. The tool also supplies [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) and labeled [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/). A part-of-speech tag specifies a grammatical category for a token. A dependency parse attaches words to their grammatical heads and labels the attachments. Later steps reuse this analysis to choose a word to represent each mention and to construct a route through the sentence’s grammar.

The entity labels begin as character spans. For a token tagger to express a span, the span endpoints have to align with token endpoints. The authors encountered a small number of mismatches and used the annotated boundaries to override the tokenization in those cases. The distinction can be understood without knowing the cause of each mismatch. The annotation says where the entity begins and ends on the character sequence, while the tagger can identify only sequences of the tokens it receives. An adjustment changes the available units so the tag sequence can express the annotated extent.

The paper describes the token sequence with this notation.

```
(t₁, t₂, …, tₙ)
```

Here `t` stands for a token and its subscript denotes a position. `t₁` is the initial token, `t₂` follows it, and `tₙ` is the final token. The ending subscript `ₙ` represents `N`, the total number of tokens. The commas separate entries, the ellipsis stands for the intervening entries, and the parentheses mark the ordered sequence. The notation below uses `k` for the position currently being represented.

#### Turning an annotated span into tags

The tagger uses BILOU, a scheme that expresses the shape of a phrase across token positions. U marks a token that constitutes an entire mention on its own. The first token of a longer mention gets B, the last gets L, and any intervening tokens get I. O marks a position outside a mention of the type being tagged. The labels therefore specify the boundaries without requiring a separate decision over every possible start and end position in the sentence.

The type is encoded by the choice of tag sequence. AI2 assigns a Task sequence, a Material sequence, and a Process sequence to the same tokens. A position can be part of a span in one sequence and outside every span in another. It can also be included in spans of different types at once. A single BILOU sequence for one type has room for only one label at a position. When annotations of the same type overlap, the preprocessing retains the longer mention. The distinction between same-type and cross-type overlap follows directly from how the information is stored.

For example, the Material sequence has to express the whole span *spin-1 nucleus*. The one-word mention *nitrogen* can be expressed by U at its token position in the same sequence. These decisions coexist with those made in the Process sequence, which is where *electron spin* is represented. Later, the relation classifier can use *nucleus* as an anchor. The tagging stage still supplies the full phrase, because the role of an anchor is to give a fixed position from which to inspect the context of the mention.

#### Keeping relation candidates in sentence order

AI2 creates a candidate from an earlier and a later entity in a sentence, keeping them in that order. For a directional link, that creates a mismatch whenever the broader mention occurs first and the narrower one occurs second. The classifier resolves it through an internal label, Hypernym-of, whose first argument is the broader mention. An annotated Hyponym-of link with the opposite argument order can be represented internally as follows.

```
Hyponym-of(e₂,e₁) ↔ Hypernym-of(e₁,e₂)
```

`e₁` is the earlier mention, and `e₂` is the later one. Their subscripts encode their positions relative to each other. The parentheses contain the arguments of each relation and the commas divide them. In `Hyponym-of` the first argument is narrower, and in `Hypernym-of` it is broader. The double arrow means that the expressions denote the same link under the two conventions. In training the conversion goes from the annotated form to the internal form. For output it goes in reverse.

For the running example, the system evaluates a candidate from *spin-1 nucleus* to *nitrogen*. Hypernym-of is the positive class that would preserve the meaning of the annotation for that ordering. When the system converts the prediction, the published link starts with *nitrogen*. A pair with the narrower mention already in the earlier position can use Hyponym-of directly. This gives the classifier a way to distinguish directions while presenting every pair through the same left and right positions.

Synonymy has no corresponding semantic reversal. AI2 can store that label on the ordered pair because its meaning is preserved under exchange. For pairs without a positive relation, it creates a No-relation label where needed. This makes candidate rejection part of the classification inventory. A candidate enumerated in sentence order can thus receive a symmetric positive label, a label indicating one of the two semantic orientations, or a decision that no relation should be reported.

#### Giving a token a spelling vector and a word vector

The first representation the entity tagger receives describes the token through its characters and its identity. AI2 joins a vector computed from the token’s spelling to a vector looked up for the word. A [word embedding](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) is the latter kind of learned numerical representation. The character computation adds a way to respond to parts of spellings across different tokens. The joined representation puts both sources at the disposal of the sentence tagger.

```
xₖ = [cₖ ; wₖ]
```

`xₖ` is the input vector for the token at position `k`. `cₖ` is its character representation, and `wₖ` is its word embedding. The shared subscript `ₖ` associates the vectors with the same position. The equals sign defines `xₖ`. Square brackets and the semicolon inside them indicate concatenation, so the coordinates of the character vector are followed by those of the word vector.

To obtain the character representation, AI2 uses a convolutional network with a filter width of 3 characters. A filter applies the same learned operation to local groups of characters as it moves across a token. The width describes the amount of spelling visible to one application of the filter. It lets the extractor learn features shared by character sequences in different words. The authors chose this width through preliminary experiments on development data.

The word vectors start from pretrained [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/) representations. They are updated during extraction training, an instance of [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/). For an occurrence of a word, the initial lookup provides information associated with that word as a vocabulary item. It can be used wherever the same word occurs. The surrounding sequence contributes the evidence that distinguishes those occurrences. AI2 obtains such evidence from the tagger’s own recurrent layers and from the separately pretrained word predictors.

#### Learning a representation of each occurrence

The forward predictor processes a token and the tokens before it to form an internal state. Its training objective is to predict the following token. The recurrent computation uses long short-term memory, abbreviated LSTM. As an LSTM reads a sequence, its internal state carries information from positions already read. Stacking layers lets a subsequent recurrent layer use the sequence of representations computed by the layer beneath it.

```
(t₁, t₂, …, tₖ) → tₖ₊₁
```

On the left, `t₁` and `t₂` are the initial tokens, and `tₖ` is the token at position `k`. The parentheses enclose the context, and the commas and ellipsis indicate the sequence through that position. The arrow denotes prediction from the context to the target on the right. In `tₖ₊₁`, the subscript advances `k` by one, with `+` indicating the advance, so the target is the following token.

During pretraining, a softmax layer turns the predictor’s vocabulary scores into probabilities that sum to a whole. The observed next word identifies the target entry. The predictor is thus trained to use its internal state to anticipate words, and that training requires only running text. The fixed-dimensional state is the part AI2 wants for tagging. It is the representation from which the predictor has learned to make the vocabulary decision.

For tagging a word in a finished sentence, the words that follow are available too. AI2 obtains information about them through a backward predictor. It processes the available suffix in the reverse direction. At the token of interest it has information from that token and those after it, and its vocabulary task is to predict the preceding token.

```
(tₖ, tₖ₊₁, …, tₙ) → tₖ₋₁
```

`tₖ` is the current token, `tₖ₊₁` comes immediately after it, and `tₙ` ends the sentence. The comma-separated entries and ellipsis inside the parentheses identify the context available to the backward predictor. The list displays the text in sentence order, while the recurrence reads from the end toward `k`. The arrow points to the predicted token `tₖ₋₁`. The minus sign in its subscript moves back one position from `k`.

The directions have separate parameters and are pretrained independently. The forward predictor in the final configuration is the best individual forward system identified by Józefowicz and colleagues and has two LSTM layers. A single LSTM layer with 2,048 hidden units and a 512-dimensional projection is used in the backward model. A projection maps the recurrent computation to a representation with a specified smaller dimension. These architecture choices describe the sources of the contextual vectors. The layers of the entity tagger are separate computations trained for assigning labels.

After pretraining, AI2 removes the vocabulary softmax from each direction. It then joins the hidden representations for the same token. Using the state rather than the vocabulary output gives the entity tagger the learned features that underlie the prediction and leaves it to learn its own decision about the token.

```
hᴸᴹₖ = [h⃗ᴸᴹₖ ; h⃖ᴸᴹₖ]
```

`hᴸᴹₖ` denotes the combined context representation for token position `k`. The superscript `ᴸᴹ` identifies the word-prediction component, and the subscript `ₖ` locates the occurrence in the sentence. The arrow over `h⃗` marks the forward state and the arrow over `h⃖` marks the backward state. The equals sign gives the definition of the combined vector. The brackets and semicolon indicate that the forward state is followed by the backward state in the concatenation.

This arrangement gives the tagger a representation for each position with information from both sides. In the running example, information available around *nitrogen* can affect the contextual vector used at that occurrence, alongside the word vector associated with *nitrogen* itself. The pretraining targets remain words. The entity training is where a contextual distinction becomes useful for predicting a particular boundary or type.

#### Using the context to score a sequence of entity tags

The tagging network has two bidirectional LSTM layers. The lower layer reads the spelling and word inputs along the sentence, and at every position the hidden states from its two reading directions are joined. AI2 adds the pretrained context vector at this point. The upper layer receives the joined output of the lower layer together with the context learned from word prediction. This placement gives the tagger a whole layer in which to process the combination before predicting the entity labels.

The paper calls the output of that upper layer `hₖ`, where `h` is the tagging state and `ₖ` identifies the token. The scorer can draw on a second source at this stage, the gazetteers. A gazetteer is a list whose entries can be matched to expressions in the text. AI2 uses scientific terms collected from the web and entries obtained through Freebase topics. Chemical element, field of study, scholarly work, and material illustrate how the resources can group different kinds of terms relevant to the extraction problem.

The system searches for phrases that occur in the gazetteers. Once it finds them, it records the evidence at individual token positions. Each position has an indicator for each gazetteer, which tells the tagger whether the token participates in a match from that list. Evidence for a phrase of several words can therefore reach the scorer for each of its tokens. The binary features are transformed by a dense layer using a tanh activation, then appended to the output of the upper tagging LSTM. A dense layer combines its input coordinates through learned weights. The tanh transformation gives that combination a nonlinear response.

The tagger learns how much the list evidence matters alongside the recurrent features. A match supplies evidence about the possible identity of a phrase. The sentence representation gives information about its use in the passage and the words next to it. Both can contribute to the score for a start or end tag. Because the gazetteer evidence is available as features in the scorer, the procedure can use it in different ways for different entity types.

Separate dense scoring layers produce the tag scores for Task, Material, and Process. Each is followed by a conditional random field, or CRF, which assigns scores to complete tag sequences given the sentence. The CRF gives the extractor a way to consider neighboring assignments when it decides how to label the current position. For example, a strong local score for the start of a phrase can be evaluated in light of the possible continuation. A plausible tag on one word can yield to a sequence whose overall score is higher.

During training, the forward-backward algorithm is used to compute the CRF loss. The calculation accounts for the possible tag sequences by reusing results for partial sequences. At test time, the Viterbi algorithm finds the highest-scoring complete sequence. Here the computation keeps the best available partial paths as it works through the positions and uses the resulting path to recover the tags. The different type-specific CRFs have their own parameters. The same underlying sentence can therefore support overlapping spans in different tag sequences.

#### Reducing each mention to a grammatical anchor

For relation classification, the inputs are already spans with types. The classifier needs a representation of a mention whose size stays the same even when its length changes. AI2 uses the dependency tree to seek a word in the span that is a direct or indirect head of all the other words in it. A direct head governs a word in a single attachment. An indirect head governs it through a chain of attachments. If the search yields no qualifying word, the procedure chooses the last word in the span.

The paper illustrates this with *spin-1 nucleus*. The dependency analysis treats *nucleus* as the head and connects *spin-1* to it as a compound. This gives the system a particular token position at which to read out features for the mention. A single-token mention already supplies its own position. In both cases the predicted relation ultimately takes the typed mention as an argument, so the grammar-based reduction serves the classifier while the output retains the extent of the phrase.

The relation component retrieves the vector presented to the tagging CRF at the head position. This is internal information from the tagger, before the conversion of tag scores into a selected sequence. The relation classifier therefore gets a representation computed with sentence context in addition to the phrase and type information used to form the pair. AI2 applies dropout to the retrieved vector and joins it to an embedding of the entity type. Dropout selectively suppresses parts of a representation during training. The type embedding gives the classifier a learned vector for the category supplied with the mention.

The earlier and later mentions receive separate places in the pair representation. In the running example, the type embeddings correspond to Material in both places, while the vectors from the tagger are taken from different token positions. The classifier can accordingly treat the type combination as one piece of evidence and the use of each head in its local context as another. Consistent left and right positions also give this part of the classifier a stable interpretation for the directional classes.

#### Describing the route from one head to the other

The grammatical route is the shortest path between the two heads in the dependency tree. The relevant sequence of nodes is determined by the parsed attachments. Such a route can connect words through a common governor and can pass through words outside the linear interval between mentions. In a long sentence, it can also skip text that sits between them in the written order. This gives the classifier a representation organized around grammatical connections.

The sequential route consists of the words along the sentence between the heads. It retains the order in which a reader encounters the intervening expression. In the running example this kind of description gives the classifier access to the wording used to introduce an example. The grammatical and linear routes can overlap, and each can give access to positions that the other route leaves out. AI2 uses an encoder for each route and supplies both results for the relation decision.

At each position read by a path encoder, the input contains a context-sensitive word representation from the tagger before the CRF, with dropout applied. It also contains a context-independent word embedding and a learned representation of the word’s part-of-speech tag. The remaining input represents the label of the dependency attachment from that word to its direct grammatical head. This is the attachment associated with the node, which can also be supplied when the encoder is following the written order of the sentence.

The use of the same kinds of node features makes the main difference between the paths a difference in traversal. One encoder reads the positions given by the dependency tree. The other reads the sequence of tokens in the sentence. Each uses a bidirectional LSTM with states at the ends of its path. The endpoint states from both encoders are concatenated with the mention representations. The classifier then has fixed-size summaries of the phrases and of the two routes connecting them.

#### Giving the classifier pair-level evidence

The relation component has its own gazetteer features. AI2 derives pair evidence from Wikipedia and Freebase and supplies a binary indicator for each applicable gazetteer. These features concern the compatibility of a specific pair. The entity gazetteers, by comparison, mark where a phrase matches a list in the sentence. A match at the pair level enters only after the system has selected the two mentions it is comparing.

AI2 also computes indicators for three relationships between the surface forms. One captures whether a mention is an acronym of the other. Another captures a suffix match, and another captures an exact copy. Such tests can provide evidence about a possible connection without consulting the grammatical route. The result of each test is an input to the classifier. It acquires its weight through training along with the other evidence for the pair.

The binary pair features feed a dense layer. The relation representation, including the head and path information, goes through a dense tanh layer before a softmax scores the class alternatives. The softmax expresses a distribution across the possible labels for the pair. A positive class identifies the relation and, for the narrower–broader distinction, its orientation in the ordered candidate. No-relation lets the classifier assign the pair to the rejection class. For a positive Hypernym-of judgment, post-processing exchanges the mentions and restores the Hyponym-of label expected by ScienceIE.

#### Preparing training pairs for the two scenarios

AI2 trains the entity tagger and the relation classifier separately. The tagger learns the span types from the BILOU sequences. The classifier learns from labeled candidate pairs, using internal representations that the tagger makes available. The training description says the parameters of each trained extractor, including character and word embeddings, are updated. The use of the tagger’s features at relation time connects the computations while each component has its own training procedure.

The candidate sources are chosen to reflect the evaluation protocol. For Scenario 1 training, AI2 uses pairs generated from the annotated entities and pairs generated from predicted entities. A classifier trained this way can encounter candidates with annotated endpoints and also candidates shaped by the tagger’s boundary and type decisions. At Scenario 1 test time, the system forms pairs exclusively from predictions. The training protocol is an adjustment to that input condition.

In Scenario 3, the candidate generator uses annotated entities for both training and testing. The relation component still receives its contextual features and has the same kind of classification problem once a pair has been formed. The population of pairs is different because the tags chosen by the entity extractor determine neither endpoint. This distinction between candidate sources is part of the experimental setup and applies in both phases.

#### Selecting parameters and assembling the submission

The authors use [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/) to update the extraction parameters. The entity training uses a learning rate of 0.001 and clips the gradient norm at 5.0. The relation training uses a learning rate of 0.0003 and a clipping threshold of 1.0. A learning rate helps determine the scale of a parameter update. Gradient clipping bounds the norm of the gradient used by the optimizer when it exceeds the specified threshold. AI2 monitors development performance to guide hyper-parameter selection and decide when to stop training.

During tuning, the authors retain configurations that perform well on the development set. The final submission combines 15 entity taggers and 8 relation classifiers. The entity ensemble averages label predictions at each token position. This is aggregation at the level of evidence for tags. The final spans are what the full pipeline uses to decide which mentions can enter a candidate pair.

For relations, the individual classifiers each make a label decision about a pair. The ensemble reports a positive relation only when 50% of its members predict the same relation, as the authors describe the rule. The agreement concerns the label itself, including the orientation encoded by the directional classes. The post-processing convention then gives the chosen relation its final argument order. These two ensemble procedures reflect the form of the respective outputs. The tagger supplies position-level label predictions, while the classifier supplies a decision about a pair.

### Experiments and results

#### The evaluations and what they measure

The extraction experiments use ScienceIE paragraphs annotated for typed mentions and relations. The development comparison concerns only the entity output. It compares AI2’s strongest individual tagger without the pretrained contextual representation, its strongest individual tagger with it, and the ensemble. This gives the paper an internal baseline for examining the addition of word-prediction features. The final test evaluation compares the submitted pipeline with other teams under the competition protocol. The leaderboard gives a point of reference for the full system.

The reported extraction metric is F1, which combines precision and recall. Precision concerns the proportion of proposed items that are correct. Recall concerns the proportion of annotated items that the extractor recovers. Entity F1 summarizes recovery of the phrases and their types. Relation F1 concerns the links, and the end-to-end score is the overall measure reported for the evaluation starting from raw text. The paper gives these metric labels and scores. It leaves the details of the shared task’s scoring procedure to the task account.

There is a separate evaluation of the components used for pretraining. The chosen forward word predictor has test perplexity of 30.0 on the [One Billion Word Benchmark](https://md.research.elamur.ai/free/en/papers/chelba-2013-one-billion-word-benchmark-measuring/), and the backward predictor has test perplexity of 47.7 on the same benchmark. Perplexity measures the uncertainty a predictor assigns to the observed words. The figures describe performance on word prediction under the respective configurations. The tagging experiment measures performance on a different objective, where the internal representations are used to find and type scientific phrases. The two word predictors also differ in their architectures, so their perplexities characterize two configurations as a whole.

#### Development results for the tagger

AI2 entity tagging settings on the ScienceIE development set by F1 The best contextual tagger improves on the individual baseline, and the ensemble scores highest.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Best individual tagger without pretrained context | 49.9 |
| Best individual tagger with pretrained context | 54.1 |
| AI2 entity ensemble (this paper) | 55.2 |

The best individual tagger without the pretrained context vectors achieved 49.9 entity F1 on the development set. Its counterpart with those vectors reached 54.1 entity F1 on the same split. The authors report the increase as 4.2 F1. The baseline is already an entity sequence tagger that processes the sentence. The addition under study exposes it to representations learned through the separate word-prediction task. The result measures the difference between the best settings the authors report for those alternatives.

The development entity F1 of 55.2 belongs to the ensemble of 15 taggers. The authors report this as a further increase of 1.1 F1 over the strongest individual tagger. These scores keep the target and the split fixed across the rows. The two comparisons change different parts of the system. The contextual-feature comparison changes the information available inside an individual tagger, while the ensemble row reflects the aggregation of predictions from several runs.

#### Final test results when the entities have to be found

Leading Scenario 1 submissions on the ScienceIE final test set by end-to-end F1 AI2 leads the overall evaluation, followed closely by Team 24.

**The numbers**

| System or setting | F1 |
| --- | --- |
| AI2 (this paper) | 0.43 |
| Team 24 | 0.42 |
| Team 21 | 0.38 |
| Team 19 | 0.37 |
| Team 14 | 0.33 |

AI2 finished first overall in Scenario 1, with final test F1 of 0.43. Team 24 followed at 0.42. The rankings apply to the submissions that began with paragraphs and were evaluated on the complete extraction task. In AI2’s case that means the score comes from its submitted combination of entity tagging, candidate generation, and relation classification. The leaderboard records the outcome of that combination against the competition entries.

Scenario 1 submissions on the ScienceIE final test set by entity F1 Team 24 leads the entity scores, with AI2 in second place.

**The numbers**

| System or setting | F1 |
| --- | --- |
| Team 24 | 0.56 |
| AI2 (this paper) | 0.55 |
| Team 19 | 0.51 |
| Team 21 | 0.50 |
| Team 14 | 0.47 |

AI2’s final test entity F1 in Scenario 1 was 0.55, placing it second to Team 24 at 0.56. The entity ordering also puts Team 19 at 0.51 ahead of Team 21 at 0.50, whereas their overall scores appear in the opposite order. The leaderboard thus gives performance on the span-and-type task and performance on the combined task as distinct views of the submissions.

The AI2 entry led the relation portion of Scenario 1 with a final test relation F1 of 0.28. This is the result for links recovered through the system’s predicted endpoints. The relation column for Team 24 contains a dash, so the table provides no numeric relation score for that entry. The relation ranking reported by the authors applies to the scores available for that portion of the challenge.

#### Final test results with annotated endpoints

AI2 placed second in Scenario 3, where the extractor predicts links among the supplied entities. The results paragraph gives the final test relation F1 in this condition as 0.54%. That paragraph uses percent signs for the Scenario 1 values too, while the Scenario 1 test table writes the corresponding values as decimals. The Scenario 1 figures here follow the table, and the Scenario 3 figure keeps the notation used in the results paragraph.

The evaluation with supplied entities measures the relation decision after the spans and types have been established by annotation. The full evaluation measures those decisions as made on candidates assembled from the system’s own tagging output. Each score refers to the submission trained for the corresponding candidate source. Their interpretation therefore depends on the protocol as well as on the fact that both scenarios report relation extraction performance.

### What the ablations show

#### The measured contribution of pretrained context

The comparison between individual taggers is the paper’s direct test of the semisupervised addition. The best setting using the vectors learned from forward and backward word prediction has higher development entity F1 than the best setting without those vectors. The use of the same task and split makes this evidence about scientific mention tagging. Perplexity on the word benchmark establishes how the component performed on its original objective. The entity comparison supplies the evidence about its value after transfer.

The improved tagger receives both reading directions together. Consequently the measured benefit applies to the combined feature. The experiment leaves open the contribution of each direction, whether they help the same examples, and how much the useful information depends on their different architectures. A test removing just one direction would address a different question from the comparison the authors report.

There is also a distinction between the strength of the selected settings and consistency across runs. The paper reports the best individual outcome for each alternative. It gives no distribution of scores for repeated training and no matched series of runs from which to estimate typical variation. The comparison shows what the tuned configurations achieved on the development set. F1 also leaves the source of the gain within the predictions open. An improvement could reflect recovering more annotated phrases, making fewer incorrect predictions, or both. The paper gives no breakdown of the development gain by precision and recall, entity type, or span length.

#### What combining runs adds to the entity result

The ensemble improves on the reported best individual tagger on the development set. Averaging at each position can change the relative support for competing tags before the final span decisions. As a consequence, the ensemble can produce different whole phrases even when many token decisions agree with an individual run. The reported improvement verifies the outcome of the averaging procedure for this evaluation. The paper does not show which disagreements were resolved, which tags changed, or whether particular mention types benefited more.

The relation component also has an ensemble, using agreement on a class label to decide whether to output a positive connection. The paper gives no comparable individual-versus-ensemble relation result. The development entity improvement consequently establishes a result for token prediction aggregation. The final relation score reflects the voting procedure along with the available entities, pair representations, and other features of the submission. It gives no isolated measurement of the value of the relation vote.

#### Architectural choices with qualitative support

The authors report using preliminary experiments to choose the character filter width. They give the selected setting and leave the scores for other widths unspecified. The discussion supplies a reason for the setting used in the submission. It offers no estimate of the size of the width effect or of the overall effect of adding a character encoder.

The authors likewise say that encoding the sequential path is useful alongside the grammatical path. The architecture makes the distinction concrete. A linear path can expose wording in the interval, while a dependency path follows the parse even when it leads elsewhere in the sentence. The paper does not give a scored comparison between classifiers that use just one path and those that use both. The running example explains the kind of evidence that the representation can make available. It leaves open how frequently either path decides a prediction.

The gazetteer features and the head selection rule are documented as parts of the system. There is no reported score for removing either kind of gazetteer or for changing the way a span is reduced to a head. The development contrasts therefore provide quantitative evidence for the pretrained context and entity aggregation, with the relation architecture assessed in the end-to-end submission and in the task with supplied mentions.

#### What the test conditions can tell us

The leaderboard shows that the ordering on entities can differ from the overall ordering. For AI2, the leading result on the relation portion of Scenario 1 accompanies a second-place entity score. This is the observed profile of the submitted system. It cannot identify a design choice as the cause of the ranking because the comparison includes other teams’ complete systems, each with its own choices.

The supplied-entity scenario gives an additional observation about relation classification with annotated endpoints. It also changes the source of the candidate pairs used to train the classifier. These conditions allow an assessment of the two submitted operating protocols. A comparison that held the trained classifier fixed and changed only its test endpoints would be needed to isolate the effect of replacing predictions with gold entities in that classifier’s input.

### Limitations

#### What the authors identify

The authors describe separate training for the tagger and the relation classifier as a choice with a possible cost. They note the practical complications of joint training and say it could lead to better results. Their submission establishes that the components can be combined at prediction time and that the relation decision can use representations from the tagger. There is no reported test of whether training on the two objectives together would improve the representations, the mention decisions, or the final links.

The paper records two accommodations made when preparing the annotation for token tagging. Where character boundaries and token boundaries conflict, the annotation can determine the tokenization. When same-type entity spans overlap, the longer one is retained. The first accommodation makes the chosen token sequence express a span it would otherwise cut across. The second drops a span that would require simultaneous assignments within a single type’s sequence. The authors describe the boundary conflicts as uncommon and provide no separate extraction results for those cases or for the discarded overlaps.

The description of relation candidates also sets an explicit boundary on the submission’s coverage. Pairs come from the same sentence, and the path encoders describe connections within that sentence. For an assertion whose relevant endpoints are assigned to separate sentences, the method has no candidate pair to score. The paper reports its scientific extraction results under this design and does not quantify the implications of that scope for the annotated data.

#### What follows from the setup

Within a sentence, relation extraction inherits uncertainties from several earlier decisions. A missing entity prevents a candidate from being generated. A mistaken boundary can change which token is available as the phrase’s head, and an incorrect type changes the vector supplied for the endpoint. Parse decisions affect both the head search and the grammatical path. Even the prescribed fallback, using the last word, can make the classifier read a different position from the one a grammatical analysis would favor. The paper does not count these failure modes or assign a share of the relation errors to them.

The evaluation with supplied entities addresses only some of that dependence. It fixes the span and type inputs to candidate generation, but it leaves the classifier responsible for rejecting unrelated pairs, choosing a positive class, and specifying a direction when appropriate. The change in candidate source used for training also complicates an attribution of the score difference to entity errors alone. A detailed error accounting would need to distinguish losses from unavailable candidates from mistakes among candidates the system can score.

Limiting the representation of a span to its head position makes the pair representation tractable for phrases of different lengths. Other words in the span can still influence the contextual state at the selected position. How clearly they survive that compression is an empirical question. In the example the modifier is part of the entity’s boundary, while the noun is the anchor. The paper illustrates this behavior and gives no analysis of accuracy on expressions where the modifier is especially important to identifying the right relation.

The development experiments support the use of contextual vectors and the ensemble for the reported scientific tagging task. The paper does not give uncertainty estimates for the development gains or final test rankings. It also selects settings with development performance and uses that split to report its component comparisons. The official test outcomes show how the complete submission performed on a separate split. A component-by-component assessment on the test set is absent, leaving the evidence for the individual changes on the development set.

The task draws on more than one scientific domain. The results are reported in aggregate, without domain-specific scores or an experiment that transfers the extractor to a new domain. In particular, the paper does not measure how consistently the term lists or knowledge-base features cover unfamiliar terminology. The pretrained context, spelling vectors, and list features are available together in the full system. The results leave open how the extractor behaves when some of those sources of evidence are sparse in a particular field.

Finally, the labels define the range of conclusions that can be drawn about scientific relations. The classifier can score synonymy and a narrower–broader link, with an explicit rejection class. Testing this inventory says little about performance on other kinds of scientific assertions, which could depend on a different choice of endpoints, context, or relation direction. The reported success is for the ScienceIE definition of entities and links and for the candidate procedures the authors evaluated.

### What came after

#### The shared task and the tagging method

The ScienceIE task report supplies the common setting for the AI2 submission. Its subject is the extraction of scientific keyphrases and relations, including the evaluation in which AI2’s system receives its rankings. The AI2 paper itself points to the task report when defining the problem. The papers thus document different parts of the same activity. One sets out the shared extraction task, and the other explains an entrant’s choices about features, training, and the relation between the tagging and classification stages. [ScienceIE task report](https://md.research.elamur.ai/free/en/papers/augenstein-2017-semeval-2017-task-10-scienceie/)

The related work on semisupervised sequence tagging gives the use of bidirectional word prediction a place of its own. In the ScienceIE system, these representations contribute to one stage of a larger extractor. The tagging paper makes the combination of supervised tag sequences and representations from both prediction directions its central subject. The connection is the transfer of information learned from words in context into the assignment of token labels. The citation leaves the reuse of particular pretrained weights or competition settings unspecified. [Semi-supervised Sequence Tagging](https://md.research.elamur.ai/free/en/papers/peters-2017-semi-supervised-sequence-tagging-bidirectional/)

#### Connecting mentions across a larger structure

The work on multitask identification puts scientific entities and relations alongside [coreference resolution](https://md.research.elamur.ai/free/en/concepts/coreference-resolution/) for building a scientific [knowledge graph](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/). Coreference asks which mentions refer to the same thing. This adds a question about identity across occurrences to the extraction of spans and labeled links. In the ScienceIE entry, an endpoint is represented as an occurrence with a type and a head. In the multitask framing, deciding which occurrences belong together is itself an extraction task. The connection also bears on AI2’s suggestion about training objectives, since the later paper makes several kinds of prediction part of a common research problem. The descriptions support that connection at the level of task design. [Multi-Task Identification of Entities, Relations, and Coreference](https://md.research.elamur.ai/free/en/papers/luan-2018-multi-task-identification-entities-relations/)

The Semantic Scholar literature-graph work places scientific information in a broader structure. The local extraction problem illustrated by ScienceIE starts with passages and ends with typed mentions and links that can represent individual assertions in those passages. Construction of a literature graph concerns the organization of information about scientific literature at a wider level. The citation connects work on a source of structured information within papers to work on organizing the literature itself. The particular role of the ScienceIE tagger, its path encoders, or its trained parameters in that construction remains unspecified. [Construction of the Literature Graph in Semantic Scholar](https://md.research.elamur.ai/free/en/papers/ammar-2018-construction-literature-graph-semantic-scholar/)

The biological relation extraction work takes a full abstract as its scope and uses self-attention over the mentions within it. As named in that work, self-attention lets the representation use information from the other mentions considered in the same input. This addresses the scope of evidence for a relation decision. AI2’s ScienceIE submission constructs a representation for a pair in one sentence, using two paths anchored at its heads. The full-abstract work considers mentions together across a larger piece of scientific text. The connection concerns the amount of context available and the way mentions are brought into the computation. A direct architectural inheritance or a shared performance comparison is unspecified. [Full-Abstract Biological Relation Extraction](https://md.research.elamur.ai/free/en/papers/verga-2018-simultaneously-self-attending-all-mentions/)

## Cite

Cite as Waleed Ammar, Matthew E. Peters, Chandra Bhagavatula and Russell Power. 2017. The AI2 system at SemEval-2017 Task 10 (ScienceIE): semi-supervised end-to-end entity and relation extraction. Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/s17-2097](https://doi.org/10.18653/v1/s17-2097)

```bibtex
@inproceedings{ammar2017ai2,
  title = {{The AI2 system at SemEval-2017 Task 10 (ScienceIE): semi-supervised end-to-end entity and relation extraction}},
  author = {Waleed Ammar, Matthew E. Peters, Chandra Bhagavatula and Russell Power},
  booktitle = {Proceedings of the 11th International Workshop on Semantic Evaluation (SemEval-2017)},
  year = {2017},
  doi = {10.18653/v1/s17-2097},
  url = {https://doi.org/10.18653/v1/s17-2097}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
