Why does Soft actor critic have Entropy terms instead of Log probability?

조회 수: 2 (최근 30일)
According to the Soft Actor Critic paper by Haarnoja et al. (2018) the TD learning, Policy update and the entropy coefficient or temperature update all have used log probability inside the Expectation symbol due to the soft state function and thus leading to Entropy indirectly. I want to know if it is a documentation error in MATLAB 2021a that entropy was used directly or is there a coding error in the backend. SInce i cant seem to find the function for the training loops for these functions i cannot verify for myself. I will put the formulas for comparison here as images as it might exceed the characters.
From the Spinning up in RL Documentation by Open AI parent company of the authors who tweaked the algo slightly to include only Q values, here only Log probability is used and then summed over.
In MATLAB's Documentation we have entropy before the summation
SAC is a very important off policy reinforcement learning algorithm for various research purposes which specialises in sample efficiency, if the mistakes in the documentation is reflected in the code then it will be a term higher in degree than entropy and thus non accurate results will occur and if it is a minor documentation error, nevertheless it needs to be fixed.

채택된 답변

Takeshi Takahashi
Takeshi Takahashi 2021년 7월 1일
RL toolbox also uses the log of the probability density to approximate the differential entropy.
  댓글 수: 6
Aniruddha Datta
Aniruddha Datta 2021년 7월 1일
Is it possible to look at the source code for the training loop of the policy and Critic?
Takeshi Takahashi
Takeshi Takahashi 2021년 7월 1일
Yes. You are right that we call the log density Entropy in our SAC documentation.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Aniruddha Datta
Aniruddha Datta 2021년 7월 1일
The follow up paper, Soft Actor Critic Algorithm and Applications is much more consistent in the terms used for Soft Q update and Soft policy iteration.

카테고리

Help CenterFile Exchange에서 Reinforcement Learning에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by