Skip to content

Entropy Question in PPO code #218

@btnorman

Description

@btnorman

Hey Guys,

I'm really enjoying Brax! I have a question about entropy loss in the PPO code.

I have been logging the entropy loss, and for some training runs it becomes positive... which really confuses me as it seems to suggests that the distributions entropy is negative!

I have looked through the Brax code and have not managed to work out an explanation. I wonder if I have missed some constant being added somewhere, or if there is some other obvious explanation. I feel I must be missing something. Has anyone else experienced this?

Many thanks,
Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions