Abstract: Domain adaptation is a core challenge for embodied AI deployed in unpredictable, noisy environments. Conventional deep models degrade under domain shifts and require costly retraining. Inspired by biological brains, we propose a modular framework where each module is a recurrent neural network pretrained via a simple, task-agnostic protocol to learn robust, transferable features. This shapes stable yet flexible representations as invariant input-driven continuous attractor manifolds embedded in high-dimensional latent space, supporting robust transfer and resilience to noise. At deployment, only a lightweight adapter needs training, enabling rapid few-shot adaptation. Evaluated on the DVS Gesture benchmark and a custom RGB rehabilitation dataset, our framework matches or surpasses leading C3D and ViViT models while using ten times fewer parameters and only one training epoch. By unifying biologically inspired attractor dynamics with cortical-like modular composition, our approach offers a practical path toward robust, continual adaptation for real-world embodied AI.
Introduction
Modern embodied AI—the systems powering robotics and autonomous vehicles—faces a significant hurdle: the real world is inherently noisy and unpredictable. Most current state-of-the-art models rely on end-to-end training, mapping raw sensory input directly to specific actions. While effective in controlled environments, these models are notoriously brittle. A minor change in lighting, sensor noise, or a shift in camera perspective (domain shift) often leads to catastrophic performance degradation, necessitating expensive and time-consuming retraining.
In contrast, biological brains exhibit remarkable adaptive capabilities. Humans do not relearn the fundamentals of motion perception when entering a new environment. Instead, the brain utilizes evolutionarily conserved, modular circuits that represent fundamental "primitives"—such as direction, velocity, and spatial salience. These primitives are recombined to solve novel tasks. This research introduces the Pretrained Reservoir Group (PRG) framework, a brain-inspired approach designed to bring this modularity and dynamical stability to artificial intelligence.
Methodology: The Pretrained Reservoir Group (PRG)
The PRG framework shifts away from task-specific end-to-end training in favor of a modular, task-agnostic architecture. The system is built upon three core pillars:
1. Task-Agnostic Pretraining
Instead of training on complex, labeled datasets from the outset, individual Recurrent Neural Network (RNN) modules are pretrained on simple, synthetic visual stimuli. Each module is specialized to extract a specific motion primitive. For instance, one module learns to track direction, another focuses on velocity, and a third identifies spatial salience (the "where" of an action). This mimics the functional specialization found in the visual cortex.
2. Input-driven Attractor Manifolds
The innovation of this pretraining lies in how it "sculpts" the latent space of the RNNs. The hidden states are forced into structured, low-dimensional shapes known as manifolds (e.g., a ring for directional data or a torus for spatial positioning). Unlike traditional "fixed-point" attractors that settle into a static state, these are input-driven attractor manifolds. They remain dynamic, tracking changing stimuli in real-time while remaining anchored to their stable geometric shape. This geometry acts as a "shield"; if noise pushes the neural activity off the manifold, the internal dynamics naturally pull it back to the stable representation.
3. Modular Composition and Lightweight Adaptation
At deployment, these specialized, fixed modules are composed into a larger architecture. To solve a specific downstream task, such as gesture recognition, the system only requires the training of a lightweight "adapter" layer (e.g., a Support Vector Machine or a Hebbian-inspired learner). The core knowledge within the RNN modules remains untouched, allowing for rapid learning without the risk of forgetting previous primitives.
Experimental Evaluation
The framework was rigorously tested across two distinct domains to evaluate its transferability and robustness:
- DVS Gesture Benchmark: A standard dataset for neuromorphic (event-based) cameras, which record changes in brightness rather than traditional frames. This tested the model's ability to handle high-speed, asynchronous data.
- Custom RGB Rehabilitation Dataset: To simulate real-world clinical applications, the authors curated a dataset of 1,678 samples featuring 15 fine-grained physical therapy actions (e.g., knee extensions, shoulder flexions). This dataset includes significant variability in camera angles and environmental noise.
Key Results and Discussion
Efficiency and Performance
The PRG framework demonstrated performance parity with, and in some cases superiority over, massive models like C3D (3D Convolutional Neural Networks) and ViViT (Video Vision Transformers). Notably, the PRG achieved 94% accuracy on the DVS Gesture task while using only 5 million parameters—a fraction of the 240M–300M parameters required by baseline models.
Few-Shot Adaptation
Because the model relies on pre-established motion primitives, it excels in low-data regimes. In "few-shot" scenarios with only five samples per class, the PRG model achieved approximately 70-75% accuracy. Traditional end-to-end models, lacking these robust internal representations, struggled to exceed 30% accuracy under the same constraints.
Robustness to Signal Loss
The stability of the attractor manifolds provides inherent resilience to data corruption. The system maintained high performance even when 50% of video frames were randomly dropped. Standard feedforward models typically fail completely under such high levels of temporal occlusion, whereas the PRG's internal dynamics "fill in" the gaps based on the manifold's structure.
Conclusion
By decomposing complex actions into a fundamental "alphabet" of motion primitives and stabilizing those representations through input-driven manifolds, the PRG framework offers a more efficient and robust alternative to traditional deep learning. This modular approach not only reduces the computational cost of training but also provides a pathway for AI systems that can adapt to the noise and variability of the physical world as gracefully as biological organisms. Future work will focus on scaling these modules to handle more complex, non-rigid scenes and automating the selection of modules for diverse tasks.
Summary updated