Adaptive Policy Reuse from Knowledge Libraries

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 115 papers17 conceptsfrozen 2026-10-04

Reinforcement learning (RL) agents typically suffer from a "cold start" problem: when faced with a new task, they begin with random exploration, which is computationally expensive and often redundant. However, in many real-world scenarios—from financial markets to quantum error correction—new tasks are rarely entirely novel; they often share structural similarities with previously solved problems.

The core idea of Policy Reuse is to maintain a library of "source" policies and treat them as a repertoire of expert behaviors. Instead of learning from scratch, the agent learns to select, compose, or adapt these existing behaviors to solve new challenges.

The Library as a Behavioral Prior

In standard RL, an agent explores by taking primitive actions (e.g., "move left," "move right"). In a policy reuse framework, the agent expands its action space to include "following a source policy."

Ruben Glatt and Anna Helena Reali Costa demonstrated in Policy Reuse in Deep Reinforcement Learning that by occasionally following a policy from a library of mastered tasks, an agent can bypass exhaustive exploration. This works because the library acts as a "behavioral prior"—it provides a set of high-level strategies that are already known to be useful in the domain, effectively narrowing the search space for the optimal solution.

Identifying Relevance through Attention and Bayes

The primary challenge in policy reuse is determining which source policy is relevant to the current task. If an agent reuses a policy that is fundamentally mismatched to the new environment, it risks "negative transfer," where performance actually degrades.

Researchers have developed several mechanisms to solve this identification problem:

  1. Attention Mechanisms: Mykel Kochenderfer and Anthony Corso 0001 utilize an "Attend, Adapt, and Transfer" (A2T) algorithm in Transfer Learning for Efficient Iterative Safety Validation. This uses an attention network to dynamically weight the relevance of source agents. Similarly, Shengchao Hu and colleagues introduced CompoFormer (Continual Task Learning through Adaptive Policy Self-Composition), which uses semantic task embeddings and attention to "self-compose" a new policy from old ones.
  2. Bayesian Inference: Rather than a hard selection, Jinmei Liu and Zhi Wang propose a Bayesian Policy Reuse (BPR) framework in Efficient Bayesian Policy Reuse with a Scalable Observation Model in Deep Reinforcement Learning. By observing instantaneous state-transition samples, the agent updates a probability distribution over the library, quickly converging on the most likely "best" source policy without waiting for episodic rewards.
  3. Probabilistic Softmax: In the context of quantum computing, Elisha S. Matekole and Samuel Yen-Chi Chen use a softmax function to favor policies that perform well under specific hardware noise profiles (Decoding surface codes with deep reinforcement learning and probabilistic policy reuse).

Policies as Temporally Extended Options

A key insight for making policy reuse robust is to treat source policies not just as suggestions, but as options—temporally extended actions that can be invoked for a period and then relinquished.

Fangda Gu and Chongjie Zhang developed the Context-Aware Policy reuSe (CAPS) framework (Context-Aware Policy Reuse), which treats source policies as options alongside basic primitive actions. This structure provides a theoretical safety net: if the source policies are sub-optimal, the agent can always fall back on learning from scratch using primitive actions.

Similarly, the Policy Transfer Framework (PTF) by Tianpei Yang and Jianye HAO (Efficient Deep Reinforcement Learning via Adaptive Policy Transfer) models the reuse problem within an option-critic architecture. This allows the agent to learn exactly when to trust a source policy and when to terminate its execution in favor of a more specialized local policy.

Adapting to Changing Dynamics

Transfer often fails when the "physics" of the environment changes (e.g., a robot moving from carpet to ice). To handle this, Majid Abdolshah and Sunil Gupta introduced Successor Features for Dissimilar Environments (SFDE) (A New Representation of Successor Features for Transfer across Dissimilar Environments).

By using Gaussian Processes to model successor features as a "noisy prior," the agent can evaluate the library policies even when the underlying dynamics have shifted. This allows for immediate policy reuse by identifying which historical behavior best aligns with the current probabilistic estimate of the environment's physics.

Scalability and Continual Learning

As an agent encounters more tasks, the library can grow unwieldy. Jinwu Hu and colleagues address this in Continual Knowledge Adaptation for Reinforcement Learning by maintaining a pool of task-specific knowledge vectors. Their CKA-RL framework merges similar vectors as the pool grows, ensuring that the agent benefits from "forward transfer" (using old knowledge for new tasks) without the computational cost of the library exploding over time.

By shifting the learning objective from "how do I act?" to "which of my existing skills applies here?", these frameworks transform reinforcement learning from a series of isolated trials into a cumulative process of building and refining a behavioral library.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_adaptive_policy_reuse_from_knowledge_lib_04e9a3c6,
  title = {Adaptive Policy Reuse from Knowledge Libraries},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-policy-reuse-from-knowledge-libraries/rdr_04e9a3c6658048a78d0c831fcc7916b7},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-01},
}

This exact version (version 1, frozen text):

@misc{lacuna_adaptive_policy_reuse_from_knowledge_lib_04e9a3c6_v1,
  title = {Adaptive Policy Reuse from Knowledge Libraries},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-policy-reuse-from-knowledge-libraries/rdr_04e9a3c6658048a78d0c831fcc7916b7/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-01},
}