Abstract
Humans excel at reusing prior knowledge to address new challenges and developing skills while solving problems. This paradigm becomes increasingly popular in the development of autonomous agents, as it develops systems that can self-evolve in response to new challenges like human beings. However, previous methods suffer from limited training efficiency when expanding new skills and fail to fully leverage prior knowledge to facilitate new task learning. In this paper, we propose Parametric Skill Expansion and Composition (PSEC), a new framework designed to iteratively evolve the agents' capabilities and efficiently address new challenges by maintaining a manageable skill library. This library can progressively integrate skill primitives as plug-and-play Low-Rank Adaptation (LoRA) modules in parameter-efficient finetuning, facilitating efficient and flexible skill expansion. This structure also enables the direct skill compositions in parameter space by merging LoRA modules that encode different skills, leveraging shared information across skills to effectively program new skills. Based on this, we propose a context-aware module to dynamically activate different skills to collaboratively handle new tasks. Empowering diverse applications including multi-objective composition, dynamics shift, and continual policy shift, the results on D4RL, DSRL benchmarks, and the DeepMind Control Suite show that PSEC exhibits superior capacity to leverage prior knowledge to efficiently tackle new challenges, as well as expand its skill libraries to evolve the capabilities.
Introduction
A fundamental challenge in creating autonomous agents is enabling them to learn and adapt as humans do. While humans naturally reuse and combine prior knowledge to solve novel problems, most AI agents suffer from the "tabula rasa" problem—training from scratch for every new task—or "catastrophic forgetting," where learning new skills degrades performance on previously acquired ones.
Traditional Reinforcement Learning (RL) is notoriously sample-inefficient. For instance, training a robot to run typically requires starting from zero. If the task is later modified (e.g., running while carrying an object), standard approaches often require retraining or risk overwriting the original locomotion skill. Existing solutions like continual learning often face interference issues, while compositional policies that combine skills at the action or noise level often fail to exploit shared structural features between skills.
Methodology: Parametric Skill Expansion and Composition (PSEC)
PSEC addresses these challenges by treating skills as lightweight, "plug-and-play" modules that can be blended directly within a neural network's weights. The framework consists of two primary phases: skill expansion and skill composition.
LoRA as Skill Primitives
Instead of training entire networks for each new skill, PSEC utilizes Low-Rank Adaptation (LoRA). A base "foundation" policy remains frozen, while small, low-rank matrices are trained and injected into the network layers. This ensures parameter isolation, preventing new skills from interfering with existing ones. These modules are stored in a growing skill library.
Parameter-Space Composition and Gating
The core innovation of PSEC is composing skills in the parameter space rather than the action space. By blending the weights of LoRA modules, the network can leverage shared information across skills early in the inference process.
A context-aware gating module dynamically determines the mixing weights ($\alpha$) for different skills based on the agent's current state. For example, in a safe RL task, the gate might prioritize a "braking" skill when an obstacle is detected while favoring a "speed" skill on open roads.
Experiments and Results
The researchers evaluated PSEC across several benchmarks, including D4RL (offline RL), DSRL (Deep Safe RL), DeepMind Control Suite (continual policy shift), and Meta-World (robotic manipulation).
Key Findings
- Superior Efficiency: PSEC achieved state-of-the-art performance using only 7.58% of the parameters required by standard MLP models. In the "Stand to Walk" task, it reached peak performance with as few as 10 trajectories, significantly outperforming baselines.
- Effective Safe RL: On the DSRL benchmark, PSEC consistently maximized rewards while staying below safety cost thresholds, surpassing methods like FISOR and CDT.
- Robust Adaptation: PSEC excelled in "Dynamics Shift" scenarios, such as adapting a robot trained in normal gravity to a double-gravity environment by "reprogramming" existing skills.
- Zero-Shot Composition: In Meta-World, PSEC demonstrated the ability to solve unseen tasks by composing existing library skills without additional training data for the specific new task.
Discussion and Conclusion
PSEC represents a significant step toward evolving autonomous agents. By performing composition in the parameter space, it enables "early fusion" of knowledge, which t-SNE visualizations suggest maintains a cleaner structure for skill separation than action-level fusion.
However, the framework's success depends on the diversity of the initial pretrained policy. Future work will focus on managing library growth to prune redundant skills and optimizing hyperparameter selection for LoRA ranks. Overall, PSEC provides a scalable and efficient path for agents to accumulate and synthesize knowledge across their operational lifespan.
Summary updated