Defining the auxiliary loss for actor critic type models.
Several of the losses defined in this file are modified versions of those found in https://github.com/joel99/habitat-pointnav-aux/blob/master/habitat_baselines/
Used in multiple auxiliary tasks setting. Add a negative entropy loss over all the task weights.
Base class of auxiliary loss.
Any auxiliary task loss should inherit from it, and implement
Auxiliary task of Inverse Dynamics from Auxiliary Tasks Speed Up Learning PointGoal Navigation (Ye, 2020) https://arxiv.org/abs/2007.04561 originally from Curiosity-driven Exploration by Self-supervised Prediction (Pathak, 2017) https://arxiv.org/abs/1705.05363
| __init__(subsample_rate: float = 0.2, subsample_min_num: int = 10, *args, **kwargs)
Subsample the valid samples by the rate of
if the total num of the valid samples is larger than
Auxiliary task of Temporal Distance from Auxiliary Tasks Speed Up Learning PointGoal Navigation (Ye, 2020) https://arxiv.org/abs/2007.04561
Auxiliary task of CPC|A from Auxiliary Tasks Speed Up Learning PointGoal Navigation (Ye, 2020) https://arxiv.org/abs/2007.04561 originally from Neural Predictive Belief Representations (Guo, 2018) https://arxiv.org/abs/1811.06407