Elamur Research

Sentence Embedding Alignment for Lifelong Relation Extraction

Paper · 2019 · Hong Wang, Wenhan Xiong, Mo Yu et al.

Summary

A relation extractor reads a passage and identifies a connection between entities mentioned in it. The usual setup assumes that the kinds of connection are known before training starts. That assumption becomes restrictive when an application must handle new kinds of facts as its data changes. The authors study what happens when labeled examples for new relations arrive in successive tasks. The extractor must learn the latest relations and continue recognizing earlier ones, even as the set of possible answers grows. Keeping every past example and training again on the entire collection can be expensive. Learning from the latest examples alone can cause catastrophic forgetting, a decline in performance on tasks the extractor could previously handle.

The authors build two evaluation benchmarks for this problem. Lifelong FewRel groups 80 relation types into 10 tasks built from sentences, while Lifelong SimpleQuestions divides question–relation data into 20 tasks. They first test Episodic Memory Replay, or EMR. This approach keeps a small collection of earlier examples and uses randomly sampled batches from it to make ordinary training updates alongside updates on new data. Plain replay beats the more elaborate continual-learning baselines in the relation experiments, including Gradient Episodic Memory and Elastic Weight Consolidation. The authors also compare replay with Gradient Episodic Memory on image benchmarks, where the results are broadly similar with an exception on MNIST Rotations.

The full approach, Embedding Aligned EMR, adds a way to keep the extractor’s internal representations usable across tasks. It stores the old vector representations of selected sentences together with the examples. After training on an incoming task, the authors fit a linear transformation using those stored representations as targets for replayed sentences. Current-task sentences supply a separate set of targets that preserve the representations just learned for them. The authors also use K-Means, a clustering procedure, to choose examples from different parts of the representation space for future replay. This gives the limited memory a way to cover several patterns in a task.

The full approach improves on the earlier baselines on both relation benchmarks. Removing the alignment objective hurts performance even when the additional transformation is still present, which ties the gain to how the transformation is trained. The clustering strategy also outperforms random storage and a strategy that selects examples to approximate the overall mean. Together, these comparisons show that a small memory can serve two purposes. The labels support continued practice on old relations, and the stored vectors give the extractor a reference for keeping its earlier representations usable. The authors make the code and benchmark data available through their Lifelong_Relation_Detection repository.

Deep dive: Sentence Embedding Alignment for Lifelong Relation Extraction

Sentence embedding alignment helps relation extractors learn new relation types while retaining earlier ones through replay and a small memory. · about 38 minutes to read

The problem and its context

Learning relations after an extractor is in use

Relation extraction belongs to information extraction, where the aim is to turn information expressed in text into a form that can be used directly. In this paper, the unit of interest is a relationship indicated by context. A relation type specifies what kind of connection holds. An example supplies a concrete piece of text that expresses a connection of that type. Learning a relation means recognizing a recurring kind of connection across examples, even when the specific entities or phrasing change.

The authors point to uses in completing structured collections of facts and in question answering. An extractor can supply a candidate relation for a fact that a collection lacks. When answering a question against a structured collection, it can help determine which relation the question asks about. These uses have a shared dependency. The available inventory of relations determines what distinctions the extractor can make. The paper’s example of a growing inventory comes from a knowledge graph, which represents facts through entities and named relationships. New items and new properties continue to appear in Wikidata.

The distinction between a new example and a new relation is central. A new sentence may supply evidence for a relation the extractor already knows. A new relation adds a possible interpretation. The latter means that a decision about a familiar sentence can change even if that sentence has stayed exactly the same. The updated extractor may give a newly available relation a higher score than the earlier correct one. It may also change the internal representation of the sentence or the relation it used to predict. Lifelong relation extraction has to contend with both the change in learned representations and the expansion of the answer inventory.

The conventional treatment described in the paper used a fixed set of relations and a fixed training dataset. Within that setup, training and evaluation can be planned around a stable set of alternatives. The lifelong setup spreads the training data across a succession of tasks, each with its own labeled examples. The learner sees the tasks in order and is evaluated throughout the sequence. A task in this sense is a block of supervised training, frequently covering several relations. It is distinct from an individual query, which supplies a sentence or a question to be matched with a relation.

Keeping the whole training history would make it possible to revisit every earlier example. The practical issue is what happens when the sequence is long or the individual training sets are large. The paper points to the cost of retaining those datasets and the cost of making use of them on each update. Even if every example could be stored, a small random draw from an ever larger archive might make poor use of the data relevant to an update. The authors formulate the problem around a budget that limits how many old examples are available. The learner must decide which traces of its past training are valuable enough to carry forward.

Why current accuracy is only part of the evaluation

The simplest way to adapt to a new task is to start from the preceding state and train on the new examples. Starting from that state gives the new task access to whatever features have already been learned. The resulting updates can also change behavior in ways that reduce performance on earlier tasks. Catastrophic forgetting is the name given to that loss of earlier competence as learning proceeds. The paper emphasizes that changes to weights can have complicated effects in a network where many parameters interact. A small change in the weights is therefore an uncertain guide to how a familiar input will be represented or classified.

Earlier tasks continue to matter even when the system is learning the latest one well. A score limited to the latest test split can establish that a system learned those relations while leaving the old ones unevaluated. The paper instead tracks the tasks encountered so far. That lets an experiment ask whether accuracy on earlier data survives the process of acquiring new relations. The paper also evaluates the entire test collection, which gives a view weighted by the number of test examples. These perspectives matter because a task containing many examples can exert more influence on a pooled score than a smaller task.

There is a further choice about what information the extractor receives when it makes a prediction. If it is told which task an example belongs to, that information can restrict the answer to relations from the corresponding group. The lifelong relation problem calls for recognizing an applicable relation among those encountered by the current stage. An example from an earlier group consequently remains relevant after several more groups have arrived. The test asks whether the system can still recognize earlier relations in the presence of the vocabulary acquired since then. The benchmark implementation also uses candidate sets attached to examples, which affects how directly an individual prediction tests the full expanding inventory.

Where earlier approaches apply their safeguards

One line of work described by the authors keeps examples from earlier tasks and uses them to evaluate proposed updates. Gradient Episodic Memory, or GEM, asks whether an update for new data is compatible with gradients calculated on the saved examples for each previous task. A gradient is a direction of change in a loss, the quantity the training procedure seeks to reduce. GEM uses those earlier gradients to constrain the update direction. A later baseline in the same family, AGEM, uses a single constraint based on a sample from earlier tasks. Both depend on old examples as a source of evidence about how new training may affect earlier performance.

Another line of work protects particular parameters. Elastic Weight Consolidation, or EWC, assigns importance to weights based on their role in previously learned tasks. A change to an important weight carries a larger penalty, which slows updates that would move it away from its earlier value. This is a different way of keeping the effects of previous training available. The paper describes parameter consolidation more generally as a family whose members can frequently train on each task once and do without saving old examples. Its safeguard comes from information about the weights.

The authors also describe approaches that add parts to the architecture as further tasks arrive. Additional components can insulate what was learned for earlier tasks from later updates. The authors identify growth in the architecture as a practical concern for a long sequence. They also argue that separating tasks in this way can limit positive transfer, where learning one task helps with another. One example they cite of the architectural direction is Progressive Neural Networks.

These approaches place safeguards at different points in the learning process. A constraint on an update direction addresses the immediate effect implied by saved gradients. A penalty on moving important weights addresses changes to parameters. Adding components changes where the new work is done. The paper’s proposal focuses on the vectors the extractor actually uses to make its decisions. Its starting question is whether the output of an updated sentence encoder can still be brought close to the output that earlier training produced for that same sentence.

That question makes representation drift concrete. An embedding is a numerical vector used to represent an input. In relation detection, the sentence and the candidate relation each have a vector, and their agreement helps determine the prediction. If later training moves saved sentences through this space, earlier distinctions can become harder to recover. A transformation that puts those sentences near their previous positions may preserve useful structure while the underlying encoder continues to learn. The authors develop that idea on top of a direct use of the saved examples, where those same sentences also continue to contribute supervised training updates.

The method, step by step

What arrives at each stage

The method starts with a sequence of supervised tasks. Each comes with training examples, validation examples and test examples. An example has an input and a labeled answer. In the relation experiments, the input is a sentence or question and the label is a relation. At each stage, the learner receives the current task’s training data and can draw on a bounded memory of earlier examples. The test data serves to measure performance as the sequence progresses.

{𝒯⁽¹⁾, 𝒯⁽²⁾, …, 𝒯⁽ᴷ⁾}

Here 𝒯 denotes a task, the superscript gives its position in the sequence, and K is the total number of tasks. The braces enclose the tasks, which are processed in the displayed order, and the ellipsis stands for the intervening stages. A task at position k has a label set L⁽ᵏ⁾ and corresponding training, validation and test splits.

ℓ(f(x), y)

Here x is an input, y is its correct label, and f is the learner’s prediction function in the generic task definition. The function ℓ gives the supervised loss for the output f(x) and the label y. In the relation architecture below, f also names the underlying system that produces representations for ranking, and the loss notation suppresses some details of how the candidate relations are encoded and scored.

y⁽ᵏ⁾ ∈ ⋃ⱼ₌₁ᵏ L⁽ʲ⁾

Here y⁽ᵏ⁾ is the relation predicted at stage k, ∈ means “belongs to,” and L⁽ʲ⁾ is the label set of task j. The union, shown by ⋃, collects the labels from task 1 through task k. The relation inventory eligible at stage k therefore includes earlier labels as well as those introduced in the current task.

|𝓜| ≤ B

Here 𝓜 is the episodic memory, the bars count its stored examples, and B denotes the budget in the generic formulation. The inequality gives the upper bound on the number of saved examples. The paper describes this abstract budget separately from the experimental practice of assigning a fixed allotment to individual tasks. The stored instances available when training on task k are drawn from tasks completed before k.

How plain replay uses the memory

EMR gives a saved example another chance to influence the same supervised training procedure that handles a new example. The current task supplies a mini-batch, a small group of examples used to calculate an update. The memory supplies a replay mini-batch. In the basic algorithm as described, an iteration takes a gradient step on each of those batches. Once training on a task finishes, the method saves some of that task’s examples for later replay.

D_train⁽ᵏ⁾ ⊆ T_train⁽ᵏ⁾

Here D_train⁽ᵏ⁾ is the current mini-batch at stage k, and T_train⁽ᵏ⁾ is the full training split of task k. The symbol ⊆ means that the mini-batch is a subset of that split.

D_replay⁽ᵏ⁾ ⊆ 𝓜

Here D_replay⁽ᵏ⁾ is the batch of examples replayed while learning task k, and 𝓜 is the memory available at that point. The subset notation indicates where the replayed items come from. The training and replay batches play different roles in the update, even though both contribute ordinary labeled examples.

The paper considers two ways of making the replay draw. In task-level sampling, the procedure chooses an earlier task uniformly and draws the replay batch from that task’s saved examples. In sample-level sampling, it draws examples across the entire memory. Suppose one earlier task occupies more memory slots than another. A memory-wide draw will encounter examples from the larger group more often. A uniform draw over tasks gives the groups the same chance of furnishing the replay batch, even if the number of saved examples per group differs.

D_replay⁽ᵏ⁾ ⊆ 𝓜 ∩ T_train⁽ʲ⁾

Here D_replay⁽ᵏ⁾ is the replay batch during task k, j is the earlier task chosen for that draw, and T_train⁽ʲ⁾ is its training split. The intersection ∩ keeps the examples that are both in 𝓜 and in that earlier split. The subset relation ⊆ restricts the batch to that part of memory.

When tasks have equal numbers of stored examples, both schemes give an individual draw the same marginal weighting over tasks. Task-level sampling can still keep an entire replay batch within one task, a useful property when examples from different tasks would require different computations. The authors associate uniform task sampling with averages that give tasks equal weight, and memory-wide sampling with weighting by stored examples. They use the task-level scheme for the main relation experiments. Plain replay can be paired with different stochastic optimizers, since its basic operation is to present each batch for a standard training update.

The computational comparison with GEM starts from how often each method has to process old examples. EMR processes the examples in its replay draw. GEM, as described in the comparison, uses the saved data for every earlier task to calculate the gradients for its constraints. A forward pass computes outputs for the examples, and a backward pass computes the corresponding gradients. The paper counts the work associated with those calculations in units of examples processed for a training batch.

|D| + m

Here |D| is the number of examples in the incoming training mini-batch, m is the size of the replay mini-batch, and + adds the two contributions. This is the EMR count for forward and backward calculations in the paper’s comparison. The authors use a fixed m, equal in their experiments to the number of examples kept for an individual earlier task.

|D| + |𝓜|

Here |D| again counts current examples, and |𝓜| counts all examples currently stored in memory. This is the corresponding GEM count, before accounting for the projection itself. The memory term can grow as tasks contribute examples, up to the budget. The analysis explains why a larger history can raise the cost of preparing GEM’s update even when the size of the incoming batch stays fixed.

What GEM does with the earlier gradients

GEM provides a precise point of comparison for replay. For each earlier task it calculates the average gradient on that task’s saved examples. It also calculates the gradient on the current mini-batch. These gradients describe what a small change in the weights would do to the corresponding losses locally. The procedure looks for a direction that stays close to the current gradient and satisfies a separate condition for every earlier task represented in the calculation.

g_task⁽ʲ⁾ = [∑ᵢ′ ∇ℓ(f(xᵢ′⁽ʲ⁾), yᵢ′⁽ʲ⁾)] / |𝓜 ∩ T_train⁽ʲ⁾|

Here g_task⁽ʲ⁾ is the mean gradient for an earlier task j, and i′ indexes the examples from that task kept in memory. The pair xᵢ′⁽ʲ⁾ and yᵢ′⁽ʲ⁾ is the stored input and its label. The function f supplies the prediction used by the loss ℓ, and ∇ takes the gradient of that loss with respect to the learner’s parameters. The sum ∑ adds the gradients over the saved examples of task j. The denominator counts those examples by taking the intersection of 𝓜, the memory, and T_train⁽ʲ⁾, the training data for task j.

min_g̃ ‖g̃ − g_train⁽ᵏ⁾‖² subject to ⟨g̃, g_task⁽ʲ⁾⟩ ≥ 0 for j = 1, …, k−1

Here g̃ is the gradient direction being chosen, and g_train⁽ᵏ⁾ is the gradient calculated on the current training batch at stage k. The minimization, indicated by min, seeks the smallest squared distance ‖·‖² from that current gradient. The angle brackets denote an inner product, and the condition requires that product to be non-negative with g_task⁽ʲ⁾, the average saved gradient for task j. The index j runs from the first task through the task immediately preceding k. The ellipsis stands for the intervening tasks.

In a descent update, a positive inner product with an earlier gradient means the selected direction is locally compatible with reducing the earlier loss. A zero product allows the corresponding first-order change to be neutral. This is a condition on the direction inferred from saved data, so its connection to retention depends on how well those gradients represent the earlier task and on what happens after the update. EMR uses the same kind of historical evidence more directly. It takes a supervised descent step based on the replay batch itself.

From a sentence and a relation to a score

The basic relation extractor is a ranker. Given a sentence or question and the possible relations for that instance, it scores each candidate and selects the one with the highest score. The paper describes the architecture as similar to HR-BiLSTM. It uses two bidirectional long short-term memory networks, or BiLSTMs, with one encoding the input text and the other encoding the relation. A bidirectional encoder takes account of the sequence in both directions when constructing its representation. Both encoders take GloVe vectors as word inputs. These are word embeddings, numerical representations attached to the individual words that the encoders receive.

The sentence vector and relation vector occupy a space where their orientations can be compared. The score is cosine similarity, which measures how closely the vectors point in the same direction. Training uses a ranking loss, built around scoring the correct relation above competing relations. This makes the connection between representation and decision explicit. An updated encoder can change a sentence’s rank order by moving the sentence vector, by moving the candidate vectors, or through the combination of the two. The paper specifies the score and the type of training loss while expressing the learning objectives below in terms of the general loss ℓ.

EA-EMR places a linear transformation between the encoders and the calculation of similarity. Both the input representation and the relation representation pass through that transformation. This detail matters because the predicted relation is represented by a vector as well as the text. A common transform makes the score a comparison in the aligned space. The reconstruction terms in the stated objective use the input x. The supervised ranking term supplies the role of the label and the candidate relations.

Training the encoders and the alignment in turn

When the method saves an example, it also keeps its embedding. The text can then be encoded again after further training, producing a current representation to compare with a historical target. That pairing is what makes the saved example an anchor. The authors’ rationale is that if the changed representations remain close enough in structure to their predecessors, a simple linear transformation should be able to recover useful earlier positions. A transformation that works for a number of old examples gives the method a way to correct shared changes with the same mapping.

At the start of a task, both the base system and the alignment are initialized from the state reached before that task. The training objective combines being right about the current data, being right about replayed data, and recovering the preceding aligned representations of replayed inputs.

min_f,a { ∑_(x,y)∈D_train⁽ᵏ⁾ ℓ(a(f(x)), y)
          + ∑_(x,y)∈D_replay⁽ᵏ⁾ [ℓ(a(f(x)), y)
                                  + ‖a(f(x)) − a⁽ᵏ⁻¹⁾(f⁽ᵏ⁻¹⁾(x))‖²] }

Here min_f,a denotes minimization over the base system f and the alignment transformation a. The sums ∑ range over labeled pairs (x, y) in D_train⁽ᵏ⁾, the current batch, and D_replay⁽ᵏ⁾, the replay batch at stage k. The symbol ∈ denotes membership in the indicated batch. The function ℓ is the supervised ranking loss, and a(f(x)) is the aligned representation used in the prediction for input x. The label y specifies the correct relation. The superscripts k−1 identify the preceding state of the transformation a and the base system f. The squared norm ‖·‖² measures the squared distance between the current aligned representation and the earlier target. The + signs combine the loss terms. The paper explains the use of stored embeddings as the way to retain representations for replayed examples and writes the historical target in terms of the preceding state in its objective.

The proposed procedure divides this objective into two training steps. The first holds the preceding alignment fixed while updating the base system. New and replayed examples both contribute their ranking losses. The purpose of this step is to learn the current relation task through the ordinary prediction objective while continuing to practice on stored examples.

min_f ∑_(x,y)∈D_train⁽ᵏ⁾∪D_replay⁽ᵏ⁾ ℓ(a⁽ᵏ⁻¹⁾(f(x)), y)

Here min_f specifies that f is the part optimized. The sum ranges over pairs (x, y), with input x and correct relation y, drawn from the union ∪ of the current batch D_train⁽ᵏ⁾ and the replay batch D_replay⁽ᵏ⁾. The symbol ∈ indicates membership in that union. The term a⁽ᵏ⁻¹⁾ is the alignment carried forward from before stage k, and it stays fixed in this step. The loss ℓ evaluates the ranking based on the representation obtained by applying that alignment to the updated encoder output f(x).

The second step holds the updated base system fixed and fits the alignment. The current examples supply targets given by their newly learned encoder outputs under the preceding transformation. This asks the new transformation to preserve the aligned positions that the preceding step used to learn the current task. The replayed examples supply historical targets that refer back to both preceding components. The alignment is therefore fitted against different reference states for the new and old inputs.

min_a { ∑_(x,y)∈D_train⁽ᵏ⁾ ‖a(f(x)) − a⁽ᵏ⁻¹⁾(f(x))‖²
        + ∑_(x,y)∈D_replay⁽ᵏ⁾ ‖a(f(x)) − a⁽ᵏ⁻¹⁾(f⁽ᵏ⁻¹⁾(x))‖² }

Here min_a specifies that only the transformation a is fitted, with f denoting the updated, fixed base system. Each ∑ ranges over the pairs (x, y) in its named batch, as indicated by ∈. The first batch, D_train⁽ᵏ⁾, contains the data from the current task. Its targets apply a⁽ᵏ⁻¹⁾, the preceding transformation, to the current f(x). The second batch, D_replay⁽ᵏ⁾, contains saved examples, and its targets use f⁽ᵏ⁻¹⁾ as well as a⁽ᵏ⁻¹⁾. The label y identifies the labeled pair in the sum, while the vector distance for each term uses x. The squared norms measure mismatches with the respective targets, and + combines the two sets of mismatches.

The difference between these targets explains why the order of the steps matters. After the base system has learned from the new relations, the current-task reference already reflects that training. The earlier reference gives the alignment a reason to restore the old inputs’ positions. A target based completely on the current encoder would preserve whatever effects the new training had already had on the replayed inputs. A target based on the preceding encoder for every input would ask the transformation to preserve old representations for material the system has just been trained to handle. The fitted transformation balances preservation of the latest learning with recovery of earlier representations.

Training and memory updates in Embedding Aligned EMR

The steps in order.

Training and memory updates in Embedding Aligned EMRStep 1: Draw current examples and replay earlier examples1. Draw current examples and replay earlier examplesStep 2: Update the encoders with the preceding alignment2. Update the encoders with the preceding alignmentStep 3: Set current and historical representation targets3. Set current and historical representation targetsStep 4: Fit the alignment with the encoders fixed4. Fit the alignment with the encoders fixedStep 5: Cluster the current task’s aligned input vectors5. Cluster the current task’s aligned input vectorsStep 6: Save nearest examples and their embeddings6. Save nearest examples and their embeddings

Choosing what survives in the memory

Random storage is a straightforward way to fill each task’s allotment. The authors ask whether the examples can be chosen to represent a wider range of patterns within the same space. They describe exact selection of a subset that reproduces a task’s distribution as a difficult combinatorial problem. The number of possible subsets makes it expensive to search for the best collection directly. They turn to a procedure that groups the examples by where their vectors lie.

Once the task is trained, the method represents each of its inputs with its aligned embedding. It applies K-Means, a procedure that assigns nearby points to clusters around centers. The number of clusters is the task’s allotted number of memory slots. For each cluster, the method finds the actual training example closest to its center, or centroid. The retained item includes the labeled example and the embedding that will serve as a reference during replay.

Choosing an actual example is essential to how the memory works. A cluster center summarizes a group of vectors and could fall between individual observations. The next replay update requires an input that the encoder can process and a relation that can supervise its prediction. The nearest saved example supplies both. Its embedding also gives the transformation a target associated with that specific input. Together, the two records support replay as training and replay as representation alignment.

This is distinct from the use of K-Means to construct the benchmarks. In benchmark construction, the points being grouped represent relation names, and the result determines which relations arrive together. For memory selection, the points represent individual training inputs after alignment. The result determines which examples remain available after a task ends. The first grouping defines the learning sequence’s units. The second is a choice made by the learner within each unit.

Experiments and results

How the relation benchmarks are put together

Lifelong FewRel starts from FewRel, a dataset designed for few-shot learning in relation detection. The paper uses its inventory of 80 relations to make a sequence with room for several distinct relation groups. The authors take the sentence–relation pairs and attach 10 randomly chosen candidate relations to each example in addition to the correct relation. A relation name is represented for grouping by the average of its word embeddings. K-Means divides the 80 relations into 10 disjoint clusters. Each becomes a task, with the examples for its assigned relations.

Lifelong SimpleQuestions starts from questions that refer to a single relation in a knowledge base. The authors use a relation detection version of the dataset that pairs each question with its correct relation and already supplies a candidate set. They cluster the relations into 20 disjoint groups to make 20 tasks. A question in this experiment stands in for the text input to the same kind of ranker. The outcome measured is the choice of relation, which is one part of answering a question against a knowledge base.

These constructions expose the learner to new groups of labels over time while retaining the original distinction between sentence inputs and question inputs. The task boundaries come from clustering relation descriptions. This creates a reproducible experimental setup for studying successive acquisitions of relations. The authors shuffle the task order independently for 5 runs and report their average. A different order changes what is already in memory when a particular relation group arrives and how many subsequent tasks an earlier group has to survive.

The experimental procedure also updates the competing relations seen during replay. For each saved example, 10 candidate relations are randomly chosen from the relations observed up to that point. An old example can therefore encounter relation types introduced after it was initially learned. Its gold relation continues to provide the supervised answer. This replay rule addresses one concrete source of added difficulty as the inventory expands. It is separate from how candidate sets are initially constructed for the datasets.

Training settings and comparisons

On both relation benchmarks, the base system trains for 3 epochs per task, with a learning rate of 0.001. An epoch is a pass through the training data for a task. The LSTM hidden size is 200, which is the size setting for the internal representation in the recurrent encoders. The batch size is 50. The paper also specifies 50 as the per-task batch size for GEM and methods based on EMR. The learning rate determines the scale of the updates made during optimization.

For the full aligned method and its variant without the proposed selection procedure, the alignment learning rate is 0.0001. The alignment is trained for 20 epochs on FewRel and 10 on SimpleQuestions. These choices belong to the alignment stage, which has its own objective and its own schedule. Plain EMR supplies the comparison for learning from earlier examples through the supervised objective without the added fitting stage.

Origin is the basic sequential baseline. It starts each task from the system trained so far and updates it using the new task. Its performance gives a reference for the effect of continued training without a specific retention procedure. EWC adds a squared penalty for moving weights that earlier training deemed important. In the relation experiments, the balancing parameter α is 100. This parameter controls the contribution of that penalty to the loss.

GEM uses its separate gradient constraint for each past task. AGEM instead uses a constraint formed from 100 examples randomly drawn from previous tasks. Its constraint concerns average earlier loss, where GEM examines the earlier tasks separately. Comparing these methods with EMR holds attention on a practical question. Since old examples already occupy memory and have to be processed, is their contribution more effective as constraints on a new update or as supervised examples for an update of their own?

The authors also compare configurations of their own approach. Plain EMR supplies replay, and the full approach adds alignment and clustered storage. The named configuration EA-EMR_NoSel tests the contribution of the proposed storage selection within the aligned approach. The authors also vary what is removed from alignment. A comparison that takes out the alignment operation has a different interpretation from one that retains the operation and changes its training loss.

What the accuracy measures capture

The paper reports task-average accuracy and whole-test accuracy. The task average is computed after each stage from the accuracies on the test sets of the tasks seen up to that point. Each task has the same weight in the average. This matters when tasks have differently sized test sets. A decline on a small earlier task will count through its task accuracy just as a decline on a larger earlier task will.

ACC_avg = (1/k) ∑ᵢ₌₁ᵏ acc_f,i

Here ACC_avg is the average across seen tasks at stage k. The index i ranges from 1 through k, and acc_f,i is the accuracy of the current system f on the test data for task i. The sum ∑ adds the individual task accuracies, and the factor 1/k gives each task the same share. It is the current system that is tested on all these tasks, so this metric describes the state of the learner at a particular point in the sequence.

Whole-test accuracy gives each example in the whole test collection one contribution. The paper reports that quantity over time as well as at the last stage. This view can reflect what happens as the test universe includes material that is still ahead in the training sequence. At the last stage, the task-average score and the whole-test score both concern a sequence through which training has passed. They can still differ because they weight the test data differently.

ACC_whole = acc_f,D_test

Here ACC_whole is accuracy on the complete test data, D_test denotes that test collection, and acc_f,D_test is the accuracy obtained by the current system f on that collection. This calculation pools examples in the test data rather than assigning the same total weight to each task. A larger test group can therefore contribute more to the pooled score. At a common stage, the metrics answer complementary questions about the distribution of correct predictions across tasks and across examples.

The learning curves show both views through the sequence, with each experimental condition averaged across the shuffled runs. Their use goes beyond finding the strongest final system. A score taken halfway through training includes a different collection of seen tasks from a score at the end. A comparison of systems at the same stage can help establish whether a difference is confined to the final step or appears during the incremental process. The paper also reports average runtime alongside the plots, which is relevant because later stages can make greater demands on methods that process older data.

Results on the relation tasks

The authors report that EWC and GEM improve on Origin on both lifelong relation datasets. In their interpretation, this shows that the safeguards in those methods reduce the forgetting seen under simple sequential training. Plain EMR beats the baselines on both datasets, including the gradient-based alternatives. The full aligned method improves further and is reported to outperform the earlier continual-learning methods on the relation experiments. This puts replay in two roles in the comparison. It is a strong method by itself, and it is the starting point from which the gains associated with alignment and storage selection are measured.

The numerical accuracies explicitly stated for the underlying ranker come from a different condition, where it is trained with all the data. The paper gives an accuracy of 0.837 for FewRel and 0.927 for SimpleQuestions under that condition. These figures characterize the basic ranker when its training data are available jointly. The incremental results compare methods that receive tasks in stages. The jointly trained figures provide a reference for the underlying architecture, while the continual comparisons address how accurately it can operate under sequential access to training data.

Joint-training accuracy of the paper’s base ranker on FewRel and SimpleQuestions

With all training data available together, the base ranker records higher accuracy on SimpleQuestions.

Joint-training accuracy of the paper’s base ranker on FewRel and SimpleQuestionsBase ranker on FewRel (this paper): 0.837Base ranker on FewRel (this paper)0.837Base ranker on SimpleQuestions: 0.927Base ranker on SimpleQuestions0.927
The numbers
System or settingaccuracy
Base ranker on FewRel (this paper)0.837
Base ranker on SimpleQuestions0.927

The two bars describe separate datasets with separate candidate constructions. Their ordering records how the same architecture scores in those settings. The informative comparison for lifelong learning is between procedures evaluated on the same benchmark under the same sequential regime. There the reported ordering shows that continuing to train on selected old examples can be more effective than using them solely to constrain new gradients, and that the proposed alignment and storage strategy improve the relation results beyond plain replay.

The comparison on image benchmarks

The authors use existing continual-learning benchmarks to investigate whether simple replay’s competitiveness extends outside relation detection. MNIST Permutations and MNIST Rotations both start from handwritten digit classification. In Permutations, a task applies a fixed rearrangement of the pixels. In Rotations, a task turns the images by a fixed angle. The sequence changes the transformation applied to the inputs. Each benchmark uses 20 tasks, and the digit labels remain the targets of prediction across those transformations.

Lifelong CIFAR100 changes the available classes by task. The authors follow a setup in which 100 object classes are divided into 20 disjoint tasks with 5 labels each. This makes the sequence different from the MNIST variants, since successive tasks supply examples of different classes. Both types of benchmark are relevant to the comparison of EMR with GEM. Replaying past examples can be tested when tasks differ in how inputs are presented and when they differ in the labels they introduce.

The image runs use plain stochastic gradient descent with a learning rate of 0.1, mini-batches of 10 examples, and 1 epoch of training per task. Memory is set to 256 stored examples per task. Each MNIST task has 1000 examples drawn from 10 classes. Each CIFAR task has 2500 examples from 5 classes. The paper compares task-level EMR with the previously reported GEM setup using matching hyper-parameters. For this comparison, examples are selected randomly for storage under both approaches.

The image results use the task-average accuracy at the last stage. The authors describe EMR and GEM as performing similarly across the image benchmarks apart from MNIST Rotations. They qualify that exception by pointing to a comparison value of roughly 0.83 for conventional training on jointly shuffled MNIST Rotations data, taken from the earlier study. This is an all-data training reference for that benchmark. The authors use it to characterize the replay result as competitive in context.

The image experiments therefore support a restrained conclusion about replay. They show that the direct use of old examples is a credible comparator across several benchmark constructions. The stronger result that plain EMR exceeds the other reported baselines applies to the two relation datasets. The reported experiments using the additional alignment and clustered storage concern relation detection, where the memory anchors are tied to the representations used by the sentence–relation ranker.

What the ablations show

The training objective matters when the layer is retained

An ablation changes a component of a method so that its contribution can be examined. The paper examines alignment in two ways. In the first, the authors remove the transformation and the alignment loss associated with it. They report a sizable drop in most cases. That comparison evaluates the contribution of the alignment package. It changes both the mapping applied before scoring and the objective used to fit that mapping.

The second comparison keeps the transformation and the two-step training arrangement. In the step that would fit the transformation to representation targets, the authors substitute the supervised loss used in the first training step. The network still has the extra layer and can learn to use it for relation ranking. It loses the explicit instruction to preserve current aligned positions for new examples and recover the earlier positions for replayed ones. The authors report that this substitution lowers performance substantially.

Keeping the layer makes the second comparison more specific. An added transformation gives the learner another way to adjust its inputs before scoring. The test with supervised training on that transformation keeps that capacity available. The drop under the changed objective links the better accuracy to training with explicit representation targets. In the tested setting, an extra learned map fitted only for relation prediction provides less benefit than a map fitted to the current and historical references.

The result also helps explain the division of labor between the two training steps. Both current and replayed examples already influence the supervised stage. The alignment step contributes an additional kind of information, namely where a specific input was represented under the relevant reference state. An old label says which candidate should win. A saved vector gives a more detailed target for the way the encoder represents the input. The ablation indicates that this extra target has predictive value in the tested setup. The measured outcome remains relation accuracy, so the experiment supports the proposed explanation through its intervention on the loss.

How the contents of memory affect replay

The paper compares random storage, the selection rule associated with iCaRL, and the proposed K-Means procedure. Random storage leaves the set of retained patterns to the draw. The iCaRL strategy chooses exemplars that approximate the mean of the task’s example distribution. The cluster-based procedure finds several centers and saves one example near each. Its choices reflect how the representations are grouped within a task.

A single mean gives a useful summary of where a distribution lies overall. When the input vectors form separate groups, that summary can omit information about which groups exist. Two collections of examples can have similar overall means while offering very different coverage of the inputs the learner will see again. The K-Means strategy uses local centers, so a memory slot can represent a region whose examples would have little influence on the choice of a set that matches only the aggregate mean.

The authors report the whole-test and task-average accuracies for this comparison on both relation benchmarks. Each strategy is evaluated across 5 runs, with average results reported. K-Means outperforms the two alternatives. The authors find little difference between iCaRL and random storage in these experiments. This comparison supports using multiple representative regions of the learned space for the tested memory. Its outcomes concern how the selection rules affect the learner’s accuracy after those examples have been used for replay.

The selection and alignment comparisons address different uses of the same memory. Selection determines which texts, labels and representations remain available. Alignment determines how a kept example’s representation influences the adjustment to the shared space. The paper reports a benefit from both components. The selection comparison shows that the contents of the memory affect the result even when the general idea of retaining earlier data is held fixed. The alignment comparison shows that the learning objective affects the value extracted from the retained examples.

What the replay comparisons help isolate

The basic EMR and GEM comparison uses random storage for both methods. This matters because a strong selection rule could otherwise explain some of the difference in results. Using the same general storage policy makes the contrast more directly about how the methods use saved data during training. On the relation benchmarks, the reported advantage for replay is already present in the plain method, before the added alignment or the cluster-based selection is needed to explain it.

The paper also examines the two ways of drawing the replay batch. Its preliminary study finds that task-level sampling can match the results of sample-level sampling on the relation experiments. The authors adopt task-level sampling for the main runs, and for the image benchmarks they implement that variant because it is easier to handle when examples from separate tasks require different computations. The comparison gives a practical basis for the sampling choice under the tested conditions. It leaves open how task imbalance or a different allocation of memory slots could change the relative behavior of the two schemes.

The authors suggest positive transfer as a possible explanation for cases where GEM loses to EMR. If learning from old examples can help the new task as well as protect earlier performance, taking a direct supervised step may take advantage of that signal. A projection only uses the previous gradients to determine which directions are permissible for the current update. This explanation is a hypothesis about the interaction among tasks. The reported comparisons vary the algorithms and evaluate their outcomes. They do not independently vary how much the tasks can help one another.

Limitations

Boundaries the authors identify

The authors use fixed sets of retained examples for the tasks in their experiments and leave dynamic allocation for future work. A dynamic scheme could change how much space a task receives as the history grows. Fixed task allotments make the tested selection rule easy to specify, since the number of clusters comes from the number of available slots. The results give evidence for that implementation. They leave the behavior of the selection and alignment procedures under repeated memory reallocation open.

The authors also limit their comparison of memory selection to random storage, mean approximation associated with iCaRL, and their clustering procedure. They explicitly leave more advanced approaches to representative selection and their empirical comparison for later work. K-Means is a practical approximation to choosing a representative subset. Its centers are defined by the geometry of the learned input vectors, and the nearest-example rule adopts that geometry as the basis for retaining data. How to choose memory entries when other properties of examples matter is beyond the tested comparison.

The computational analysis emphasizes the amount of earlier data that GEM revisits for each batch. The authors warn that this can become impractical as the history and stored data grow. The corresponding efficiency argument for plain EMR follows from replaying a batch of fixed size. The aligned procedure incurs separate work when fitting the transformation and selecting examples. The paper’s accounting of forward and backward passes for EMR and GEM explains one source of cost. It leaves open how the full costs of alignment and clustering would evolve with much larger relation inventories and longer histories.

The paper also treats distortion of the representation space as a possible cause of forgetting. An earlier example whose vector can be recovered with a simple transformation offers a way to intervene on that problem. A learner may still change in ways this transformation cannot capture. The authors’ choice of a linear map defines the intervention studied. Their results establish how that intervention performs in the evaluated ranker and task sequences.

What follows from the experimental design

The benchmarks provide a supervised sequence with explicit boundaries between tasks. Relation groups are formed from existing labeled datasets, and each group is presented as a block. A live system acquiring relations may encounter unlabeled material, gradual changes in usage, or several changes at once. The growing inventory in a resource such as Wikidata motivates the problem. The empirical evidence comes from the task sequences constructed from FewRel and SimpleQuestions, where the training procedure knows when a task begins and ends. That knowledge is used both to organize replay and to decide when to select new memory examples.

There is also a distinction between the formal label inventory and the candidate rankings used in the experiments. The definition admits labels from every task seen so far. The benchmarks specify candidates for individual examples, and replay draws competitors from the seen relations. This gives the experiments a way to put earlier and newer labels into competition. It leaves the difficulty of ranking every seen relation for every test input undetermined. A restricted candidate list also makes the experiment dependent on how plausible the competing relations are for the particular sentence or question.

Each benchmark is constructed around a known correct relation for the example. Correctness therefore concerns which candidate gets the highest score for a labeled input. This is a narrower evaluation than a complete information extraction system would require if it had to identify the entities, decide whether any known relation is expressed, or handle multiple plausible relationships in a passage. In SimpleQuestions it also covers a specific step in question answering. Its accuracy is about relation identification, so it leaves the success of the downstream answer retrieval process unmeasured.

The task-average score captures the ability to maintain performance across seen tasks, and the whole-test score captures correctness across the pooled test examples. Both compress many outcomes. A strong average can coexist with marked degradation on particular relations or with uneven differences across tasks. An older input also faces potentially more competitors after new relations arrive. A change in its rank can reflect movement in the representations, the availability of an additional candidate, or both. The aggregate comparisons do not separately quantify those sources of difficulty.

The alignment ablation changes the objective and observes a drop in accuracy. That is evidence for the value of the explicit targets in the tested procedure. The old examples used as anchors remain a finite sample of an earlier task. Fitting a transformation to them constrains the observed points directly. Its behavior across the rest of the earlier distribution depends on how representative those points are and whether their changes can be corrected by the same map. Predictions also depend on relation vectors and the relative scores of candidates. Better accuracy is an outcome compatible with preserving useful earlier geometry, while the size and distribution of representation changes away from the anchors remain open.

The memory budget is expressed as an example count, and the aligned method retains an embedding with each kept example. Two systems with the same count of stored examples can therefore have different storage footprints. The count gives a useful measure of how many old training examples remain accessible. A comparison in bytes would also need to account for the stored vectors. In the same way, counting forward and backward work for the batches describes where training cost can grow, while the cost of the complete procedure also includes fitting the map and clustering the new task’s examples.

The shuffled runs make the reported comparisons less dependent on a single chosen task order. An average across 5 runs still describes the tested shuffles rather than the full range of possible sequences. The experiments can support a reported ordering across those runs without establishing that it holds for every order, every memory allocation, or every relation architecture. The image studies broaden the evidence about plain replay. Evidence about alignment itself comes from the two relation benchmarks and the particular scoring procedure to which the authors add the transformation.

What came after

Episodic memory and few-shot relation learning

The later citing works take the continual-learning problem into several settings. Their titles identify what each studies and, in some cases, the broad mechanism it proposes. The citation relationship places them in conversation with the earlier paper. It leaves the exact reuse of particular loss functions, architectures and benchmark settings unspecified.

The 2020 work on episodic memory activation and reconsolidation retains the combination of continual relation learning and stored experience as its central subject. Its title places the emphasis on how episodic memory is activated and reconsolidated. That emphasis is closely related to the earlier paper’s distinction between saving examples and making use of them when a new task arrives. In EA-EMR, the saved examples are used to practice old relations and supply targets for representation alignment. The later work names activation and reconsolidation as the way it approaches the memory question. Continual Relation Learning via Episodic Memory Activation and Reconsolidation

The 2025 work on mutual pairing addresses continual relation extraction under few-shot conditions, where a relation must be learned from a small set of examples. It makes data augmentation the focus and identifies mutual pairing as its approach. Data augmentation concerns constructing additional training material from data already available. This places the emphasis on what supervision can be made available in a scarce-data setting. The earlier paper’s selection procedure answers a different part of that problem by deciding which examples from an observed task will still be available later. The few-shot setting in the later title is its stated focus, whereas the earlier FewRel experiment uses relation groups from a dataset originally designed for few-shot detection. Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction

Continual adaptation and a broader evaluation question

ConPET, from 2023, takes continual adaptation into parameter-efficient tuning of large language systems. The phrase parameter-efficient tuning identifies the amount of parameter updating as a focus of the work. The earlier relation paper makes its main intervention in the training examples and the representation space, using a base learner that can continue to change. The later paper frames the update problem around how to tune a large system continually while working with a restricted parameter budget for adaptation. The title establishes that change of focus without specifying which parts of the earlier replay approach it uses. ConPET

The 2024 work on compositional generalization asks about continual learning in natural language inference. Inference in this setting concerns judging how the meaning of one text relates to what follows from another. Compositional generalization concerns applying what has been learned about parts and their combinations to new combinations. The later study thus brings the continual evaluation question to a capability that extends beyond preserving accuracy on previously introduced relation groups. Its subject is what happens to generalization about linguistic combinations as training proceeds. That is a different test of what a learner carries forward from earlier stages. Exploring Continual Learning of Compositional Generalization in NLI

Joint entity and relation extraction

MPBoCo, identified as a 2026 work, places continual learning in a joint extraction task. The system’s stated scope includes entities as well as relations, bringing decisions about the text spans associated with entities into the extraction problem. Its title describes a multimodal, prompt-based approach and emphasizes boundaries. These are aspects of the later framework’s stated design. The earlier sentence-alignment paper evaluates a ranker with a given text input and candidate relations, so the move to joint extraction broadens what must be recovered from an input during continual learning. MPBoCo

Across these works, the shared question is what a system should carry forward as learning proceeds. The 2019 paper makes that question measurable for relation ranking by controlling the sequence of relation groups and the examples available for replay. The later titles place it alongside the use of episodic memory, scarce supervision, efficient adaptation, generalization and joint extraction. Each setting makes a different capability or resource central to what it means to keep learning.

Cite

Cite as Hong Wang, Wenhan Xiong, Mo Yu, Xiaoxiao Guo, Shiyu Chang and William Yang Wang. 2019. Sentence Embedding Alignment for Lifelong Relation Extraction. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/n19-1086 · arXiv 1903.02588

@inproceedings{wang2019sentence,
  title = {{Sentence Embedding Alignment for Lifelong Relation Extraction}},
  author = {Hong Wang, Wenhan Xiong, Mo Yu, Xiaoxiao Guo, Shiyu Chang and William Yang Wang},
  booktitle = {Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)},
  year = {2019},
  doi = {10.18653/v1/n19-1086},
  eprint = {1903.02588},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/n19-1086}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2019-sentence-embedding-alignment-lifelong-relation/

References

32 references, from the paper's own bibliography.

  1. Anonymous. 2019. Efficient lifelong learning with a-gem (https://openreview.net/forum?id=Hkf2_sC5FX). In Submitted to International Conference on Learning Representations. Under review. OpenAlex ↗ · Scholar ↗
  2. Antoine Bordes, Nicolas Usunier, Sumit Chopra, and Jason Weston. 2015. Large-scale simple question answering with memory networks (http://arxiv.org/abs/1506.02075). CoRR, abs/1506.02075. OpenAlex ↗ · Scholar ↗
  3. Zhiyuan Chen. 2015. Lifelong machine learning for topic modeling and beyond (https://doi.org/10.3115/v1/N15-2018). In Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Student Research Workshop, pages 133–139. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  4. Zhiyuan Chen, Nianzu Ma, and Bing Liu. 2015. Lifelong learning for sentiment classification (https://doi.org/10.3115/v1/P15-2123). In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pages 750–756. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  5. Chrisantha Fernando, Dylan Banarse, Charles Blundell, Yori Zwols, David Ha, Andrei A. Rusu, Alexander Pritzel, and Daan Wierstra. 2017. Pathnet: Evolution channels gradient descent in super neural networks (http://arxiv.org/abs/1701.08734). CoRR, abs/1701.08734. our card
  6. Robert M French. 1999. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3(4):128–135. OpenAlex ↗ · Scholar ↗
  7. Xu Han, Hao Zhu, Pengfei Yu, Ziyun Wang, Yuan Yao, Zhiyuan Liu, and Maosong Sun. 2018. Fewrel: A large-scale supervised few-shot relation classification dataset with state-of-the-art evaluation (https://aclanthology.info/papers/D18-1514/d18-1514). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 4803–4809. our card
  8. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory (https://doi.org/10.1162/neco.1997.9.8.1735). Neural Computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  9. James Kirkpatrick, Razvan Pascanu, Neil C. Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. 2016. Overcoming catastrophic forgetting in neural networks (http://arxiv.org/abs/1612.00796). CoRR, abs/1612.00796. our card
  10. Alex Krizhevsky and Geoffrey Hinton. 2009. Learning multiple layers of features from tiny images. Technical report, Citeseer. OpenAlex ↗ · Scholar ↗
  11. Yann LeCun. 1998. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/. OpenAlex ↗ · Scholar ↗
  12. Xialei Liu, Marc Masana, Luis Herranz, Joost van de Weijer, Antonio M. López, and Andrew D. Bagdanov. 2018. Rotate your networks: Better weight consolidation and less catastrophic forgetting (http://arxiv.org/abs/1802.02950). CoRR, abs/1802.02950. OpenAlex ↗ · Scholar ↗
  13. David Lopez-Paz and Marc'Aurelio Ranzato. 2017. Gradient episodic memory for continual learning. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA, pages 6470–6479. OpenAlex ↗ · Scholar ↗
  14. James L McClelland, Bruce L McNaughton, and Randall C O'reilly. 1995. Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory. Psychological review, 102(3):419–457. OpenAlex ↗ · Scholar ↗
  15. Michael McCloskey and Neal J Cohen. 1989. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation, volume 24, pages 109–165. Elsevier. OpenAlex ↗ · Scholar ↗
  16. Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation (http://www.aclweb.org/anthology/D14-1162). In Empirical Methods in Natural Language Processing (EMNLP), pages 1532–1543. our card
  17. Roger Ratcliff. 1990. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. Psychological review, 97(2):285–308. OpenAlex ↗ · Scholar ↗
  18. Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. 2017a. icarl: Incremental classifier and representation learning (https://doi.org/10.1109/CVPR.2017.587). In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 5533–5542. OpenAlex ↗ · Scholar ↗
  19. Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. 2017b. icarl: Incremental classifier and representation learning. In Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference on, pages 5533–5542. IEEE. OpenAlex ↗ · Scholar ↗
  20. Sebastian Riedel, Limin Yao, Andrew McCallum, and Benjamin M Marlin. 2013. Relation extraction with matrix factorization and universal schemas. In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 74–84. OpenAlex ↗ · Scholar ↗
  21. Mark Bishop Ring. 1994. Continual learning in reinforcement environments. Ph.D. thesis, University of Texas at Austin Austin, Texas 78712. OpenAlex ↗ · Scholar ↗
  22. Hippolyt Ritter, Aleksandar Botev, and David Barber. 2018. Online structured laplace approximations for overcoming catastrophic forgetting. CoRR, abs/1805.07810. OpenAlex ↗ · Scholar ↗
  23. Andrei A. Rusu, Neil C. Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. 2016. Progressive neural networks (http://arxiv.org/abs/1606.04671). CoRR, abs/1606.04671. OpenAlex ↗ · Scholar ↗
  24. Lei Shu, Bing Liu, Hu Xu, and Annice Kim. 2016. Lifelong-rl: Lifelong relaxation labeling for separating entities and aspects in opinion targets (https://doi.org/10.18653/v1/D16-1022). In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 225–235. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  25. Lei Shu, Hu Xu, and Bing Liu. 2017. Lifelong learning crf for supervised aspect extraction (https://doi.org/10.18653/v1/P17-2023). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 148–154. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  26. Sebastian Thrun. 1998. Lifelong Learning Algorithms (https://doi.org/10.1007/978-1-4615-5529-2_8), pages 181–209. Springer US, Boston, MA. OpenAlex ↗ · Scholar ↗
  27. Sebastian Thrun and Lorien Pratt. 2012. Learning to learn. Springer Science & Business Media. OpenAlex ↗ · Scholar ↗
  28. Denny Vrandečić and Markus Krötzsch. 2014. Wikidata: a free collaborative knowledgebase. Communications of the ACM, 57(10):78–85. our card
  29. Tianjun Xiao, Jiaxing Zhang, Kuiyuan Yang, Yuxin Peng, and Zheng Zhang. 2014. Error-driven incremental learning in deep convolutional neural network for large-scale image classification (https://doi.org/10.1145/2647868.2654926). In Proceedings of the 22Nd ACM International Conference on Multimedia, MM '14, pages 177–186, New York, NY, USA. ACM. OpenAlex ↗ · Scholar ↗
  30. Wen-tau Yih, Ming-Wei Chang, Xiaodong He, and Jianfeng Gao. 2015. Semantic parsing via staged query graph generation: Question answering with knowledge base (https://doi.org/10.3115/v1/P15-1128). In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1321–1331. Association for Computational Linguistics. our card
  31. Mo Yu, Wenpeng Yin, Kazi Saidul Hasan, Cícero Nogueira dos Santos, Bing Xiang, and Bowen Zhou. 2017. Improved neural relation detection for knowledge base question answering (https://doi.org/10.18653/v1/P17-1053). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, Canada, July 30 - August 4, Volume 1: Long Papers, pages 571–581. OpenAlex ↗ · Scholar ↗
  32. Friedemann Zenke, Ben Poole, and Surya Ganguli. 2017. Continual learning through synaptic intelligence (http://proceedings.mlr.press/v70/zenke17a.html). In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, pages 3987–3995. OpenAlex ↗ · Scholar ↗