arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.20651cs.LG
收藏

迈向可泛化的强化学习:基于因果引导的自适应表示

Towards Generalizable Reinforcement Learning via Causality-Guided Self-Adaptive Representations

Shanghai Jiao Tong University(上海交通大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Yupei Yang, Biwei Huang, Fan Feng, Xinyue Wang, Shikui Tu, Lei Xu

AI总结:

本文提出因果引导的自适应表示方法CSR,通过因果表示学习揭示变量结构关系,使智能体能自主判断并定位环境变化,仅需少量样本即可高效适应新任务并优于现有基线。

摘要:

通用智能需要跨任务的快速适应。尽管现有的强化学习(RL)方法在泛化方面取得了一定进展,但它们通常假设源域和目标域之间仅存在分布变化。本文探索了更广泛的场景,其中不仅分布可能改变,环境空间也可能发生变化。例如,在 CoinRun 环境中,我们从简单关卡训练智能体,并将其泛化到可能出现前所未见新敌人的困难关卡。为应对这一具有挑战性的设定,我们引入了一种基于因果引导的自适应表示方法,称为 CSR,使智能体能够在具有演化动力学的任务间有效泛化。具体而言,我们采用因果表示学习来刻画 RL 系统内的潜在因果变量。这种紧凑的因果表示揭示了变量间的结构关系,使智能体能够自主判断环境变化是源于分布偏移还是空间变化,并精确定位这些变化。随后,我们设计了一种三步策略,在不同场景下相应地微调因果模型。实验表明,CSR 仅需少量样本即可高效适应目标域,并在包括模拟环境、CartPole、CoinRun 和 Atari 游戏在内的广泛场景中优于最先进的基线方法。

英文摘要:

General intelligence requires quick adaption across tasks. While existing reinforcement learning (RL) methods have made progress in generalization, they typically assume only distribution changes between source and target domains. In this paper, we explore a wider range of scenarios where not only the distribution but also the environment spaces may change. For example, in the CoinRun environment, we train agents from easy levels and generalize them to difficulty levels where there could be new enemies that have never occurred before. To address this challenging setting, we introduce a causality-guided self-adaptive representation-based approach, called CSR, that equips the agent to generalize effectively across tasks with evolving dynamics. Specifically, we employ causal representation learning to characterize the latent causal variables within the RL system. Such compact causal representations uncover the structural relationships among variables, enabling the agent to autonomously determine whether changes in the environment stem from distribution shifts or variations in space, and to precisely locate these changes. We then devise a three-step strategy to fine-tune the causal model under different scenarios accordingly. Empirical experiments show that CSR efficiently adapts to the target domains with only a few samples and outperforms state-of-the-art baselines on a wide range of scenarios, including our simulated environments, CartPole, CoinRun and Atari games.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑