A Unified Generative Framework for Various NER Subtasks
Paper · 2021 · Hang Yan, Tao Gui, Junqi Dai et al.
Summary
The words that make up a named entity do not always form a single, neatly bounded phrase. In the paper’s examples, “Lincoln” can be a person mention inside the name of a memorial, and “muscle” can belong to both “muscle pain” and “muscle fatigue” even though the words in the latter mention are separated in the sentence. Ordinary flat recognition deals with separate, uninterrupted mentions. Allowing overlaps gives rise to nested recognition, and allowing gaps within a mention gives rise to discontinuous recognition. Earlier systems generally adapted their tagging rules, candidate spans, or decoding procedures to the particular structures they needed to find. The paper asks whether a single procedure can handle all three forms of named entity recognition.
The authors turn each sentence’s annotations into an answer sequence. The decoder emits pointers to positions in the sentence, followed by a category that closes each mention. An entity can be described by the boundaries of its pieces, by the positions of all its sub-word tokens, or by the first sub-word position of each of its words. These formats are called Span, BPE, and Word. Because each mention receives its own description, neighboring descriptions can refer back to the same input positions. The format can express crossing mentions and can assign several categories to the same text. The authors build their recognizer on BART.
Across eight English benchmarks, the framework produces results at or near the strongest comparisons in the paper. Word gives the highest score among the authors’ formats on every benchmark except Genia, where Span leads. On the discontinuous mentions alone, Word reaches test F1 of 55.0 on ShARe13 and 52.7 on ShARe14. The corresponding scores for the transition-based comparison are 52.5 and 49.2. In both cases, the improvement comes with higher recall and lower precision.
The authors connect the differences among formats to the length of the answer and to how closely the selected pieces resemble the consecutive sub-words BART learned to reconstruct. The recognition results support the use of a shared prediction procedure, while the comparisons among formats show that there is still a consequential choice about how that procedure should describe an entity. Outputs are generated without structural constraints, and the reported rates for individual invalid-output categories are largely below 1%. The paper makes the implementation available under the name BARTNER.
Deep dive: A Unified Generative Framework for Various NER Subtasks
See how BART uses pointers to find flat, nested, and discontinuous named entities, and how the choice of output format affects recognition. · about 40 minutes to read
The problem and its context
What an entity annotation asks the system to recover
A sentence can contain several things worth identifying, and the text that identifies them may be organized in different ways. The simplest case in the paper has a person mention and a location mention. Each occupies a continuous stretch, and the two stretches are separate. Call such a stretch a span. To recover the annotation, a recognizer has to decide where each span begins, where it ends, and which category applies to it. It also has to leave the surrounding words outside those mentions.
The nested case gives the boundaries another role. In the paper’s memorial example, an annotation for the location includes words that also participate in an annotation for the person. A recognizer should be able to return both. If it keeps only the longest place name, it loses the person. If it keeps only the shorter person name, it loses the place. The two desired answers differ in both extent and type, and the fact that one occupies part of the other is part of the annotation.
A discontinuous annotation introduces a further distinction. For “muscle pain” and “muscle fatigue,” the text can share the word “muscle” between two disorder mentions, with material intervening before “fatigue.” The first and last words of the latter mention indicate its outer extent, but the complete interval includes words that belong outside it. Recovering the annotation therefore involves identifying the pieces and specifying that those pieces belong to the same mention. An answer that closes the mention around just “fatigue” misses a piece. An answer that includes everything between “muscle” and “fatigue” includes extra material.
These are differences in what the output must represent. A system can recognize the kinds of phrases that tend to name people or disorders and still have an output format that cannot state the annotated answer. Conversely, an output format that can express all those structures still leaves the system with the job of deciding which structures the sentence warrants. The paper tackles the formatting problem directly, then tests recognition on benchmarks where each kind of structure matters.
The paper traces the prominence of flat recognition to the CoNLL-2003 shared task. It describes molecular biology text as a setting where nested mentions had been documented, and medical forum posts about adverse drug events as a setting with discontinuous annotations. These examples explain why an output scheme that works well for one benchmark can become awkward on another even when both tasks are called entity recognition.
What earlier systems had to specify
A common approach to flat recognition assigns a tag to every token. A tag can combine an entity category with information about the token’s position within the mention. In the paper’s flat example, the first word of a person’s name is marked as a beginning and the following word as continuing the person mention. Words outside mentions receive an outside tag. The tag sequence then determines the spans. The paper names BIO and BILOU as schemes of this kind and describes systems that use conditional random fields or generate tag sequences to produce their answers. It discusses the choice of tagging rules in connection with Design Challenges and Misconceptions in Named Entity Recognition.
This design makes the sentence itself an organizing device. Every token has a slot in the answer, and a succession of tags can encode the boundaries between neighboring mentions. The same convenience becomes a source of complexity when a token participates in several mentions. A beginning tag or an inside tag summarizes a token’s status with respect to a particular mention. With overlapping categories, a scheme has to preserve both assignments. With gaps, it also needs a way to connect separated pieces to each other. The paper describes earlier approaches that use more elaborate tags or multiple levels to deal with such cases. It also points to work on discontinuous constituent parsing as a possible route to a common tagging scheme, so the motivating problem is the difficulty of a shared design in practice.
The authors distinguish their work from earlier systems that also generate an answer in sequence. Some such systems generate the tags that would have been attached to the input tokens. The design of the tag inventory therefore still matters. A different predecessor described in the paper generates a mention’s start, length, and category. That work establishes a precedent for generating entity descriptions directly. The question here is how to make a generated description equally usable for overlapping mentions and for mentions assembled from separated pieces.
A second line of work starts with candidate spans. A classifier decides whether each candidate is an entity and, if so, which kind. The paper describes systems that use spans associated with nodes in a parse and systems that enumerate possible spans directly. Span classification allows two overlapping candidates to receive their own decisions. The cost is that the number of continuous intervals grows quadratically with sentence length. A maximum span length can reduce the candidates, but it also limits the candidates the system ever considers. Extending enumeration from intervals to combinations of separated pieces makes the candidate problem harder still.
Hypergraphs offer another way to represent many possible mentions compactly. The authors discuss two difficulties with the approach. A representation can admit spurious structures, and ambiguity can arise when the decoder tries to recover which set of mentions a structure encodes. The paper also describes hybrid systems that use token-level information to help identify boundaries and combine it with span classification. These systems can reduce the need to score every interval while retaining an explicit mechanism for evaluating spans.
The paper’s own choice is to put the structure in the sequence of answers. Rather than starting with a position for every input tag or a collection of complete span candidates, it makes source positions available one at a time as possible output symbols. The generated sequence specifies which positions belong together. The authors report that, to their knowledge, previous publications had yet to test a single framework on the flat, nested, and discontinuous subtasks. Their empirical question is whether this common output mechanism can match systems built around the requirements of individual benchmarks.
The method, step by step
Describe each mention separately
Start with the entity the recognizer needs to return. For a continuous mention, the recognizer can identify the start and end of its interval and then name its type. For a discontinuous mention, it can give the boundaries of each interval before naming the type. The type does two jobs. It classifies the mention, and it tells the reader of the sequence that the positions accumulated so far belong to a complete mention. The next position can begin the description of a different one.
Consider the shared word in “muscle pain” and “muscle fatigue.” Once the disorder tag closes the description for “muscle pain,” the decoder can point back to “muscle” to begin the other description. The latter can specify its pieces separately and then emit the disorder tag. The same reuse of positions works for the nested memorial example. A pointer used for the place name remains available when the person name is described. The answer sequence records which positions were selected for each mention, and a tag supplies a boundary between consecutive descriptions.
The introductory example with the symbolic string ABCD makes the distinction between nesting and crossing concrete. ABC and BCD overlap, but each extends beyond the other on one side. Both can receive their own descriptions because there is no requirement that one mention’s pointers occupy an exclusive part of the sentence. For a mention with multiple types, the positions can likewise be emitted again with a different tag. These examples establish what the format can express. The experiments assess how well the recognizer learns to produce the annotations it sees in the benchmark tasks.
The sequence-to-sequence architecture provides the machinery for turning a sentence into those descriptions. An encoder reads the input and produces a vector for each position. A decoder uses these vectors and the part of the answer already emitted to choose the next output. At each step it can select a position in the sentence or a tag. Selecting a position yields a pointer to that occurrence of a token. If the same token appears in more than one place, its occurrences remain distinct choices. The paper builds on earlier work in sequence-to-sequence learning.
From an input sentence to typed entity mentions
The steps in order.
Put the answer in source coordinates
The underlying formulation indexes the input positions and assigns the tags a separate range after them. Here is the notation for the sentence.
X = [x₁, x₂, …, xₙ]
The symbol X denotes the input sequence, x₁ through xₙ are its individual tokens in order, and n is its length. Square brackets enclose an ordered list, and the ellipsis stands for intervening tokens. In the BART implementation the pointer positions refer to sub-words, so n here counts the positions on which the encoder and pointer operate.
G = [g₁, …, gₗ]
Here G is the ordered inventory of entity tag tokens. Each g with a subscript denotes the tag token at that position in the inventory, and l is the number of available entity tags. A tag token may represent a category such as Person or Location. Its position in this inventory is distinct from the integer the decoder emits for it.
For the boundary-based description, the segment of the target that belongs to a single entity takes this form.
[sᵢ₁, eᵢ₁, …, sᵢⱼ, eᵢⱼ, tᵢ]
The subscript i identifies the entity, and j is its final span number. Each s gives a span’s start position and each e gives its end position, with the second subscript identifying the span within the entity. The ellipsis represents any intervening start–end pairs. The last element, tᵢ, is the output index for the entity’s type. All the start and end positions are in [1, n], the inclusive range of sentence positions. The type index is in (n, n + l], which excludes n and includes the upper endpoint. Moving the type indexes above n makes it possible to tell a tag and a pointer apart as soon as either appears.
Call the sequence formed by concatenating the entity descriptions Y. The ordering rule described by the authors follows the entities’ appearance in the sentence. The answer thus presents an ordered serialization of annotations that ultimately describe a set of mentions. The decoder starts from a start-of-sentence control token and can emit an end-of-sentence control token. A sentence without entities has no pointer or entity tag between these markers.
An important distinction is that the numbers in an answer refer to positions in that particular sentence. The same category can have a different emitted integer when n changes, while still mapping back to the same tag token. Similarly, a source index keeps its numerical meaning as a position even though the word at that position changes across sentences. This is why the authors use a pointer mechanism, with a choice set derived from the current input, and why they need a way to convert the decoder’s earlier choices into tokens it can read.
Choose what a pointer list should contain
BART operates on tokens produced by byte-pair encoding, abbreviated BPE in the paper. Under this kind of segmentation, a word can occupy several consecutive positions. Dataset annotations identify words and spans, so a BART-based recognizer needs a convention for turning those annotations into positions in the segmented sentence. The authors compare three conventions for subword tokenization.
Span uses the first BPE position of the starting word and the final BPE position of the ending word. It repeats that boundary pair for each piece of a discontinuous entity. A long continuous expression can therefore have a short target description. Its interior positions are recovered from the boundaries. For a word split into several sub-words, the final boundary still reaches the end of that word. A mention consisting of one continuous interval uses the same boundary-pair format regardless of how many words the interval covers.
BPE lists the position of every sub-word that belongs to the mention. A word split into several BPE tokens contributes several pointers. If the entity covers a continuous phrase, the listed positions cover all its sub-words consecutively. When it has a gap, the list jumps over the positions outside the mention. The price of explicitly listing its contents is that the decoder has more positions to generate for heavily segmented words or long phrases.
Word lists the first BPE position of every word that belongs to the mention. Each pointer identifies a whole word by its starting position. When a word occupies several BPE positions, the remaining positions are understood from the word’s segmentation and need no separate pointer. A span with more words requires more pointers in this format, while a word with more sub-word pieces continues to require only its starting position. As with BPE, the positions omitted between selected words allow gaps in an entity to be recovered.
All three forms end with the entity tag. They differ in what the decoder must predict before reaching it. Span makes the decoder supply endpoints and leaves the intervening material implicit. BPE makes it supply the complete inventory of selected sub-words. Word makes it select each member word while giving a consistent address for words that occupy more than one position. For a sentence containing overlap, each list is still understood locally, within the mention that its tag closes.
The paper illustrates the alignment with symbolic words split into differing numbers of sub-words and with several entity annotations over those words. The relevant question for decoding is how to get from a selected sub-word position back to the intended word or interval. For the Span representation, a start and end establish the extent. For Word, every selected position is supposed to be a word start. For BPE, the full list specifies the included positions. A format can therefore describe a valid annotation unambiguously while still allowing the decoder to emit a list that violates its conventions.
Predict a sequence one choice at a time
The probability of an answer is factored over the decisions the decoder makes as it builds the sequence.
P(Y | X) = ∏ₜ₌₁ᵐ P(yₜ | X, Y₍<ₜ₎)
Here P denotes probability, and the vertical bar means “conditioned on.” Y is the target sequence for input X, m is the number of target steps in the product, t is a step index, and yₜ is the output at that step. Y₍<ₜ₎ denotes the preceding target indexes. The product ∏ multiplies the probabilities of the successive choices, starting at 1 and ending at m. The start control token, denoted y₀ by the authors, establishes the initial decoding context.
This factorization lets later decisions depend on earlier ones. Within a mention, the decision to emit a tag can depend on the positions selected so far. Across mentions, an earlier prediction is part of the context for predictions that follow it. That dependence is present even when two mentions are entirely separate in the input. The ordering of annotations is consequently part of how the recognizer sees the training task, even though the evaluation asks it to recover mentions.
The authors use BART because it already pairs an encoder with a decoder. Its pretraining task presents corrupted text to the encoder and asks the decoder to reconstruct the original. The authors cite stronger performance than MASS as a reason for preferring BART. They also explain that the tokenization used in T5 can produce different segmentations for the same token, complicating the construction of a pointer target. The choice of BART is motivated by these considerations. The named-entity experiments themselves use BART as the pretrained starting point.
Both sides of BART have layers of the architecture described in Attention Is All You Need, which the paper uses as its reference for the Transformer.
Encode the sentence and read back the selected tokens
The encoder maps the sentence to contextual vectors.
Hᵉ = Encoder(X)
Encoder is BART’s source-side network, X is the input, and Hᵉ is the matrix of encoder states, with e marking the encoder side. Its shape is n × d, where n is the number of input positions and d is the hidden dimension. Each row represents a position in its sentence context. Positions with identical input tokens can therefore have different contextual representations.
The decoder is designed to read tokens. Its earlier predictions consist of indexes, so the authors translate them back to source tokens or tag tokens before using them as the answer prefix.
ŷₜ = X[yₜ] if yₜ ≤ n
ŷₜ = G[yₜ − n] if yₜ > n
yₜ is an emitted index and ŷₜ is the token it denotes. X[yₜ] selects the source token at that position when the index falls within the sentence. G[yₜ − n] selects a tag token from G when the index exceeds the sentence length. Subtracting n undoes the offset used to keep the two ranges distinct. The inequalities describe the two cases for entity output indexes. The start and end markers are BART control tokens.
The conversion serves a different purpose from the final conversion into entity spans. Inside the decoder, it lets the existing token embedding machinery read the selected source token or tag as part of the answer prefix. For the final answer, the system retains the actual source positions that were selected. If the same surface word occurs more than once, mapping a pointer back to the word for decoder input leaves the original position available for recovering the annotation.
hₜᵈ = Decoder(Hᵉ; Ŷ₍<ₜ₎)
Decoder is the target-side network. It uses the encoder states Hᵉ and the converted prefix Ŷ₍<ₜ₎, meaning all the earlier target choices after the indexes have been mapped to tokens. The semicolon separates the decoder’s two inputs in this notation. The superscript d marks the decoder side, and hₜᵈ is the d-dimensional hidden vector used to score the next choice at step t. In the dimension description, d refers to vector width.
Score pointers and tags together
The authors use both contextual information and the original token embeddings to construct the vectors against which the decoder state is scored. The starting embeddings are looked up as follows.
Eᵉ = TokenEmbed(X)
TokenEmbed is the embedding lookup shared by the encoder and decoder. X supplies the source tokens, and Eᵉ is an n × d matrix of their embeddings. It has a vector for each position, as Hᵉ does, but represents the tokens before their sentence context has been incorporated by the encoder.
Ĥᵉ = MLP(Hᵉ)
MLP is a multilayer perceptron applied to the contextual encoder states Hᵉ. Its output Ĥᵉ has the same n × d shape. The hat marks the projected version of the encoder matrix.
H̄ᵉ = α × Ĥᵉ + (1 − α) × Eᵉ
H̄ᵉ is the resulting matrix of position vectors. The scalar α is a hyper-parameter, meaning a setting supplied when configuring the system. It weights the projected contextual states Ĥᵉ, while 1 − α weights the token embedding matrix Eᵉ. The terms are added position by position and component by component. The experimental setting for α is 0.5.
Gᵈ = TokenEmbed(G)
G is the entity tag inventory and Gᵈ contains the corresponding tag embeddings, obtained from the same TokenEmbed lookup. Its shape is l × d, with one row per tag and d components per row. The decoder can thus compare its current state with source-position vectors and with tag vectors of the same width.
Pₜ = Softmax([H̄ᵉ ⊗ hₜᵈ ; Gᵈ ⊗ hₜᵈ])
Pₜ is the distribution used to choose the output at step t. The dot-product symbol ⊗ indicates that the decoder vector hₜᵈ is scored against each row of H̄ᵉ and each row of Gᵈ. The first operation yields one score per source position, and the second yields one score per entity tag. The bracket notation with ; concatenates these groups in that order, so the indexes agree with the pointer and tag ranges. Softmax turns the combined scores into probabilities over those choices.
There is no separate decision that first commits the decoder to pointing or to naming a tag. The scores compete in the same distribution. As a result, the decoder learns when it is appropriate to continue a mention with another position and when to close it with a type. This is also where the method saves the work of enumerating complete candidate mentions in advance. It scores individual positions at each prediction step, with the sequence of selected positions eventually defining the mention.
Train on annotated answers and recover the predictions
During preparation of the training targets, the dataset annotations supply the entity spans and categories. The chosen representation determines which source indexes are emitted for each mention, and the corresponding tag index follows them. The decoder learns from these target sequences by teacher forcing. At a prediction step during training, the prefix comes from the annotated answer. Negative log-likelihood penalizes the system when it gives a low probability to the annotated next choice. The BART parameters are updated during this fine-tuning.
At inference, the prefix comes from the recognizer’s own choices. An earlier selection can therefore change the context in which it decides the next position or category. For example, an early tag can close a mention after too few positions, and the subsequent decoder state will reflect that decision. The paper also tests beam search, where decoding can retain several candidate prefixes in place of following only the currently highest-scoring one.
The paper’s entity recovery algorithm scans the generated index sequence with a buffer. A position index is appended to the buffer. When a tag index appears, a nonempty buffer is paired with that tag and added to the output, then the buffer is cleared. A tag with an empty buffer adds no entity. If generation leaves a trailing collection of indexes without a tag, the algorithm never reaches the step that adds it as a mention. The recovered positions are interpreted according to the selected representation. For Span, that means reading boundary pairs. For Word, it means mapping starts back to their original words.
This last stage explains why generation and recovery are separate. The generator can assign scores to possible next indexes without a structural check at each step. The recovery stage interprets the completed answer, and the evaluation excludes the invalid predictions discussed later in the paper. The framework thereby keeps the same next-index prediction rule for each task while using the chosen format to interpret the output.
Experiments and results
What the benchmarks cover
The flat benchmarks are CoNLL2003 and OntoNotes. For CoNLL2003, the authors follow earlier work in joining the training and development sets for training and then reporting the result on the test set. For OntoNotes, they use the training, development, and test partitions followed in the earlier work they cite. They exclude the New Testaments portion because it contains no entity annotations of the kind used in the experiment. The two flat benchmarks thus share an output requirement, while the preparation of their training data follows their respective conventions.
The nested benchmarks are ACE2004, ACE2005, and Genia. For the two ACE datasets, training, development, and test are partitioned in the ratio 8:1:1. The Genia experiment uses five entity categories and a train, development, and test ratio of 8.1:0.9:1.0, following the earlier systems identified by the authors. Genia gives the study a biomedical setting where both nested mentions and sub-word segmentation matter. The ACE evaluation follows the splits used by earlier work on the Automatic Content Extraction program.
The discontinuous benchmarks are CADEC, ShARe13, and ShARe14. The authors follow the setup of Dai and colleagues in retaining the adverse drug event entities, since this is where the relevant data contain discontinuous annotations. An eligible entity in these benchmarks can still be continuous. The main benchmark scores therefore measure performance over a mix of structures, while a later comparison isolates the discontinuous mentions.
The recognition comparisons use BART-Large, with 12 layers in its encoder and 12 in its decoder. The authors fine-tune BART and add no other embeddings. The supplementary settings list 30 training epochs, a training batch size of 16, a warmup setting of 0.01, and learning-rate candidates [1e-5,2e-5,4e-5]. They use a slanted triangular learning-rate warmup. The hardware reported with these settings is an RTX-3090 with 24G of graphics memory. A separate efficiency experiment changes to the base versions of BART and BERT.
How to read the comparisons
The reported recognition metric is span-level F1. The tables give precision and recall where available. Precision asks how much of the predicted set agrees with the annotations, and recall asks how much of the annotated set the system recovers. F1 combines the two. The unit being evaluated is the entity mention, so the evaluation is concerned with its extent and category. For a discontinuous entity, the extent is made up of its selected pieces, including the distinction between words inside those pieces and words in the gaps.
Some rows are drawn from earlier reports, and the authors reproduce particular systems to make selected comparisons more consistent. For the span-level system from Li and colleagues, the marked numbers come from a rerun of their code. For Yu and colleagues, the reproduced results use sentence context only. The original system could use document context, and the authors flag that removing it can lower performance. Some nested rows also specifically select results with BERT-Large for comparison. These qualifications matter when reading small differences among the test scores.
Flat mentions
On CoNLL2003, Word obtains test F1 of 93.24, with precision 92.61 and recall 93.87. The BPE and Span formats reach 92.96 and 92.88 test F1, respectively. The span-level rerun from Li and colleagues scores 92.87, and the sentence-only reproduction from Yu and colleagues scores 92.5. Among the token-tagging comparisons, the table reports 93.18 for Akbik and colleagues and 93.07 for Straková and colleagues. The Word result places entity generation in the same performance range and above those listed comparisons on this test.
On OntoNotes, Word reaches 90.38 test F1, with precision 89.99 and recall 90.77. The results for BPE and Span are 89.76 and 89.63 test F1. Li and colleagues’ rerun yields 89.84, and the sentence-only Yu reproduction yields 89.83. The precision and recall columns distinguish how the systems reach those scores. Li and colleagues record precision 91.34 and recall 88.39 on OntoNotes. Word recovers more of the annotated test mentions while yielding lower precision. The F1 gain in that comparison reflects the balance between these changes.
The flat table includes LUKE, which uses entity information during pretraining. The authors set this result aside in their discussion of the flat comparisons because of that difference in pretraining. It illustrates that the table contains results reached under more than one setup. For this paper’s comparison of output representations, the clearest evidence comes from the Span, BPE, and Word rows, which all use the authors’ BART-Large framework. LUKE
OntoNotes flat recognition test F1 for span classifiers and BART pointer formats
Word is the highest-scoring format and leads the reproduced span classifiers.
The numbers
| System or setting | F1 |
|---|---|
| Li et al. rerun | 89.84 |
| Yu et al. sentence-only reproduction | 89.83 |
| BART Span | 89.63 |
| BART BPE | 89.76 |
| BART Word (this paper) | 90.38 |
The flat experiments test whether generating an entity list remains competitive where token tagging is already a natural fit. In particular, the decoder has to decide which mentions to include and when to stop without making an explicit outside-tag decision for every word. Its reported performance shows that this change in what gets predicted can preserve strong recognition of ordinary contiguous mentions.
Nested mentions
On ACE2004, Word reaches 86.84 test F1. Its precision is 87.27 and its recall is 86.41. The BPE version has precision 86.69, recall 83.83, and F1 85.24, while Span reaches F1 84.22. The comparison from Wang and colleagues scores 86.28, the rerun of Li and colleagues scores 85.80, and the sentence-only Yu reproduction scores 85.67. ACE2004 shows a material choice among target formats within the shared decoder. Its strongest result comes from Word, while the Span version lies below several earlier comparisons.
ACE2004 nested recognition test F1 for prior systems and BART pointer formats
Word leads the listed comparisons, while the other pointer formats score lower.
The numbers
| System or setting | F1 |
|---|---|
| Wang et al. with BERT-Large | 86.28 |
| Li et al. rerun | 85.80 |
| Yu et al. sentence-only reproduction | 85.67 |
| BART Span | 84.22 |
| BART BPE | 85.24 |
| BART Word (this paper) | 86.84 |
On ACE2005, Word reaches 84.74 test F1. Wang and colleagues score 84.66, Yu and colleagues’ sentence-only system scores 84.61, and Li and colleagues’ rerun scores 84.57. Word has precision 83.16 and recall 86.38. Li and colleagues’ result pairs precision 85.01 with recall 84.13. BPE and Span obtain test F1 of 82.75 and 82.31. As on ACE2004, changing the representation moves the recognizer across a range occupied by the comparison systems. A claim about the framework’s strongest tested setting therefore depends on identifying that setting.
On Genia, Span gives the best result of the authors’ representations with test F1 of 79.23, precision 78.87, and recall 79.6. Word reaches 78.93 F1, with precision 78.57 and recall 79.3. BPE falls to 78.60 F1. Wang and colleagues’ BERT-Large comparison gives 79.19 F1 and a different precision–recall balance, with 79.45 precision and 78.94 recall. The Span and Word results sit close to the leading comparison on Genia, but they reverse the ordering seen between those two formats on the ACE benchmarks.
The nested experiments demonstrate two things at different levels. At the task level, the decoder can recover overlapping mentions using the same position and tag choices available in flat recognition. At the level of the best setting, the paper’s ACE and Genia results favor different ways of encoding the target. The follow-up length analysis addresses what might account for that difference.
Discontinuous benchmarks and discontinuous mentions
On the CADEC test set, Word records 70.64 F1, 70.08 precision, and 71.21 recall. The transition-based system from Dai and colleagues records 69.0 F1, with 68.9 precision and 69.0 recall. The BART Span and BPE versions score 70.04 and 69.97 F1. The CADEC comparisons also include 60.2 F1 from Metke-Jimenez and Karimi and 66.3 from Tang and colleagues. The authors note that Dai and colleagues tested BERT but found ELMo more effective for their own system. The reported transition-based comparison therefore uses ELMo.
On ShARe13, Word reaches 79.69 F1 for the retained test entities, with 82.09 precision and 77.42 recall. Span and BPE reach 79.27 and 79.16 F1. Dai and colleagues’ comparison reaches 77.7, from precision 80.5 and recall 75.0. On ShARe14, Word reaches 80.34 F1, with 77.2 precision and 83.75 recall. Span reaches 80.08 F1, BPE reaches 79.90, and Dai and colleagues reach 79.6. In that ShARe14 comparison, Dai and colleagues report precision 78.1 and recall 81.2, so Word’s higher F1 accompanies higher recall and lower precision.
The whole-test figures alone leave open which structures the systems are recovering. The paper reports that only about 10% of the mentions in the discontinuous benchmarks are themselves discontinuous. Recognizing common continuous mentions can therefore have a large effect on the whole test score. The authors separately compare results on the discontinuous mentions in the ShARe13 and ShARe14 test sets.
On the ShARe13 subset, Word has F1 55.0, precision 57.5, and recall 52.8. Dai and colleagues have F1 52.5, precision 78.5, and recall 39.4. On the corresponding ShARe14 subset, Word has F1 52.7, precision 49.6, and recall 56.2. Dai and colleagues have F1 49.2, precision 56.1, and recall 43.8. The separate evaluation establishes that the improvement on these benchmarks includes a gain on the structures that distinguish the task. It also shows the cost in precision. Word finds more of the annotated discontinuous mentions, while a smaller share of its predicted discontinuous mentions matches the annotations.
Test F1 for discontinuous mentions only on ShARe13 and ShARe14
Word leads the transition-based comparison on both discontinuous-mention subsets.
The numbers
| System or setting | F1 |
|---|---|
| ShARe13 Dai et al. | 52.5 |
| ShARe13 BART Word (this paper) | 55.0 |
| ShARe14 Dai et al. | 49.2 |
| ShARe14 BART Word | 52.7 |
Training memory and decoding time
The supplementary efficiency comparison uses the two flat datasets and compares BART-base with BERT-base. The BERT-MLP baseline predicts tags from a classifier applied to each encoded position. The BERT-CRF baseline uses scores for individual tags and transitions between successive tags. Both tag every input position, which makes them suitable baselines for the flat setting used in this comparison. Their source encoder is BERT.
The appendix specifies the baselines mathematically. Their common source representation is as follows.
H = BERT(X)
X is the input sequence of n tokens. BERT is the source encoder and H is its n × d matrix of hidden states, where d is the hidden dimension. The rows of this matrix are passed to the tagging classifier.
F = Softmax(max(HWᵇ + bᵇ, 0)Wᵃ + bᵃ)
F is the n × |T| matrix of tag probabilities, with |T| denoting the number of tags. The first weight matrix Wᵇ has shape d × d, and bᵇ is its bias vector of length d. The max with 0 is applied component by component and keeps positive values while setting negative values to zero. The output weight matrix Wᵃ has shape d × |T|, and the output bias bᵃ has length |T|. Adjacent matrices are multiplied, and Softmax normalizes each position’s tag scores into probabilities. BERT-MLP uses negative log-likelihood for training and picks the most probable tag at each position during inference.
For the conditional random field, the intermediate emission scores are first computed as follows.
M = max(HWᵇ + bᵇ, 0)Wᵃ + bᵃ
M is the n × |T| matrix of scores for assigning tags to positions. H is the BERT representation, and Wᵇ, bᵇ, Wᵃ, and bᵃ have the roles just described. The componentwise maximum uses 0 as its lower bound, as in the independent classifier.
M ← log softmax(M)
The leftward arrow indicates an update to M. The softmax normalizes each row’s scores across the tags, and log takes the logarithm. The resulting entries are the positional scores used in the structured tag sequence probability.
P(Y | X) =
exp(∑ᵢ₌₁ⁿ (M[i, yᵢ] + T[yᵢ₋₁, yᵢ]))
/ ∑_{Y′ ∈ 𝒴} exp(∑ᵢ₌₁ⁿ (M[i, y′ᵢ] + T[y′ᵢ₋₁, y′ᵢ]))
Here P(Y | X) is the conditional probability of a tag sequence Y for sentence X. In this baseline Y has a tag yᵢ at each input position i, and n is the number of positions. The term M[i, yᵢ] scores assigning that tag at that position. The transition matrix T scores going from the previous tag yᵢ₋₁ to the current tag yᵢ. The initial transition uses the preceding tag for the start of the sequence. The summation ∑ adds these local and transition scores, and exp exponentiates the total. The denominator adds the corresponding exponentiated scores over 𝒴, the set of valid tag sequences, with Y′ and y′ᵢ referring to a candidate sequence and its tags. The baseline is trained with negative log-likelihood and uses Viterbi decoding to find the highest-scoring sequence.
The measurements use batch sizes of 16 for training and 48 for evaluation. Training time is reported for an epoch, and evaluation time is for the development set. On CoNLL-2003, BART Word uses 8G of training memory, compared with 7G for each tagging baseline. Its training epoch takes 115s, compared with 98s for BERT-MLP and 122s for BERT-CRF. Development evaluation takes 12s for BART Word, 3s for BERT-MLP, and 5s for BERT-CRF.
On OntoNotes, all three systems use 7G of training memory. BART Word takes 493s per training epoch, compared with 421s for BERT-MLP and 523s for BERT-CRF. Development evaluation takes 38s for BART Word, 9s for BERT-MLP, and 13s for BERT-CRF. Thus the generator sits between the two tagging systems in training time on both datasets and takes the longest for development evaluation. The paper attributes the distinction to how much work can be done in parallel. Training with a known target prefix can use a causal mask to compute predictions together. At evaluation time, the generator must wait for earlier choices to form the prefix for later ones.
What the ablations show
Length helps explain the ranking, with clear exceptions
The main controlled comparison changes the entity serialization within the BART framework. Span, BPE, and Word define the same annotated mentions, so their performance differences concern how the answer is expressed and learned. To investigate them, the authors measure average and median lengths of the entity descriptions in the test sets. These lengths count the category token as part of each description. They are properties of the targets, distinct from recognition scores and from the length of the input sentence.
On CoNLL2003, the average test entity length is 2.44 for Word, 3.0 for Span, and 3.55 for BPE. The medians are 2.0 for Word and 3.0 for each of the others. On OntoNotes the average lengths are 2.86, 3.0, and 3.39 in the same format order. Here too the Word median is 2.0, while Span and BPE have medians of 3.0. Word is both the shortest on these measures and the most accurate of the tested forms on the two flat benchmarks. The paper makes the same connection between Word’s shorter mean entity descriptions and its stronger recognition on CADEC and ShARe13.
The logic is that a shorter representation requires fewer correct choices before the decoder can finish the mention. Each additional choice is another place where it can omit a position, insert one, or end the mention at the wrong step. The length observation is consistent with that account, but several comparisons show why length cannot explain the rankings on its own. BPE is longer on average than Span on the flat datasets, and it scores higher than Span on both. The same ordering occurs on the two ACE datasets.
The authors’ explanation concerns the sequence of tokens that a choice of pointers is translated back into. For a continuous mention, BPE lists all the source sub-words consecutively. After the index-to-token conversion, the decoder reads those sub-words in the same order in which they occur in the phrase. The authors relate this to BART’s pretraining task of reconstructing text. A Span description can jump from the start of the phrase to its end, and Word jumps over the additional pieces of any segmented word. The ability to describe the same entity is shared across the formats, while the familiarity of those token sequences to the pretrained decoder can differ.
The ACE results provide a further check on the length explanation. In the ACE2004 test set, Word descriptions average 3.53 and Span descriptions average 3.0, with the tag counted in both. In ACE2005 the corresponding averages are 3.26 and 3.0. Word leads Span on both. The authors also point to ShARe14 as a case where Word is longer on average than Span and still yields the higher F1. Their interpretation is that many words can be represented by a single BPE piece. Where this is common, listing word starts can retain much of the consecutive sub-word structure while avoiding the need to list every piece of a segmented word.
Why Genia matters to the interpretation
Genia offers a case in which the relationship between the Word and BPE lists changes. In the test set, the average description length is 3.0 with Span, 3.09 with Word, and 5.21 with BPE. The median is 3.0 for Span and Word and 5.0 for BPE. The longer BPE descriptions are consistent with the authors’ account that words in this dataset are frequently broken into several pieces. The average and median lengths record the consequences for the whole target, including the category.
The paper’s example is “lipoxygenase isoforms.” With BPE, the target includes the pieces of both words in sequence. The Word version points to the initial piece of “lipoxygenase” and then to the initial piece of “isoforms.” When those pointers are read back as tokens, several intervening sub-words are skipped, even though the annotated phrase is continuous at the word level. This is a case where the Word format represents the mention correctly and yields a decoder prefix that is less like the uninterrupted phrase.
Span has the highest F1 among the tested formats on Genia. The authors take the result to suggest that Word loses some of its usual advantage when its sub-word sequence has frequent breaks. The shorter Span description can then be preferable. The evidence comes from changing the full representation, so it supports an interpretation involving both length and continuity. A comparison that isolated one property while holding the other fixed would be needed to measure their individual contributions.
Which invalid outputs the decoder produces
The authors inspect the Word predictions for three forms of invalidity. A pointer may pick an internal sub-word position even though Word expects the first position of a word. The indexes within a mention may fail to increase, even though the target lists words in source order. A complete mention may also be predicted more than once. The analysis reports these categories separately for each benchmark. The authors exclude these invalid predictions during evaluation.
CADEC has the largest reported entry, 1.02% for indexes that fail to increase within a predicted mention. Its reported rate for pointers that miss a word start is 0.31%, and the duplicate rate is 0.08%. On Genia, the reported rates in that order of categories are 0.0%, 0.11%, and 0.06%. ACE2004 has 0.30% duplicate predictions, while ACE2005 has 0.26%. On OntoNotes, the rates are 0.02% for pointers that miss word starts, 0.03% for non-increasing indexes, and 0.02% for duplicates.
The categories distinguish structural validity from correctness. A pointer list can respect word starts and increasing order while selecting the wrong words. A perfectly formed mention can also have the wrong category. These figures show that the decoder generally follows the learned Word format even without explicit structural constraints on the output distribution. Precision and recall are still needed to assess its decisions about entity content.
The order constraint here applies within an individual description. Returning overlapping mentions may require the decoder to go back to an earlier input position after it emits a tag. The new mention starts with an empty buffer and can use its own increasing list of word positions. The diagnostic therefore treats backward movement inside a mention differently from the return to a previously used region when a fresh mention begins.
Search width and position in the answer
The supplementary beam search comparison asks whether keeping more partial answers improves F1. The hyper-parameter table lists beam sizes [1, 4], and the figure shows little change in F1 as beam size increases. The authors suggest that the restricted set of useful possibilities during generation could explain this weak effect. The experimental finding concerns the beam settings they tried. It shows that the reported performance is relatively insensitive to widening the search in those settings.
The authors also ask whether position in the answer affects recall. This question follows directly from autoregressive generation. Every later output is conditioned on the generated prefix, so earlier mistakes could interfere with predictions that come after them. The paper organizes recall by the entity’s place in the ordered target sequence. It gives the amount of data supporting each position alongside the recall curve, which matters because only sentences with sufficiently many annotations can contribute an entity at a late position.
For flat and discontinuous benchmarks the authors observe higher recall for entities occurring later in the target sequence. The nested curves are more complicated. Their proposed explanation is that entities in flat data and many of those in the discontinuous benchmarks are relatively independent. In nested annotations, a later entity can be an outer mention containing an earlier one. A wrong description of the inner mention could affect the decoder’s judgment of the enclosing mention because the earlier description becomes part of the prefix. The paper presents this as an interpretation of the observed curves, rather than a separate manipulation of earlier predictions.
Taken together, these comparisons examine different parts of generation. The representation comparison changes the target, the invalid-output analysis asks how consistently the decoder follows that target’s conventions, and the beam comparison changes how partial predictions are searched. The position analysis concerns the circumstances in which a mention is recalled. Their findings put the strongest emphasis on how the annotation is expressed, with more limited evidence for an effect of search width in the tested setting.
Limitations
Limits the authors identify
The authors point out that the headline scores on discontinuous benchmarks are dominated by the more common continuous mentions. They address this with a separate discontinuous-only comparison on ShARe13 and ShARe14. This narrower test is important because a system can post a good overall score while struggling to assemble separated pieces. The narrower scores show an improvement over Dai and colleagues on those two tests, with a precision cost that is particularly apparent on ShARe13.
They also identify autoregressive inference as a speed limitation. With teacher forcing, training can use the known prefix to compute target-step predictions in parallel under a causal mask. At inference, the sequence has to be generated before the prefixes are known. The efficiency results show the time cost on the development sets of the two flat benchmarks. The authors mention non-autoregressive generation as a possible direction for faster decoding, without presenting a result for such a system on the recognition tasks.
Unconstrained output generation is another condition the authors explicitly discuss. Their reported invalid-output statistics show that the Word system typically conforms to its answer conventions, and their evaluation filters the invalid predictions they identify. The resulting recognition scores describe performance with that recovery and filtering procedure in place. The appendix’s search comparison shows limited benefit from a wider beam, while leaving open how a decoder with explicit structural constraints would compare.
Limits of the evaluation
The breadth is across English benchmarks with different annotation structures. The approach defines a common architecture and output procedure, and the experiments fine-tune on the respective benchmarks. The results therefore support reuse of the framework across tasks. They provide no direct test of whether a recognizer trained once can transfer among the datasets, apply an unfamiliar tag inventory, or handle annotations in other languages. The segmentation analysis also gives a concrete reason to examine such settings separately. The correspondence between annotated words and source positions is part of the target design.
Crossing mentions and mentions bearing several types are examples of representational capacity. The decoder can state those annotations because it can reuse positions and close each description independently. The paper does not give a dedicated score for recovering crossing or multi-type cases. A claim about recognition quality for either structure would need evidence specific to those cases. The experiment on discontinuous mentions illustrates the distinction. Their expressibility follows from the format, while their measured recognition required an explicitly restricted test.
The comparative results depend on the chosen pretraining, corpus preparation, and context. The main recognizer uses BART-Large, while several earlier systems use BERT-Large or other contextual representations. One comparator is rerun with sentence-only input. The paper explains the choice of BART and compares serializations within that backbone, but the cross-system F1 results cannot assign a separate share of the outcome to pretraining, the pointer scores, or generation as the task formulation. The comparison among Span, BPE, and Word is better suited to a narrower conclusion about representation in the authors’ system.
The proposed explanation based on pretraining similarity also has a clear evidentiary scope. Switching from BPE to Word changes the number of target steps and which tokens the decoder sees in the prefix. Switching to Span changes how much of a mention is implicit. The Genia example shows exactly how a difference in sub-word segmentation can produce a different prefix, and the benchmark results are consistent with the suggested explanation. They do not measure the causal contribution of continuity or establish that a particular length statistic determines which format will work best on a new corpus.
The time and memory comparisons have a similarly specific scope. They use base-size systems on the flat datasets even though the main accuracy results use BART-Large. The evaluation times refer to development sets and the stated batch size. These measurements demonstrate a cost under comparable conditions in the selected flat tasks. They leave the size of that cost open for larger backbones, the nested datasets, and cases where the target contains many discontinuous mentions. Avoiding enumeration of whole spans and generating an answer quickly are distinct properties, and the paper measures only the latter in this particular timing comparison.
Finally, the results are presented as point estimates. Several leading F1 values are close, including the Genia comparison between Span and the result from Wang and colleagues. The paper gives no uncertainty estimate alongside those scores. The comparison supports the authors’ description of the framework as competitive across the tested tasks. The exact ordering of very close scores should be read as the ordering observed in the reported runs.
What came after
Generative extraction and output design
The citing works place the paper in conversations about pretraining, generative extraction, and the design of recognition outputs. The citation links establish that these works refer to the paper. The connections described here concern the problems named in their titles, with particular attention to where those problems meet the pointer framework.
The survey of pretraining in natural language processing addresses the broader setting in which the pointer recognizer was developed. BARTNER is an example of adapting pretrained sequence generation to a structured prediction task. The decoder reads familiar tokens after converting the emitted indexes, while the task’s final answer still consists of typed mentions located in a sentence. The connection is the choice of a task representation that lets a pretrained component be used for an output with different requirements from its pretraining targets.
The survey of generative information extraction puts generation at the center of the extraction problem. The pointer paper gives a concrete case of what that framing entails. The extracted objects have exact source positions and categories, and those objects have to be serialized before they can be generated. The three serializations show how two answers that recover the same annotations can give a decoder different prediction problems. This distinction connects named entity recognition to the broader topic of information extraction.
CodeIE takes up information extraction in a few-shot setting and frames it through code generation. Its title points to another way of choosing an output that fits the generation machinery available for the task. In the pointer paper, the authors design the answer around addresses into the sentence and attach a tag to each mention. In CodeIE, the stated emphasis is code generation and extraction with few examples. The methodological connection is that the form chosen for a generated answer affects how the extractor can express its result.
Lost in Formatting makes the format question explicit for information extraction. The earlier paper offers a bounded example of how such an effect can arise. Span, BPE, and Word encode equivalent entity annotations but differ in the choices the decoder makes and the lengths and token sequences it encounters. The later work’s stated subject extends the question from a comparison of pointer serializations to the effect of output formatting on extraction performance more generally.
Other routes to broad recognition
GLiNER also presents named entity recognition as a task for a generalist system. Its title specifies a bidirectional Transformer. The connection is the aim of broad applicability, while the pointer paper defines its own breadth along a particular axis, the ability to express flat, overlapping, and discontinuous mentions with the same decoder. The two titles illustrate why the scope of a generalist claim matters. A recognition system may be general across entity structures, across categories, or across other task conditions, and those forms of breadth call for different evidence.
Packed Levitated Marker addresses entity and relation extraction using a marker-based formulation. Its stated scope includes relations as well as the entities involved in them. That places the representation of entity mentions in a wider extraction problem, where the output must also account for links between items. The pointer paper’s output ends each mention with its category. Giving entities an unambiguous source location is relevant to that broader problem, though the earlier output has no relation field.
Two citing reports address Arabic entity recognition in the WojoodNER shared task. The LIPN report describes a span-based approach for flat and nested annotations. Its setting brings the pairing of flat and overlapping mentions into Arabic, whereas the pointer paper tested that pairing on English benchmarks. It also returns to the span-based family of approaches discussed by the pointer paper, whose motivation included the difficulty of extending candidate enumeration to gaps. LIPN at WojoodNER
The AlexU-AIC report describes a comparison involving sequence labeling, MRC, and SWA for Arabic recognition. The sequence-labeling comparison connects to the earlier distinction between predicting a tag sequence and predicting an entity description. The report’s named approaches show that common benchmark tasks can still be studied through several recognition formulations. Its Arabic setting is a separate empirical question from the English results of the pointer framework. AlexU-AIC at WojoodNER
Relations and specialized domains
AnchorAlign describes a generative method for joint named entity recognition and relation extraction, with anchor alignment named as its distinguishing feature. The pointer paper gives generated indexes a direct correspondence to positions in the source sentence. A joint task introduces another requirement, since the output needs to identify mentions and express relationships among them. The later work is closely related in its stated scope of generative extraction and its emphasis on alignment.
SCoNE addresses complex biological and chemical named entity recognition through self-correction and noise augmentation. The domain connects to the earlier paper’s Genia experiment, where biomedical wording helps explain why a different serialization performed best. The stated techniques in SCoNE focus on correction and training noise, whereas the earlier comparison changes how the same annotation is written as a target sequence. They address different sources of difficulty within the broader problem of recognizing specialized mentions.
The roadmap on language models and knowledge graphs situates extraction alongside structured knowledge. The pointer paper’s result is a sentence-level set of typed occurrences. A knowledge graph poses further questions about the identity of entities and how facts about them are related. The papers connect at the boundary between generating from text and recovering structure from it, with the earlier work making that boundary particularly concrete through the use of source positions.
Institutions
Fields, topics and concepts
Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksComputer Vision and Pattern Recognition · 3,621 works
Topics 1Research subjects and languages the work is about.Named entity recognition · 215 works
Cite
Cite as Hang Yan, Tao Gui, Junqi Dai, Qipeng Guo, Zheng Zhang and Xipeng Qiu. 2021. A Unified Generative Framework for Various NER Subtasks. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).
@inproceedings{yan2021unified,
title = {{A Unified Generative Framework for Various NER Subtasks}},
author = {Hang Yan, Tao Gui, Junqi Dai, Qipeng Guo, Zheng Zhang and Xipeng Qiu},
booktitle = {Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
year = {2021},
doi = {10.18653/v1/2021.acl-long.451},
url = {https://doi.org/10.18653/v1/2021.acl-long.451}
}References
- Alan Akbik, Tanja Bergmann, and Roland Vollgraf. 2019. Pooled contextualized embeddings for named entity recognition. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, US…
- Beatrice Alex, Barry Haddow, and Claire Grover. 2007. Recognising nested named entities in biomedical text. In Biological, translational, and clinical language processing, BioNLP@ACL 2007, Prague, Czech Republic, June 29, 2007, pages 65–72. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Lingzhen Chen and Alessandro Moschitti. 2018. Learning to progressively recognize new named entities with sequence to sequence models. In Proceedings of the 27th International Conference on Computational Linguistics, COLING 2018, Santa Fe, New Mexico, USA, August 20-26, 2018, pages 2181–2191. Associ… OpenAlex ↗ · Scholar ↗
- Jason P. C. Chiu and Eric Nichols. 2016. Named entity recognition with bidirectional lstm-cnns. Trans. Assoc. Comput. Linguistics, 4:357–370.
- Kyunghyun Cho, Bart van Merrienboer, Çaglar Gülçehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using RNN encoder-decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Lan…
- Kevin Clark, Minh-Thang Luong, Christopher D. Manning, and Quoc V. Le. 2018. Semi-supervised sequence modeling with cross-view training. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 1914– 1925. Asso…
- Ronan Collobert, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel P. Kuksa. 2011. Natural language processing (almost) from scratch. J. Mach. Learn. Res., 12:2493–2537.
- Junqi Dai, Hang Yan, Tianxiang Sun, Pengfei Liu, and Xipeng Qiu. 2021. Does syntax matter? A strong baseline for aspect-based sentiment analysis with roberta. CoRR, abs/2104.04986. OpenAlex ↗ · Scholar ↗
- Xiang Dai, Sarvnaz Karimi, Ben Hachey, and Cécile Paris. 2020. An effective transition-based model for discontinuous NER. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5860–5870. Association for Computational Lin… OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies,…
- George R. Doddington, Alexis Mitchell, Mark A. Przybocki, Lance A. Ramshaw, Stephanie M. Strassel, and Ralph M. Weischedel. 2004. The automatic content extraction (ACE) program - tasks, data, and evaluation. In Proceedings of the Fourth International Conference on Language Resources and Evaluation,…
- Jenny Rose Finkel and Christopher D. Manning. 2009. Nested named entity recognition. In Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, EMNLP 2009, 6-7 August 2009, Singapore, A meeting of SIGDAT, a Special Interest Group of the ACL, pages 141–150. ACL.
- Joseph Fisher and Andreas Vlachos. 2019. Merge and label: A novel neural network architecture for nested NER. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 5840–5850. Associatio… OpenAlex ↗ · Scholar ↗
- Dan Gillick, Cliff Brunk, Oriol Vinyals, and Amarnag Subramanya. 2016. Multilingual language processing from bytes. In NAACL HLT 2016, The 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego California, USA, June 12-1…
- Ralph Grishman and Beth Sundheim. 1996. Message understanding conference- 6: A brief history. In 16th International Conference on Computational Linguistics, Proceedings of the Conference, COL-ING 1996, Center for Sprogteknologi, Copenhagen, Denmark, August 5-9, 1996, pages 466–471.
- Jiatao Gu, James Bradbury, Caiming Xiong, Victor O. K. Li, and Richard Socher. 2018. Non-autoregressive neural machine translation. In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. Open-Review.net.
- Zhiheng Huang, Wei Xu, and Kai Yu. 2015. Bidirectional LSTM-CRF models for sequence tagging. CoRR, abs/1508.01991.
- Meizhi Ju, Makoto Miwa, and Sophia Ananiadou. 2018. A neural layered model for nested named entity recognition. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2018, New Orleans, Louisiana, U…
- Sarvnaz Karimi, Alejandro Metke-Jimenez, Madonna Kemp, and Chen Wang. 2015. Cadec: A corpus of adverse drug event annotations. J. Biomed. Informatics, 55:73–81. OpenAlex ↗ · Scholar ↗
- Arzoo Katiyar and Claire Cardie. 2018. Nested named entity recognition revisited. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2018, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 1 (…
- Jin-Dong Kim, Tomoko Ohta, Yuka Tateisi, and Jun’ichi Tsujii. 2003. GENIA corpus - a semantically annotated corpus for bio-textmining. In Proceedings of the Eleventh International Conference on Intelligent Systems for Molecular Biology, June 29 - July 3, 2003, Brisbane, Australia, pages 180– 182. OpenAlex ↗ · Scholar ↗
- John D. Lafferty, Andrew McCallum, and Fernando C. N. Pereira. 2001. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of the Eighteenth International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. 2016. Neural architectures for named entity recognition. In NAACL HLT 2016, The 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San…
- Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In Proceedings of the 58th Annual Meeting of the…
- Xiaonan Li, Hang Yan, Xipeng Qiu, and Xuanjing Huang. 2020a. FLAT: chinese NER using flat-lattice transformer. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 6836–6842. Association for Computational Linguistics.
- Xiaoya Li, Jingrong Feng, Yuxian Meng, Qinghong Han, Fei Wu, and Jiwei Li. 2020b. A unified MRC framework for named entity recognition. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5849–5859. Association for Comp…
- Hongyu Lin, Yaojie Lu, Xianpei Han, and Le Sun. 2019. Sequence-to-nuggets: Nested entity mention detection via anchor-region networks. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pa… OpenAlex ↗ · Scholar ↗
- Wei Lu and Dan Roth. 2015. Joint mention extraction and classification with mention hypergraphs. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Lisbon, Portugal, September 17-21, 2015, pages 857–867. The Association for Computational Linguistic…
- Yi Luan, Dave Wadden, Luheng He, Amy Shah, Mari Ostendorf, and Hannaneh Hajishirzi. 2019. A general framework for information extraction using dynamic span graphs. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Tec…
- Ying Luo and Hai Zhao. 2020. Bipartite flat-graph network for nested named entity recognition. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 6408–6418. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Thang Luong, Hieu Pham, and Christopher D. Manning. 2015. Effective approaches to attention-based neural machine translation. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Lisbon, Portugal, September 17-21, 2015, pages 1412–1421. The Associati…
- Andrew McCallum and Wei Li. 2003. Early results for named entity recognition with conditional random fields, feature induction and web-enhanced lexicons. In Proceedings of the Seventh Conference on Natural Language Learning, CoNLL 2003, Held in cooperation with HLT-NAACL 2003, Edmonton, Canada, May…
- Alejandro Metke-Jimenez and Sarvnaz Karimi. 2016. Concept identification and normalisation for adverse drug event discovery in medical forums. In Proceedings of the First International Workshop on Biomedical Data Integration and Discovery (BMDID 2016) co-located with The 15th International Semantic… OpenAlex ↗ · Scholar ↗
- Danielle L. Mowery, Sumithra Velupillai, Brett R. South, Lee M. Christensen, David Martı́nez, Liadh Kelly, Lorraine Goeuriot, Noémie Elhadad, Sameer Pradhan, Guergana K. Savova, and Wendy W. Chapman. 2014. Task 2: Share/clef ehealth evaluation lab 2014. In Working Notes for CLEF 2014 Conference, Sh… OpenAlex ↗ · Scholar ↗
- Aldrian Obaja Muis and Wei Lu. 2016. Learning to recognize discontiguous entities. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pages 75–84. The Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Aldrian Obaja Muis and Wei Lu. 2017. Labeling gaps between words: Recognizing overlapping mentions with mention separators. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 2608–2618. Association f… OpenAlex ↗ · Scholar ↗
- Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Techno…
- Sameer Pradhan, Noémie Elhadad, Brett R. South, David Martı́nez, Lee M. Christensen, Amy Vogel, Hanna Suominen, Wendy W. Chapman, and Guergana K. Savova. 2013a. Task 1: Share/clef ehealth evaluation lab 2013. In Working Notes for CLEF 2013 Conference , Valencia, Spain, September 23-26, 2013, volume… OpenAlex ↗ · Scholar ↗
- Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Hwee Tou Ng, Anders Björkelund, Olga Uryupina, Yuchen Zhang, and Zhi Zhong. 2013b. Towards robust linguistic analysis using ontonotes. In Proceedings of the Seventeenth Conference on Computational Natural Language Learning, CoNLL 2013, Sofia, Bulga… OpenAlex ↗ · Scholar ↗
- Sameer Pradhan, Alessandro Moschitti, Nianwen Xue, Olga Uryupina, and Yuchen Zhang. 2012. Conll-2012 shared task: Modeling multilingual unrestricted coreference in ontonotes. In Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning - Proceed…
- Xipeng Qiu, Tianxiang Sun, Yige Xu, Yunfan Shao, Ning Dai, and Xuanjing Huang. 2020. Pre-trained models for natural language processing: A survey. CoRR, abs/2003.08271.
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res., 21:140:1–140:67.
- Lev-Arie Ratinov and Dan Roth. 2009. Design challenges and misconceptions in named entity recognition. In Proceedings of the Thirteenth Conference on Computational Natural Language Learning, CoNLL 2009, Boulder, Colorado, USA, June 4-5, 2009, pages 147–155. ACL.
- Erik F. Tjong Kim Sang and Fien De Meulder. 2003. Introduction to the conll-2003 shared task: Language-independent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning, CoNLL 2003, Held in cooperation with HLT-NAACL 2003, Edmonton, Canada, May 31 - June 1,…
- Takashi Shibuya and Eduard H. Hovy. 2020. Nested named entity recognition via second-best sequence learning and decoding. Trans. Assoc. Comput. Linguistics, 8:605–620. OpenAlex ↗ · Scholar ↗
- Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2019. MASS: masked sequence to sequence pre-training for language generation. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machi…
- Jana Straková, Milan Straka, and Jan Hajic. 2019. Neural architectures for nested NER through linearization. In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 5326–5331. Associatio…
- Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pages 3104–3112.
- Buzhou Tang, Jianglu Hu, Xiaolong Wang, and Qingcai Chen. 2018. Recognizing continuous and discontinuous adverse drug reaction mentions from social media using LSTM-CRF. OpenAlex ↗ · Scholar ↗
- Wirel. Commun. Mob. Comput., 2018. OpenAlex ↗ · Scholar ↗
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in Neural Information Processing Systems, pages 5998–6008.
- David Vilares and Carlos Gómez-Rodrı́guez. 2020. Discontinuous constituent parsing as sequence labeling. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 2771–2785. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. 2015. Pointer networks. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pages 2692–2700. OpenAlex ↗ · Scholar ↗
- C. Walker and Linguistic Data Consortium. 2005. OpenAlex ↗ · Scholar ↗
- ACE 2005 Multilingual Training Corpus. LDC corpora. Linguistic Data Consortium. OpenAlex ↗ · Scholar ↗
- Bailin Wang and Wei Lu. 2018. Neural segmental hypergraphs for overlapping mention recognition. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 204–214. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Bailin Wang and Wei Lu. 2019. Combining spans into entities: A neural two-stage approach for recognizing discontiguous entities. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-… OpenAlex ↗ · Scholar ↗
- Jue Wang, Lidan Shou, Ke Chen, and Gang Chen. 2020a. Pyramid: A layered model for nested named entity recognition. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5918–5928. Association for Computational Linguistics… OpenAlex ↗ · Scholar ↗
- Yu Wang, Yun Li, Hanghang Tong, and Ziye Zhu. 2020b. HIT: nested named entity recognition via head-tail pair and token interaction. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 6027–6036. Association for Co… OpenAlex ↗ · Scholar ↗
- Yu Wang, Yun Li, Ziye Zhu, Bin Xia, and Zheng Liu. 2019. SC-NER: A sequence-to-sequence model with sentence classification for named entity recognition. In Advances in Knowledge Discovery and Data Mining - 23rd Pacific-Asia Conference, PAKDD 2019, Macau, China, April 14-17, 2019, Proceedings, Part I… OpenAlex ↗ · Scholar ↗
- Mingbin Xu, Hui Jiang, and Sedtawut Watcharawit-tayakul. 2017. A local detection approach for named entity recognition and mention detection. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, Canada, July 30 - August 4, Volume 1: Long Pa… OpenAlex ↗ · Scholar ↗
- Ikuya Yamada, Akari Asai, Hiroyuki Shindo, Hideaki Takeda, and Yuji Matsumoto. 2020. LUKE: deep contextualized entity representations with entity-aware self-attention. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020,… OpenAlex ↗ · Scholar ↗
- Hang Yan, Bocao Deng, Xiaonan Li, and Xipeng Qiu. 2019. TENER: adapting transformer encoder for named entity recognition. CoRR, abs/1911.04474. OpenAlex ↗ · Scholar ↗
- Hang Yan, Xipeng Qiu, and Xuanjing Huang. 2020. A graph-based model for joint chinese word segmentation and dependency parsing. Trans. Assoc. Comput. Linguistics, 8:78–92.
- Juntao Yu, Bernd Bohnet, and Massimo Poesio. 2020. Named entity recognition as dependency parsing. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 6470–6476. Association for Computational Linguistics.
- Yuan Zhang, Hongshen Chen, Yihong Zhao, Qun Liu, and Dawei Yin. 2018. Learning tag dependencies for sequence tagging. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, IJCAI 2018, July 13-19, 2018, Stockholm, Sweden, pages 4581–4587. ijcai.org. OpenAlex ↗ · Scholar ↗
- Changmeng Zheng, Yi Cai, Jingyun Xu, Ho-fung Leung, and Guandong Xu. 2019. A boundary-aware neural model for nested named entity recognition. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Proce… OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/yan-2021-unified-generative-framework-various-ner/