Abstract
As robots transition from controlled laboratory settings to dynamic, real-world environments, the ability to learn continuously without overwriting previous knowledge—known as lifelong learning—becomes critical. This paper investigates "catastrophic forgetting" within the context of Visual Odometry (VO), the process by which an agent estimates its motion from camera imagery. Through an extensive study involving 72 distinct environments, we analyze how standard continual learning strategies perform in a regression-based embodied AI task, revealing a significant gap between current methods and the requirements for stable, long-term navigation.
Introduction
In the ideal deployment of a service robot, the agent should become more proficient as it encounters new environments. Whether moving between rooms in a single home or transitioning between different buildings, a robot must adapt its spatial awareness to new visual cues. However, neural networks are notoriously susceptible to catastrophic forgetting: the tendency to overwrite weights optimized for previous tasks when learning new information.
While catastrophic forgetting has been studied extensively in static image classification, its impact on embodied AI—where data is a continuous, non-independent stream generated by the robot's own movement—is less understood. This study focuses on Visual Odometry (VO), a foundational task for self-localization, to determine if a robot can maintain its "sense of motion" across a long sequence of diverse indoor scenes.
Methodology
Task and Architecture
The researchers treated the transition between different apartments as a "scene-level" continual learning problem. The model, a ResNet-18 backbone, was trained to perform regression, taking two sequential RGB-D (color and depth) images as input to predict the robot’s relative displacement in terms of translation and rotation ($\Delta z, \Delta x, \Delta \theta$).
Mitigation Strategies
To evaluate the severity of forgetting and the efficacy of potential solutions, four distinct training regimes were tested:
- Naive Finetuning: Sequential training on one apartment after another without any mitigation, serving as a baseline for maximum forgetting.
- Regularization (EWC and LwF): Mathematical constraints (Elastic Weight Consolidation and Learning without Forgetting) designed to penalize changes to weights critical for previous tasks.
- Rehearsal (Experience Replay): Maintaining a memory buffer of frames from previously visited apartments and interleaving them with current training data.
- Action Integration: Providing the model with the robot's intended control command (e.g., "Move Forward") as an additional input channel to investigate if behavioral context aids stability.
Dataset and Simulation
The study utilized the Habitat-sim platform, leveraging real-world scans of 72 distinct photorealistic apartments for training and 14 unseen apartments for evaluation. The dataset comprised over 1.2 million frames, including complex trajectories and collisions to ensure the model learned to interpret noisy, realistic motion.
Empirical Findings
The Specialization Trap
The study identified a distinct two-phase learning process. Initially, the model undergoes a "forward transfer" phase, where it learns generalizable geometric features of indoor spaces. However, it eventually enters a "specialization phase." In this stage, the model improves its performance on the current environment by sacrificing its ability to navigate past or future ones. This suggests that the model "overfits" to the specific visual textures of a room rather than refining its general understanding of motion.
The Failure of Regularization in Regression
Surprisingly, techniques like EWC, which are highly effective in classification tasks, proved almost entirely ineffective for VO. The authors suggest that the continuous nature of regression makes these weight-based constraints too rigid or fundamentally misaligned with the fluid requirements of motion estimation. This highlights a critical gap in current continual learning research, which is heavily biased toward discrete classification.
The Action Paradox
Integrating the robot's intended action into the model created a performance paradox. While it significantly accelerated convergence and lowered error in the short term, it made the model "lazy." The network began to rely excessively on internal motion commands while ignoring visual feedback. This led to catastrophic failure when the robot encountered obstacles; because the intended action (moving forward) did not match the actual visual motion (staying still due to a wall), the model’s predictions became highly inaccurate.
Rehearsal as the Primary Solution
Experience Replay (ER) was the only method that meaningfully mitigated forgetting. By using a buffer of approximately 13,888 samples (equivalent to the data from one full apartment), the final loss was reduced from $3.88 \times 10^{-3}$ (Naive) to $2.26 \times 10^{-3}$. However, this came at a significant computational cost, increasing training time per epoch by over 100%, which poses challenges for real-time learning on edge devices.
Conclusion
The results demonstrate a massive performance gap between continual learners and models trained on all data simultaneously (Joint Training). Current regularization-based methods are insufficient for the complexities of regression in embodied AI. Future research must move beyond classification-centric algorithms to develop strategies that handle the passive interaction of VO, explore more flexible architectures like Transformers, and optimize memory buffers to balance accuracy with computational efficiency. For robots to truly inhabit our world, they must learn to remember not just what they see, but how they move.
Summary updated