Abstract
In recent years, there has been a resurgence in methods that use distributed (neural) representations to represent and reason about semantic knowledge for robotics applications. However, while robots often observe previously unknown concepts, these representations typically assume that all concepts are known a priori, and incorporating new information requires all concepts to be learned afresh. Our work relaxes this limiting assumption of existing representations and tackles the incremental knowledge graph embedding problem by leveraging the principles of a range of continual learning methods. Through an experimental evaluation with several knowledge graphs and embedding representations, we provide insights about trade-offs for practitioners to match a semantics-driven robotics applications to a suitable continual knowledge graph embedding method.
Introduction
Semantic knowledge in robotics is frequently structured as Knowledge Graphs (KGs), which represent facts as triples (e.g., (cup, hasAction, fill)). To facilitate reasoning, these graphs are mapped into high-dimensional vector spaces via Knowledge Graph Embeddings (KGE). Traditional KGE algorithms operate in a "batch" setting, assuming all data is available at the start of training. In dynamic robotic environments, however, new entities and relations are encountered incrementally. Retraining from scratch is computationally prohibitive, yet simple updates to existing models lead to catastrophic forgetting, where new information obliterates previously learned knowledge.
Methodology
We adapted five representative Continual Learning (CL) strategies to the Continual Knowledge Graph Embedding (CKGE) task:
- Architectural Modification: Progressive Neural Networks (PNN) add new network columns for new tasks while freezing old weights. Copy Weight with Re-Init (CWR) manages separate weights for temporary learning and long-term consolidation.
- Regularization: L2 Regularization (L2R) and Synaptic Intelligence (SI) penalize changes to weights identified as critical for previous tasks.
- Generative Replay: Deep Generative Replay (DGR) utilizes a Variational Auto-Encoder (VAE) to generate synthetic "old" triples, which are replayed alongside new data to maintain memory.
Experimental Evaluation
To evaluate these methods, we developed a "triple sampling" strategy to convert static benchmarks (WN18RR, FB15K237) and robotics-specific datasets (AI2Thor) into incremental learning sessions. Performance was measured primarily using the Hits@10 metric across successive tasks.
Results and Discussion
Performance Across Learning Sessions
Our results highlight a "Flexibility Paradox": methods that strictly freeze weights (like PNN) often perform worse than simple fine-tuning. This suggests that KGE models require the flexibility to re-evaluate old concepts as new relational data arrives.
As illustrated in the figure above, Deep Generative Replay (DGR) emerges as the most effective continual method for maintaining accuracy across sessions, closely approximating the performance of full batch retraining.
Resource and Efficiency Trade-offs
While DGR excels in accuracy, it imposes a high computational "training tax" due to the overhead of generative model training. In contrast, regularization methods like L2R and SI offer a more efficient alternative for real-time applications.
Analysis of memory growth (MS) indicates that L2R and SI provide a sustainable balance, with L2R showing low memory growth among high-performing methods. This makes them ideal for robots operating under strict time and data constraints.
Conclusion
This study provides a comprehensive framework for applying continual learning to knowledge graph embeddings. While DGR is the gold standard for accuracy in data-constrained scenarios, regularization methods like L2R and SI are better suited for time-sensitive robotic tasks. Future work will explore these methods in physical, non-simulated environments.
Summary updated