Abstract
Knowledge transfer between tasks can improve the performance of learned models, but requires an accurate estimate of the inter-task relationships to identify the relevant knowledge to transfer. These inter-task relationships are typically estimated based on training data for each task, which is inefficient in lifelong learning settings where the goal is to learn each consecutive task rapidly from as little data as possible. To reduce this burden, we develop a lifelong reinforcement learning method based on coupled dictionary learning that incorporates high-level task descriptors to model the intertask relationships. We show that using task descriptors improves the performance of the learned task policies, providing both theoretical justification for the benefit and empirical demonstration of the improvement across a variety of dynamical control problems. Given only the descriptor for a new task, the lifelong learner is also able to accurately predict the task policy through zero-shot learning using the coupled dictionary, eliminating the need to pause to gather training data before addressing the task.
Introduction
In lifelong learning, an agent encounters a sequence of tasks and aims to leverage prior knowledge to accelerate the learning of new ones. A significant hurdle in this paradigm is the "cold start" problem: to determine how a new task relates to previously mastered ones, an agent typically needs to collect substantial training data for that specific task. This requirement contradicts the goal of rapid adaptation.
Humans, however, often bypass this by using high-level descriptions. For instance, seeing a picture of a new piece of furniture allows one to infer the necessary tools and assembly steps before touching a single screw. This paper introduces TaDeLL (Task Descriptors for Lifelong Learning), an algorithm that utilizes high-level task features—such as physical parameters like mass or length—to enable zero-shot learning, allowing an agent to solve new tasks without any prior interaction data.
Methodology: Coupled Dictionary Learning
TaDeLL extends Policy Gradient Reinforcement Learning and the ELLA (Efficient Lifelong Learning Algorithm) framework through Coupled Dictionary Learning. The core idea is that both a task's policy (the control rule) and its descriptor (physical properties) can be reconstructed from a shared set of latent "building blocks."
The algorithm simultaneously learns two dictionaries:
- Policy Dictionary ($L$): Captures the fundamental components of control policies.
- Descriptor Dictionary ($D$): Captures the fundamental components of task features.
For any specific task, TaDeLL assumes a single sparse coefficient vector ($s$) can reconstruct both the policy and the descriptor. When a new task arrives, the agent is provided with its descriptor. It uses $D$ to find the optimal coefficients $s$, which are then immediately applied to $L$ to generate a predicted policy. This mechanism allows for immediate task execution with zero training samples.
Experimental Evaluation
The researchers evaluated TaDeLL on four dynamical control domains, with 40 tasks per domain generated by varying physical parameters:
- Spring Mass Damper (SM): Variations in spring constant, mass, and damping.
- Cart Pole (CP): Variations in masses, pole length, and damping.
- Bicycle (BK): Variations in mass, center of mass, and frame geometry.
- Quadrotor Control: A 3D environment where tasks varied by inertial constants and arm lengths.
Key Results and Discussion
TaDeLL demonstrated significant improvements in both learning speed and final performance compared to standard lifelong learning (PG-ELLA) and multi-task learning (GO-MTL).
Zero-Shot "Jumpstart"
A critical finding was the "jumpstart" effect. In zero-shot scenarios, TaDeLL provided initial policies that were substantially better than random initialization or baseline transfer methods. As shown in the jumpstart analysis, TaDeLL consistently achieved lower negative rewards (better performance) at the very beginning of a new task.
Computational Efficiency
TaDeLL is computationally efficient, with complexity that scales linearly with the number of tasks. In the Cart Pole domain, TaDeLL completed its learning process in approximately 20 seconds, whereas previous state-of-the-art methods for task-feature transfer required over 100 seconds.
Theoretical Insights
The authors provide theoretical justification for using descriptors as "side information." By applying the concept of mutual coherence from sparse coding theory, they demonstrate that incorporating task features effectively increases the data's dimensionality, making the dictionary learning process more stable and accurate.
Conclusion and Future Work
TaDeLL successfully bridges the gap between high-level task descriptions and low-level control policies. While highly effective, the method currently assumes the availability of accurate descriptors. Future research could explore handling noisy or irrelevant descriptors and extending the linear coupling between latent spaces and features to more complex, non-linear mappings using deep learning architectures.
Summary updated