---
title: "Mutual-pairing Data Augmentation for Fewshot Continual"
description: "Mutual pairing combines old and new training sentences to improve few-shot continual relation extraction and tests when sharpness-aware…"
canonical: "https://research.elamur.ai/free/en/papers/anh-2025-mutual-pairing-data-augmentation-fewshot/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/anh-2025-mutual-pairing-data-augmentation-fewshot/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction

# Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction

Paper · 2025 · Nguyen Hoang Anh, Quyen Tran, Thanh Xuan Nguyen et al.

**Authors:** Nguyen Hoang Anh, Quyen Tran, Thanh Xuan Nguyen, [Nguyen Thi Ngoc Diep](https://md.research.elamur.ai/free/en/authors/nguyen-thi-ngoc-diep/), [Linh Ngo Van](https://md.research.elamur.ai/free/en/authors/linh-ngo-van/), [Thien Huu Nguyen](https://md.research.elamur.ai/free/en/authors/thien-huu-nguyen/) and [Trung Le](https://md.research.elamur.ai/free/en/authors/trung-le/) · **Year:** 2025 · **Venue:** Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.naacl-long.205/)
- [PDF](https://aclanthology.org/2025.naacl-long.205.pdf)
- [DOI 10.18653/v1/2025.naacl-long.205](https://doi.org/10.18653/v1/2025.naacl-long.205)

## Summary

A relation extractor can learn to recognize a new relationship from a handful of labeled sentences and still lose accuracy on relationships it used to recognize. The problem gets harder when the original training sets are no longer available. This paper studies that combination of constraints in relation extraction, a form of [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). At each stage, the system receives examples of new relations and can revisit a small memory of earlier ones. It then has to identify any relation introduced so far. The question is how to get more training value from the sentences that are still available.

The authors’ method, mutual pairing, joins two labeled sentences into a single input. Each sentence keeps its own entity pair and relation label. A sentence can be paired with an example from the current task or with a retained example from an earlier task. The extra sentence changes what the encoder sees when it represents the original pair, even though the correct relation stays the same. One added training objective acts on the two relation representations within a joined input. Another compares entire joined inputs, favoring similarity when they contain the same combination of relation labels. The pairing operation itself uses examples already available for training.

In the main BERT comparisons, adding mutual pairing and its objectives to CPL+MI raises final cumulative accuracy from 66.27% to 68.36% on FewRel and from 59.48% to 61.97% on TACRED. The augmented system also has a smaller decline between the initial and final evaluations on both benchmarks. Those evaluations cover different sets of relations as the sequence progresses. A separate FewRel analysis follows the same earlier relations over time and finds higher final accuracy for every earlier task shown with pairing, although the decline from each task’s own starting score does not shrink in every case.

The paper also tests Sharpness-Aware Minimization, or SAM, which trains against a nearby increase in loss caused by perturbing the system’s parameters. SAM gives mixed results when applied to the available training data as a whole. Restricting its perturbation to the current task is often more effective, and pairing can raise performance further. On TACRED, CPL+MI with BERT finishes at 59.48% without SAM, 55.00% with current-task SAM, and 65.11% with current-task SAM and pairing. The event detection experiments extend the comparison to a different prediction target. They show higher average accuracy for the combined method on the reported ACE and MAVEN settings, with gains that vary by stage.

## Deep dive: Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction

Mutual pairing combines old and new training sentences to improve few-shot continual relation extraction and tests when sharpness-aware training helps. · about 38 minutes to read

**In this deep dive**

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

### The problem and its context

#### A classification task with an expanding set of answers

Relation extraction assigns a semantic relationship to a designated pair of entities in a sentence. The example in the paper names Kamala Harris and Donald Trump in the context of a US presidential election. The pair’s relationship in that sentence is political opponents. An extractor needs the mentions and their context to identify the relationship being expressed. The names alone give it little reason to choose that particular relation, and the same sentence may contain other words or entities that are outside the requested pair.

The continual setting changes when relation labels become available. Training proceeds through a sequence of tasks, each introducing a group of relations. After a task ends, its original training set is withdrawn from later stages. The system keeps a memory buffer, which is a small collection of selected examples, and can use those examples when learning the next task. Evaluation asks it to choose among all the relations that have appeared so far. A task defines when a relation can be learned, while the cumulative evaluation defines when it can be predicted.

The scarcity constraint follows the principle of [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/). Each new relation in an incremental task comes with a small number of labeled examples. The paper calls this an N-way K-shot setup, where N counts the new relations and K counts the examples for each of them. Its benchmark sequences start with a larger base task. That starting point allows the system to establish useful representations before it begins receiving the smaller batches of examples. For earlier relations, the paper’s formal setup retains a single representative example per relation.

The two sources of scarcity create different pressures. An earlier relation may be represented in replay by a sentence whose wording is quite specific. Later training can change how that sentence, or other sentences expressing its relation, is represented. A new relation presents a different challenge. Several sentences may suffice to learn something about it while still sharing wording that makes the training set easier than the held-out examples. The paper treats the deterioration of previously learned abilities as catastrophic forgetting and the tendency to fit quirks of limited training data as overfitting. Both can affect the same cumulative score.

The growing answer set also matters to interpreting that score. Once a new relation enters the label inventory, test examples from older tasks must compete with it during prediction. A score after the base task concerns the initial relations alone. A score at the end concerns those relations alongside every subsequent group. The protocol is intended to reflect the burden of keeping earlier knowledge usable as the job grows. Measuring that burden requires distinguishing where possible between difficulty with newly introduced relations and deterioration on earlier ones.

#### What earlier approaches tried to preserve

The paper situates its method in work on memory-based continual learning. In this approach, a training stage leaves behind a compact record of selected examples. Later stages revisit the record, a process typically called memory replay. The examples supply some direct evidence about old relations after their full training sets disappear. The authors include an episodic memory approach among the precedents for this setup. [Continual Relation Learning via Episodic Memory Activation and Reconsolidation](https://md.research.elamur.ai/free/en/papers/han-2020-continual-relation-learning-episodic-memory/)

The paper describes several ways prior work tried to make the surviving evidence more effective. ERDA uses regularization in the space where examples are represented and draws additional material from unlabeled text. Here, regularization means adding constraints to training so the representation is shaped by more than the immediate need to fit the current labels. SCKD combines contrastive training and knowledge distillation, using pseudo samples in an approach intended to preserve information from previous tasks. ConPL uses relation prototypes, representative vectors that support comparison between categories, along with a mechanism for keeping representations consistent across stages. These approaches differ in what they add to the evidence held in memory and what they ask the training objective to preserve.

CPL is the starting point for the new method. It uses a learned prompt to help extract a vector for the relation between the designated entities. It trains those vectors with a contrastive objective and uses class prototypes for prediction. The paper also describes CPL’s existing memory augmentation, which uses ChatGPT to generate additional replay examples. The later CPL+MI variant uses the prediction head inherited from pretraining as a source of regularization. MI refers to mutual information. The objective encourages information to be shared between the representations from that head and those used by the main classification branch.

Mutual pairing intervenes at the level of the input. It can expose a sentence to different surrounding text while keeping the sentence and its original label intact. That is a distinct way to use the same scarce annotation. Within the paper’s account of earlier work, adding external sentences can bring in fresh material, and regularizing a representation can constrain its geometry. Joining already labeled inputs changes the context in which those labels are learned. The authors pair that change in context with objectives that define what the encoder should preserve across the resulting examples.

#### Why the paper examines sharpness

The authors also consider whether a different optimizer can improve generalization under the same data constraints. They cite work linking flatter solutions to smaller shifts between training and test loss. A flat solution, in the sense relevant here, is a setting of the parameters around which nearby changes leave the training loss relatively stable. SAM tries to favor such solutions by taking a neighborhood of the parameters into account during training.

The paper identifies few-shot continual information extraction as a setting where this question had received limited attention. Memory replay gives SAM a particularly small view of the earlier tasks. A parameter perturbation inferred from that view may reflect the surviving sentences heavily. The current task has more evidence per relation, although it is itself few-shot after the base stage. This difference motivates the paper’s comparison between perturbing the loss on all the available data and perturbing only the current-task part.

To examine how far the question extends, the authors include continual event detection. This task uses text to identify an event trigger, the span that signals an event, and to assign it an event type. As in relation extraction, the classes are introduced over successive stages. The prediction of interest is tied to a trigger span instead of an entity pair, so the transfer tests whether joining inputs and training their representations can help when the underlying object of classification changes.

### The method, step by step

#### What goes into a joined example

At a training stage, the authors work with the labeled sentences for the current task and the examples retained from earlier tasks. An original relation example contains a sentence, a designated head and tail entity, and a relation label for that pair. The head and tail specify the roles of the two entities in the example. They stay attached to the sentence when it is used in a joined input. This is important because the relation sought in each part is the one already annotated for that part.

The augmentation samples pairs from the available collection and concatenates the sentences. A joined input can contain two current examples, two memory examples, or one of each. From the perspective of a particular sentence, the other sentence may occur before it or after it. Both are already labeled. The method can therefore train on two relation targets in the same input without making a new annotation about how an entity in one sentence relates to an entity in the other.

Consider the paper’s political-opponents example. When that sentence is joined with another labeled example, the label for its designated pair still concerns Harris and Trump. The partner sentence has a separate pair and supplies its own target. Its words can affect the encoding of the first sentence through attention, the mechanism by which a representation draws on other positions in its input. The training signal continues to refer to the original relationships. The authors want those signals to help the encoder find relevant evidence in the presence of additional text. [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/)

The paper formalizes the available set at each relation training stage as follows. The transcription uses different symbols for the new examples and the full training pool so they remain distinguishable in the later objectives.

```
Dₜ = {(xᵢᵗ, yᵢᵗ) : i ∈ {1, …, N × K}}
```

Here Dₜ is the set of new training examples for task t. The index i selects an example, xᵢᵗ is its sentence with its designated entities, and yᵢᵗ is its relation label. N is the number of new relations and K is the number of training examples per new relation in the formal few-shot setup. The symbols ∈ and × mean membership and multiplication. The ellipsis covers the intervening example indices, and the braces enclose a set. The larger base task in the experiments is a separate configuration.

```
R̃ₜ = ⋃ᵢ₌₁ᵗ Rᵢ
```

Here Rᵢ is the set of relations introduced by task i, the tilde marks R̃ₜ as the cumulative relation inventory at stage t, and ⋃ takes the union over tasks from 1 through t. As training goes forward, this inventory sets the range of possible labels in the cumulative test.

```
M̂ₜ₋₁ = ⋃ᵢ₌₁ᵗ⁻¹ Mᵢ
```

Here Mᵢ is the set of representatives saved from task i, and M̂ₜ₋₁ is the pooled memory from all tasks completed before task t. The union symbol collects those sets, and t−1 is the preceding stage. In the paper’s few-shot relation setup, the memory size per relation is m = 1. That use of m concerns the memory allowance. The margin objective below uses the same letter for a separate quantity.

```
D̄ₜ = Dₜ ∪ M̂ₜ₋₁
```

D̄ₜ is the pool available at stage t, Dₜ supplies the current-task examples, and M̂ₜ₋₁ supplies the replay examples. The union symbol ∪ places both sources in the pool from which the pairing operation can draw.

Training with mutually paired sentences The steps in order.

For the augmented examples, the paper writes a count ceiling in terms of the pool size. Its displayed expression has the following form.

```
Lₘₐₓ = |D̄ₜ|(|D̄ₜ| + 1) / 2
```

Here Lₘₐₓ is the displayed upper bound, |D̄ₜ| is the number of available examples, adjacent factors are multiplied, and / denotes division. The expression has the form of an unordered pair count that includes self-pairs. The paper also uses combination notation for the count. The expression gives a bound, while the procedure describes random selection and leaves the actual number of selected pairs to that procedure.

```
Eₜ = {(xₖ, [yₖ¹; yₖ²]) : k ∈ Iᴱ}
```

Here Eₜ is the augmented set at stage t, k is the index of a selected pair, and Iᴱ is the set of augmented-example indices. The symbol xₖ denotes the joined input. The bracketed entries yₖ¹ and yₖ² are the labels carried over from the first and second sentences in that input. The marks ¹ and ² identify component positions. The semicolon in the bracketed notation separates the two labels.

```
xₖ = concat(xᵢ, xⱼ)
```

Here xᵢ and xⱼ are the original sentences selected from the available pool, and concat places xⱼ after xᵢ to form xₖ. The indices i and j refer to the original examples. The new index k refers to the result of the pairing. The labels follow the corresponding sentences in this ordered input.

#### How CPL represents a relation

The paper builds on CPL’s soft prompt, a template with positions whose vectors are learned during training. CPL takes a sentence and adds a prompt containing the head entity, a mask position, and the tail entity, with groups of learned tokens around them. The vector at the mask position serves as a representation of the relationship in the sentence. This gives the encoder a particular location at which to gather evidence about the designated pair.

```
T(x) = x · [v₀:ₙ₀₋₁] · eₕ · [vₙ₀:ₙ₁₋₁] · [MASK] · [vₙ₁:ₙ₂₋₁] · eₜ · [vₙ₂:ₙ₃₋₁]
```

Here T is the prompt template applied to sentence x. The centered dot indicates concatenation in this formula. The symbols eₕ and eₜ denote the head and tail entities. Each bracketed v range represents a consecutive group of learned continuous tokens. The boundaries n₀, n₁, n₂ and n₃ determine the lengths of the groups, and the colon separates the start and end indices of each group. The reserved position [MASK] marks where CPL obtains the relation vector.

CPL’s base contrastive objective uses the known labels to decide which sentence representations should be treated as related. For an anchor example, positives are examples of its relation. The comparison uses cosine similarity, which compares the directions of two vectors after accounting for their lengths. One temperature controls the scale of the scores in the exponential, and a relaxation factor modulates individual similarities. The positive set and the similarity are defined as follows.

```
P(i) = {p ∈ I : yₚ = yᵢ}
```

Here i is the anchor example, I is the index set of training examples used in this objective, and p is a candidate index. The labels yₚ and yᵢ determine membership in P(i). The colon means that the candidate is included when the equality after it holds.

```
sᵢ,ₚ = (zᵢ · zₚ) / (‖zᵢ‖ · ‖zₚ‖)
```

Here zᵢ and zₚ are the vectors encoding examples i and p. The dot in the numerator is their inner product, the double bars give the vector norms, and the dot in the denominator multiplies those norms. The score sᵢ,ₚ is their cosine similarity.

```
ℒᴹᶜᴸ(i) = −Σₚ∈P(i) log[exp(αᵢ,ₚ · sᵢ,ₚ / τ) / Σₐ∈I exp(αᵢ,ₐ · sᵢ,ₐ / τ)]
```

Here ℒᴹᶜᴸ(i) denotes CPL’s margin-based contrastive loss for anchor i, with τ shown as the temperature of the exponential scores. The outer Σ sums over positive indices p in P(i), and the denominator sums over candidate indices a in I. The similarities sᵢ,ₚ and sᵢ,ₐ compare the anchor with the named candidate. The coefficients αᵢ,ₚ and αᵢ,ₐ are the respective relaxation factors. The dot multiplies each similarity by its factor, exp exponentiates the resulting scaled score, and log takes the logarithm of the positive score’s share of the total. The leading minus sign gives the loss its minimization convention.

CPL describes training on the new task and revisiting earlier examples during replay. Its prediction rule compares the vector for a test sentence with the prototypes for the relations introduced so far. A prototype is the mean of the vectors CPL uses for a given relation. The following notation expresses that mean with the index set written explicitly.

```
pᵣ = (1 / Lᵣ) Σᵢ∈Iᵣ zₓ̂ᵣᵢ
```

Here pᵣ is the prototype for relation r. The memory example x̂ᵣᵢ has label r, and zₓ̂ᵣᵢ denotes its encoded vector. The set Iᵣ contains the indices of the examples used for this prototype, and Lᵣ is the size of that set. The summation adds their vectors and the factor 1 / Lᵣ turns the sum into an average. Lᵣ here counts prototype examples, whereas the earlier pairing bound concerns the augmented set.

```
ŷₓ = argminᵣ∈R̃ₜ ‖zₓ − pᵣ‖₂
```

Here ŷₓ is the predicted relation for input x, zₓ is its vector, and pᵣ is the prototype for candidate relation r. The notation ‖ · ‖₂ denotes Euclidean distance when applied to the difference of the two vectors. The operation argmin returns the relation r giving the smallest distance among the cumulative set R̃ₜ. The eventual prediction still concerns the single designated entity pair in the test example.

#### What the two added objectives compare

In a joined input, the two masked positions can each draw on the surrounding text. The second sentence therefore changes the context for the first mask, and the first sentence changes the context for the second. The authors argue that this produces a disturbance in the embeddings. They compare it with the use of perturbations in adversarial training, where challenging inputs are used to make training less sensitive to particular changes. Pairing draws its perturbations from other available sentences, using random selection instead of searching for the sentence that maximizes loss. [Explaining and Harnessing Adversarial Examples](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-explaining-harnessing-adversarial-examples/)

The first new objective compares the two relation representations inside a joined input. Only inputs whose component labels differ contribute to this term. Its intended role, as the authors describe it, is to preserve discrimination between the two original relations even when the corresponding representations are affected by the same surrounding input. This objective is indexed by the original relation labels, with one label still attached to each sentence.

```
ℒᶜᴿ = [Σₖ∈Iᴱ 𝟙[yₖ¹ ≠ yₖ²] max(0, m − sim(rₖ¹, rₖ²))] / [Σₖ∈Iᴱ 𝟙[yₖ¹ ≠ yₖ²]]
```

Here ℒᶜᴿ is the margin loss on the component relation representations. The vectors rₖ¹ and rₖ² come from the first and second relation positions of joined input k. The labels yₖ¹ and yₖ² belong to those positions. The indicator 𝟙 is 1 when the labels differ and 0 otherwise. The function sim returns the paper’s similarity score, m is the margin, and max keeps the larger of zero and the margin minus that score. Both sums run over Iᴱ. The denominator counts the eligible inputs so that the numerator gives an average over them.

There is a tension between the equation and its stated purpose. If a greater value of sim means a closer pair, the displayed hinge penalizes scores below the margin. Minimizing it would then favor greater similarity for eligible pairs. The authors describe the intended behavior as separating representations of different relations. The equation can be reported as written, and the ablation can establish what happened when the term was removed. The paper’s description of those results alone leaves the direction of the actual implemented comparison unresolved.

The second objective compares entire joined inputs. It begins by taking the mean of the two component vectors. That produces a vector for a label combination and gives the comparison the same representation rule regardless of which sentence came first.

```
r̄ₖ = (rₖ¹ + rₖ²) / 2
```

Here r̄ₖ is the representative vector for augmented example k, and rₖ¹ and rₖ² are the two component vectors. Addition and division define their arithmetic mean. The labels are still available separately for choosing positive and negative examples.

```
Pₖᴱ = {p ∈ Iᴱ : {yₖ¹, yₖ²} = {yₚ¹, yₚ²}}
```

Here Pₖᴱ is the set of positive indices for anchor k. A candidate p comes from the augmented index set Iᴱ. The labels yₖ¹ and yₖ² of the anchor and yₚ¹ and yₚ² of the candidate are compared as sets. This makes opposite orderings of the same combination count as a match. The definition as written also permits the anchor itself, because it meets the stated equality.

```
Nₖᴱ = Iᴱ ∖ Pₖᴱ
```

Here Nₖᴱ is the negative index set for anchor k, and ∖ removes all members of Pₖᴱ from Iᴱ. Its members are the augmented examples whose component label sets fail to match the anchor’s. This criterion can distinguish two joined inputs even when they share a single relation.

```
u(r̄ₖ, r̄ₗ) = exp(sim(r̄ₖ, r̄ₗ) / τ′)
```

Here u is the positive-valued score assigned to a comparison between the joined-input vectors r̄ₖ and r̄ₗ. The indices k and l identify the two augmented examples. The function sim supplies their similarity, τ′ is the temperature for the joined-input objective, and exp exponentiates the scaled score. The prime distinguishes this temperature from the one used by CPL’s original loss.

```
ℒᴰᴸ = −Σₖ∈Iᴱ (1 / |Pₖᴱ|) Σₗ∈Pₖᴱ log[u(r̄ₖ, r̄ₗ) / Σₗ′∈Nₖᴱ u(r̄ₖ, r̄ₗ′)]
```

Here ℒᴰᴸ is the contrastive loss for pairs of relation labels. The outer sum visits every anchor k in Iᴱ. The index l visits its positives in Pₖᴱ, and |Pₖᴱ| counts them so their log terms are averaged for that anchor. The denominator inside the logarithm sums scores for indices l′ in the negative set Nₖᴱ. The leading minus sign means the loss favors a higher score for a matching label combination relative to the summed scores for the nonmatching combinations.

The two objectives give the same joined data different roles. Within an input, the original labels tell the first term when the two component vectors are eligible for comparison. Across inputs, the combinations of labels determine which averaged vectors are compared as positives and negatives. A pair of relations thus becomes a training target for organizing embeddings. The classifier can still use the original inventory of individual relations at test time. This distinction matters because a large set of possible sentence pairings can yield many training inputs without defining a new prediction class for each pairing.

```
ℒ = ℒ₀ + β₁ℒᶜᴿ + β₂ℒᴰᴸ
```

Here ℒ is the overall objective, ℒ₀ is the original method’s objective, and ℒᶜᴿ and ℒᴰᴸ are the added component and joined-input losses. The weights β₁ and β₂ control their contributions through multiplication. For CPL, the original objective is its margin-based contrastive loss. The paper also applies the pairing approach to other baselines, retaining the idea that the new comparisons supplement an existing training procedure.

#### Where sharpness-aware training enters

SAM treats the parameter setting used for training as the center of a neighborhood. The inner optimization seeks an allowed perturbation that increases loss. The outer optimization seeks parameter values that perform well under that more demanding loss. This concerns a different kind of perturbation from the one created by sentence pairing. A joined input changes the text from which a vector is produced. SAM changes the parameters used to process the input when evaluating the perturbed objective.

```
minᵩ max‖δ‖≤σ ℒ(M̂ₜ₋₁ ∪ Dₜ; ϕ + δ)
```

Here ϕ is the parameter vector and the subscript on min indicates that it is optimized. The vector δ is a temporary parameter perturbation. The norm constraint ‖δ‖ ≤ σ bounds its magnitude by the positive threshold σ. The function ℒ evaluates the loss on the union of replay memory M̂ₜ₋₁ and new examples Dₜ, at parameters ϕ + δ. The semicolon in the notation separates the data from the parameters. The inner max seeks the higher loss among admissible perturbations and the outer min seeks to reduce it.

The authors suspect that the replay examples offer a weak basis for choosing the perturbation. They therefore keep replay in the training objective while excluding it from the term used to choose the SAM perturbation.

```
minᵩ [ℒ(M̂ₜ₋₁; ϕ) + max‖δ‖≤σ ℒ(Dₜ; ϕ + δ)]
```

Here the first ℒ term evaluates memory M̂ₜ₋₁ with unperturbed parameters ϕ. The second evaluates the new task’s data Dₜ with parameters ϕ + δ. As before, δ is a perturbation bounded by σ, max acts over the allowed perturbations, and min optimizes ϕ. The addition keeps both data sources in the outer objective. The paper calls this configuration SAM-current and calls the preceding one SAM-full.

Pairing changes the collection of contexts in which each side of that objective can be trained. The paper writes the number of retained samples as nₘ and the number of current samples as n꜀. An example from either source can be joined with examples from the other source. This gives old relations new surroundings while their labels still come from the same original memory sentences. The paper describes the scale of the cross-source pool with the following product.

```
nₘ × n꜀
```

Here nₘ is the number of memory examples, n꜀ is the number of current-task examples, and × multiplies them to count possible old–new pairs. Each such pair provides an instance containing information from both sources. Old–old and new–new pairings provide further combinations within their respective sources. Those possibilities motivate the experiment on SAM with augmented training data. They count composite inputs and do not supply an independent labeled observation for each one.

#### How the transfer to event detection works

For event detection, the authors use HANet, a memory-based baseline with augmentation at the prototype and token levels. Its trigger detector represents an event mention using the hidden vectors at the boundaries of the trigger span. The start and end vectors are concatenated, giving the detector a single vector for the span. The paper uses that trigger vector in the role played by the relation representation when applying mutual pairing to HANet. The labels to compare are event types.

The appendix expresses HANet’s classification as a probability over the event types introduced through stage t. Written with the set of candidate types visible, the calculation is as follows.

```
p(yᵢ | hₑ) = exp(Wᵢᵀhₑ + bᵢ) / Σⱼ∈Lₜ exp(Wⱼᵀhₑ + bⱼ)
```

Here hₑ is the vector of trigger span e, yᵢ is the event type indexed by i, and p(yᵢ | hₑ) is its probability given that vector. The learned weights Wᵢ and bias bᵢ produce its score. The superscript ᵀ indicates transpose so the product with hₑ is an inner product. The sum Σ normalizes the exponentiated score using the available event types Lₜ, with j indexing the candidates and Wⱼ and bⱼ giving their parameters.

HANet’s existing replay strategy also augments a selected event exemplar in feature space. The appendix describes this by sampling from a Gaussian distribution whose center is the selected exemplar and whose variance comes from the selection process.

```
Ĥₑʲ = {ĥₑ,₁ʲ, …, ĥₑ,ₙʲ}, with ĥₑ,ᵢʲ ∼ 𝒩(μⱼ, σⱼ²)
```

Here Ĥₑʲ collects synthetic trigger vectors for event type j, and ĥₑ,ᵢʲ is the vector at sample index i, among n draws. The tilde ∼ denotes sampling from the Gaussian 𝒩. The vector μⱼ is the exemplar representation for type j, and σⱼ² is the variance estimated during exemplar selection. This feature-space augmentation belongs to the event detection baseline. Mutual pairing supplies joined text and uses the resulting trigger vectors for the paper’s new training comparisons.

### Experiments and results

#### How the benchmarks become task sequences

The relation experiments use FewRel and TACRED. The authors describe FewRel as containing 100 relations and 70,000 examples. They select 80 relations and divide them among 8 tasks. Each task introduces 10 relations. For the initial task, there are 100 training examples per relation. In subsequent tasks the paper uses 5 examples per new relation, which accounts for the 10-way 5-shot label attached to the sequence. The initial task and the incremental tasks therefore contribute training data under different conditions.

TACRED has 42 relations and 106,264 examples drawn from Newswire and Web documents, in the paper’s description. The experimental procedure removes examples labeled `no_relation`, leaving 41 relations for the sequence. The first task has 6 relations with 100 training examples each. The remaining tasks each introduce 5 relations, with 5 training examples per relation. The paper calls this the 5-way 5-shot setup, reflecting the design of the incremental tasks across the 8-stage sequence.

After each relation task, the test covers the classes introduced up to that stage. A later evaluation therefore draws on a broader set of test relations. In both benchmarks the system has to retain earlier knowledge through the memory mechanism while incorporating the upcoming relations from few labeled examples. The paper reports cumulative accuracy after each stage, final cumulative accuracy after T₈, and a decline statistic comparing the beginning and end of the sequence.

```
Δ = A₁ − A₈
```

Here Δ is the reported decline in accuracy, A₁ is cumulative test accuracy after the initial task, and A₈ is cumulative test accuracy after the final task. The minus sign subtracts the final accuracy from the initial one. A lower value represents a smaller decline by this definition. The statistic uses evaluations with different label inventories, so it answers a broader question than the accuracy lost on a fixed group of old classes.

The event detection evaluation uses ACE and MAVEN. The paper describes ACE as having 33 event types and retains a training, validation and test partition established in earlier work. For MAVEN, which has 168 event types in the paper’s description, the original development set becomes the test set and a new development set is sampled from the original training set. In each benchmark, the authors select the 10 most frequent types for 5 successive tasks, with 2 new types in each task. Training begins with 100 examples per type and then proceeds with either 5 or 10 examples per new type, depending on the setting. [Joint Event Extraction via Recurrent Neural Networks](https://md.research.elamur.ai/free/en/papers/nguyen-2016-joint-event-extraction-recurrent-neural/) · [MAVEN](https://md.research.elamur.ai/free/en/papers/wang-2020-maven-massive-general-domain-event/)

Event types are disjoint across tasks, and evaluation accumulates the types seen through the current stage. The task sequence can thus reveal whether a detector still classifies triggers for earlier event types as later ones enter the inventory. For comparison across the whole sequence, the appendix reports an average of the stage accuracies. This average and the final-stage score answer different questions. A change concentrated in an intermediate stage can improve the average even when another setting has the better finish.

#### Baselines and configurations

The main relation comparison uses BERT and includes ERDA, CRECL, SCKD and ConPL. It also includes CPL and the mutual-information variants of CPL and SCKD. The authors reran ConPL under the evaluation used for SCKD and CPL. They considered ConPL’s original evaluation unsuitable for the continual setting in this comparison. Accordingly, the ConPL scores in the main results are the authors’ reproduced results under their shared protocol.

The SAM comparisons use BERT and LLM2Vec as encoders for CPL. Where the paper varies the encoder, the comparison shows how the same training change behaves with different sentence representations and training configurations. The starred settings in the charts below identify the paper’s augmented system within the corresponding comparison. The event experiments use BERT-based HANet for the main augmentation comparison, and the appendix also reports KCN, KT and EMP on ACE. [LLM2Vec](https://md.research.elamur.ai/free/en/papers/behnamghader-2024-llm2vec-large-language-models-secretly/)

The training appendix distinguishes the configurations of the combined augmentation and SAM-current runs. For BERT-based CPL, it reports 8 current-task epochs and 6 memory epochs, a learning rate of 1 × 10⁻⁵, and a SAM threshold of 0.1. For BERT-based CPL+MI it reports 10 current-task epochs and 5 memory epochs, with a threshold of 0.05. The two added losses have weights of 0.25 each in those settings, and the margin is 1.0. For the LLM2Vec configuration, the reported encoder output dimension is 4096, compared with 768 in the BERT configurations. Its table also gives a LoRA rank of 8 and dropout of 0.05. For HANet with current-task SAM and pairing, training is configured for 30 epochs, and the added loss weights are 0.5 each. These are reported settings for the named configurations, which is relevant when comparing the size of gains across systems.

#### Relation extraction with pairing and the new losses

The main BERT comparison shows the clearest gains near the end of the sequence. On FewRel, reproduced ConPL starts at 95.18% cumulative accuracy after T₁, ahead of the 94.76% for CPL+MI with pairing and the added objectives. At T₈, ConPL scores 62.46%, while the augmented CPL+MI finishes at 68.36%. Unaugmented CPL+MI is the strongest baseline at that final checkpoint, with 66.27%. The authors report the gain over it as 2.09%. In the same table, the accuracy decline is 26.40% for the augmented CPL+MI and 28.42% for the unaugmented version.

The comparison with plain CPL shows that the gains do not depend on first adding mutual-information regularization. On FewRel, CPL improves from 64.50% to 67.82% after T₈ when augmented. Its reported decline changes from 30.37% to 27.20%. The augmented version trails plain CPL at T₂, with accuracies of 84.88% and 85.14% respectively, and then leads it at T₃, with 80.85% against 78.80%. The placement of those changes matters to the paper’s continual-learning argument. A small or unfavorable change at the beginning can coexist with a better result once more tasks have been learned.

On TACRED, the corresponding augmented CPL+MI system also has the highest final accuracy in the main BERT table. The paper reports its gain over the strongest unaugmented baseline as 2.49%. Its reported decline is 24.36%, compared with 26.19% for CPL+MI. Plain CPL with augmentation finishes at 60.26%, with a decline of 26.42%. Its unaugmented version finishes at 57.39%, with a decline of 28.88%.

Final cumulative accuracy on TACRED in the BERT comparison The augmented CPL variants finish ahead of the corresponding baselines.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| ConPL | 50.97 |
| SCKD | 52.11 |
| CPL | 57.39 |
| CPL+MI | 59.48 |
| CPL with pairing and added losses | 60.26 |
| CPL+MI with pairing and added losses (this paper) | 61.97 |

The trajectory on TACRED shows why the final checkpoint is informative. ConPL leads the base-task comparison at 88.77%, while the augmented CPL+MI starts at 86.33%. By T₄, the latter reaches 70.93%, ahead of 70.65% for CPL+MI. At T₆, CPL+MI without augmentation is slightly ahead of its augmented version, with 65.17% against 65.04%. The later advantage is visible across the sequence without being present at every checkpoint. The final result reflects performance after all the relation groups have arrived.

The gains also appear with SCKD. On FewRel, its final accuracy moves from 62.98% to 63.83%, and SCKD+MI moves from 63.95% to 64.35%. On TACRED, SCKD moves from 52.11% to 54.53%, while SCKD+MI moves from 53.63% to 54.67%. These comparisons show that the augmentation is usable with the other tested relation baseline, with the magnitude varying across settings. They also put the strongest augmented CPL results in context. Both the base method and the changes added to it contribute to the final standing.

#### What happens when SAM sees the whole training pool

The initial SAM comparison applies the perturbation criterion to both the current task and replay memory. The relation accuracy results change substantially with the encoder and the base objective. For BERT-based CPL, the final FewRel score goes from 64.50% to 67.80%, and the TACRED score goes from 57.39% to 60.75%. For CPL with LLM2Vec, FewRel goes from 69.49% to 68.54%, and TACRED goes from 71.35% to 65.16%. The stronger starting result on TACRED with LLM2Vec is compatible with a less favorable response to the optimizer.

With the mutual-information variant of BERT-based CPL, the same SAM comparison moves FewRel from 66.27% to 67.01% and TACRED from 59.48% to 57.26%. Thus, even within the BERT comparisons, the behavior of plain CPL gives an incomplete picture of how SAM interacts with a different base objective. The paper’s decision to vary where SAM is used comes after observing those divergent results.

The event results for all-data SAM are also mixed, largely in the unfavorable direction. On ACE, HANet’s 2-way 5-shot average is 57.85% without SAM and 57.18% with it. In the 2-way 10-shot setting the comparison is 61.02% against 60.20%. On MAVEN the 2-way 5-shot result moves from 53.62% to 52.86%, while the 2-way 10-shot result moves from 56.13% to 56.46%. The upward MAVEN result illustrates why the paper treats the negative response as a pattern across tested settings with exceptions.

#### What changes with current-task SAM and pairing

The next comparison leaves the memory loss in the training objective and restricts SAM’s perturbation to the new data. The authors compare three configurations within each base setup. One uses the original baseline, one adds current-task SAM, and one combines current-task SAM with the augmentation. That arrangement shows when restricting the perturbation already helps and when the joined-sentence examples further change the outcome.

For BERT-based CPL on FewRel, final cumulative accuracy is 64.50% for the baseline, 66.84% with current-task SAM, and 68.43% with both current-task SAM and pairing. The combined variant has 94.48% at the base task, where the unaugmented baseline has 94.87%. At T₇ the combined variant reaches 70.45%, compared with 69.37% for current-task SAM and 66.85% for the baseline. Here the largest practical benefit appears later in the sequence.

On TACRED with the same base system, the corresponding final scores are 57.39%, 61.36%, and 62.62%. The mutual-information variant is particularly informative because restricting SAM to the current task on its own fares poorly in that run. The combined method improves substantially over that result and also exceeds the original baseline.

Final cumulative accuracy for BERT-based CPL+MI on TACRED with current-task SAM Pairing improves the final outcome when current-task SAM alone lowers accuracy.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CPL+MI | 59.48 |
| CPL+MI with current-task SAM | 55.00 |
| CPL+MI with current-task SAM and pairing (this paper) | 65.11 |

The TACRED results for CPL with LLM2Vec qualify the paper’s broader description of consistency across tasks. At T₈, the baseline reaches 71.35%, the SAM-current version 70.35%, and the combined version 73.38%. At T₁, however, the combined version’s 88.45% sits below the baseline’s 89.12% and SAM-current’s 88.74%. At T₂ the combined system’s 82.85% also sits below the baseline’s 82.93%. On FewRel, the corresponding final scores are 69.49%, 69.93% and 71.85%. The end-of-sequence improvements are present with both encoders, with a less uniform pattern at early checkpoints.

The appendix also reports means over the relation sequence for the BERT variants. On TACRED, CPL+MI averages 70.83%, while its augmented version with current-task SAM averages 74.17%. The paper reports an improvement of 3.34% over the strongest baseline for that comparison. On FewRel the corresponding sequence averages are 76.93% and 78.17%. An average across checkpoints gives weight to early stages as well as the eventual result, so gains concentrated late in the sequence appear alongside the smaller or unfavorable changes near the start.

#### Event detection with current-task SAM and pairing

HANet’s results show that the combined approach can improve event detection while retaining the variation between stages seen in the relation experiments. On ACE in the 2-way 5-shot setting, HANet scores 54.31% at T₅, current-task SAM scores 55.97%, and the combination scores 57.11%. At T₄, the combination reaches 61.45%, compared with 53.21% for HANet and 54.53% for current-task SAM. At T₃ the ordering differs. The combination reaches 56.46%, above the 55.79% for current-task SAM but below the 57.50% for the original HANet.

Across all ACE stages, the augmented method with current-task SAM averages 60.70% in the 2-way 5-shot setting against HANet’s 57.85%. In the 2-way 10-shot setting, it averages 64.41% against 61.02%, which the paper describes as an improvement of 3.39% over the strongest baseline in that comparison. The appendix also reports lower sequence averages for the earlier event detection baselines KCN, KT and EMP in the ACE comparisons. The gains over HANet therefore concern the authors’ main event baseline instead of a weaker starting point.

The MAVEN appendix presents reproduced HANet baselines and the augmented comparisons. In the 2-way 5-shot setup the sequence average moves from 53.62% to 55.71%, and in the 2-way 10-shot setup it moves from 56.13% to 57.47%. The latter setting offers a clear example of why the average and the last checkpoint merit separate attention. In the stage-by-stage comparison, the combined version reaches 56.53% at T₅, above the baseline’s 54.85% and below the 56.91% of current-task SAM alone. The combination has higher accuracy than either of those variants at earlier stages in that comparison. Its average benefit can therefore coexist with SAM alone having the better final score.

### What the ablations show

#### Removing one objective at a time

The principal ablation keeps the augmented CPL configuration and removes each of the added losses in turn. This asks how well the same pairing approach works with only one of its two extra training signals. Both losses contribute to final accuracy in the two benchmark sequences. Their relative effect changes with the dataset, and several intermediate checkpoints improve when a term is removed.

The headings in the paper’s main ablation table appear transposed when checked against the full-system scores. Its block printed under TACRED gives the CPL+augment trajectory ending at 67.82%, which the main results identify as FewRel. The block printed under FewRel ends at 60.26%, matching TACRED in the main results. The comparisons here assign the blocks by those matching trajectories. The later CPL+MI ablation uses labels that agree with the main results.

Final cumulative accuracy in the FewRel CPL pairing loss ablation Both reduced objectives finish below the full pairing objective.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Pairing without the component margin loss | 66.49 |
| Pairing without the joined-input contrastive loss | 63.66 |
| Pairing with both added losses (this paper) | 67.82 |

On FewRel, the full CPL augmentation is particularly sensitive at the final checkpoint to removing the joined-input contrastive loss. The run without that loss does reach 86.02% at T₂, compared with 84.88% for the full version. At T₃ it reaches 77.4%, below the full version’s 80.85%. The change in ordering suggests that contrasts among joined examples become more valuable as the sequence expands in this configuration. Removing the component margin term has smaller adverse effects at several checkpoints and even yields 70.88% at T₇, where the full version reaches 69.86%.

On TACRED, full CPL with augmentation finishes at 60.26%. Removing the component margin term leaves 57.36%, and removing the joined-input contrastive term leaves 59.59%. Here the larger final penalty comes from removing the within-input comparison. There are exceptions in the trajectory. At T₃, removing the joined-input loss produces 75.88%, compared with 75.27% for the full run. At T₄ the corresponding comparison is 71.72% against 70.41%. Both losses help the final result in the reported CPL runs, while the value of either loss at a particular checkpoint depends on the benchmark and the stage.

The additional ablation repeats the comparison with CPL+MI. On FewRel, the full augmented version ends at 68.36%, compared with 67.03% without the component loss and 67.50% without the joined-input loss. On TACRED, the corresponding final accuracies are 61.97%, 59.47%, and 60.34%. This repetition gives the authors another basis for attributing part of the final gain to each objective. Neither dataset reproduces every detail of the plain CPL ablation, which is consistent with the two comparisons supplying different constraints whose importance can depend on the base training objective.

An intermediate result in the TACRED CPL+MI ablation illustrates that dependence. At T₆, the full augmented version reports 65.04%. The run without the component loss scores 66.20%, and the run without the joined-input loss scores 65.43%. By the final task, the full version is ahead of both. The controlled comparison supports the contribution of each term to final performance under these settings. Accuracy alone leaves open whether that contribution comes from the authors’ proposed shift of attention toward entity-related words, from a change in how the relation vectors are arranged, or from another interaction with the base objective.

#### Following earlier tasks through later updates

The paper also reports a FewRel analysis in which accuracy is recorded for each task’s own test examples as training advances. That supplies a closer look at forgetting than subtracting the final cumulative result from the first. Each row of the analysis follows the same group of test relations. Its first available score is recorded when that task has just been learned, and subsequent scores track that group through additional stages of training.

For the group introduced at T₁, CPL-MI records 94.87% immediately after learning it and 66.21% at the final checkpoint. The augmented version starts at 94.45% on that group and finishes at 70.74%. The respective declines are reported as 28.67% and 23.71%. The higher final accuracy for those same relations supports a retention benefit even after accounting for the difference in starting score.

The T₂ group offers a related pattern. Its final accuracy is 60.32% with CPL-MI and 64.04% with the augmented version, while the declines reported for the row are 17.97% and 16.44%. For the T₃ group, final accuracy also improves, from 58.00% to 59.12%, but the decline is 18.03% for CPL-MI and 19.08% for the augmented version. The augmented system began higher on that group, so it can finish higher while losing more relative to its own starting point. A similar distinction applies to the T₅ group, where final accuracy moves from 69.51% to 71.14% and the reported declines are 7.33% and 7.37%.

The task-by-task comparison shows that the augmentation can affect both acquisition and retention. Some relations are learned more accurately at introduction, some lose less over later updates, and the final score reflects both effects. The last task has no subsequent stage at which to measure forgetting in that sequence. Its score can document how well it was learned under the final cumulative setting, while the earlier rows supply the evidence about change over time.

#### Changing the data used for the SAM perturbation

The paper’s SAM figures compare applying the perturbation criterion to all available training data with applying it only to the current task. This keeps the core sharpness-aware operation while changing which evidence determines its direction. The authors interpret the figures as favoring exclusion of the memory buffer from that decision. Replay remains present through its ordinary loss, so the comparison concerns the perturbation and the strength of the data used to choose it.

The numerical results show the distinction between improving a SAM configuration and improving on the original baseline. For CPL+MI with BERT on TACRED, the final full-SAM result is 57.26%, and the current-task SAM comparison reports 55.00%. Both sit below the 59.48% baseline in those tables. For CPL with LLM2Vec on the same benchmark, the full-SAM result is 65.16% and the current-task result is 70.35%, closer to the 71.35% baseline. With pairing and current-task SAM, the same configuration reaches 73.38%. These results support a qualified reading of the figures. Restricting the perturbation and supplying paired data can help, with the outcome depending on the configuration and the point of comparison.

The authors attribute the gains with augmentation to SAM having a larger and more varied set of inputs from which to find a good update. The comparison supplies evidence that the procedures interact in their effect on accuracy. The paired examples also change context, the added loss structure, and the availability of old–new combinations. Those changes are part of the intervention that improves the tested combinations, so the experiment leaves room for explanations beyond the sheer count of additional inputs.

### Limitations

#### The limitation the authors identify

The paper explicitly warns that augmentation can amplify the imbalance between current-task data and memory. New relations arrive with several examples each, and earlier relations have only a representative stored in the formal setup. Drawing pairs from that unequal pool can preserve the unequal frequency of their labels. A limited minibatch, meaning the subset processed for an individual training update, may then contain few distinct relations and be dominated by the current task.

This matters to each part of the paired objective. A loss comparing two component relations needs pairs with different labels to get its intended signal. The joined-input contrastive loss depends on which label combinations appear together in the comparison set. Even if an old example can be used in many possible combinations across a full stage, its opportunities in an individual update depend on the realized sample. The authors identify balanced augmentation and adaptive sampling as possible areas for future work. The reported method leaves the balance of those sampled training updates as a limitation.

#### What follows from the setup and measurements

The pairing scheme draws variety from the contexts in which an example appears. The original example still carries the same annotation and retains the same sentence. A memory sentence can acquire several partners without gaining the range of independent phrasings that a larger collection of labeled sentences might have supplied. The experiments therefore establish improvements from reusing a scarce labeled collection under new contexts and objectives. They leave open how the method would compare with obtaining more independent old-task examples, holding the other parts of training constant.

The input-level operation also has a narrower resource claim than a complete account of the training pipeline. Pairing itself uses the current and retained datasets. The description of CPL, the base method, includes ChatGPT-assisted memory augmentation. The resource claim supported directly by the pairing procedure is that the new joined inputs require no external text or external label generation. The paper’s comparisons of complete systems include the properties of the chosen baseline procedures.

The headline decline statistic makes it easy to compare the start and end of a run, although the test inventories at those checkpoints differ. An improved value can come from better handling of later relations, better retention of earlier ones, or both. The per-task FewRel analysis gives direct evidence about earlier groups under the expanding sequence. It also shows examples where higher final accuracy and a larger decline from a higher starting point occur together. A reader needs both views to tell whether a gain in the final test is also a gain in retention by a particular definition.

The ablations identify effects of removing the loss terms within the paired-input procedure. They give firmer evidence about the contribution of the terms than about the internal mechanism proposed for them. The paper explains the added context through attention and describes the representations as becoming more robust to surrounding noise. Its accuracy comparisons do not trace how much attention moved towards particular words. The already noted hinge direction also complicates a literal reading of the component loss. The equation uses similarity in a form that would ordinarily reward higher similarity above the margin, while the prose attributes separation to it. Both points limit how precisely a reader can infer what the two training comparisons do inside the encoder.

Some cases in the written objectives depend on how comparison groups are constructed. The component loss divides by the number of unequal-label pairs, which can vanish for a collection with no such pair. The joined-input loss compares its positive scores against a sum over negatives, which requires negatives in the comparison set. The mathematical definitions identify those conditions. They leave handling of an empty denominator unspecified, a point made more relevant by the authors’ concern about batches with few labels. The pairing count also describes potential combinations more directly than it describes the realized mix or frequency of sampling during training.

The SAM experiments establish that accuracy can improve when particular procedures are combined. They give indirect support to the explanation that the available data influence the quality of the sharpness-aware update. The results do not directly measure the flatness of the resulting parameter neighborhoods or isolate it as the cause of higher accuracy. Varying the source of the perturbation changes which data determine the update. Augmentation then changes the inputs and the learning objectives as well. The best interpretation attaches the accuracy gains to the configurations actually evaluated, with locality of the loss and quality of perturbation directions remaining proposed mechanisms.

The scope of generalization is likewise defined by the benchmark construction. TACRED excludes the `no_relation` category, so its results concern classification among the selected relation types. The event sequences use frequent event types and begin with more training examples than the later tasks. These choices give a concrete comparison with previous methods under established schedules. They leave performance on rarer event types, other class schedules, and continual extraction with a different mix of available training evidence unresolved.

The timing comparison gives a practical measurement for a particular combination of augmentation and SAM. On an A100 40GB GPU, the table lists 97.30 minutes for baseline CPL-MI on TACRED and 107.92 minutes for the augmented SAM variant. The paper treats this increase as manageable in its few-shot experiment. These times jointly reflect the additional training components and the chosen configuration. They give less information about the individual cost of pairing or how it would scale when many more inputs are available and there are many more pairs to consider.

### What came after

EMO cites the mutual-pairing paper and concerns embedding distillation, the transfer of information through vector representations. Its title identifies two elements of its own method. It uses relations within an encoder’s representations and aligns representations with optimal transport. That places the documented connection at the level of how relationships among vectors are used during training. In mutual pairing, those relationships are defined by the original labels carried into each joined input and by whether the label combinations match across inputs. In EMO, the stated purpose is to align information for distillation. [EMO: Embedding Model Distillation via Intra-Model Relation and Optimal Transport Alignments](https://md.research.elamur.ai/free/en/papers/truong-2025-emo-embedding-model-distillation-intra/)

The citation establishes a connection between the works. The title identifies EMO’s alignment approach, while the specific role of sentence pairing, the component margin loss, the joined-input contrastive loss, and the SAM experiments in that later work remains unspecified. The documented follow-on therefore concerns a related use of structure in learned representations, with direct reuse of the continual extraction procedure unestablished.

## Cite

Cite as Nguyen Hoang Anh, Quyen Tran, Thanh Xuan Nguyen, Nguyen Thi Ngoc Diep, Linh Ngo Van, Thien Huu Nguyen and Trung Le. 2025. Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction. Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).

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

```bibtex
@inproceedings{anh2025mutual,
  title = {{Mutual-pairing Data Augmentation for Fewshot Continual Relation Extraction}},
  author = {Nguyen Hoang Anh, Quyen Tran, Thanh Xuan Nguyen, Nguyen Thi Ngoc Diep, Linh Ngo Van, Thien Huu Nguyen and Trung Le},
  booktitle = {Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.205},
  url = {https://doi.org/10.18653/v1/2025.naacl-long.205}
}
```

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