Stacked Convolutional Long Short-Term Memory for Model-Free Reinforcement Learning
Through the stack of convolutional long short-term memory neural network layers and the action selection neural network, the problem of task execution and learning in multiple time steps of the existing reinforcement learning system is solved, high-performance agent control is achieved, and over-simulation is avoided. Integrated, suitable for complex agent control tasks.
Patent Information
- Application Number
- CN201980040637.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-27
- Filing Date
- 2019-09-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-09-27
AI Technical Summary
When controlling the interaction between agents and the environment, existing reinforcement learning systems are difficult to effectively handle tasks that require planning within multiple time steps, and are prone to overfitting, resulting in poor generalization after training.
A stack of convolutional long short-term memory (convLSTM) neural network layers is used to update the state multiple iterations at each time step, combined with an action selection neural network, to generate action selection outputs to define the actions performed by the agent.
It achieves high-performance task execution and learning without requiring an explicit model of the environment. It is especially suitable for tasks that require planning, avoids over-fitting problems, and improves the performance of multiple agent control tasks.
Smart Images

Figure CN112313672B_ABST
Abstract
Description
Background Art
[0001] This specification relates to reinforcement learning.
[0002] In a reinforcement learning system, an agent interacts with an environment by performing actions, which are selected by the reinforcement learning system in response to receiving observations that characterize the current state of the environment.
[0003] Some reinforcement learning systems select actions to be performed by an agent in response to receiving a given observation based on the output of a neural network.
[0004] A neural network is a machine learning model that uses one or more layers of nonlinear units to predict outputs for received inputs. Some neural networks are deep neural networks that include one or more hidden layers in addition to the output layer. The output of each hidden layer is used as the input to the next layer in the network, i.e., the next hidden layer or output layer. Each layer of the network generates an output from the received input according to the current values of the corresponding set of parameters. Summary of the invention
[0005] This specification generally describes a reinforcement learning system for controlling an agent that interacts with an environment.
[0006] In particular, the reinforcement learning system includes a control neural network system, which in turn includes at least a convolutional long short-term memory (convLSTM) neural network and an action selection neural network. The convLSTM neural network includes a plurality of convLSTM neural network layers, which are arranged one after another in a stack.
[0007] In one innovative aspect, a system for controlling an agent interacting with an environment is described, the system comprising one or more computers and one or more storage devices storing instructions that, when executed by the one or more computers, cause the one or more computers to implement control of a neural network system.
[0008] The control neural network system may include a convolutional long short-term memory (LSTM) neural network, the LSTM neural network including a plurality of convolutional LSTM neural network layers, the plurality of convolutional LSTM neural network layers being arranged one after another in a stack. The convolutional LSTM neural network may be configured to, at each of a plurality of time steps, receive a representation of an observation representing a state of an environment at the time step and process (i) the representation and (ii) the state of the convolutional LSTM neural network up to the time step to (iii) generate a final LSTM hidden state output for the time step and (iv) update the state of the convolutional LSTM neural network at the time step. The control neural network system may further include an action selection neural network, the action selection neural network configured to, at each of a plurality of time steps, receive an action selection input, the action selection input including the final LSTM hidden state output for the time step, and configured to process the action selection input to generate an action selection output according to an action selection policy, the action selection output defining an action to be performed by the agent at the time step.
[0009] In an embodiment, the state up to that time step includes the corresponding cell state and the corresponding hidden state of each convolutional LSTM layer in the stack. The final LSTM hidden state output for that time step may include the hidden state of the last convolutional LSTM layer in the stack at the update state for that time step.
[0010] The ConvLSTM layer structure may help preserve spatial information in the network, and repeating convLSTM layers may facilitate sequence processing at multiple different levels in the system, thereby facilitating tasks that typically require planning, for example, because they have combinatorial and / or procedural aspects. Thus, the combination of convLSTM-based processing that can allow for storage of spatial information over extended periods of time and processing sequences of such information in a hierarchical structure within the system can provide a synergistic combination that is particularly good at learning to solve difficult reinforcement learning problems of the type that would be expected to require planning, without the need to include an explicit model of the environment within the system.
[0011] In an embodiment, the convolutional LSTM neural network may be configured to process N instants per time step, where N is greater than 1. Processing may include: for each of the N instants, processing (i) the representation and (ii) the state of the convolutional LSTM neural network up to that instant to update the state of the convolutional LSTM neural network at that instant. The final LSTM hidden state output for the time step may include the hidden state of the last convolutional LSTM layer in the stack after the Nth instant of the time step. The updated state of the convolutional LSTM neural network for the time step may include the updated state of the convolutional LSTM neural network after the Nth instant of the time step. The state of the convolutional LSTM neural network up to the first instant of the N instants of the time step may include the updated state of the convolutional LSTM neural network for the previous time step.
[0012] This approach can facilitate the execution of tasks that would normally require planning over multiple time steps, but provide additional time step intervals, i.e., instants, during which the system can plan before taking an action.
[0013] In an embodiment, each convolutional LSTM neural network layer in the stack can be configured to process the layer input at each of the N instants to update the cell state and hidden state of the convolutional LSTM neural network layer up to that instant. The instantaneous layer input of each particular convolutional LSTM neural network layer except the first layer in the stack can include the instantaneous updated hidden state of the layer immediately preceding the particular layer in the stack. The instantaneous layer input of each layer in the stack can include a representation of the time step. For each instant other than the first of the N instants, the instantaneous layer input of the first layer in the stack can include the updated hidden state of the last layer in the stack at the previous instant. For the first of the N instants, the instantaneous layer input of the first layer in the stack can include the updated hidden state of the last layer in the stack at the previous time step. This can further facilitate the execution of tasks that can benefit from planning performed in multiple instants before taking action.
[0014] In some embodiments, the convolutional LSTM neural network is further configured to perform the following operations for each instant and each convolutional LSTM layer: for each channel dimension of the updated hidden state of the layer of the time step, spatially apply one or more pooling operations to generate one or more pooled outputs of the channel dimension, project the pooled output using a linear layer corresponding to the convolutional LSTM layer to generate a projection output, and spatially tile the projection output to generate a summary tensor. The layer input at the instant of each layer in the stack may include the summary tensor of the layer of the previous instant, or if the instant is the first instant of the time step, the layer input includes the summary tensor of the layer of the Nth instant of the previous time step. The one or more pooling operations include a maximum pooling operation, an average pooling operation, or both. This may help information propagate faster through the system, and thus may improve the performance of tasks that expect faster responses and / or may promote faster learning of tasks.
[0015] In some embodiments, the convolutional LSTM neural network can be configured to attach a feature map to the input of the convolution operator of the convolutional LSTM layer in the stack, the feature map assigning the boundaries of the input tensor to the convolution operator. This may facilitate system learning to perform a task when the observation includes an image and the boundaries define the edges of the image.
[0016] In some implementations, the action selection unit may further include a representation of a time step.
[0017] The neural network system may further include an encoder neural network configured to process, at each of a plurality of time steps, an observation characterizing a state of the environment at the time step to generate a representation of the observation at the time step. The observation may include an image of the environment, and the encoder neural network may include one or more convolutional layers. The action selection neural network includes one or more fully connected layers.
[0018] In some embodiments, the representation comprises a H×W×C tensor. The state of the convolutional LSTM neural network and the final LSTM hidden state output can preserve the spatial dimensions of the representation.
[0019] A method of controlling an agent that interacts with an environment is described. The method may include the following: at each of a plurality of time steps, obtaining a representation of an observation that characterizes a state of the environment at the time step. The method may further include: at each time step, processing the representation using a convolutional long short-term memory (LSTM) neural network, the LSTM neural network comprising a plurality of convolutional LSTM neural network layers, the plurality of convolutional LSTM neural network layers being arranged one after the other in a stack. The convolutional LSTM neural network may be configured to receive a representation of the observation that characterizes the state of the environment at the time step and process (i) the representation and (ii) the state of the convolutional LSTM neural network up to the time step to (iii) generate a final LSTM hidden state output for the time step and (iv) update the state of the convolutional LSTM neural network at the time step. The method may further include: at each time step, processing an action selection input using an action selection neural network, the action selection input comprising a final LSTM hidden state output for the time step, the action selection neural network configured to receive the action selection input, and configured to process the action selection input to generate an action selection output according to an action selection policy, the action selection output defining an action to be performed by the agent at the time step. The method may further include: at each time step, selecting from the action selection output according to the action selection policy an action to be performed by the agent at the time step. The method may further include causing the agent to perform the selected action at each time step.
[0020] Further features of the method may correspond to the aforementioned features of controlling the neural network system.
[0021] Particular embodiments of the subject matter described in this specification can be implemented so as to realize one or more of the following advantages.
[0022] The described neural network system has a high capacity and an architecture that supports iterative computation. The increased capacity provided by this architecture has previously been considered detrimental to achieving high performance on reinforcement learning tasks, as such neural networks are considered difficult to train and more prone to overfitting the training data and simply memorizing experiences, resulting in poor generalization after training. As a result, this architecture has so far been abandoned for reinforcement learning tasks involving controlling agents.
[0023] However, because the described neural network system employs recursion in 2D space through a stack of convLSTM neural network layers, and the way that the recursion iterates within a given time step (by processing multiple instants within that time step), the described system exhibits high performance, particularly for tasks that require planning, have a limited amount of training data, or both. Additionally, the described system exhibits "learned thinking" and amortizes difficult decisions, i.e., difficult action selections, over multiple steps (each with a fixed computational cost). More generally, contrary to previous expectations of those skilled in the art, the "excessive flexibility" (or high computational nature) of the described neural network system does not lead to inferior performance (e.g., overfitting or difficulty in optimization), but rather leads to state-of-the-art performance on several different agent control tasks.
[0024] The details of one or more embodiments of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 An example reinforcement learning system is shown.
[0026] Figure 2 An example of controlling the processing of a neural network at two time steps is shown.
[0027] Figure 3 is a flow chart of an example process for selecting an action.
[0028] Figure 4 The performance of the described system on a task requiring planning is shown relative to the performance of other conventional systems.
[0029] Like reference numbers and designations throughout the various drawings represent like elements. DETAILED DESCRIPTION
[0030] This specification describes a reinforcement learning system that controls an agent that interacts with an environment by processing, at each of a plurality of time steps, data representing the current state of the environment at that time step (i.e., an "observation") to select an action to be performed by the agent.
[0031] At each time step, the state of the environment at that time step depends on the state of the environment at the previous time step and the action performed by the agent at the previous time step.
[0032] In some embodiments, the environment is a real environment and the agent is a mechanical agent that interacts with the real environment, such as a robot or an autonomous or semi-autonomous land, air, or sea vehicle that navigates through the environment.
[0033] In these embodiments, for example, observations may include one or more of images, object position data, and sensor data that captures the observations as the agent interacts with the environment, such as sensor data from images, range or position sensors, or from actuators.
[0034] For example, in the case of a robot, observations may include data characterizing the current state of the robot, such as one or more of: joint orientations, joint velocities, joint forces, torques, or accelerations, such as gravity-compensated torque feedback, and the global or relative pose of an object held by the robot.
[0035] In the case of a robot or other mechanical agent or vehicle, observations may also include one or more of orientation, linear or angular velocity, force, torque or acceleration, and global or relative pose of one or more parts of the agent. Observations may be defined in 1, 2, or 3 dimensions and may be absolute and / or relative.
[0036] For example, observations may also include sensed electronic signals, such as motor current or temperature signals; and / or image or video data, for example from a camera or LIDAR sensor, such as data from sensors of the agent or from sensors located separate from the agent in the environment.
[0037] In these embodiments, the action can be a control input for controlling a robot, such as a torque for a robot or a higher level control command, or a joint or an autonomous or semi-autonomous land, air, or sea vehicle, such as a torque for a control surface or other control element of a vehicle or a higher level control command.
[0038] In other words, for example, an action may include position, velocity, or force / torque / acceleration data of one or more joints of a robot or part of another mechanical agent. The action data may additionally or alternatively include electronic control data, such as motor control data, or more generally data for controlling one or more electronic devices within the environment, the control of which may affect the observed state of the environment. For example, in the case of an autonomous or semi-autonomous land or air or sea vehicle, the action may include actions for controlling navigation (e.g., steering) as well as movement, such as braking and / or acceleration of the vehicle.
[0039] In the case of an electronic agent, the observations may include data from one or more sensors used to monitor a portion of a plant or service facility, such as current, voltage, power, temperature, and other sensor signals and / or electronic signals representing the functionality of electronic and / or mechanical items of equipment. For example, the real-world environment may be a manufacturing plant or service facility, the observations may relate to the operation of the plant or facility, such as the use of resources (such as electricity consumption), and the agent may control actions or operations in the plant / facility, such as to reduce resource use. In some other embodiments, the real-world environment may be a renewable energy plant, the observations may relate to the operation of the plant, such as to maximize current or future planned power generation, and the agent may control actions or operations of the plant to achieve this.
[0040] In some other applications, the agent can control the action of the real environment including the items of equipment, such as in a data center, in a power / water distribution system, or in a manufacturing plant or service facility. The observation can then be related to the operation of the plant or facility. For example, the observation can include the observation of the power or water used by the equipment, or the observation of the power generation or distribution control, or the observation of the use of resources or the waste generation. The action can include controlling or imposing operating conditions on the items of equipment of the plant / facility, and / or causing a setting change in the operation of the plant / facility, such as the action to adjust or turn on / off the components of the plant / facility.
[0041] As another example, the environment can be a chemical synthesis or protein folding environment, such that each state is a corresponding state of a protein chain or one or more intermediates or precursor chemicals, and the agent is a computer system for determining how to fold a protein chain or synthesize a chemical. In this example, the actions are possible folding actions for folding a protein chain or actions for assembling a precursor chemical / intermediate, and, for example, the results to be achieved may include folding a protein, making the protein stable, and making it achieve a specific biological function or providing an efficient synthetic pathway for a chemical. As another example, the agent can be a mechanical agent that performs or controls a protein folding action or chemical synthesis step selected automatically by the system without human interaction. Observations can include direct or indirect observations of the state of a protein or chemical / intermediate / precursor and / or can be derived through simulations.
[0042] In some implementations, the environment may be a simulated environment, and the agent may be implemented as one or more computers that interact with the simulated environment.
[0043] The simulated environment may be a motion simulation environment, such as a driving simulation or a flight simulation, and the agent may be a simulated vehicle navigating through the motion simulation. In these embodiments, the action may be a control input for controlling a simulated user or a simulated vehicle.
[0044] In some embodiments, the simulation environment can be a simulation of a particular real environment. For example, the system can be used to select actions in a simulation environment during training or evaluation of a control neural network, and after completing the training or evaluation or both, can be used to control a real agent in a real environment simulated by the simulation environment. This can avoid unnecessary wear and damage to the real environment or real agent, and can allow the control neural network to be trained and evaluated in situations that are rare or difficult to recreate in the real environment.
[0045] Typically, in the case of a simulated environment, observations may include simulated versions of one or more of previously observed observations or types of observations, and actions may include simulated versions of one or more previously described actions or types of actions.
[0046] Figure 1 An example reinforcement learning system 100 is shown. The reinforcement learning system 100 is an example of a system implemented as a computer program on one or more computers in one or more locations in which the systems, components, and techniques described below are implemented.
[0047] The system 100 controls an agent 102 interacting with an environment 104 by selecting actions 106 to be performed by the agent 102 and then causing the agent 102 to perform the selected actions 106 .
[0048] The execution of the selected action 106 by the agent 102 generally causes the environment 104 to transition to a new state. By repeatedly causing the agent 102 to act in the environment 104, the system 100 can control the agent 102 to complete a specified task.
[0049] System 100 includes a control neural network system 110 , a training engine 150 , and one or more memories storing a set of model parameters 118 of control neural network 110 .
[0050] At each of a plurality of time steps, control neural network 110 is configured to process inputs including current observation 120 characterizing a current state of environment 104 according to model parameters 118 to generate action selection output 122 .
[0051] The system 100 uses the action selection output 122 to control the agent, ie, to select an action 106 to be performed by the agent at the current time step according to the action selection policy.
[0052] Several examples of using the action selection output 122 to select an action 106 to be performed by an agent are described next.
[0053] In one example, the action selection output 122 defines a probability distribution of possible actions to be performed by the agent. For example, the action selection output may include a corresponding action probability for each action in a set of possible actions that can be performed by the agent to interact with the environment. In another example, the action selection output 122 may include parameters of a distribution of a set of possible actions. The system 100 may select an action to be performed by the agent based on the action selection output 122 using any of a variety of action selection strategies, such as by sampling actions according to their probability values or by selecting the action with the highest probability value.
[0054] In another example, the action selection output 122 identifies a best action from a set of possible actions to be performed by the agent in response to the observation. For example, in the case of controlling a mechanical agent, the action selection output may identify a torque to be applied to one or more joints of the mechanical agent. The system 100 may select an action to be performed by the agent based on the action selection output 122 using any of a variety of action selection strategies, such as by selecting the best action identified or by adding noise to the best action to support exploration and selecting the action to which the noise was added.
[0055] In another example, the action selection output 122 may include a corresponding Q-value for each action in a set of possible actions that may be performed by the agent.
[0056] The Q-value for an action is an estimate of the “reward” that would result from the agent performing the action in response to the current observation 120 and then selecting a future action to be performed by the agent 102 based on the current values of the control neural network parameters.
[0057] Return refers to a cumulative measure of "rewards" 124 received by an agent, such as a time-discounted sum of rewards. An agent may receive a corresponding reward 124 at each time step, where the reward 124 is specified by a scalar value and represents, for example, the agent's progress toward completing a specified task.
[0058] The system 100 can select an action to be performed by the agent based on the action selection output 122 using any of a variety of action selection strategies, such as by selecting the action with the highest Q value or by mapping Q values to probabilities and sampling actions according to the probabilities.
[0059] In some cases, the system 100 may select an action to be performed by the agent according to an exploration strategy. For example, the exploration strategy may be an ∈-greedy exploration strategy, in which the system 100 selects an action to be performed by the agent with probability 1-∈ according to the action selection output 122, and randomly selects an action with probability ∈. In this example, ∈ is a scalar value between 0 and 1.
[0060] In some cases, in addition to any of the above, action selection output 122 may also include a value function output that is an estimate of the value, in terms of predicted reward, of the current state characterized by observations for successful completion of the task.
[0061] The control neural network 110 includes at least a convolutional long short-term memory (convLSTM) neural network 114 and an action selection neural network 116 .
[0062] The convLSTM neural network 114 includes a plurality of convLSTM neural network layers arranged one after another in a stack. The convLSTM neural network layer is an LSTM layer that replaces matrix multiplication with a convolution operation at each gate of the LSTM unit. Therefore, the input of the convLSTM layer, the unit state, and the hidden state of the convLSTM layer can each be represented as a three-dimensional tensor.
[0063] An LSTM layer may include LSTM cells, each of which has one or more gates and memory cells. There are multiple LSTM variations, but in a broad sense, one or more gates control whether one or more information enters the LSTM cell in the next time step, is retained in the LSTM cell, and leaves the LSTM cell or arrives at another neural network component at the same time step. The LSTM layer can learn a weight matrix that controls the operation of the gate, such as an input weight matrix for modifying the input of the gate to generate an output. In a convLSTM, the weight matrix is replaced by a kernel for a convolution operation. Therefore, a convLSTM layer can be a neural network layer that includes convLSTM cells, each of which has one or more gates and a memory cell for processing the layer input to generate an output, wherein the one or more gates are each configured to perform a convolution operation on the input of the gate to determine the output from the gate for generating the output.
[0064] At each time step during control of the agent 102, the convLSTM neural network 114 is configured to receive a representation of an observation 120 representing the environment 104 at that time step, and to process (i) the representation and (ii) the state of the convLSTM neural network up to that time step to (iii) generate a final LSTM hidden state for that time step and (iv) update the state of the convLSTM neural network for that time step.
[0065] As described in more detail below, in some embodiments, the convLSTM neural network 114 processes for multiple "ticks" per time step to generate a final LSTM hidden state output for that time step, and (iv) updates the state of the convLSTM neural network for that time step. As used in this specification, an instant is an iteration of processing that occurs at a given time step. When the convLSTM neural network 114 processes at multiple ticks at each time step, multiple iterations of processing occur before the system selects an action to be performed by the agent in response to the observation at that time step. This can allow the convLSTM neural network 114 to amortize the planning decision over multiple iterations, each with a fixed computational cost. In other words, unlike some conventional systems that maintain an internal state at each time step and update this internal state once as part of controlling the agent, the convLSTM neural network 114 updates the state multiple times at any given time step (i.e., once at each of the multiple ticks) before generating an action selection output for the time step.
[0066] Refer to the following Figure 2 and Figure 3 The operation of the convLSTM neural network 114 is described in more detail.
[0067] The action selection neural network 116 is configured to receive, at each of the time steps, an action selection input comprising a final LSTM hidden state for the time step, and process the action selection input to generate an action selection output 122 that defines an action 106 to be performed by the agent 102 at the time step. As a specific example, the action selection neural network 116 can be a fully connected neural network, i.e., having one or more fully connected neural network layers, the fully connected neural network being suitable for generating an output having the number of dimensions required for the type of action selection output being generated.
[0068] In some embodiments, there is a residual connection from the input of the convLSTM neural network 114 to the input of the action selection neural network 116. In other words, in these embodiments, the action selection input also includes a representation of the observation 120 processed by the convLSTM neural network 114.
[0069] In some implementations, the representation of observation 120 received by convLSTM neural network 114 is observation 120 .
[0070] In other embodiments, the control neural network 110 includes an encoder neural network 112 that processes observations 120 to generate a representation that is provided as input to the convLSTM neural network 114. For example, the encoder neural network 112 can be a convolutional neural network that processes observations to generate a fixed-size H×W×C tensor that is a representation that is provided as input to the convLSTM neural network 114.
[0071] The training engine 150 is configured to train the control neural network 110 by repeatedly updating the model parameters 118 of the control neural network 110 (ie, the parameters of the encoder neural network 112, the convLSTM neural network 114, and the action selection neural network 116) based on the agent's interaction with the environment.
[0072] In particular, the training engine 150 trains the control neural network 110 using reinforcement learning that uses observations 120 and rewards 124 generated as the agent interacts with the environment during training.
[0073] In general, the training engine 150 can train the control neural network 110 to increase the rewards (i.e., the cumulative measure of the reward) received by the agent using any suitable reinforcement learning technique. One example of a technique that the training engine 150 can use to train the control neural network 110 is the KA3C technique, which is described in Mnih, V., Badia, A. P., Mirza, M., Graves, A., Lillicrap, T., Harley, T., Silver, D., and Kavukcuoglu, Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016, pages 1928-1937. Another example of a technique that the training engine 150 can use to train the control neural network 110 is the IMPALA V tracking technique described in Espeholt, L., Soyer, H., Munos, R., Simonyan, K., Mnih, V., Ward, T., Doron, Y., Firoiu, V., Harley, T., Dunning, I., et al., Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures, arXiv preprint site: 1802.01561, 2018. In some cases, the system 100 uses a distributed framework during training, in which multiple agents interact with different copies of the same environment.
[0074] Figure 2 An example of controlling the processing of the neural network 110 at two time steps is shown. Specifically, Figure 2 It shows how the control neural network 110 generates action selection outputs at time step t-1 and time step t.
[0075] exist Figure 2 In the example of , the control neural network 110 includes an encoder neural network 112 (also indicated as e), a convLSTM neural network 114, and an action selection neural network 116.
[0076] Further, in Figure 2 In the example of , the convLSTM neural network 114 includes two convLSTM layers 202 and 204 (also indicated as θ1 and θ2, respectively). That is, the depth D of the stack of convLSTM layers is 2.
[0077] The ConvLSTM neural network 114 processes N=3 instants at each time step. That is, the convLSTM neural network 114 performs three iterations at each time step before providing the final output to the action selection network 116.
[0078] Therefore, the convLSTM neural network 114 can be characterized by parameters D and N, which can be selected according to the task to be learned. For example, each of D and N can be in the range of 1 to 10, for example, each of D and N can be equal to 3 or D can be equal to 2 and N can be equal to 3 or D can be equal to 4 and N can be equal to 2.
[0079] At time step t-1, the control neural network 110 receives the observation x t-1 As input, and process the observation x t-1 , to generate the observation x t-1 Representation.
[0080] The control neural network 110 then processes the representation using convLSTM layers 202 and 204 to generate the final LSTM hidden state output for the time step. Figure 2 As shown, the final LSTM hidden state output is the updated hidden state of the last layer in the stack (i.e., convLSTM layer 204) after the Nth instant in time step t-1.
[0081] The action selection neural network 116 receives inputs including the final LSTM hidden state outputs and processes the inputs to generate an action selection output at time step t-1. Figure 2 In the example, the action selection output includes a value output V t-1 And the strategy output π t-1 , the policy output defines a probability distribution over a set of actions that can be performed by the agent. The system can then use the policy output to select an action according to the action selection policy, and then cause the agent to perform the selected action.
[0082] At time step t, the control neural network 110 receives the observation x t As input, and process the observation x t , to generate the observation x t Representation.
[0083] The control neural network 110 then processes the representation using convLSTM layers 202 and 204 to generate the final LSTM hidden state output for the time step. Figure 2As shown, the final LSTM hidden state output is the updated hidden state of the last layer in the stack (i.e., convLSTM layer 204) after the Nth instant in time step t.
[0084] The action selection neural network 116 receives input including the final LSTM hidden state output and processes the input to generate an action selection output of time step t, i.e., generates a value output V t And the strategy output π t , the policy output defines a probability distribution over a set of actions that can be performed by the agent. The system can then use the policy output to select an action according to the action selection policy, and then cause the agent to perform the selected action.
[0085] The operation of the convLSTM layer in the convLSTM neural network will be described with reference to the processing occurring at time step t. However, it should be understood that similar processing will occur at each time step at which the control neural network 110 is being used to control the agent.
[0086] At time step t, the convLSTM neural network 114 is configured to receive the observation x t , and processes (i) the representation and the state of the convLSTM neural network 114 up to time step t to (iii) generate the final LSTM hidden state output for that time step t and (iv) update the state of the convLSTM neural network 114 at time step t. For the first time step of the control agent, i.e., the first time step in the task episode, the state of the convLSTM neural network 114 up to the time step may be a predetermined or learned initial state. For all other time steps of the control agent, the state of the convLSTM neural network 114 up to the time step is the updated state of the convLSTM neural network 114 at the previous time step, i.e., the final state of the convLSTM neural network 114 after time step t-1.
[0087] The state of the convLSTM neural network 114 generally includes a corresponding cell state and a corresponding hidden state for each convLSTM layer in the stack. That is, convLSTM layers 202 and 204 each maintain a corresponding cell state and a corresponding hidden state. Because layers 202 and 204 are convLSTM layers, the cell state and hidden state are three-dimensional tensors that are opposite to vectors.
[0088] The final LSTM hidden state output for a time step is the hidden state of the last convLSTM layer in the stack in the updated state for that time step, i.e., the updated hidden state of convLSTM layer 204.
[0089] As described above, in some embodiments, the convLSTM neural network is configured to process N instants at each time step, where N is an integer greater than 1. In particular, Figure 2 In the example shown, N is equal to 3.
[0090] In these embodiments, at each of the N time instants, the convLSTM neural network processes (i) an observation x t representation and (ii) the state of the convLSTM neural network until that moment, to update the state of the convLSTM neural network at that moment.
[0091] The ConvLSTM neural network then uses the updated state of the convLSTM neural network after the last time instant as the updated state for the time step, and therefore uses the hidden state of the last convLSTM layer in the stack after the last time instant.
[0092] Typically, when processing a given input at instant n at time step t, the dth convLSTM layer in the stack performs the following operations to generate the nth instant The updated unit state of the layer and the nth moment The updated hidden state of the layer:
[0093]
[0094] where i t is the representation at time step t, is the unit state of the layer after the previous moment, is the hidden state of the layer after the previous instant, and is the hidden state of layer d-1 (the layer below layer d in the stack) at the nth time instant. These quantities can be collectively referred to as the layer input of the convLSTM layer at the nth time instant.
[0095] For the first of the n moments at time step t, the system uses the hidden state and the cell state from the previous time step, i.e., time step t-1.
[0096] In some implementations, for the first layer in the stack, the system uses a predetermined fixed hidden state to replace the hidden state of the layers below layer d in the stack, i.e., because there are no layers below the first layer in the stack.
[0097] However, in some other embodiments, the layer input at the instant of the first layer in the stack includes the updated hidden state of the last layer in the stack at the previous instant, replacing the hidden state of the layer below layer d in the stack. This can allow more general computation, i.e., because information can now flow down through the stack instead of only up, and can improve network performance for some tasks without adding any computational overhead.
[0098] In some cases, the layer input of the convLSTM layer can also include additional information at each moment, i.e., t Not only representations can be indicated, but also combinations of representations and additional inputs to the layer, such as depth concatenation.
[0099] For example, the layer input for each layer in the stack may include the summary tensor of the layer at the previous instant, or if the instant is the first instant of the time step, the summary tensor of the layer at the Nth instant of the previous time step.
[0100] Typically, the summary tensor of a layer at a given instant is a pooled version of the hidden state of the layer after the previous instant. In particular, to generate the summary tensor at an instant, for each channel dimension of the updated hidden state of the layer of the time step, the convLSTM neural network can apply one or more pooling operations spatially to the channel dimension for the updated hidden state of the layer of the time step to generate one or more pooled outputs of the channel dimension, i.e., clustering the hidden state along the spatial dimension. That is, the system can generate a corresponding pooling vector for each channel, which is the concatenation of the outputs of each pooling operation being applied (i.e., maximum pooling, average pooling, or both maximum pooling and average pooling). The system can then project the pooled outputs, i.e., the corresponding pooling vectors, using a linear layer corresponding to the convLSTM layer to generate a projected output, and then spatially tile the projected output to generate a summary tensor having the same spatial dimensions as other tensors in the layer data.
[0101] Including this summary tensor in the layer input at a given moment can allow information to propagate faster across the spatial dimensions than across the size of the convolution kernel of a convLSTM layer. For example, this can allow the training of a controlled neural network to converge faster and reduce the amount of computational resources consumed during training.
[0102] More specifically, the d-th convLSTM layer in the stack performs the following operations at the n-th time instant to generate and
[0103]
[0104]
[0105]
[0106]
[0107]
[0108] Among them, * indicates convolution, ⊙ indicates point-by-point multiplication, is the forget gate of the convLSTM layer, is the input gate of the convLSTM layer, is the output gate of the convLSTM layer, each W is the corresponding convolution kernel of the convLSTM layer, and each b is the corresponding bias vector.
[0109] In some cases, the convLSTM neural network can be configured to attach a feature map to the input of the convolution operator of the convLSTM layer in the stack, which feature map assigns the boundaries of the input tensor to the convolution operator. That is, because the convolution operator is translation invariant, the network can attach a feature map to the input of the convolution operator that has 1s at the boundaries and 0s inside to provide information to the convolution operator that explicitly identifies the boundaries.
[0110] In some embodiments, the state of the convLSTM neural network and the final LSTM hidden state output preserve the spatial dimensions of the representation of the observation. That is, if the representation is a H×W×C tensor, the state of the convLSTM neural network and the final LSTM hidden state output will also have the same spatial dimensions (H×W) as the representation.
[0111] Figure 3 is a flow chart of an example process 300 for selecting an action at a time step. For convenience, process 300 is described as being performed by a system of one or more computers located in one or more locations. For example, a suitably programmed reinforcement learning system (e.g. Figure 1 The reinforcement learning system 100 of can perform process 300.
[0112] The system may repeatedly perform process 300 across multiple time steps to control the agent as it interacts with the environment to perform a task.
[0113] The system receives an observation (step 302).
[0114] The system processes the representation of the observations using a convLSTM neural network (step 304).
[0115] As described above, in some embodiments, the representation of the observation is the observation, while in other embodiments, the system processes the observation using an encoder neural network to generate a representation that is provided as input to a convLSTM neural network.
[0116] The ConvLSTM neural network is configured to receive a representation and process (i) the representation and (ii) the state of the convLSTM neural network up to a time step to (iii) generate a final LSTM hidden state output for the time step and (iv) update the state of the convLSTM neural network for the time step. For the first time step of the control agent, i.e., the first time step in the task subset, the state of the convLSTM up to the time step may be a predetermined or learned initial state. For all other time steps of the control agent, the state of the convLSTM up to the time step is the updated state of the convLSTM neural network for the previous time step.
[0117] The state of the ConvLSTM neural network generally includes the corresponding cell state and the corresponding hidden state of each convLSTM layer in the stack, and the final LSTM hidden state output of a time step is the hidden state of the last convLSTM layer in the stack in the updated state of the time step. That is, the convLSTM updates the state of the convLSTM neural network by updating the cell state and hidden state of each convLSTM layer, and uses the updated hidden state of the last convLSTM layer in the stack as the final LSTM hidden state output.
[0118] As described above, in some embodiments, the convLSTM neural network is configured to process N instants at each time step, where N is an integer greater than 1. In these embodiments, at each of the N instants, the convLSTM neural network processes (i) the representation and (ii) the state of the convLSTM neural network up to that instant to update the state of the convLSTM neural network at that instant. The ConvLSTM neural network then uses the updated state of the convLSTM neural network after the last instant as the updated state of the time step, and thus uses the hidden state of the last convLSTM layer in the stack after the last instant as the final LSTM hidden state output of the time step.
[0119] The system processes the action selection input including the final LSTM hidden state of the time step using the action selection neural network to generate an action selection output (step 306). As described above, the action selection neural network can be configured to generate any of a variety of action selection outputs according to the action selection policy, which can be used to control the agent.
[0120] The system selects an action to be performed by the agent from the action selection output at the time step according to the action selection policy (step 308).
[0121] The system causes the agent to perform the selected action (step 310), for example, by sending instructions to the agent's control system that cause the control system to control the agent or by directly controlling the agent, such as applying torque directly to the agent's joints.
[0122] Figure 4 The performance of the described system on tasks requiring planning is shown relative to the performance of other convolutional systems. In particular, for each of the multiple systems, Figure 4 The fraction of solved levels (on the y-axis) is plotted as a function of the number of training steps (on the x-axis). In particular, Figure 4 The task shown is one that requires an agent to move an object (e.g., a box) to a specified location, and also includes the property that moving the object to an incorrect location will cause the task to fail. The "layers" involved in the figure are different environment configurations, i.e., different numbers of boxes, obstacles, target locations, and different error locations, and solving the layer refers to successfully completing the task when the environment is in the corresponding configuration. Therefore, because moving an object to the wrong location will cause the agent to fail the task, an action plan is required to proceed to the correct location while avoiding actions that cause the object to move to the wrong location. Curve 402 shows the performance of a (3,3) version of the system described, i.e., 3 convLSTM layers processed in 3 instants, and curve 404 shows a scaled-down (1,1) version of the system. The remainder of the curve shows a conventional system, such as using a non-convolutional LSTM or ResNet (i.e., a convolutional neural network with residual boxes) to generate the output consumed by the action selection neural network. As can be seen from Figure 4 As can be seen in Figure 1, the described system achieves high performance with very few training steps relative to traditional systems. This can be attributed to various aspects of the convLSTM neural network described in this specification, which makes it possible for the system to plan without requiring an explicit model of the environment.
[0123] This specification uses the term "configuration" in conjunction with system and computer program components. For a system of one or more computers to be configured to perform a particular operation or action, it is meant that the system has installed thereon software, firmware, hardware, or a combination thereof, which, in operation, causes the system to perform those operations or actions. For one or more computer programs to be configured to perform a particular operation or action, it is meant that the one or more programs include instructions that, when executed by a data processing device, cause the device to perform the operation or action.
[0124] The embodiments of the subject matter and functional operations described in this specification can be implemented in digital electronic circuits, in tangibly embodied computer software or firmware, in computer hardware (including the structures disclosed in this specification and their equivalents), or in a combination of one or more of them. The embodiments of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible non-temporary storage medium to be executed by a data processing device or to control the operation of the data processing device. The computer storage medium can be a machine-readable storage device, a machine-readable storage matrix, a random or serial access storage device, or a combination of one or more of them. Alternatively or additionally, the program instructions can be encoded on an artificially generated propagation signal (e.g., a machine-generated electrical, optical or electromagnetic signal), which is generated to encode information for transmission to a suitable receiver device to be executed by a data processing device.
[0125] The term "data processing apparatus" refers to data processing hardware, and includes various devices, equipment and machines for processing data, including, for example, a programmable processor, a computer or multiple processors or computers. The apparatus may also be or further include special-purpose logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the apparatus may optionally include code that creates an execution environment for a computer program, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
[0126] A computer program may be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and may also be referred to or described as a program, software, software application, application, module, software module, script, or code; it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for a computing environment. A program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data, such as one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or portions of code). A computer program may be deployed to execute on one computer or on multiple computers located at one site or distributed over multiple sites and interconnected by a data communications network.
[0127] In this specification, the term "database" is used broadly to refer to any collection of data: the data need not be structured in any particular way, or at all, and may be stored in a storage device in one or more locations. Thus, for example, an index database may include multiple data collections, each of which may be organized and accessed differently.
[0128] Similarly, in this specification, the term "engine" is used broadly to refer to a software-based system, subsystem, or process that is programmed to perform one or more specific functions. Typically, an engine will be implemented as one or more software modules or components installed on one or more computers in one or more locations. In some cases, one or more computers will be dedicated to a specific engine; in other cases, multiple engines can be installed and run on the same one or more computers.
[0129] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by a dedicated logic circuit (e.g., an FPGA or ASIC), or by a combination of a dedicated logic circuit and one or more programmed computers.
[0130] A computer suitable for executing a computer program can be based on a general or special microprocessor or both, or on a central processing unit of any other kind. Typically, a central processing unit will receive instructions and data from a read-only memory or a random access memory or both. The elements of a computer are a central processing unit for exercising or executing instructions and one or more storage devices for storing instructions and data. The central processing unit and the memory can be supplemented by or incorporated into a special logic circuit. Typically, a computer will also include one or more mass storage devices (e.g., magnetic, magneto-optical disks or optical disks) for storing data, or one or more mass storage devices (e.g., magnetic, magneto-optical disks or optical disks) operably coupled to receive data from the one or more mass storage devices or transfer data to the one or more mass storage devices, or both. However, a computer does not necessarily have such a device. In addition, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device, such as a universal serial bus (USB) flash drive, to name a few.
[0131] Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and storage devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM optical disks.
[0132] To provide interaction with a user, embodiments of the subject matter described in this specification may be implemented on a computer having a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user; and a keyboard and pointing device, such as a mouse or trackball, through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input. In addition, a computer may interact with a user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's device in response to a request received from the web browser. Moreover, a computer may interact with a user by sending a text message or other form of message to a personal device (e.g., a smartphone running a messaging application) and then receiving a response message from the user.
[0133] A data processing device for implementing a machine learning model may also include, for example, a dedicated hardware accelerator unit for processing common and computationally intensive portions of machine learning training or production (i.e., inference, workloads).
[0134] The machine learning model can be implemented and deployed using a machine learning framework (e.g., the TensorFlow framework, the Microsoft Cognitive Toolkit framework, the Apache Singa framework, or the Apache MXNet framework).
[0135] Embodiments of the subject matter described in this specification may be implemented in a computing system that includes a back-end component (e.g., as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface, a web browser, or an application through which a user can interact with an implementation of the subject matter described in this specification), or includes any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.
[0136] A computing system may include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by means of computer programs running on respective computers and having a client-server relationship with each other. In some embodiments, the server sends data (e.g., an HTML page) to a user device, for example, for the purpose of displaying data to a user interacting with a device acting as a client and receiving user input from the user. Data generated at a user device, such as a result of a user interaction, can be received at the server from the device.
[0137] Although this specification contains many specific implementation details, these details should not be interpreted as limitations on the scope of any invention or the scope of the content claimed, but should be interpreted as descriptions of features specific to specific embodiments of specific inventions. Certain features described in this specification in the context of separate embodiments may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented separately in multiple embodiments, or in any suitable sub-combination. Moreover, although the features may be described above as working in certain combinations and even initially claimed as such, in some cases, one or more features in the claimed combination may be removed from the combination, and the claimed combination may be directed to a sub-combination or a variant of a sub-combination.
[0138] Similarly, although operations are depicted in the drawings and recited in the claims in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order, or that all of the illustrated operations be performed, in order to obtain the desired results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the above-described embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems may generally be integrated together in a single software product, or packaged into multiple software products.
[0139] Specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. For example, the actions recited in the claims can be performed in a different order and still achieve the desired results. As an example, the processes depicted in the accompanying drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous.
[0140] The claims are as stated above.
Claims
1. A system for controlling an agent interacting with an environment, the system comprising one or more computers and one or more storage devices, the storage devices storing instructions that, when executed by the one or more computers, cause the one or more computers to implement a control neural network system, the control neural network system comprising: A convolutional long short-term memory (LSTM) neural network, the LSTM neural network comprising a plurality of convolutional LSTM neural network layers, the plurality of convolutional LSTM neural network layers being arranged one after another in a stack, wherein the convolutional LSTM neural network is configured to receive, at each of a plurality of time steps, a representation of an observation characterizing a state of the environment at the time step, and process (i) the representation and (ii) the state of the convolutional LSTM neural network up to the time step to (iii) generate a final LSTM hidden state output for the time step and (iv) update the state of the convolutional LSTM neural network for the time step; and an action selection neural network configured to receive, at each of the plurality of time steps, an action selection input comprising the final LSTM hidden state output for the time step, and process the action selection input to generate an action selection output according to an action selection policy, the action selection output defining an action to be performed by the agent at the time step; wherein the state of the convolutional LSTM neural network up to the time step comprises the respective cell states and the respective hidden states of each convolutional LSTM layer in the stack, and wherein the final LSTM hidden state output for the time step is the hidden state of the last convolutional LSTM layer in the stack at the updated state of the convolutional LSTM neural network for the time step; wherein the convolutional LSTM neural network is configured to process N moments per time step, wherein N is greater than 1, and wherein the processing comprises, for each of the N moments: Processing (i) the representation and (ii) the state of the convolutional LSTM neural network up to the moment to update the state of the convolutional LSTM neural network at the moment.
2. The system according to claim 1, wherein: The final LSTM hidden state output of the time step is the hidden state of the last convolutional LSTM layer in the stack after the Nth instant of the time step, and wherein the updated state of the convolutional LSTM neural network at the time step is the updated state of the convolutional LSTM neural network after the Nth instant of the time step.
3. The system according to claim 1, wherein: The state of the convolutional LSTM neural network until the first of the N moments of the time step is the updated state of the convolutional LSTM neural network of the previous time step.
4. The system according to claim 1, wherein: Each convolutional LSTM neural network layer in the stack is configured to, at each of the N time instants: Processing the layer input at the instant to update the cell state and the hidden state of the convolutional LSTM neural network layer up to the instant.
5. The system according to claim 4, wherein: The layer input at the instant of each particular convolutional LSTM neural network layer except the first layer in the stack includes the updated hidden state at the instant of the layer immediately preceding the particular convolutional LSTM neural network layer in the stack.
6. The system according to claim 4, wherein: The instantaneous layer input of each layer in the stack comprises the representation of the time step.
7. The system according to claim 4, wherein: For each of the N moments except the first moment, the layer input at that moment of the first layer in the stack includes the updated hidden state of the last layer in the stack at the previous moment.
8. The system according to claim 7, wherein: For the first one of the N time instants, the layer input at the instant of the first layer in the stack comprises the updated hidden state of the last layer in the stack at the previous time step.
9. The system according to claim 4, wherein: The convolutional LSTM neural network is further configured to, for each instant and for each convolutional LSTM layer: For each channel dimension of the updated hidden state of the layer at that time step: spatially applying one or more pooling operations to generate one or more pooled outputs of the channel dimension, Projecting the pooled output using a linear layer corresponding to the convolutional LSTM layer to generate a projected output; as well as spatially tiles the projection output to generate a summary tensor, Wherein, the layer input of each layer in the stack at the instant includes the summary tensor of the layer at the previous instant, or if the instant is the first instant of the time step, includes the summary tensor of the layer at the Nth instant of the previous time step.
10. The system according to claim 9, wherein: The one or more pooling operations include a maximum pooling operation, an average pooling operation, or both.
11. The system according to claim 1, wherein: The convolutional LSTM neural network is configured to append a feature map to an input of a convolution operator of the convolutional LSTM layer in the stack, the feature map assigning boundaries of an input tensor to the convolution operator.
12. The system of claim 1, wherein: The action selection input further comprises the representation of the time step.
13. The system of claim 1, wherein: The neural network system further comprises: an encoder neural network configured to process, at each time step of the plurality of time steps, the observation characterizing the state of the environment at the time step to generate the representation of the observation at the time step.
14. The system according to claim 13, wherein: The observation comprises an image of the environment, and wherein the encoder neural network comprises one or more convolutional layers.
15. The system according to any one of claims 1 to 14, wherein: The action selection neural network includes one or more fully connected layers.
16. One or more computer-readable storage media storing instructions, which, when executed by one or more computers, enable the one or more computers to implement the control neural network system according to any one of claims 1-15.
17. A method for controlling an agent interacting with an environment, the method comprising, at each of a plurality of time steps: obtaining a representation of an observation characterizing a state of the environment at the time step; processing the representation using a convolutional long short-term memory (LSTM) neural network, the LSTM neural network comprising a plurality of convolutional LSTM neural network layers, the plurality of convolutional LSTM neural network layers being arranged one after another in a stack, in, The convolutional LSTM neural network is configured to receive the representation of the observation representing the state of the environment at the time step, and process (i) the representation and (ii) the state of the convolutional LSTM neural network up to the time step to (iii) generate a final LSTM hidden state output for the time step and (iv) update the state of the convolutional LSTM neural network for the time step; processing an action selection input comprising the final LSTM hidden state output at the time step using an action selection neural network, the action selection neural network being configured to receive the action selection input and process the action selection input to generate an action selection output according to an action selection policy, the action selection output defining an action to be performed by the agent at the time step; selecting the action to be performed by the agent at the time step from the action selection output according to the action selection policy; and causing the agent to perform a selected action; wherein the state of the convolutional LSTM neural network up to the time step comprises the respective cell states and the respective hidden states of each convolutional LSTM layer in the stack, and wherein the final LSTM hidden state output for the time step is the hidden state of the last convolutional LSTM layer in the stack at the updated state of the convolutional LSTM neural network for the time step; wherein the convolutional LSTM neural network is configured to process N moments per time step, wherein N is greater than 1, and wherein the processing comprises, for each of the N moments: Processing (i) the representation and (ii) the state of the convolutional LSTM neural network up to the moment to update the state of the convolutional LSTM neural network at the moment.
18. The method according to claim 17, wherein: The final LSTM hidden state output of the time step is the hidden state of the last convolutional LSTM layer in the stack after the Nth instant of the time step, and wherein the updated state of the convolutional LSTM neural network at the time step is the updated state of the convolutional LSTM neural network after the Nth instant of the time step.
19. The method according to claim 17, wherein: The state of the convolutional LSTM neural network until the first of the N moments of the time step is the updated state of the convolutional LSTM neural network of the previous time step.
20. The method according to claim 17, wherein: Each convolutional LSTM neural network layer in the stack is configured to, at each of the N time instants: Processing the layer input at the instant to update the cell state and the hidden state of the convolutional LSTM neural network layer up to the instant.
21. The method according to claim 20, wherein: The layer input at the instant of each particular convolutional LSTM neural network layer except the first layer in the stack includes the updated hidden state at the instant of the layer immediately preceding the particular convolutional LSTM neural network layer in the stack.
22. The method according to claim 20, wherein: The instantaneous layer input of each layer in the stack comprises the representation of the time step.
23. The method according to claim 20, wherein: For each of the N moments except the first moment, the layer input at that moment of the first layer in the stack includes the updated hidden state of the last layer in the stack at the previous moment.
24. The method according to claim 23, wherein: For the first one of the N time instants, the layer input at the instant of the first layer in the stack comprises the updated hidden state of the last layer in the stack at the previous time step.
25. The method according to claim 20, wherein: The convolutional LSTM neural network is further configured to, for each instant and for each convolutional LSTM layer: For each channel dimension of the updated hidden state of the layer at that time step: spatially applying one or more pooling operations to generate one or more pooled outputs of the channel dimension, Projecting the pooled output using a linear layer corresponding to the convolutional LSTM layer to generate a projected output; as well as spatially tiles the projection output to generate a summary tensor, wherein the layer input to each layer in the stack at the instant comprises the summary tensor of the layer at the previous instant, or if the instant is the first instant of the time step, comprises the summary tensor of the layer at the Nth instant of the previous time step.
26. The method according to claim 25, wherein: The one or more pooling operations include a maximum pooling operation, an average pooling operation, or both.
27. The method of claim 17, wherein: The convolutional LSTM neural network is configured to append a feature map to an input of a convolution operator of the convolutional LSTM layer in the stack, the feature map assigning boundaries of an input tensor to the convolution operator.
28. The method of claim 17, wherein: The action selection input further comprises the representation of the time step.
29. The method of claim 17, wherein: Obtaining the representation comprises: The observation is processed using an encoder neural network configured to process the observation characterizing the state of the environment at the time step to generate the representation of the observation at the time step.
30. The method of claim 29, wherein: The observation comprises an image of the environment, and wherein the encoder neural network comprises one or more convolutional layers.
31. The method of claim 17, wherein: The action selection neural network includes one or more fully connected layers.
32. The method according to any one of claims 17 to 31, wherein: The representation is an H x W x C tensor, and wherein the state and the final LSTM hidden state output of the convolutional LSTM neural network preserve the spatial dimensions of the representation.
33. One or more computer-readable storage media storing instructions which, when executed by one or more computers, cause the one or more computers to perform corresponding operations of the method according to any one of claims 17-32.
34. A system comprising one or more computers and one or more storage devices, wherein the storage devices store instructions, which, when executed by the one or more computers, cause the one or more computers to perform corresponding operations according to any one of the methods of claims 17-32.
