Introduction
In the rapidly evolving landscape of information, Relation Extraction (RE) models must adapt to new data streams without losing previously acquired knowledge. This challenge, known as Continual Relation Learning (CRL), is often hindered by catastrophic forgetting, where training on new tasks overwrites the neural weights essential for old ones. While existing memory-based methods attempt to mitigate this by replaying stored examples, they frequently suffer from overfitting to specific instances, leading to a distorted internal representation of relations.
This paper introduces EMAR (Episodic Memory Activation and Reconsolidation), a framework inspired by the human brain's ability to stabilize memories. EMAR shifts the focus from memorizing individual examples to maintaining relation prototypes, ensuring a robust and generalized understanding of relational concepts over time.
The EMAR Framework
EMAR mimics the biological process of moving information from short-term to stable long-term memory through a three-stage learning cycle for every new task:
- Learning for New Tasks: The model is fine-tuned on new relations to capture emerging patterns.
- Memory Replay and Activation: A mixture of new data and a small set of stored episodic memory examples is "replayed" to keep old relation parameters active.
- Memory Reconsolidation: This is the core innovation. EMAR computes relation prototypes—the centroid of embeddings for all memorized examples of a relation. The model is then trained to distinguish between these prototypes, anchoring the feature space and preventing the model from drifting or overfitting to specific instances.
To ensure memory efficiency, the system utilizes K-Means clustering to select the most representative and diverse instances for each relation to be stored in the episodic memory.
Experimental Evaluation
The researchers evaluated EMAR against several state-of-the-art baselines, including EA-EMR and GEM, across three major benchmarks:
- FewRel: 80 relations split into 10 tasks.
- SimpleQuestions (SimpleQ): A knowledge-base QA dataset split into 20 tasks.
- TACRED: A complex RE dataset with 42 relations split into 10 tasks.
Key Results and Insights
EMAR demonstrated superior resilience against forgetting across all datasets. Notably, on the FewRel benchmark, EMAR achieved 66.0% whole accuracy, representing a nearly 10% improvement over the previous state-of-the-art (EA-EMR at 56.6%). On the more challenging TACRED dataset, EMAR reached 44.5% accuracy, significantly outperforming EA-EMR's 30.5%.
Key Takeaways:
- Prototypes over Instances: Anchoring learning to conceptual prototypes rather than raw examples creates a more robust and separable feature space, as confirmed by t-SNE visualizations.
- Biological Plausibility: Modeling the "reconsolidation" phase allows the network to remain flexible; features can evolve as long as they remain distinguishable from other relation prototypes.
- Memory Efficiency: EMAR maintains high performance even with minimal storage (e.g., only 10 examples per task), making it suitable for resource-constrained environments.
Limitations and Future Directions
While EMAR sets a new standard for CRL, several areas remain for future exploration. The current framework assumes clear task boundaries and treats "Open Relation Learning" (discovering new relations) as a separate pre-processing step. Future iterations could integrate discovery and learning into a single autonomous stream. Additionally, while EMAR is compatible with various encoders like BERT, its performance remains inherently linked to the underlying language model's semantic representational capacity.
Summary updated