1
$\begingroup$

In this page Limitations on horizon length from the Imitation library, the authors recommend that the user sticks to fixed horizon experiments because there could be "information leak" otherwise.

I'm having problems understanding this term, how can the information leak?

Can someone please explain this with an example, or something that might help me get some intuition about the issue?

$\endgroup$

1 Answer 1

1
$\begingroup$

In the standard Cartpole environment, the episode ends either at 500 timesteps or when the Cartpole falls down. Expert demonstrations show how to keep the Cartpole upright for 500 timesteps.

One degenerate way for Generative Adversarial Imitation Learning or Adversarial Inverse Reinforcement Learning to train an expert policy is to assign a positive reward to every action taken by the generator policy, regardless of whether it mirrors the expert actions. With a positive reward, the RL algorithm that is training the generator policy learns to favor prolonging the episode.

Hence the episode length is a form of side-channel information that makes the imitation learning task easier, and we want to exclude it by choosing environments with fixed episode length.

$\endgroup$
2
  • $\begingroup$ Thank you for your answer @twink_ml. This puts me in a difficult situation, the enviroment I´m using in my project cannot have a fixed length, it could finish well before any imposed length. $\endgroup$ Commented Nov 29, 2022 at 23:23
  • $\begingroup$ You can use something like seals.readthedocs.io/en/latest/common/… to make your environment fixed horizon T, given that the horizon is upper bounded by T. $\endgroup$
    – twink_ml
    Commented Nov 29, 2022 at 23:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .