REBEL: Relation Extraction By End-to-end Language generation
Paper · 2021 · Pere-Lluís Huguet Cabot and Roberto Navigli
Summary
A sentence can name several people, places or organizations while stating a relationship between only some of them. Turning that sentence into a record means finding the relevant names, deciding which ones belong together and labeling what the text says about them. REBEL treats this form of information extraction as a writing task. Given raw text, it generates a sequence that can be read back as triplets, each with a head entity, a relation and a tail entity. This lets the same system discover the entities and predict their relationships. The resulting records can be used to populate or check a knowledge graph.
REBEL starts from BART-large, an encoder–decoder that reads an input sequence and generates an output sequence. The authors give the output a compact grammar. Markers identify the beginning of a head entity, a tail entity and a relation label. Several triplets with the same head can share its written name, and the positions of the names in the source text determine the order of the groups. The authors also build a training collection from Wikipedia and Wikidata. A database can record a true relationship that the passage never expresses, so they use natural language inference to screen candidate labels for textual support. The resulting sentence-level training collection covers 220 relation types. The authors release the trained extractor, the REBEL dataset and cRocoDiLe, the tool for building such datasets from Wikipedia dumps. BART
After 6 epochs on the automatically labeled data, the extractor can be used on its own or adapted to a benchmark through fine-tuning. On the strict extraction comparisons, adapted REBEL reaches 75.4 micro-F1 on CONLL04, 92.0 on NYT, 47.1 on the document-level DocRED setup and 82.2 on ADE, a benchmark for drug adverse effects. The comparison with a version initialized directly from BART-large shows the clearest benefit of relation-specific pretraining on DocRED. In shorter development-set runs, the pretrained version approaches earlier leading performance after 8 epochs on CONLL04 and 3 on NYT. For Re-TACRED, where the entities are supplied, the variants perform near 90 micro-F1 and the extra pretraining brings no comparable gain.
The experiments show how a shared extraction procedure can accommodate different relation inventories, entity labels and input lengths. A successful extraction under the strict protocol requires the right entity boundaries, the right relation and the right entity types where the dataset supplies them. The training data still depend on what Wikipedia and Wikidata make available and what the inference filter accepts. The extractor also inherits BART-large’s substantial size. The authors propose a smaller version based on BART-base as future work.
Deep dive: REBEL: Relation Extraction By End-to-end Language generation
REBEL extracts entities and their relationships by generating text that can be read back as structured facts, then adapts to new datasets. · about 36 minutes to read
The problem and its context
Finding a relation starts with finding its arguments
A relation triplet says that a particular relationship runs from a particular entity to another. The head is the entity the relationship is stated about, and the tail is the entity that completes it. A genre relation, for example, can connect a band to the kind of music it plays. The band and genre both need to be identified, and their roles matter. A string naming the right relation still gives an incomplete answer if it never identifies the two things being related. A triplet supplies enough structure to make those roles explicit.
The authors reserve relation extraction for a task that starts with text and supplies no entity spans. A span is the portion of the text occupied by a mention, such as the complete name of a band. The extractor has to decide what span to return, which other span it connects to and what relation links them. Relation classification starts with the two entities already identified and asks which relation, if any, holds between them in that context. The paper evaluates both, and the difference in what the system is given matters when reading the scores.
An extraction system can be used to fill a collection of structured records or to check such records against prose. In either case the source passage matters. An article may name a band, an album, a genre and a date in a single sentence. Even if each mention is found correctly, proximity alone gives little guidance about which date belongs with which event or which name denotes the performer. The extractor has to recover the association expressed by the passage. The paper encounters the same issue when creating its own training examples. An existing database can say that two entities are connected, while a particular sentence containing their names can be about something else.
From a pipeline to a joint prediction
A traditional solution breaks the problem into named entity recognition and relation classification. The first stage identifies entity spans. A second stage examines candidate pairs and assigns a relation or decides that the pair has none. In the paper’s account, early classifiers used convolutional or recurrent networks to represent the context around the pair. Later work used BERT with additional mechanisms for representing entities. The classifier receives a more specific question once the entities are known. When an earlier detector misses part of a name or fails to find an entity, however, the classifier may never see the right pair. BERT
The candidate pairs pose a separate problem. A passage can contain many entities even when only a few pairs participate in annotated relations. A pipeline has to decide which pairs to examine, and training has to account for pairs with no relation. The authors describe candidate selection as a bottleneck that can bring extra annotation or negative sampling. Negative sampling supplies examples of pairs for which the expected response is that no relationship holds. This is distinct from a failure to recognize an entity. Even a complete entity list can generate many pairs whose relationship is unspecified.
Joint approaches give the two predictions a chance to inform each other. A plausible relation can provide evidence that a particular span is an entity, and the identity or type of an entity can help narrow down its possible relations. Some earlier systems shared representations between their entity and relation components and trained the components together. The paper describes systems that tag the positions of entity mentions, then use a classifier to link predicted entities. Later span-based approaches explicitly propose and represent whole spans. These systems can use shared information during training even when their architecture retains separate machinery for predicting the spans and the relations. End-to-End Relation Extraction using LSTMs
Another family arranges the input words along the rows and columns of a table. Predictions about a pair can then be expressed as entries in that table. Earlier joint extraction work used this representation to formulate the task, and Wang and Lu later used an encoder that explicitly represents both the sequence and the table. Such a representation gives every candidate word pair a place. It also raises a question about how to express several relationships involving the same endpoints. The REBEL paper points out that systems which assign a single class per pair, or classify pairs independently, can miss multiple relations or return predictions that conflict. Modeling Joint Entity and Relation Extraction with Table Representation and Two are Better than One
Document-level extraction adds a problem of identity across mentions. A document can name an entity explicitly in one place and refer to it again elsewhere. Evidence for a relationship can therefore extend across sentences or be attached to a mention other than the one chosen to represent the entity in the output. The authors describe earlier document-level work that uses coreference resolution, the task of identifying mentions that refer to the same entity. That work integrates several tasks in a pipeline. The document experiment in REBEL asks how far a shared input and output procedure can go on longer passages.
Why generate a sequence?
Previous sequence generators had already shown an alternative to classifying every pair. They could emit a list of expressed relations, refer to the same entity repeatedly and use earlier predictions as context for later ones. Work on copying, for instance, used a mechanism for bringing pieces of the input into the generated representation. Conditioning on earlier outputs makes a previous prediction available when the system chooses what to write next. Consistency remains something the generator can learn to favor. A text format on its own supplies no rule that enforces it. Extracting Relational Facts by an End-to-End Neural Model with Copy Mechanism
Generation introduces an ordering problem. A collection of triplets usually represents the same relations whichever triplet a reader sees first. A training sequence has a distinct first token and a distinct continuation at every step. If equivalent collections are written in several orders, the training procedure can present several different continuations for the same input. The paper discusses earlier approaches that learn an order or use a tree-shaped decoder. REBEL uses the positions of the entities in the input to establish an order, then groups the triplets so that a repeated head needs to be written only once per group.
The authors also place their work alongside uses of sequence generation for tasks normally understood as language analysis, including entity linking, semantic role labeling and meaning representation. The shared idea is that a name or a structured decision can be expressed as an output sequence even when the user wants a record instead of ordinary prose. A sequence generator can form entity names out of tokens, which makes it possible to produce a name without selecting it from a fixed inventory of entities. That leaves a separate question about which relation labels its training prepares it to use. Text generation
Finally, the authors stress that earlier comparisons often used different definitions of a correct prediction. A system may recover the correct word boundaries yet assign the wrong entity type. An experiment may compare methods trained with different access to the development examples. It can also give different treatment to entities whose spans overlap. These choices affect what an extraction score measures. REBEL uses the strict protocol associated with Taillé and colleagues for its main comparisons and separately identifies an evaluation that scores boundaries without requiring entity types. Evaluation and benchmarks
The method, step by step
Giving the output a grammar
REBEL converts a passage into a compact sequence of records. The encoder reads the passage. The decoder produces text containing names, relation labels and markers. A reader of that output can use the markers to recover the separate fields. The English words are therefore doing two jobs. The input words express the evidence for a relationship, while the output words give the values to put in the record. The markers tell the reader which value belongs in each field.
The paper illustrates the format with a sentence about the song This Must Be the Place. It names Talking Heads and describes the band as new wave. From that part of the sentence one can identify Talking Heads as the head, new wave as the tail and genre as the relation. The generated form for that triplet begins with <triplet> followed by Talking Heads, continues with <subj> followed by new wave, and ends with <obj> followed by genre. Reading the fields back gives the familiar head–relation–tail triplet even though the generated relation label comes last.
The marker names are easiest to understand by reading them as boundaries. <triplet> opens a group by introducing the head. <subj> closes the head span in the first record of that group and introduces the tail span. <obj> closes the tail span and introduces the relation. When the same head has another tail and relation, another <subj> can start the next pair of fields. The current head remains in effect. A new <triplet> signals that subsequent relations belong to a new head. A multiword field can be read as a unit because the next marker marks the end of its ordinary text.
The figure in the paper shows why these groups save space. This Must Be the Place serves as head in more than one triplet, so the sequence gives its name once as head and then records the successive tail and relation fields. The omission is recoverable because later fields within the group inherit the head. A name can still appear anywhere the representation needs it, such as in the tail of a different relation. The compression concerns repeated head fields inside a group, so it preserves the direction assigned to each relation.
The authors choose group order from the text. The head that appears earliest opens the first group. Inside that group, the specified order follows the positions of the associated tail entities. After the entries for that head are finished, the process moves to the next head in the text. A passage can mention a future tail before its head. In that case the fields still follow the roles in the relation, while textual position determines the order among heads and among tails within a group. The arrangement gives the decoder a regular pattern to learn from the placement of the names in its input.
How REBEL learns and generates relational triplets
The steps in order.
Learning the next token
BART-large is an encoder–decoder Transformer. In REBEL, the encoder turns the source text into representations the decoder can consult as it writes. The decoder also has the output prefix available. For a name, the source provides the wording to reproduce. For a relation label, the source provides evidence that may be expressed in different words. The music example uses the label genre for a connection indicated by the description of a new wave band. The target sequence thus includes both spans of source wording and vocabulary that names how those spans are connected.
During training, the authors use teacher forcing. At a position in the target, the decoder sees the correct tokens that precede it and predicts the token that belongs next. For example, after the correct marker and name for a head, learning can concentrate on what should follow that prefix. At extraction time, the decoder proceeds from tokens it has already generated. This creates a difference between training and use, known as exposure bias. A wrong marker or name can place the decoder in a context it was seldom trained to continue from. The attention mechanism allows the decoder to draw on the input and earlier output, but errors in the prefix remain possible.
The paper expresses the probability of the complete target as a product of next-token probabilities.
p_BART(y ∣ x) = ∏[i = 1 … len(y)] p_BART(yᵢ ∣ y₍<ᵢ₎, x)
Here p_BART denotes the probability assigned by BART, x is the input text and y is the complete target after the triplets have been put in sequence. The vertical bar ∣ means “given.” The product sign ∏ says to multiply the terms for successive output positions. The index i starts at 1 and runs through len(y), the number of tokens in the target. The ellipsis represents the intervening positions. The symbol yᵢ denotes the token at the current position. In y₍<ᵢ₎, the less-than sign specifies the prefix containing the tokens before that position. The comma means that each next-token prediction is conditioned on both that prefix and the input.
The authors train with cross-entropy, which penalizes low probabilities assigned to the correct next tokens. Maximizing the log-likelihood of the correct sequence has the same objective here. Each target token contributes to the training signal, including the delimiters and the words in names and labels. At evaluation, the generated sequence is converted back into triplets. The score then depends on the recovered records. The distinction matters because placing most of the right words in the output may still leave a relation incomplete, attached to the wrong head or given the wrong type.
The procedure also explains what “end-to-end” means in this study. For extraction, BART receives the text without a separate list of predicted entity spans. Its sequence supplies the entity wording and the links. A reader of the output still needs to recover the fields, but that is what the fixed markers specify. The learning problem is concentrated in producing the marked sequence. The same encoder and decoder can be fine-tuned when the output vocabulary or input length changes.
Building labels from Wikipedia and Wikidata
Annotated extraction data are difficult to scale because the annotator must specify both the entities and the relationships that the text expresses. The authors instead begin with an existing overlap between prose and structured data. Wikipedia supplies text with hyperlinks, and Wikidata supplies entity identities and relations. In distant supervision, a resource outside the passage supplies a candidate label. The training collection is called silver because those labels are assembled automatically and can be wrong.
The authors build on the pipeline behind T-REx, which aligned DBpedia abstracts with structured triplets. Their account identifies two sources of noise in that approach. An entity linker can choose a different entity from the one a mention denotes, causing relations to be drawn from the wrong record or valid candidates to be missed. Even with the right identities, a structured relation can be assigned to a passage where the names occur together but the relation is absent. The new pipeline addresses the linking and textual-support problems at different steps. T-REx
The pipeline first extracts the introductory portion of each Wikipedia article, using the part before the table of contents. It uses links in those introductions to map mentioned entities to Wikidata and also handles dates and values. The Wikidata records then supply candidate relations between the identified entities. The Wikipedia link gives evidence of what the mention denotes. The Wikidata entry gives evidence that a property has been recorded for those entities. The passage itself is the evidence that the relation is actually expressed in that training example.
To check the passage, the authors apply a natural language inference system. Natural language inference asks whether one piece of text supports a proposition supplied as another piece of text. Here the inference input pairs the Wikipedia text with a textual form of the candidate, ordered as subject, relation and object. A <sep> token separates the passage from the candidate. In the song example, the candidate says Talking Heads genre new wave. The mention of a new wave band in the passage supplies evidence for the candidate even though the passage uses a different word order and does not state the relation label explicitly. The paper specifies the XLM-RoBERTa checkpoint trained for this inference task. RoBERTa
A candidate survives if its entailment prediction is higher than 0.75. The threshold is a decision about predicted textual support. It can remove a relation that is in Wikidata but lacks support in the passage. It can also reject a supported relation that the inference system fails to recognize. The paper mentions country and spouse among relations for which simple co-occurrence can be noisy. The filter is intended to make the retained pairings more dependable as training material. It operates on candidates found in Wikidata, so a relationship needs to reach that stage before any inference score can help it.
The tool that implements the pipeline is cRocoDiLe. It builds on the T-REx code and is designed to run on Wikipedia dumps in multiple languages. The implementation uses parallel processing and SQL to handle the large Wikidata dump without having to hold it all in memory. The authors release the pipeline alongside the data because a prebuilt collection captures the resources at a particular point, while running the pipeline again can use a new dump. The reported training and benchmark experiments center on the datasets described below.
Choosing what REBEL learns before a benchmark
The REBEL collection has a full version and a sentence-level version. The full collection includes 1,146 relation types. Its training split contains 9,282,837 triplets in 2,754,387 instances. For the sentence-level version, the endpoints must occur in the same sentence. In the training split, the authors retain the 220 relations that occur most often. That version contains 878,555 triplets in 784,202 training instances. An instance is a piece of input text, so more than one target triplet can belong to the same instance.
The splits are random, with 5% of the data designated for validation and 5% for testing. In the sentence-level version, there are 48,514 triplets in 43,341 validation instances and 48,852 triplets in 43,506 test instances. The validation set supports decisions during development, and the test set is kept for evaluation. These held-out splits sample the same kind of automatically constructed data as the training split. Success on them is informative about learning the task set by that pipeline. A benchmark with a different labeling process tests a different form of transfer.
The authors train BART-large on the sentence-level data for 6 epochs according to their description of the experiment. They call the resulting initialization REBEL pretraining. This adds a phase between the original BART training and adaptation to a particular extraction benchmark. By the time this phase ends, the decoder has practiced both the format and the task of finding relations and the names that participate in them. For downstream comparisons, the paper also trains a REBEL variant initialized directly from BART-large. Both variants have BART’s original training behind them. The added phase is the use of the REBEL relation data.
Adjusting the fields to the task
The basic triplet format contains the surface forms of the entities, meaning the wording that appears in the source text. Several benchmarks also require an entity type. For those tasks the authors replace <subj> and <obj> with markers associated with particular entity types. Each marker types the span just written and marks the transition to the next field. Thus an entity-type token after the head identifies the head’s type. The corresponding token after the tail identifies the tail’s type. The marker occupies a position already used to separate fields, allowing the decoder to provide typing information as part of the same sequence.
Different benchmarks make different uses of that flexibility. CONLL04 needs its own entity-type markers, including <peop> for a person and <other> for the residual class. NYT uses <loc>, <per> and <org> and maps its relation labels into natural-language expressions closer to those seen during REBEL pretraining. DocRED uses markers for its broader inventory of entity types. Its output still has the same basic fields even though the input is a document and the evidence may be spread across it.
ADE has a simpler output because each annotated relationship connects a drug to an adverse effect in fixed roles. The authors use <subj> to distinguish the two fields and omit the relation name, since the benchmark already determines it. Re-TACRED changes the input instead. Punctuation marks identify the supplied entities, without adding explicit entity types. The system still generates its response freely. The authors found the input markers sufficient for indicating which entities to use and did not constrain generation to reproduce their wording. Both adaptations retain the same basic encoder and decoder while giving them different evidence about what the task requires.
Experiments and results
What a correct prediction has to contain
REBEL is trained to write an output sequence, then evaluated on the triplets read back from it. Under strict evaluation, a correct triplet has the annotated relation and two entity surface forms that fully match the annotated spans. It also has the annotated entity types when those types are part of the dataset. Correct wording for the relation alone cannot compensate for a truncated name. Correct boundaries likewise cannot compensate for a wrong type on a typed benchmark. The score measures the completed record under that benchmark’s conventions.
Precision measures how many predicted records are correct. Recall measures how many labeled records the system recovers. F1 combines precision and recall through their harmonic mean. Micro-averaging pools the relevant counts before calculating the score, giving each scored instance of a relation a share in the result. Macro-F1 gives relation categories equal weight when combining their F1 scores. The distinction is especially informative for a dataset that keeps frequent relations but can still contain an uneven number of instances per category.
On the sentence-level REBEL task, the paper reports 74 micro-F1 and 51 macro-F1. These figures concern extraction against the automatically assembled REBEL labels and a vocabulary of up to 220 relation types. The gap shows that performance looks different when categories have equal weight. The paper gives no per-relation breakdown alongside these figures, so the aggregate scores leave open which labels account for the weaker category-level result. The scores also reflect agreement with a silver labeling pipeline, an important condition when interpreting the resulting extractor as a standalone tool.
CONLL04 tests typed extraction in news sentences
CONLL04 annotates sentences from news articles. It distinguishes 4 entity types and 5 relation types. The entity inventory includes people, organizations, locations and a residual category. The relation labels cover such connections as employment and where someone lives. A complete answer requires both spans, their types and the link between them. The benchmark provides 1,290 triplets in 922 training instances and 422 triplets in 288 test instances under the statistics the paper gives. The authors use the test split from Gupta and colleagues and the validation set used by Eberts and Ulges. They keep the validation instances out of final training.
The main experiment describes fine-tuning for 30 epochs, with the test evaluation using the checkpoint that performs best on the validation set. The comparison includes SpERT, which predicts spans and relations, Wang and Lu’s table-sequence system and TANL, a generative system based on T5. The paper also distinguishes single-dataset TANL from the multi-dataset version. This comparison puts REBEL beside both a structured joint extractor and another approach that expresses a structured task in text.
CONLL04 test results under strict micro-F1
REBEL with relation pretraining has the highest reported score in this comparison.
The numbers
| System or setting | micro-F1 |
|---|---|
| SpERT (train plus dev) | 71.5 |
| Table-sequence | 73.6 |
| TANL (train plus dev) | 71.4 |
| TANL multi-dataset (train plus dev) | 72.6 |
| REBEL initialized from BART-large | 71.2 |
| REBEL with relation pretraining (this paper) | 75.4 |
The training conditions shown in the comparison matter. The paper explicitly marks SpERT and the TANL entries as using the training and development data. REBEL uses development examples to select a checkpoint. Wang and Lu’s table-sequence result also shows that the overall advantage on this benchmark depends on the additional relation pretraining. The BART-initialized REBEL score in the main comparison is below the table-sequence result. The paper’s separate test summary gives 71.97 ± 1.00 micro-F1 for BART-initialized REBEL and 75.35 ± 1.01 for the variant with relation pretraining, with the values after ± indicating standard deviations. The unadjusted entry for BART-initialized REBEL in the main comparison and the seed-average summary differ, so each belongs with its own reporting context.
NYT tests relations with recurring entities
The NYT benchmark uses news sentences from The New York Times, with distant labels derived from Freebase. The paper uses the NYT-multi processing of the data. It includes examples where the entities involved in annotated relations can overlap, making it relevant to a design that can reuse and regroup names across triplets. The benchmark has 3 entity types and 24 relation types, with 94,222 triplets in 56,196 training instances and 8,616 triplets in 5,000 test instances. REBEL expresses the relation labels as natural-language phrases and uses the typed marker format.
The authors fine-tune for a maximum of 42 epochs and select the checkpoint on validation performance. The strict results compare the two REBEL initializations with both variants of TANL. The REBEL variants are close in this setting, while each exceeds the TANL entries under the strict evaluation. This benchmark has more training examples than CONLL04 and a different label collection. The results establish the smaller effect of the added phase here without establishing which difference between the benchmarks accounts for it.
NYT-multi test results under strict micro-F1
Both REBEL initializations score above the TANL entries, with a small lead for relation pretraining.
The numbers
| System or setting | micro-F1 |
|---|---|
| TANL | 90.8 |
| TANL multi-dataset | 90.5 |
| REBEL initialized from BART-large | 91.8 |
| REBEL with relation pretraining (this paper) | 92.0 |
The paper separately reports the boundaries evaluation. Under that protocol, where the comparison is on entity boundaries and relation labels without strict entity typing, REBEL with relation pretraining reaches 93.4 micro-F1 on the NYT test split and TPLinker scores 91.9. This comparison answers a different evaluation question from the strict one. Its threshold for a correct record allows fewer ways for a prediction with the right spans and relation to fail. The separate reporting preserves the meaning of each result.
DocRED tests extraction over longer passages
DocRED brings in document-level relations, 6 entity types and 96 relation types. Its construction draws on Wikipedia and Wikidata. The original dataset was designed around relation classification, while REBEL follows a split and extraction setup from Eberts and Ulges. It asks for entities and relations from the text. The paper describes manually annotated validation and hidden test material in the original dataset and reports results on the splits adopted for the extraction experiment. The paper’s reported extraction test split has 8,787 triplets in 700 instances.
The authors exclude from REBEL pretraining the Wikipedia pages used in DocRED’s validation and test splits. This addresses a direct overlap risk given the Wikipedia origin of both collections. They use markers for the DocRED entity types, including numbers and times as well as named entities such as people and organizations. The main setup describes 21 epochs of fine-tuning and testing on the final checkpoint. For generation, it uses a beam size of 10, which allows decoding to keep several promising partial outputs in consideration. The system can receive a document and generate the triplet sequence through the same kind of decoder used for sentences.
DocRED test results under strict extraction micro-F1
Relation pretraining gives REBEL the highest score in the document-level comparison.
The numbers
| System or setting | micro-F1 |
|---|---|
| JEREX | 40.4 |
| REBEL initialized from BART-large | 41.8 |
| REBEL with relation pretraining (this paper) | 47.1 |
JEREX is the entity-level extraction comparison. The result shows that the sentence-level pretraining can support subsequent document-level fine-tuning. The broader document task is still difficult under strict matching. In the detailed test results, pretrained REBEL reaches 45.89 ± 0.44 micro-precision and 48.37 ± 0.44 micro-recall. These values establish performance for the extraction setup as a whole. The evaluation does not separately score predictions according to whether they depend on a connection across sentence boundaries.
ADE tests adaptation to a narrow relation inventory
ADE annotates drugs and adverse effects in biomedical text. The entity roles determine which field contains the drug and which contains the effect. The paper uses 10 folds of training and testing, selects hyper-parameters using 10% of the training data from the first fold and describes fine-tuning for 25 epochs. The reported evaluation uses the last checkpoint for each fold. Averaging over folds gives a result for that rotation of data partitions, so the variation reported for ADE has a different origin from the seed variation reported for the other downstream datasets.
On the main strict comparison, REBEL with relation pretraining scores 82.2 micro-F1 on ADE. The BART-initialized version scores 81.7, and single-dataset TANL scores 80.6. The table-sequence entry scores 80.1 and is marked as having filtered 2.8% of overlapping entities. The comparison shows that a system pretrained on broad Wikipedia relation labels can adapt to a benchmark with a specialized vocabulary and a single relationship. On this experiment the two REBEL variants are also close, which limits how much of the performance can be assigned specifically to the additional REBEL data.
The detailed fold averages for the pretrained variant are 81.45 ± 1.51 micro-precision, 83.07 ± 1.25 micro-recall and 82.21 ± 1.08 micro-F1. The reported fold variability and the use of a different protocol for the filtered table-sequence baseline are relevant when comparing the rows. The paper demonstrates adaptation on the benchmark’s supervised data. The ADE result measures the specialized task after that training.
Re-TACRED supplies the entities
Re-TACRED revises TACRED in response to concerns about its annotations. Here each sentence comes with a designated pair, and the system predicts a relation or no_relation. The paper reports that no_relation accounts for 63% of the 91,467 sentences. The benchmark has 40 relation types in the paper’s statistics and 13,418 test instances. Because a large share of the sentence contexts are negative for the supplied pair, the task includes learning when the context supports no labeled relation. TACRED Revisited
The REBEL experiment marks the entities with punctuation and supplies no explicit type labels. The authors describe fine-tuning for 8 epochs and evaluating the last checkpoint. In the detailed test results, the version with relation pretraining gives 90.36 ± 0.23 micro-F1 and the BART-initialized version gives 90.39 ± 0.26. The paper places both near LUKE and the RoBERTa-large classifier with entity markers in the comparisons without supplied entity types. It also reports 91.1 F1 for a system by Zhou and Chen that uses entity types. That result shows the performance in a setting with additional input information. LUKE and An Improved Baseline for Sentence-level Relation Extraction
The Re-TACRED results are evidence that the same generation machinery can serve a pair-specific classification task. The matching scores from the two REBEL initializations also qualify the broader claim about pretraining. The extra phase is consistently helpful in the main strict extraction comparisons, with a magnitude that varies by dataset. It yields essentially equal test results on this classification benchmark, where the model receives information about which pair to consider.
What the ablations show
What changes when REBEL skips its own pretraining?
The most direct comparison keeps the BART-large architecture and the sequence representation while changing the initialization used for benchmark fine-tuning. One variant first learns extraction on the REBEL data. The other starts from BART-large and learns the target task using the downstream benchmark. This comparison measures the contribution of an entire additional training phase. That phase includes practice writing marked sequences, detecting relations in Wikipedia sentences and generating entity names. Its benefit cannot be partitioned among those ingredients using the two variants alone.
On CONLL04, the seed averages help identify where the difference appears. Test micro-precision is 75.59 ± 1.53 with relation pretraining and 75.22 ± 1.30 with BART initialization. Test micro-recall is 75.12 ± 0.64 with relation pretraining and 69.01 ± 1.68 with BART initialization. The scores indicate that this setup’s gain is largely associated with recovering more of the annotated records. The pretrained version maintains nearly the same precision while recovering more, so it improves on the stricter requirement to complete each triplet correctly. The measurements leave open whether the recovered records owe more to better spans, better relation predictions or improved typing.
DocRED shows a different pattern in the test averages. The variant initialized directly from BART scores 38.75 ± 0.54 micro-precision and 45.48 ± 0.36 micro-recall. The additional phase is associated with gains on both measures, to 45.89 ± 0.44 and 48.37 ± 0.44, respectively. This comparison is particularly informative because the added training uses sentences while the target task uses documents. The transfer could involve familiarity with output formatting, relevant relational vocabulary or the more general practice of selecting the right entities. The analysis scores the final extraction and cannot distinguish these explanations.
The DocRED development scores also illustrate how an aggregate gain can come from different patterns of errors. With REBEL pretraining, development micro-recall is 49.19 ± 0.43 and micro-precision is 46.65 ± 0.94. From BART alone, development micro-recall is 35.92 ± 1.81 and micro-precision is 46.27 ± 1.17. The similar precision and different recall on development give a different emphasis from the test comparison. Both splits favor the pretrained variant in F1. The relative roles of precision and recall depend on the split, so the paper’s results support a performance claim more directly than a general account of which mistakes pretraining fixes.
The changes on NYT and ADE are smaller. On NYT, the strict test averages are 91.96 ± 0.07 micro-F1 with relation pretraining and 91.76 ± 0.04 with BART initialization. The BART-initialized variant is already strong, showing that the format and benchmark supervision can go a long way in that setup. ADE likewise yields competitive results from either initialization. Re-TACRED extends the comparison to a different task, where the two scores are effectively equal. The authors suggest the amount of target data and the mismatch between extraction pretraining and pair-specific classification as possible reasons. The experiment does not vary those factors independently.
What changes when fine-tuning is shorter?
The authors also train under smaller downstream epoch budgets on CONLL04 and NYT. An epoch is a pass through the training data in the corresponding experiment. Changing the budget changes the schedule for learning-rate adjustments, so the authors retrain at the selected budgets with the schedule adapted to each one. They also repeat runs with different seeds. This tests achievable performance when training is planned to be short, rather than simply reading intermediate checkpoints from a longer run.
The budget results are measured on development data. CONLL04 micro-F1 is averaged over 5 seeds, and NYT micro-F1 over 3 seeds. The authors report that the pretrained version reaches performance similar to previous leading systems after 8 epochs for CONLL04 and 3 for NYT. They also report needing less than 30 epochs for a leading CONLL04 result. For context, SpERT was trained for 20 epochs on CONLL04 and single-dataset TANL for 200 epochs. The paper describes the table-sequence approach as training for up to 5,000 epochs on that benchmark. The unit describes how many times each method uses its own training data and cannot by itself normalize the work done in a pass.
The curves support a practical claim about adaptation from the released initialization. A user starting from that point can reach much of the final development performance without the full fine-tuning budget. The authors also observe that other systems approach their own final performance fairly early in the schedule, even where that final performance is lower. This separates the speed of approaching a method’s own endpoint from the score at that endpoint. REBEL’s relation pretraining gives it a stronger place to start on these tasks, while the budget experiments show how that advantage is reflected in shorter downstream runs.
The initial REBEL training has already consumed work. The paper’s appendix lists 9 hours per epoch for the REBEL data in its hardware setup. The case for efficiency is strongest when a pretrained checkpoint is reused across later tasks. An end-to-end accounting for a single target would have to include the additional phase and take account of the training already invested in each competing initialization. The budget curves measure downstream development micro-F1 at different fine-tuning lengths. They do not provide a measured comparison of total compute across complete training pipelines.
What the comparisons can isolate
The benchmark comparisons establish that the particular combination of BART, marked linearization and relation pretraining is competitive. They give less evidence about which choice of output order is best. A direct test of the grouping would train the same system with an otherwise equivalent sequence that writes a head for every triplet. A test of order would compare different ways of arranging the same targets under matched conditions. The paper discusses alternative decoding strategies and compares against another generative system, TANL. TANL also differs in its base system and training procedure, so that comparison does not isolate the effect of REBEL’s markers or ordering.
The entailment filter receives a preliminary assessment in the paper. The authors say it removed noisy examples and led to cleaner training data in their initial experiments. They do not give a matched downstream comparison of the same extraction setup pretrained on filtered and unfiltered examples. Accordingly, the pretraining gains show what can be achieved using the retained data. The paper’s examples explain why the filter is sensible, while its threshold and the cost in missed valid relations remain unevaluated in a controlled downstream comparison.
The authors also discuss an alternative to free generation for relation classification. TANL can score candidates by computing the likelihood of each relation for the given entities, whereas REBEL allows the output to be generated directly. Explicitly scoring each candidate introduces extra computation when there are many possible relations. The paper reports no TANL result on Re-TACRED for that reason. The RC comparison therefore establishes how well REBEL works with free generation against the reported classification baselines. It does not determine how much the same system would gain from scoring each candidate relation.
Limitations
Limits the authors identify
The first limit is the training data. The authors acknowledge that their pipeline can retain noisy relations and filter out relations the source text does express. The filter also only sees candidate relations supplied by the earlier linking and Wikidata steps. A missing link or database entry can prevent a good example from reaching the inference filter. A strong prediction from that filter is a judgment about entailment, with its own errors. These conditions are compatible with a collection being large enough for effective training while still being an imperfect account of what its passages say.
The second limit is exposure bias. During training the next-token decision follows a correct prefix. During use it follows the generated prefix. The authors explain that attention can help the decoder draw on long-distance information or the relevant parts of what it has already written. A bad field can nonetheless affect what comes later. In the grouped format, an incorrect head can taint several subsequent triplets that inherit it. A missed marker can change how a stretch of output is read. Reversibility tells a reader how to recover the records from a well-formed sequence. It does not guarantee that generation will produce that sequence.
Model size is another explicit constraint. REBEL inherits the footprint of BART-large, which the appendix reports as 406M parameters, with a negligible increase for new marker tokens. Its reuse across several tasks can save downstream training effort, but its starting size remains substantial. The authors plan a REBEL-base version using BART-base. The paper evaluates the larger system and leaves the speed and accuracy of the smaller proposed version as future work.
The authors also leave mixed-dataset training open. REBEL’s initial task is extraction, while Re-TACRED is classification. Training across both kinds of data might change how well the shared generation procedure transfers. A further possibility is to give the REBEL silver data to a different joint extraction system. The fact that the table-sequence system exceeds BART-initialized REBEL on CONLL04 gives a concrete reason to ask whether that architecture would also gain from access to the data. The paper reports neither of those training comparisons.
Limits visible in the setup
The standalone extractor’s broad vocabulary still has a defined source. Its 220 sentence-level training relation types come from retaining the frequent labels in a particular collection. Forming an entity name from text is a different ability from recognizing a relation outside that inventory. The experiments adapt the output to new benchmarks using labeled examples, sometimes with new markers or differently expressed labels. They show flexibility under supervised adaptation. They leave unmeasured how well REBEL would handle new relation definitions with no training examples.
The multilingual claim concerns the data pipeline’s design. A tool that can use Wikipedia dumps in multiple languages offers a route to building more collections. The benchmark evidence does not compare extraction quality across languages. For a new dump, the availability of links, the coverage of Wikidata properties and the behavior of the entailment filter would all affect the retained examples. The paper’s empirical performance claims can therefore be read separately from its account of where the pipeline can run.
DocRED provides a test on longer input, with an explicit precaution against pretraining on its held-out Wikipedia pages. It gives one document-level setting and evaluates final triplets. It does not annotate the reasoning route the decoder used for each prediction. For example, an exact triplet can receive credit whether it was recovered from one local sentence or depended on bringing evidence from several sentences together. The scores leave that distinction unresolved. Likewise, the output representation records names and relation labels instead of a trail of the supporting mentions. Where the same surface form occurs several times, that format supplies limited information about which occurrence drove a prediction.
Scores also depend on how a dataset defines a record. Strict evaluation rewards exact agreement with the entered span and type, and can treat an otherwise intelligible wording as incorrect when it does not match the label. Silver supervision introduces a different issue. A prediction may express a relation supported by the source yet missing from the automatically derived records. In this case agreement with the collection and agreement with everything the passage says can diverge. The experiments measure performance against their respective annotations, which is enough for the reported benchmark comparisons under their stated conditions.
The comparison tables flag training on development data and the filtering of overlapping entities in some baselines. Those differences limit what a ranking alone can establish about the extraction architecture. The appendix’s hyper-parameter table also gives maxima of 33 for CONLL04, 20 for DocRED, 6 for Re-TACRED and 3 for the REBEL dataset, while the main narrative describes 30, 21, 8 and 6 epochs for those respective setups. The paper does not reconcile those entries. A reader can distinguish the schedules described in the experimental discussion from the appendix values, but should treat the exact training schedule for reproducing each reported result as unclear where they disagree.
Finally, the budget experiments give downstream accuracy at specified epoch counts. They do not report inference latency for the same workloads across the benchmark systems. The grouped format reduces repeated output wording by construction, but the paper does not give a matched latency comparison with a format that repeats the head. Architecture size, beam search and output length would each matter to such a measurement. The experiments establish the adaptation and extraction results without resolving the full runtime tradeoff.
What came after
Generation as a way to return structured records
InstructUIE takes up unified information extraction through multitask instruction tuning. REBEL shows how a shared generator can be adapted when tasks use different entity markers or label inventories. InstructUIE’s stated direction brings the task specification into the instruction-tuning problem itself, with several extraction tasks under a common approach. The connection is the effort to express different extraction decisions through one generative interface. The description of the later work establishes that scope without establishing that it inherits REBEL’s markers or training corpus. InstructUIE
CodeIE explores code generation as a route to information extraction from few examples. Its use of code foregrounds a related representation question. A generator needs to return an answer in a form a program can use. REBEL chooses markers in a token sequence so a program can recover fields, while CodeIE’s direction puts code generation at the center of the problem and considers few-shot learning. The common issue is how to express the requested structure in a generation task when the output has to be interpreted as data. CodeIE
AnchorAlign returns to the specific combination of named entity recognition and relation extraction. It proposes an anchor-alignment enhancement within a generative method for the joint task. That places it close to REBEL’s original problem of producing names and their relationships together. REBEL gives the selected names a position in the generated record and uses their source order to arrange the output. AnchorAlign’s stated contribution points to alignment as a separate design choice in generative joint extraction. The relationship between the papers can be understood at that level without assigning REBEL’s output grammar to AnchorAlign. AnchorAlign
Large Language Models for Generative Information Extraction surveys the broader class of approaches in which REBEL sits. For this line of work, the important shared move is to formulate extraction as producing structured output with a generator. REBEL gives a concrete instance with a defined representation, a training corpus and strict evaluation of the recovered triplets. The survey’s scope extends to generative information extraction as a category. Its role in this sequence of work is to treat the category as an area of study in its own right. Generative Information Extraction survey
Scientific text, documents and evidence
BioGPT takes generation into biomedical text generation and mining. REBEL encounters the domain through ADE, where it adapts an existing general-purpose extraction setup to a narrowly specified relationship. BioGPT’s stated scope is broader biomedical generation and mining, placing the specialized language at the center of the work. Both papers connect generation to recovering information from text, with different stated objectives. The citation places REBEL in the discussion of generative mining without establishing that BioGPT uses the ADE experiment or the same triplet format. BioGPT
Structured information extraction from scientific text with large language models studies extraction in scientific prose. The shared question is how to convert evidence embedded in a passage into fields that can be used as structured information. REBEL fixes the shape of a relation record and varies the benchmark’s labels and inputs. Scientific extraction brings the vocabulary and target structure of scientific documents into that question. The later work’s scope connects the papers through that transfer of the extraction problem, without specifying a shared decoding procedure. Structured information extraction from scientific text
AREEj addresses Arabic relation extraction with evidence. Its declared focus on evidence adds a concern that REBEL treats differently at data construction and at prediction. REBEL checks candidate training relations for textual entailment and evaluates the entities and label it generates. Its output triplet does not carry a grounding passage as a separate field. An evidence-oriented relation extraction task puts the source support alongside the interest in identifying the link. AREEj also concerns a particular language, extending the discussion from REBEL’s account of a multilingual data pipeline toward a named language setting. AREEj
MMUIE addresses universal information extraction from long documents across domains. REBEL’s DocRED experiment asks whether a sentence-pretrained generator can be adapted to one document-level extraction setup. MMUIE’s scope makes both document length and domain variety part of the larger extraction problem. That connection concerns the range of inputs and tasks that a shared approach is meant to cover. It leaves the particular relation inventory, alignment choices and output format of the later work separate from the conclusions of REBEL’s DocRED comparison. MMUIE
From triplets to knowledge graphs
Extract, Define, Canonicalize presents a framework for constructing knowledge graphs. Its named stages connect extraction with defining the relations and bringing equivalent expressions into a canonical form. REBEL primarily asks whether a system can recover triplets using a trained relation vocabulary. Graph construction also has to decide how repeated entities or relationships should be represented consistently across passages. The later framework’s stated scope brings that downstream problem of normalization into the same workflow as extraction. Extract, Define, Canonicalize
Context Matters studies open-ended answer generation with graph-structured knowledge context. It takes up a downstream purpose for which relations expressed as records can matter. REBEL’s direction runs from prose to a structured record of its relationships. The later work’s declared direction uses graph structure as context for producing an answer. Read together, the topics distinguish two decisions in systems that work with both prose and graphs. Extraction determines which entities and relationships are available in structured form. Answer generation decides which structured information should guide the response. Context Matters
These citations support connections through the later works’ stated tasks. They do not on their own establish direct reuse of REBEL’s checkpoint, dataset or linearization. The clearest continuity is the choice to make extraction targets expressible through generation. Subsequent work asks how that choice interacts with task instructions, code, document length, evidence and the identities that must persist when records from separate passages become a graph.
Cite
Cite as Pere-Lluís Huguet Cabot and Roberto Navigli. 2021. REBEL: Relation Extraction By End-to-end Language generation. Findings of the Association for Computational Linguistics: EMNLP 2021.
@inproceedings{cabot2021rebel,
title = {{REBEL: Relation Extraction By End-to-end Language generation}},
author = {Pere-Lluís Huguet Cabot and Roberto Navigli},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2021},
year = {2021},
doi = {10.18653/v1/2021.findings-emnlp.204},
url = {https://doi.org/10.18653/v1/2021.findings-emnlp.204}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/cabot-2021-rebel-relation-extraction-end-end/