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

量化和剪枝对深度强化学习模型的影响

The Impact of Quantization and Pruning on Deep Reinforcement Learning Models

Metropolitan College, Boston University(波士顿大学大都会学院);Harvard Medical School(哈佛医学院);MathWorks(迈斯沃克公司)

Heng Lu, Mehdi Alemi, Reza Rawassizadeh

AI总结:

本文系统研究了量化和剪枝对深度强化学习模型在平均回报、内存、推理时间和电池使用方面的影响,发现压缩虽减小模型尺寸但通常不提升能效,并为资源受限场景下的高效部署提供了权衡指导。

摘要:

深度强化学习(DRL)在视频游戏、机器人以及近期的大型语言模型等多个领域取得了显著成功。然而,DRL模型的计算成本和内存需求往往限制了它们在资源受限环境中的部署。这一挑战凸显了探索神经网络压缩方法以使DRL模型更加实用和广泛适用的迫切需求。我们的研究考察了两种主要压缩方法——量化和剪枝——对DRL模型的影响。我们分析了这些技术如何影响四个性能因素:平均回报、内存、推理时间和电池使用,涵盖多种DRL算法和环境。尽管模型尺寸有所减小,我们发现这些压缩技术通常并未提高DRL模型的能效,但模型尺寸确实减小了。我们提供了关于模型压缩与DRL性能之间权衡的见解,并为在资源受限环境中部署高效DRL模型提供了指导。

英文摘要:

Deep reinforcement learning (DRL) has achieved remarkable success across various domains, such as video games, robotics, and, recently, large language models. However, the computational costs and memory requirements of DRL models often limit their deployment in resource-constrained environments. The challenge underscores the urgent need to explore neural network compression methods to make RDL models more practical and broadly applicable. Our study investigates the impact of two prominent compression methods, quantization and pruning on DRL models. We examine how these techniques influence four performance factors: average return, memory, inference time, and battery utilization across various DRL algorithms and environments. Despite the decrease in model size, we identify that these compression techniques generally do not improve the energy efficiency of DRL models, but the model size decreases. We provide insights into the trade-offs between model compression and DRL performance, offering guidelines for deploying efficient DRL models in resource-constrained settings.

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

↑