Skip to content

[Proposal] RewardManager cannot handle multiple critics #220

Closed

Description

@lorenwel

Proposal

Currently, the reward manager assumes that there is a single reward, made up of multiple rewards terms. However, in multi-critic scenarios (e.g. CMDP) we require multiple critics, as the name implies.
I suggest generalizing the reward manager to multiple reward terms, akin to how the observation manager does with observation groups.

Motivation

Allows for multi-critics.

Pitch

Allow multiple groups of rewards with different reward terms.

Alternatives

Create multi-reward manager or a dedicated manager for different critics (e.g. a "cost manager" for CMDP).

Additional context

I'll open a PR.

Checklist

  • I have checked that there is no similar issue in the repo (required)

Activity

  1. lorenwel commented on Jan 29, 2024

    @lorenwel
    ContributorAuthor

    PR is open: #221

  2. Mayankm96 commented on Jan 29, 2024

    @Mayankm96
    Contributor

    Thank you for bringing this up and the MR with it.

    Does it also make sense to do the same for other MDP signals? Once that is done, we should also be able to incorporate multi-agent learning setups.

    @Dhoeller19 This is akin to the discussions we had on generalizing the managers further

  3. added
    enhancement
    on Jan 29, 2024
  4. lorenwel commented on Jan 30, 2024

    @lorenwel
    ContributorAuthor

    I guess for the actions and commands it might make sense to do this, for the multi-agent setups you mention.
    Observations are already generalized and for terminations and randomization it does not seem necessary to me.
    Depending on the types of curriculums you want, that might also be useful in some fringe cases.

    Since these are parallel efforts to the multi-critic though, I'd appreciate if we would not bulk up this issue with multi-agent things on top of the multi-critic changes.

    EDIT: Or I guess what I'm mostly trying to say is that I would prefer not to delay #221 due to multi-agent stuff.

  5. locked and limited conversation to collaborators on Oct 2, 2024
  6. converted this issue into a discussion #1102 on Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions