Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ablation studies #5

Closed
karims opened this issue Apr 4, 2021 · 2 comments
Closed

Ablation studies #5

karims opened this issue Apr 4, 2021 · 2 comments

Comments

@karims
Copy link

karims commented Apr 4, 2021

I am trying to do ablation studies on Tenis dataset, different from what is done in paper for BAIR.

It looks switching off G.S is straightforward from yml file. However, switching off vt - action variability embedding and
L_act: training with the mutual information loss doesn't look that simple.

Can you shed some light on this how to proceed?

I see that to switch off L_act, there are many places to comment code. Or is it ok to set action_mutual_information_lambda and action_mutual_information_lambda_pretraining to 0? Does this work?

About v_t, I am just unable to figure that out how to switch it off in code. From the paper, it is defined as the difference between the observed action direction dt and its assigned cluster centroid. The only clue I find is in model.py line 188 says:

if not self.config["model"]["action_network"]["use_variations"]:
            flat_action_variations = flat_action_variations * 0

Does use_variations=False helps to do this ablation study?

@willi-menapace
Copy link
Owner

Dear Karims,
it is correct to proceed as you propose to deactivate L_act and v_t.

For the former, you can set action_mutual_information_lambda and action_mutual_information_lambda_pretraining to 0 in the configuration files.
For the latter, you can specify use_variations: False line in the action_network section of the configuration file.

No changes to the code should be required to reproduce the ablation.

@karims
Copy link
Author

karims commented Apr 4, 2021

Thanks so much. You have done amazing work in this research.

@karims karims closed this as completed Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants