基于大模型相似性驱动加权的终身强化学习
Lifelong Reinforcement Learning with Similarity-Driven Weighting by Large Models
AI总结:
本文提出 SDW 框架,利用大模型离线生成任务相似性与权重计算函数,动态调控回放数据比例和策略一致性权重,在 Atari 与 MiniHack 上显著优于现有 LRL 方法。
摘要:
终身强化学习(Lifelong Reinforcement Learning, LRL)在处理序列任务方面具有巨大潜力,但仍面临相当大的挑战。一个关键困难在于:在动态环境中的后续任务上保持可靠决策性能的同时,有效防止灾难性遗忘并促进知识迁移。为解决这一问题,我们提出了一种新颖框架 SDW(Similarity-Driven Weighting Framework,相似性驱动加权框架),该框架利用大语言模型生成的动态函数来精确控制训练过程。SDW 的核心在于由大模型预先生成的两个函数:任务相似性函数和权重计算函数。任务相似性函数从任务描述中提取多维特征,以状态、动作和奖励为维度量化任务之间的相似性与差异。权重计算函数根据相似性信息动态生成关键训练参数,包括 Replay Buffer(经验回放缓冲区)中存储的旧任务数据比例,以及损失函数中的策略一致性权重,从而在学习新任务与迁移先前任务知识之间实现自适应平衡。通过在训练前离线生成函数代码,而不是在训练过程中依赖大模型推理,SDW 框架降低了计算开销,同时在序列任务场景中保持效率。在 Atari 和 MiniHack 序列任务上的实验结果表明,SDW 显著优于现有的终身强化学习方法。
英文摘要:
Lifelong Reinforcement Learning (LRL) holds significant potential for addressing sequential tasks, but it still faces considerable challenges. A key difficulty lies in effectively preventing catastrophic forgetting and facilitating knowledge transfer while maintaining reliable decision-making performance across subsequent tasks in dynamic environments. To tackle this, we propose a novel framework, SDW (Similarity-Driven Weighting Framework), which leverages large-language-model-generated dynamic functions to precisely control the training process. The core of SDW lies in two functions pre-generated by large models: the task similarity function and the weight computation function. The task similarity function extracts multidimensional features from task descriptions to quantify the similarities and differences between tasks in terms of states, actions, and rewards. The weight computation function dynamically generates critical training parameters based on the similarity information, including the proportion of old task data stored in the Replay Buffer and the strategy consistency weight in the loss function, enabling an adaptive balance between learning new tasks and transferring knowledge from previous tasks. By generating function code offline prior to training, rather than relying on large-model inference during the training process, the SDW framework reduces computational overhead while maintaining efficiency in sequential task scenarios. Experimental results on Atari and MiniHack sequential tasks demonstrate that SDW significantly outperforms existing lifelong reinforcement learning methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。