---
title: "TASTY: Interactive Entity Linking As-You-Type (2016)"
description: "TASTY links phrases to Wikipedia as an author types, lets the author correct the links, and evaluates recognition and disambiguation offline."
canonical: "https://research.elamur.ai/free/en/papers/arnold-2016-tasty-interactive-entity-linking-as/"
---
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/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/arnold-2016-tasty-interactive-entity-linking-as/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / TASTY: Interactive Entity Linking As-You-Type

# TASTY: Interactive Entity Linking As-You-Type

Paper · 2016 · Sebastian Arnold, Robert Dziuba and Alexander Löser

**Authors:** [Sebastian Arnold](https://md.research.elamur.ai/free/en/authors/sebastian-arnold/), [Robert Dziuba](https://md.research.elamur.ai/free/en/authors/robert-dziuba/) and [Alexander Löser](https://md.research.elamur.ai/free/en/authors/alexander-loser/) · **Year:** 2016 · **Venue:** Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/C16-2024/)
- [PDF](https://aclanthology.org/C16-2024.pdf)

## Summary

An author who wants to look up a term while writing usually has to stop, decide what to search for, and make sense of the results before returning to the document. TASTY brings part of that search into the editor. As the author types, it marks phrases that appear to refer to people, places, organizations, or domain concepts and displays relevant Wikipedia articles beside the text. This is a writing-time version of entity linking, the task of finding references in text and connecting them to entries in a knowledge base. The author can change which words are marked, choose a different article, or remove a tag altogether.

The system first locates mentions by predicting a label for each word in the affected sentences. It uses the shape and capitalization of a word, its constituent letter sequences, and a numerical representation of its meaning. For each detected phrase, TASTY searches Wikipedia titles and alternative names to assemble a list of possible articles. It then compares the surrounding text with each article using [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/). The editor can reconsider a choice as more words arrive. A tag can also mark a term for which the search yields no article, because deciding that a phrase matters and finding an entry for it are separate tasks.

The authors demonstrate the editor with English and German encyclopedic text and in a medical writing scenario. Their offline recognition tests use English newswire from CoNLL2003, German newswire from TIGER, and biomedical abstracts from GENIA. TASTY obtains 91.1% F1, 83.3% F1, and 78.5% F1 respectively, using small labeled training sets and the same hyper-parameter settings. It has the highest recognition F1 among the systems compared on both newswire tests. A specialist LingPipe configuration leads on GENIA. On the English DBpedia Spotlight corpus, TASTY obtains 65.4% F1 for disambiguation, between DBpedia Spotlight and Babelfy.

The paper also describes showing the editor to 21 experienced professionals. Their uses and suggestions include looking up definitions, checking written material against archives, and bringing related sources into a writing task. Those observations help explain why the interface makes its choices editable. The offline scores establish how well particular stages match benchmark annotations. The demonstration illustrates how an author might use or correct those stages during writing.

## Deep dive: TASTY: Interactive Entity Linking As-You-Type

TASTY links phrases to Wikipedia as an author types, lets the author correct the links, and evaluates recognition and disambiguation offline. · about 32 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

#### Linking a document that is still being written

A finished document gives an entity linker a stable object to process. A document in progress keeps changing in ways that matter to both parts of the task. The author may be midway through a phrase whose last word determines its boundaries. A later sentence may clarify a name that already appeared. A revision may remove the words that made an earlier interpretation plausible. TASTY starts from the idea that the benefit of a link can arise during this period of uncertainty, when the author can still use the associated information to decide what to write.

The paper describes conventional entity linking as identifying mentions in free text and resolving them to entries in a structured collection, commonly in a batch after writing. A *mention* is a particular occurrence in the text. The *entity* is what that occurrence denotes. A single article can be a plausible destination for differently worded mentions, and one written form can point to very different articles in different passages. The inventory of destinations therefore matters alongside the text itself. In TASTY, the working inventory is an index of Wikipedia articles and alternative names, a structured source for [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/).

Mention recognition has a different success condition from resolving a mention. A recognizer must identify the words that belong in the phrase. A linking stage must choose an entry that corresponds to what those words mean in context. For a phrase such as *epigastric region*, selecting only one word changes the query that the system sends to the article index. Even with the right span, an article about a different sense of the phrase would still be a bad result. The interface makes these decisions individually correctable because the author may know which of them went wrong. Finding spans of this kind is closely related to [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The authors use *mention* broadly enough to include concepts relevant to the writing task. The medical demonstration concerns a procedure, a symptom, and an anatomical region. A name identifying a patient can be useful in the note itself while making an unhelpful tag for the accompanying exploration pane. This creates a difference between recognizing a plausible named expression and surfacing material that the writer wants to consult. In the paper’s demonstration, the writer addresses that difference by removing an unwanted tag. The system can propose what looks relevant from the text, while the writer can exercise judgment about the purpose of the document.

#### From automatic annotation to exploration

The examples motivating the editor involve people who are producing working documents, including clinicians taking a history, technicians preparing support material, and help-desk staff. In each setting, the information needs arise from the terms in the draft and may change as the draft develops. The paper’s clinician illustrates the pattern. A reference to an operation leads to an article the writer can consult. A later description of pain makes a more precise article choice desirable. A phrase the recognizer overlooked can become the subject of a search once the writer selects it. This gives an ordinary link a second purpose. It remains an annotation on a phrase, and it also gives the writer a way to pursue an information need that arose while composing.

The demonstration uses Wikipedia for that exploration. The paper also names research articles and archived correspondence as examples of sources that could make sense for the medical scenario. These possibilities illuminate the role of the side pane. A source with definitions can help a writer understand a term, whereas a collection of earlier records could help a writer locate relevant material to compare with the current note. The purpose and contents of the collection affect what a helpful result looks like. Connecting a phrase to an encyclopedia entry is the implemented case through which the authors examine this relationship between writing and [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/).

Bringing linking into the editor also changes when the system must make decisions. Waiting for the entire document would give it more evidence for each mention, but the writer would only see links after that evidence had arrived. Updating at word boundaries allows TASTY to offer provisional help while there is still an opportunity to use it. This puts a premium on processing a limited portion of the text and making revisions possible. It also makes the display important. The tag shows the author exactly which part of the text prompted a suggestion, while the accompanying article shows the result of interpreting that phrase.

#### The earlier techniques TASTY brings together

The authors adopt an entity-linking pipeline from earlier work on Wikipedia linking. The pipeline distinguishes mention detection, candidate search, and candidate disambiguation. A boundary detector supplies a phrase for retrieval. A retrieval component finds articles whose names are plausible for that phrase. A disambiguator ranks those articles in light of the current text. Each stage narrows a different kind of uncertainty, and each can fail before the next stage has an opportunity to act. TASTY retains that division and puts the pipeline inside a cycle of edits, partial updates, and user corrections.

For recognizing boundaries, the paper uses a sequence of position labels that distinguishes a complete single-word mention from the beginning, middle, or end of a longer one. An earlier study discusses the tagging scheme in the context of [Design Challenges and Misconceptions in Named Entity Recognition](https://md.research.elamur.ai/free/en/papers/ratinov-2009-design-challenges-misconceptions-named-entity/). The labels give TASTY a common way to express spans across its demonstrations. What counts as a span still depends on the training annotations. A category such as a proper noun in German newswire and a biomedical term in an abstract can both be represented by boundary labels even though they are different recognition targets.

The article search uses earlier dictionary-based linking work and the practice of collecting alternative names from Wikipedia references and redirects. This addresses a problem that remains even when mention boundaries are perfect. The phrase the author typed may be a synonym, an abbreviation, or a variant of the displayed article title. During ranking, a separate method uses the similarity of short passages in an embedding space. The paper also situates the feature representation in the earlier work [Efficient Estimation of Word Representations in Vector Space](https://md.research.elamur.ai/free/en/papers/mikolov-2013-efficient-estimation-word-representations-vector/).

The comparison systems reflect the two kinds of work most relevant to TASTY. Stanford NER and LingPipe provide trained text chunkers, which can be assessed for finding spans. DBpedia Spotlight and Babelfy address linking and can be assessed for their article or entity choices. The paper describes Babelfy as joining linking with [word sense disambiguation](https://md.research.elamur.ai/free/en/topics/word-sense-disambiguation/), the task of determining which sense of an expression applies in context. Its cited account is [Entity Linking meets Word Sense Disambiguation](https://md.research.elamur.ai/free/en/papers/moro-2014-entity-linking-meets-word-sense/).

The distinctive contribution the authors claim is an interactive linking task intended to serve several writing scenarios. Its constituent techniques come from work on sequence tagging, article retrieval, and semantic similarity. The interface connects them to actions an author already performs, such as writing another sentence or selecting a phrase, and adds controls for revising the links those actions produce. That arrangement determines how evidence from the document reaches the system and how the system’s decisions return to the author.

### The method, step by step

How TASTY updates links during writing The steps in order.

#### Updating the portion affected by an edit

TASTY extends the Quill rich-text editor to display mentions inline. Its input is the text the author is currently working on. The editor listens to keystrokes and uses spaces or punctuation to detect word boundaries. This matters because a word fragment is often unstable as search input. Once a delimiter signals that a word has ended, the system can update the relevant text and display its interpretation. The medical example describes a change in the displayed material as the writer moves on from the operation to the description of pain.

The authors describe a simple, language-independent [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) procedure and identify Stanford CoreNLP’s PTBTokenizer as the implementation. A token is the unit passed to the recognizer, with each position belonging to the ordered document. The system first isolates the edited range and then expands it to include the sentences that contain its boundaries. A change to one word can thus bring back neighboring words for reconsideration. If the edit completes a multiword phrase or changes what a nearby expression denotes, the recognition pass has more to work with than the new word alone.

The paper represents the document as follows.

```
d = (w₁, …, wₙ)
```

Here `d` is the document as a sequence, `w₁` is its first token, and `wₙ` is its last token. The subscript marks a token’s position, `n` is the number of tokens, and the ellipsis stands for the intervening tokens in order. The parentheses enclose the sequence.

The partial update operates on a contiguous portion of this sequence.

```
d̃ = (wᵦ, …, wₑ), 1 ≤ b < e ≤ n
```

The tilde marks `d̃` as the portion of the document selected for analysis. The symbols `b` and `e` are its beginning and ending token indices, and `wᵦ` and `wₑ` are the tokens at those positions. The ellipsis includes the tokens between them. The inequalities place the start and end within the document, with the start before the end in the paper’s notation. TASTY moves these boundaries out to sentence boundaries before analysis.

There is a practical reason to give the recognizer the surrounding sentence. Consider the writer adding *region* after *epigastric*. The fresh token is only the last word, but the phrase to tag includes a word that was already on the screen. Reconsidering the surrounding text allows the tagging stage to replace a smaller span with a fuller one. The same mechanism is useful when the author edits earlier text, since a local replacement may change the span on either side of the cursor. The sentence range defines what the system processes in the partial update. The descriptions of article scoring later in the paper use a separate notation for mention context.

#### Finding and representing mentions

A mention in TASTY is a contiguous span that refers to an entity or relevant concept. The intended annotation uses the longest span that expresses that reference. The paper assumes that spans will neither overlap nor contain recursively recognized mentions. In the example *epigastric region*, the output can mark the full phrase with a common boundary. The recognizer’s output is therefore a set of separate spans that the editor can display as tags.

The task is expressed as a sequence of word-labeling decisions. The BIOES alphabet has labels for a word that begins a mention, lies inside one, stands outside all mentions, ends a mention, or constitutes a complete mention on its own. For a multiword phrase with just a beginning and an ending token, those positions receive `B` and `E`. An isolated reference can receive `S`. A word in the middle of a longer reference receives `I`, and ordinary surrounding text can receive `O`. Reading the labels in order gives the system the spans to use for article search.

The paper’s label prediction takes the most probable label for the current position given the feature vectors for the portion being processed.

```
ŷₜ = arg max over l ∈ {B, I, O, E, S} p(yₜ = l | x(wᵦ), …, x(wₜ₋₁), x(wₜ), x(wₜ₊₁), …, x(wₑ))
```

Here `t` is the position currently being labeled, `yₜ` is its label variable, and `ŷₜ` is the predicted label. The lower-case `l` stands for a candidate label. The braces give its allowed values, with `B` for beginning, `I` for inside, `O` for outside, `E` for ending, and `S` for a single-token mention. The symbol `∈` means that `l` belongs to this set. The function `p` gives the probability of the event `yₜ = l`, with the vertical bar separating that event from the input it is conditioned on. Each `x(w)` is the feature vector for word token `w`. The subscripts identify the start `b`, the previous position `t−1`, the current position `t`, the following position `t+1`, and the end `e`. The ellipses stand for the intervening vectors. The `arg max` operation returns the label at which the probability is greatest.

The expression makes the role of context explicit. A token supplies its own features, while tokens before and after it supply cues to how it is used in this passage. A word can look like part of a technical expression by its spelling. Its neighbors can help decide where that expression starts or stops. The probability is for a boundary label at a word position. The paper later gives a different scoring rule for choosing an article for the completed span.

The sequence learner has a stacked bidirectional long short-term memory layer and a long short-term memory layer, described as BLSTM+LSTM. These are recurrent layers, meaning that their processing at a position depends on information carried through the sequence. In the bidirectional part, information can travel through the input from either end. That arrangement lets the representation of a word use material on both sides when it is available. When the writer supplies a new word and the editor reprocesses the sentence, words earlier in the sentence can acquire different labels. For an interface that offers suggestions before a passage is complete, revision follows directly from letting the later text inform earlier decisions.

The recognizer constructs each input vector from different properties of the token. The first is an encoding of lower-case letter trigrams, contiguous groups of letters with markers for the edges of a word. For *cell*, the paper illustrates the features `#ce`, `cel`, `ell`, and `ll#`. The marker `#` denotes a word boundary, so a sequence from the start or end can be represented distinctly. A changed spelling can disrupt some trigrams while leaving others available. An unfamiliar word can also share letter sequences with familiar words. These are reasons for using character features when a vocabulary lookup supplies little information about the whole token.

A second component represents the word as a dense vector. The authors train a 150-dimensional lower-case word2vec representation using English and German CoNLL2003 material and Wikipedia articles. A dense vector gives the system numerical coordinates it can use when learning how words behave in context. In the recognizer it supplies a different kind of evidence from the character trigrams. The latter describe recurring spelling patterns, while the vector represents properties learned from how words occur in text. The paper identifies Deeplearning4j with a CUDA backend as the implementation for the sequence learner.

The features also include flags for the visible form of the word. Examples include an initial capital, all-uppercase text, all-lowercase text, and mixed case. The distinction matters because the trigram and embedding inputs use lower-case forms. The flags let the recognizer retain capitalization as evidence even when the other inputs treat upper- and lower-case spellings alike. It can use that evidence jointly with the words around the token, instead of assigning a mention label whenever it encounters a capital letter.

Training supplies examples of how these signals correspond to target boundaries. The authors describe the recognizer as trainable directly on labeled sentences and report small training sets of 4000 labeled sentences in their results discussion. They provide configurations for English encyclopedic named entities, for German encyclopedic proper nouns without type labels, and for biomedical terminology in scientific text. The English configuration targets people, organizations, places, and a miscellaneous category. The shared boundary procedure can represent any of these tasks, with the annotations defining the kinds of phrases to recognize. The recognition benchmark domains and annotation inventories matter when interpreting the resulting scores.

#### Finding articles by their names

After the recognizer has produced a span, the search stage asks which articles might plausibly be named by it. TASTY uses an index of 4.5M English Wikipedia abstracts and 1.6M German Wikipedia abstracts assembled from DBpedia. The entries are searchable through titles and alternative forms drawn from redirects and link anchor phrases. Anchor text is the visible phrase someone used when linking to an article. A redirect gives another title that leads to an entry. Both can make an article retrievable when the spelling in the draft differs from the title that the reader ultimately sees.

The paper describes the candidate set as articles whose indexed names approximately match the mention span. That relationship can be written as follows.

```
Cₘ = {c ∣ c.title ≈ m.span}
```

Here `m` is the detected mention, and the subscript on `Cₘ` indicates that the candidate set belongs to that mention. A `c` is a candidate Wikipedia article. The expression `c.title` refers to its searchable name, with alternative names available through the index, and `m.span` is the phrase covered by the mention. The braces describe a set, the bar introduces the condition for inclusion, and `≈` represents the approximate match implemented through search.

The queries are phrase queries, scored for retrieval with BM25 using Lucene. Here BM25 is a text search measure that helps return entries relevant to the phrase query. Candidate discovery is intended to have broad coverage for ambiguous terms. The paper gives *scale* and *child* as examples for which there may be many plausible articles. The point of gathering alternatives is to make them available to the next stage, where the surrounding text can inform a choice. The candidate search stage gives priority to the relationship between the phrase and the indexed names.

When the query returns no articles, TASTY produces `NIL`, the system’s indication that it has no link for that mention. This can happen even when a span was recognized successfully. The distinction is especially important for a recognizer designed to mark unfamiliar forms. Finding a plausible new biomedical term answers a boundary question. Whether that term has a retrievable Wikipedia article is a question about the inventory and the names under which its entries are indexed.

There is a dependency between this step and disambiguation. The later score can favor an article only if retrieval has made it a candidate. A good span can yield an inadequate list if its wording differs from all the indexed forms of the intended title. Conversely, a broad list can include several sensible matches even though only one fits the draft. The design assigns these cases to different stages so that retrieval can collect alternatives and semantic ranking can decide among them.

#### Choosing an article by comparing context

The disambiguator compares text around the mention with text from each candidate article. An author who mentions a *scale* in one setting may be referring to a different object or concept from an author using the same written form elsewhere. The surrounding words supply evidence whose value is mostly absent from the title match. TASTY uses a comparison in embedding space to give that evidence a role in choosing the article.

The selection is expressed as a maximization over the retrieved candidates.

```
ĉ = arg max over c ∈ Cₘ score(c | m, d)
```

Here `ĉ` is the article chosen for the mention, and `c` ranges over its candidate articles. The symbol `∈` indicates membership in `Cₘ`, the set found in the previous stage. The function `score` assigns a value to `c` given the mention `m` and the current document `d`, with the vertical bar separating the candidate from that conditioning information. The `arg max` returns the candidate with the greatest score. Each chosen article can then be associated with its particular mention in the document.

To compute the score, the system summarizes a piece of text by averaging its token vectors. The signature uses the same formula for the context attached to a mention and for the candidate article text. In the expression below, `d` denotes whichever text is being summarized.

```
s(d) = (1/n) Σ over wₜ ∈ d v(wₜ)
```

The function `s` returns the semantic signature of the text `d`. The symbol `wₜ` denotes the token at position `t`, and `v(wₜ)` denotes the vector for that token. The membership sign specifies that the summation takes the tokens in `d`. The capital sigma `Σ` denotes addition of those vectors, and `1/n` divides the sum by the number of tokens `n` to obtain their arithmetic mean.

A mean puts each piece of text into a single vector of the same dimension as the token vectors. This is useful because the mention context and the article text can have different lengths. It also determines which information survives the operation. The terms present in each text affect its signature, while their ordering makes no difference to the mean once the token vectors are fixed. The recognizer can use sequence order to locate a phrase even though the disambiguator compares averaged representations when it chooses an article.

TASTY then scores the pair by cosine similarity.

```
score(c | m, d) = (s(m.d) · s(c.d)) / (‖s(m.d)‖ ‖s(c.d)‖)
```

On the left, `score` again measures how well candidate `c` fits mention `m` in document `d`. The expression `m.d` denotes the mention’s textual context, and `c.d` denotes the candidate article text. The function `s` produces the signature for each. The centered dot `·` is their vector dot product. Each pair of double bars `‖ ‖` gives the length of the enclosed vector, and the two lengths are multiplied in the denominator. Dividing the dot product by this product compares the directions of the signatures.

The highest-scoring candidate is the automatic choice. When a different candidate better expresses what the writer meant, the author can choose it from the editor’s list. That choice shows another use for keeping candidate retrieval and ranking distinct. A candidate can be good enough to retrieve and still rank below an unsuitable entry. The interface lets the author reach that candidate without first redrawing a correct span or issuing a new query.

#### Turning suggestions into editable annotations

The paper counts seven feedback operators in the editor. They cover writing new text, rephrasing existing text, adding a tag, removing a tag, changing its boundaries, choosing a different link, and exploring the associated material. A writer can use the ordinary writing actions without explicitly starting an annotation pass. The editor detects the change, forms a partial update, and lets the revised wording inform its decisions.

The other actions give the writer more direct control over a specific result. Adding a tag tells the system to accept the selected phrase as a mention. This bypasses the original recognition decision for that phrase and gives search and ranking a chance to find an article. Removing a tag corrects a false positive from the writer’s perspective. Adjusting its boundaries repairs an annotation that points to the wrong amount of text, with the link updated as needed. Choosing from the candidate list changes the destination while retaining the span.

The clinical write-up illustrates why these kinds of correction have separate controls. A phrase referring to surgery is linked to material about cholecystectomy, which the writer can consult beside the note. The writer can select a more precise destination for *abdominal pain* after describing where the pain occurs. The tag around *Mrs E* can be removed if it has no value for the task. The writer can also select and tag *NRS-11 pain scale* if automatic recognition missed it. Each action specifies a different piece of information the system got wrong or lacked. The behavior follows the structure of the pipeline, from the span to the candidate list to the displayed article.

The authors say that corrections take effect in the local session and are fed back as training data. An immediate correction can therefore change what the writer sees, such as which phrase is tagged or which article appears. The paper also describes those corrections as examples that can be used in learning. These are distinct effects. The revised display is part of the interaction, while the data collected from a correction concern improving a component with additional supervision.

### Experiments and results

#### What the offline tests measure

The authors evaluate recognition and disambiguation offline using the GERBIL framework. Recognition is tested on the designated test splits of CoNLL2003, TIGER, and GENIA. The disambiguation experiment uses the English DBpedia Spotlight NIF NER Corpus. These experiments compare outputs against existing annotations. They give the evaluated systems a common target within each dataset while preserving the differences in what each dataset marks. This distinction is important when comparing results across [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/).

The table reports micro-averaged precision, recall, and NER-style F1 under exact span matching. Precision asks how much of the output matches the annotation. Recall asks how much of the annotation the system recovers. F1 balances the two. Micro-averaging pools the underlying decisions across the evaluated material, so the reported figure reflects the accumulated counts of matching predictions, extra predictions, and missed annotations. Under exact matching, the predicted span must agree with the annotated boundaries. A prediction that captures only part of an annotated medical expression can therefore miss the reference match even if a reader recognizes what the system was trying to mark.

For recognition, the relevant annotation can be a named entity, a proper noun, or a medical term, depending on the dataset. The disambiguation corpus instead identifies Wikipedia entries. In that setting, choosing the right destination matters alongside the span that is linked. The precision and recall values for linking describe the evaluated output under that annotation, rather than just the ability to notice that a phrase refers to something.

The comparison includes Stanford NER, LingPipe, Babelfy, and DBpedia Spotlight. Stanford NER and LingPipe are described as trained chunking systems, and the paper identifies the language or domain configurations it uses. The other two systems perform entity linking. Which comparisons are available varies by dataset. A blank result for a system in the paper’s table gives no numerical basis for comparing it with TASTY on that task.

#### English newswire recognition

The English recognition test uses Reuters RCV-1 newswire from the CoNLL2003 dataset. Its annotation target is named entities. The test follows the benchmark described in the [CoNLL-2003 shared task introduction](https://md.research.elamur.ai/free/en/papers/sang-2003-introduction-conll-2003-shared-task/).

CoNLL2003 English newswire recognition by micro-averaged exact-span F1 TASTY has the highest recognition F1 among the compared systems.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Babelfy | 51.8 |
| LingPipe | 58.2 |
| DBpedia Spotlight | 62.4 |
| Stanford NER | 83.5 |
| TASTY (this paper) | 91.1 |

TASTY’s precision on CoNLL2003 is 90.3 and its recall is 92.0. Stanford NER records the highest precision in this comparison, 96.4, with recall of 73.6. Its own output is therefore more frequently an exact match, while it recovers fewer of the spans identified by the benchmark. TASTY’s higher recall accompanies the higher F1. The distinction between those measures helps explain what the ranking by F1 means in practice. A writer who wants suggestions for overlooked references may value coverage, while mistakes among the proposed tags still matter because those tags can distract or send the writer to irrelevant material.

The other precision and recall pairs make the recognition comparison more specific. LingPipe has precision of 69.0 and recall of 50.3. DBpedia Spotlight has precision of 66.6 and recall of 58.6. Babelfy has precision of 44.2 and recall of 62.7. The two linking systems are being scored here for the boundaries in their outputs. That is a different test from scoring the destinations they attach to those boundaries. The complete English newswire comparison shows how those outputs line up with a named-entity benchmark, even though different systems use their recognized mentions for different downstream purposes.

#### German newswire recognition

The German result comes from the TIGER Treebank test split, with newswire from *Frankfurter Rundschau*. The annotated target used in the paper is proper nouns. TASTY reports precision of 82.7, recall of 83.9, and F1 of 83.3. The reported Stanford NER comparison has precision of 68.9, recall of 31.7, and F1 of 43.4. TASTY leads that comparison on both precision and recall. The table gives no German recognition score for the remaining baselines.

The German experiment extends the evidence for the architecture beyond the English newswire test. It uses a configuration trained for a different language and annotation target. The authors emphasize that they achieved these recognition results without changing hyper-parameters. The German configuration supplies evidence that the same architectural settings can be used with another training target. Its score belongs to proper-noun recognition on TIGER, and it should be interpreted in terms of that task.

#### Biomedical term recognition

The biomedical test uses the GENIA test split, drawn from Medline abstracts. The annotation concerns medical terms. This changes both the writing domain and the kinds of spans the recognizer is expected to recover. Ordinary newswire performance by itself gives no measurement of how closely a recognizer will match those specialized boundaries.

GENIA biomedical term recognition by micro-averaged exact-span F1 The specialist LingPipe configuration leads on GENIA, with TASTY ahead of Stanford NER.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Stanford NER | 12.3 |
| TASTY (this paper) | 78.5 |
| LingPipe | 92.8 |

On GENIA, TASTY has precision of 77.5 and recall of 79.5. LingPipe reaches precision of 91.8 and recall of 93.8, and Stanford NER has precision of 31.7 and recall of 7.6. LingPipe uses a GENIA-specific chunker in this comparison. Its lead includes both a higher proportion of correct predictions and better coverage of annotated terms. TASTY’s result shows the shared architecture functioning on specialist text, while the stronger LingPipe result gives a concrete measure of how far that configuration is from the best result in this comparison.

The test setting also clarifies the scope of the medical demonstration. GENIA supplies annotations on biomedical abstracts. The illustrated editing task is a clinician’s history and examination write-up. Finding medical terms in the former supports the choice of a dedicated biomedical recognizer for the latter. The measured test result is a score on abstracts, with the demonstration showing how the editor responds to clinical writing.

#### English Wikipedia disambiguation

The disambiguation experiment uses the DBpedia Spotlight corpus of English Wikipedia material. Here the annotations identify Wikipedia entries. The comparison is among systems with reported linking output on this corpus.

English DBpedia Spotlight corpus disambiguation by micro-averaged F1 TASTY scores between DBpedia Spotlight and Babelfy on the English disambiguation benchmark.

**The numbers**

| System or setting | F1 % |
| --- | --- |
| Babelfy | 51.6 |
| TASTY (this paper) | 65.4 |
| DBpedia Spotlight | 70.7 |

TASTY obtains precision of 66.1 and recall of 64.9. DBpedia Spotlight obtains precision of 82.0 and recall of 62.1. Babelfy obtains precision of 57.7 and recall of 46.7. In this comparison, DBpedia Spotlight’s higher F1 accompanies substantially stronger precision, while TASTY has the highest recall among the reported systems. This provides context for the authors’ description of TASTY’s performance as comparable to that of comprehensive annotators. The score is competitive within this comparison, with a clear precision advantage for DBpedia Spotlight.

The disambiguation result also sets a different evidentiary boundary from the recognition results. The system has measured recognition performance on German newswire and English biomedical text. The reported article-choice comparison concerns English Wikipedia material. A recognizer that can identify specialist terms gives the search stage a useful input, but the intended Wikipedia entry must still be found and selected. The English linking benchmark supplies evidence about that later part of the pipeline for one corpus.

#### What professionals did with the editor

The authors separately showed TASTY to 21 experienced professionals. This part of the paper describes applications and exploratory tasks that arose in the demonstration. Users looked up facts and definitions, consulted related articles, compared draft content with existing material, and considered how inline links might fit existing tagging practices. These activities help explain the choice to place articles beside the draft. The writer can decide whether to follow up on a suggestion in the context where the need arose.

The paper maps possible uses across different types of work. In a research report, a tag could identify a topic to investigate or provide a route to a source. In news editing, annotations could help identify topics and bring up related vocabulary. A clinician might need to look up a term or find background relevant to a history. A support writer could want a related ticket or a manual. In a shopping scenario, a product mentioned in the text could lead to details, reviews, or comparisons. These examples involve different collections and different meanings of relevance even though each starts with a phrase in a draft.

The professional demonstration and the corpus experiments answer different questions. The benchmark measures agreement with reference annotations. The demonstration gives examples of what writers want to do once they see a tag and its associated material. Looking up a definition can be valuable even when there is no subsequent link correction. Choosing a more specific article can also be useful even when the initial choice was plausible. The demonstration describes such interactions qualitatively, with quantitative results coming from the offline tasks.

### What the ablations show

The paper reports no formal ablation that removes an input feature or interactive component while holding the rest fixed. It offers comparisons across recognizers, corpora, and linking systems, along with examples that illustrate the behavior the authors designed TASTY to support.

#### Shared settings across recognition tasks

The comparison across English newswire, German newswire, and biomedical abstracts establishes that the recognition procedure can be trained for different targets while retaining its hyper-parameter settings. The targets span different languages and annotation schemes. A common label alphabet still gives the system a way to express the boundaries in each setting. This supports the authors’ claim about the flexibility of the recognition architecture.

The comparisons change multiple conditions together. The language, corpus, labeled phrases, and trained recognizer can all vary. A score from TIGER and a score from GENIA therefore describe different tasks, even though both are reported as exact-span F1. The evidence concerns the feasibility of carrying the design to different training material. To estimate what the bidirectional processing, letter patterns, or casing contribute, the necessary comparison would be within a dataset under the same training and evaluation setup. The paper supplies the complete-system results for those tasks.

#### Recall, exact boundaries, and specialization

Precision and recall help explain the English newswire result against Stanford NER. Stanford NER is more precise on that corpus, while TASTY recovers more of the annotated spans and has higher F1. On German newswire, TASTY improves on both reported measures against the available Stanford baseline. The patterns give a more informative comparison than a claim that one recognizer simply performs better everywhere. A configuration can miss many spans while making few errors among the spans it does emit. Another can cover more of the annotation while producing more predictions that need review. The editor gives the author a way to correct omissions and extras, the interaction counterparts of those two error types.

The GENIA comparison supplies a separate test of specialization. LingPipe’s GENIA configuration leads TASTY on both precision and recall. The authors attribute that advantage to how closely the specialist system is fitted to GENIA’s terminology and contrast it with TASTY’s use of context and recurring letter groups. That explanation is an interpretation of the observed comparison. The table measures the systems on GENIA and contains no matched test of their relative performance when the same terminology is misspelled or when writers move to a different biomedical collection.

The paper illustrates the latter question with unfamiliar-looking cell and treatment terms, *XYDKF34* and *srscklartamin*. The example makes the intended role of the features easier to see. Even if a whole token is unfamiliar, its spelling can provide partial cues, and the nearby words can suggest that it belongs to a mention. This is a plausible route to recognizing a span in an unfamiliar case. The paper does not report a separate score for these examples or attribute their handling to a single feature. Context, spelling, and surface form reach the recognizer together.

#### Retrieval and ranking errors remain mixed in the scores

The English linking comparison shows that TASTY has higher recall and lower precision than DBpedia Spotlight on the reported corpus. The result describes the outputs of the evaluated systems. It does not tell how many of TASTY’s errors started at each stage. One prediction might have the wrong span, another might lack the intended article in its candidate list, and another might retrieve that article but assign a higher score to a competing entry. All can interfere with agreement against the reference links.

The structure of TASTY makes that distinction easy to reason about even though the evaluation does not quantify it. The editor exposes a recognition error when the user must add, remove, or resize a tag. It exposes a ranking error when the intended destination is already present in the list and the writer selects it. An intended article absent from the candidate list is a different kind of failure, since changing ranks among the displayed entries cannot recover it. The reported benchmark does not count those correction types separately or measure the fraction of reference articles present in the retrieved lists before ranking.

The presentation also offers a qualitative comparison between automatic decisions and what a writer may prefer. The demonstration author can remove the patient tag and assign a more precise destination to the pain phrase. The removal concerns whether a tag helps the writing task. The changed destination concerns which interpretation best serves the author’s intended meaning. Neither action necessarily maps to the scoring rules of a general benchmark. The examples explain why the editor permits corrections at different stages. They provide no controlled estimate of the improvement those controls produce across a session.

### Limitations

#### Limits the authors state or identify in their discussion

The authors acknowledge that TASTY does not achieve the strongest biomedical recognition result in their comparison. They explain their design in terms of generalization and contrast it with the specialist LingPipe configuration. The reported GENIA scores establish the specialist’s advantage within that test. The examples of unfamiliar words show the kind of behavior the authors want from TASTY, while the quantitative evidence concerns the ordinary benchmark split. The comparative advantage of TASTY under spelling errors or unfamiliar terminology remains open.

The paper’s span representation places an explicit restriction on recognition. Mentions are continuous, non-overlapping, and non-recursive. This is appropriate for displaying a single tag over a phrase such as *epigastric region*. It also means that a pair of independently meaningful references cannot both be represented by the automatic span scheme when one would have to sit inside the other or when they overlap. The restriction matters wherever the annotation policy assigns meaning at different levels of the same stretch of text.

The authors also identify capabilities they intend to extend, especially cross-document [coreference resolution](https://md.research.elamur.ai/free/en/concepts/coreference-resolution/) and specialized retrieval across additional collections. Cross-document coreference concerns recognizing references to the same entity in separate documents. That capability would matter for the archive comparisons and other investigative tasks discussed in the paper. The implemented linking search described in the method uses Wikipedia abstracts and alternative names. The proposed uses of prior correspondence, support archives, or expert sources illustrate the direction of the work and the kinds of material that a broader retrieval component would need to handle.

#### Limits of the experimental setup

The offline tests evaluate snapshots of text under benchmark conditions. They do not time the response to keystrokes, measure how many automatic changes occur during ordinary drafting, or show whether authors finish their work faster. A fast update matters to the proposed interaction, and limiting recognition to the affected area is a design choice that addresses it. The paper does not report a latency distribution or compare partial processing against full-document analysis. Exact-span F1 gives no basis for estimating how long a suggestion takes to arrive or how stable it remains as the author continues typing.

The qualitative presentation to professionals has a similarly specific scope. It records tasks people found interesting or applicable. The paper offers no controlled comparison against an ordinary editor, a conventional search interface, or a batch annotator. It does not quantify lookup time, correction effort, or changes in the quality of what the professionals wrote. The cases point to possible sources of value and to the information needs users want the editor to support. They leave open how frequently those benefits would occur during continued use.

The corpus coverage also constrains the claims. Recognition is measured in English newswire, German newswire, and English biomedical abstracts. The article-linking comparison is English and uses Wikipedia material. The paper does not provide corresponding German or biomedical linking scores. In particular, an English result on Wikipedia cannot answer how well the system links phrases in a patient history or whether retrieved encyclopedia material is appropriate for a clinician’s particular purpose. The medical scenario illustrates exploration while writing. It supplies no evidence about effects on clinical decisions.

The candidate stage creates a second limit on interpreting the link results. The paper specifies `NIL` when a search returns an empty list and gives a highest-score rule for a nonempty list. It does not describe a rejection rule for a list in which every result is inappropriate. An out-of-inventory entity can still share a name with an unrelated article. In that case, nonempty retrieval alone gives the ranking stage a candidate to choose, even though a suitable destination may be unavailable. The benchmarks reported here do not separately measure correct abstention or errors caused by missing destinations.

The semantic signature discards word order when it averages token vectors. This makes it straightforward to compare a mention’s context with a candidate abstract. It also limits how the disambiguator can distinguish pieces of text made from similar words arranged to express different relations. The sequence-sensitive features operate in the boundary detector. Their ability to use adjacent words in order does not carry over into the mean-vector scoring formula for articles. The paper’s aggregate comparison gives no separate measure of linking errors attributable to this representation.

Finally, the paper describes corrections as immediate in the session and as a source of training data, with limited detail about how that data yields subsequent improvements. It does not specify a measured retraining schedule, evaluate how predictions change after feedback, or show how a user’s corrections are preserved when later edits trigger reanalysis. A writer can use a correction to obtain a different visible tag or article. The long-term benefit of collecting those corrections is a distinct claim that would require evidence from later predictions.

### What came after

There are no documented later studies to trace here. The paper ends by outlining where the authors wanted to take TASTY after the demonstration. Those plans grow out of a distinction between looking up a term in the draft and conducting a broader investigation prompted by that term. Wikipedia can already provide complementary material for a lookup. Comparing a draft with an archive, finding an expert, or evaluating the wording against a preferred vocabulary requires retrieval from sources chosen for the task.

The authors name cross-document coreference as one direction. If an editor is to connect a mention to material in several records, it matters whether different expressions in those records actually refer to the same entity. That goes beyond finding the right boundaries in the current draft. It also changes the value of disambiguation. A good association would help the author move between relevant documents as well as read the immediate article beside the text.

Specialized retrieval is the other direction the authors name. Support tickets, research materials, and user reviews offer different kinds of evidence. A related ticket may be valuable because it records a previous solution. A review may be valuable because it comments on a feature the current writer is considering. Phrase recognition can give either search a starting point, but the collection and its ranking criteria would determine which material reaches the writer. The professional reactions in the paper motivate these extensions. Their implementation and evaluation remain future work in the authors’ account.

## Cite

Cite as Sebastian Arnold, Robert Dziuba and Alexander Löser. 2016. TASTY: Interactive Entity Linking As-You-Type. Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{arnold2016tasty,
  title = {{TASTY: Interactive Entity Linking As-You-Type}},
  author = {Sebastian Arnold, Robert Dziuba and Alexander Löser},
  booktitle = {Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations},
  year = {2016},
  url = {https://aclanthology.org/C16-2024/}
}
```

> 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)
