arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.08128cs.LGcs.AI
收藏

近端策略优化的蒸馏策略

Distillation Strategies for Proximal Policy Optimization

Sandia National Laboratories(桑迪亚国家实验室);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校)

Sam Green, Craig M. Vineyard, Çetin Kaya Koç

摘要:

基于视觉的深度强化学习(RL)通常通过使用高容量和相对较大的卷积神经网络(CNN)来获得性能益处。然而,大型网络会导致更高的推理成本(功耗、延迟、硅面积、MAC数量)。已经为CNN开发了许多推理优化。一些优化技术提供了理论上的效率,如稀疏性,但设计实际的硬件来支持它们是困难的。另一方面,蒸馏是一种简单的通用优化技术,广泛适用于将知识从经过训练的高容量教师网络转移到未经训练的低容量学生网络。DQN蒸馏扩展了原始蒸馏思想,以传输存储在通过深度Q学习(DQN)算法训练的高性能,高容量教师Q函数中的信息。我们的工作适应DQN蒸馏工作的演员-评论家近端策略优化算法。PPO算法实现简单,性能远高于DQN算法。我们表明,一个蒸馏PPO学生可以达到更高的性能相比,DQN教师。我们还表明,一个低容量的蒸馏学生通常能够胜过一个低容量的代理,直接在环境中训练。最后,我们表明,蒸馏,其次是“微调”的环境中,使蒸馏PPO学生实现平价与教师的表现。总的来说,在这项工作中学到的经验教训应该转移到其他现代的演员-评论家RL算法。

英文摘要:

Vision-based deep reinforcement learning (RL) typically obtains performance benefit by using high capacity and relatively large convolutional neural networks (CNN). However, a large network leads to higher inference costs (power, latency, silicon area, MAC count). Many inference optimizations have been developed for CNNs. Some optimization techniques offer theoretical efficiency, such as sparsity, but designing actual hardware to support them is difficult. On the other hand, distillation is a simple general-purpose optimization technique which is broadly applicable for transferring knowledge from a trained, high capacity teacher network to an untrained, low capacity student network. DQN distillation extended the original distillation idea to transfer information stored in a high performance, high capacity teacher Q-function trained via the Deep Q-Learning (DQN) algorithm. Our work adapts the DQN distillation work to the actor-critic Proximal Policy Optimization algorithm. PPO is simple to implement and has much higher performance than the seminal DQN algorithm. We show that a distilled PPO student can attain far higher performance compared to a DQN teacher. We also show that a low capacity distilled student is generally able to outperform a low capacity agent that directly trains in the environment. Finally, we show that distillation, followed by "fine-tuning" in the environment, enables the distilled PPO student to achieve parity with teacher performance. In general, the lessons learned in this work should transfer to other modern actor-critic RL algorithms.

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

↑