# 选项-评论家架构

**选项-评论家架构**是一种层级强化学习方法，由麦吉尔大学的皮埃尔-吕克·培根（Pierre-Luc Bacon）、让·哈布（Jean Harb）和多伊娜·普雷库普（Doina Precup）提出，能够端到端地学习时间扩展动作（选项）：选项的内部策略及其终止条件与选项间策略联合训练，仅使用任务自身的奖励，无需人工指定子目标或辅助奖励<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup>。该文发表于2017年2月举行的第三十一届AAAI人工智能会议，预印本于2016年9月发布至arXiv<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1609.05140)</sup>。

| 关键事实 | 详情 |
|---|---|
| 作者 | 皮埃尔-吕克·培根、让·哈布、多伊娜·普雷库普，麦吉尔大学推理与学习实验室<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup> |
| 发表 | AAAI-17，会议论文集第31卷第1期，2017年2月13日出版；DOI 10.1609/aaai.v31i1.10916<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup> |
| 预印本 | arXiv:1609.05140，2016年9月16日提交，2016年12月3日修订<sup>[2](https://arxiv.org/abs/1609.05140)</sup> |
| 核心结果 | 两个梯度定理——选项内策略梯度定理与终止梯度定理，均由策略梯度定理推导而来<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup> |
| 学习内容 | 选项内策略、终止函数与选项间策略，全部来自单一任务奖励<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup> |
| 执行模型 | 调用-返回：一个选项运行至其终止函数触发，然后由选项间策略选择下一个选项<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup> |
| 显著结果 | 在Atari游戏《阿斯泰利克斯》《海洋探索》和《扎克松》上超越DQN<sup>[4](https://www.researchgate.net/publication/308262673_The_Option-Critic_Architecture)</sup> |
| 已知局限 | 选项数量必须预先固定，且学习严重依赖任务奖励，因此稀疏奖励任务较为困难<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup> |

## 背景：选项与时间抽象

时间抽象是对在不同时间尺度上展开的行动过程的表示。萨顿（Sutton）、普雷库普和辛格（Singh）（1999）以及普雷库普（2000）的[选项框架](https://www.edgepedia.org/zh/options-framework)对此进行了形式化：一个马尔可夫选项\( \omega \)是一个三元组\( (I_{\omega}, \pi_{\omega}, \beta_{\omega}) \)，由启动集\( I_{\omega} \subseteq S \)、选项内策略\( \pi_{\omega} \)和终止函数\( \beta_{\omega} : S \to [0, 1] \)组成，后者给出在每个状态下结束该选项的概率<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。赋予一组选项的MDP成为半马尔可夫决策过程（SMDP），并具有定义在状态-选项对上的选项价值函数\( Q_{\Omega}(s, \omega) \)<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。

在选项-评论家之前，利用给定选项进行规划已被充分理解，但从数据中自主创建此类抽象仍然具有挑战性。大多数先前工作首先寻找子目标（智能体应到达的有用状态），然后学习实现这些子目标的策略——作者称这种方法难以扩展，因为学习子目标的策略在最坏情况下可能与求解整个任务一样昂贵<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。选项-评论家则模糊了发现选项与学习其策略之间的界限，将二者视为单一的基于梯度的优化<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。

## 架构的工作原理

**执行。** 智能体采用调用-返回执行模型：选项间策略\( \pi_{\Omega} \)选择一个选项，该选项的选项内策略\( \pi_{\omega} \)发出原始动作，直到终止函数\( \beta_{\omega} \)结束该选项，然后选择新选项<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。评论家估计在状态-选项对中采取动作的动作价值\( Q_U(s, \omega, a) \)，以及选项上的优势函数\( A_{\Omega}(s', \omega) = Q_{\Omega}(s', \omega) - V_{\Omega}(s') \)<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。

**两个梯度定理。** 在萨顿等人（2000）的策略梯度定理基础上，论文推导出两个结果<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>：

1. 选项内策略梯度定理给出期望折扣回报关于随机、可微的选项内策略参数\( \theta \)的梯度，以状态-选项对上的折扣分布\( \mu_{\Omega} \)加权，并使用\( Q_U \)作为评论家<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。
2. 终止梯度定理给出关于终止参数\( \vartheta \)的梯度。其关键量是到达时的选项价值函数的梯度\( U(\omega, s') = (1 - \beta_{\omega,\vartheta}(s')) Q_{\Omega}(s', \omega) + \beta_{\omega,\vartheta}(s') V_{\Omega}(s') \)，因为在调用-返回执行下，终止决策的质量只能在进入下一状态后评判<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。在实践中，在结束选项并切换更有利的地方（继续的负优势），终止概率被推高；在继续更好的地方，终止概率被压低<sup>[6](https://www.reinforcement-learning.com/kb/hierarchical-rl)</sup>。

**学习过程。** 这些定理产生了一个基于双时间尺度框架（孔达和齐齐克利斯，2000）的随机梯度下降算法：价值在快时间尺度上学习，而选项内策略和终止函数以较慢的速率更新<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。用户唯一需要指定的只是选项数量；不需要子目标、额外奖励、演示或多重问题，尽管如果提供了伪奖励函数，该方法可以利用它们<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。

## 实验结果

论文报告了在离散和连续环境中的实验，表明该框架学习到有意义的时间扩展行为，并可与线性和非线性函数逼近器配合工作<sup>[1](https://ojs.aaai.org/index.php/AAAI/article/view/10916)</sup><sup> • </sup><sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。在Atari学习环境中，使用类似DQN的深度神经网络架构，选项-评论家在《阿斯泰利克斯》《海洋探索》和《扎克松》上超越了DQN基线<sup>[4](https://www.researchgate.net/publication/308262673_The_Option-Critic_Architecture)</sup>。层级强化学习综述也报告称，它在《海洋探索》和《吃豆人小姐》等Atari游戏中优于标准RL学习，并在弹球域的早期学习阶段表现优于技能链方法<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。与早期的选项发现方法主要受益于跨任务重用选项不同，选项-评论家在单一任务内学习选项而不会导致速度下降，同时仍为迁移学习提供益处<sup>[3](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)</sup>。

## 局限性

该架构从单一任务奖励中学习整个层级结构，这既是其吸引力也是其弱点<sup>[7](https://notes.amittai.studio/reinforcement-learning/modern-deep-rl/hierarchical-rl)</sup>：

- 选项数量必须在训练前预定义<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。
- 由于策略梯度严重依赖主任务奖励，该方法在稀疏奖励任务上可能表现不佳<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。
- 目标函数中没有任何因素促使选项具有多样性或有意义。一个已知的失败模式是选项坍缩，即一个选项垄断行为或终止每一步都触发，退化为扁平强化学习；实际变体添加斟酌成本（每次选项切换的小惩罚）或熵和多样性项，以保持选项的独特性与时间扩展性<sup>[6](https://www.reinforcement-learning.com/kb/hierarchical-rl)</sup><sup> • </sup><sup>[7](https://notes.amittai.studio/reinforcement-learning/modern-deep-rl/hierarchical-rl)</sup>。
- 该框架需要为基于选项的SMDP定制的策略优化算法，这限制了其他先进策略优化方法的现成使用<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。

## 扩展与影响

选项-评论家因其理论基础而成为统一层级强化学习的流行框架，一系列方法在其基础上发展<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。兴趣选项-评论家（Interest Option-Critic，凯塔尔帕尔和普雷库普）使用策略梯度学习每个选项的启动条件，使选项专注于不同行为，有助于防止退化<sup>[5](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)</sup>。其他扩展包括：安全选项-评论家（Safe Option-Critic），在该架构内学习安全性<sup>[8](https://arxiv.org/abs/1807.08060)</sup>；自然选项-评论家（Natural Option Critic），为选项策略和终止函数开发自然梯度估计<sup>[9](https://arxiv.org/abs/1812.01488)</sup>；将选项-评论家定理扩展到平均奖励准则的层级平均奖励策略梯度算法<sup>[10](https://arxiv.org/abs/1911.08826)</sup>；以及有工作指出策略梯度定理的关键假设在表格情形下有效，但在深度函数逼近设置中被违反，从而促使修订训练方案<sup>[11](https://arxiv.org/abs/1912.13408)</sup>。综述将选项-评论家与FeUdal网络和HIRO并列为深度强化学习中有影响力的方案，回答了如何联合学习技能与使用技能的策略这一问题<sup>[6](https://www.reinforcement-learning.com/kb/hierarchical-rl)</sup>。

## References

1. [Bacon, P.-L., Harb, J., & Precup, D. (2017). The Option-Critic Architecture. Proceedings of the AAAI Conference on Artificial Intelligence, 31(1).](https://ojs.aaai.org/index.php/AAAI/article/view/10916)
2. [Bacon, P.-L., Harb, J., & Precup, D. The Option-Critic Architecture, arXiv:1609.05140.](https://arxiv.org/abs/1609.05140)
3. [The Option-Critic Architecture (AAAI-17 PDF).](https://ojs.aaai.org/index.php/AAAI/article/download/10916/10775)
4. [The Option-Critic Architecture, ResearchGate entry.](https://www.researchgate.net/publication/308262673_The_Option-Critic_Architecture)
5. [Hierarchical Reinforcement Learning: A Comprehensive Survey.](https://www.researchgate.net/publication/352160708_Hierarchical_Reinforcement_Learning_A_Comprehensive_Survey)
6. [Hierarchical RL: options, option-critic, and temporal abstraction, reinforcement-learning.com.](https://www.reinforcement-learning.com/kb/hierarchical-rl)
7. [Hierarchical RL: Options and the Option-Critic, study notes.](https://notes.amittai.studio/reinforcement-learning/modern-deep-rl/hierarchical-rl)
8. [Safe Option-Critic: Learning Safety in the Option-Critic Architecture, arXiv:1807.08060.](https://arxiv.org/abs/1807.08060)
9. [Natural Option Critic, arXiv:1812.01488.](https://arxiv.org/abs/1812.01488)
10. [Hierarchical Average Reward Policy Gradient Algorithms, arXiv:1911.08826.](https://arxiv.org/abs/1911.08826)
11. [On the Role of Weight Sharing During Deep Option Learning, arXiv:1912.13408.](https://arxiv.org/abs/1912.13408)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Reinforcement learning and world models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/option-critic-architecture

English original: https://www.edgepedia.org/option-critic-architecture
