A system for selecting actions to be performed by an agent that interacts with an environment by performing actions from a predetermined set of actions, the system comprising one or more computers and one or more storage devices communicatively coupled to the one or more computers, wherein the one or more storage devices store instructions that, when executed by the one or more computers, cause the one or more computers to implement:
- a manager neural network subsystem that is configured to, at each of a plurality of time steps:
- generate a latent representation, in a latent space, of a current state of the environment at the time step;
- generate, based at least in part on the latent representation of the current state of the environment at the time step, an initial goal vector that defines, in the latent state space, an objective to be accomplished as a result of actions performed by the agent in the environment;
- and
- pool the initial goal vector for the time step and initial goal vectors for one or more preceding time steps to generate a final goal vector for the time step, comprising:
- generating the final goal vector for the time step by element-wise combining the initial goal vector for the time step and the initial goal vectors for one or more preceding time steps;
- a worker neural network subsystem that is configured to, at each of the plurality of time steps:
- generate a respective action score for each action in the predetermined set of actions based at least in part on the final goal vector for the time step;
- and
- select an action from the predetermined set of actions to be performed by the agent at the time step using the action scores.