Title: SIMILE: INTRODUCING SEQUENTIAL INFORMATION TOWARDS MORE EFFECTIVE IMITATION LEARNING Anonymous authors Paper under double-blind review

Abstract: Reinforcement learning (RL) is a metaheuristic aiming at teaching an agent to interact with an environment and maximizing the reward in a complex task. RL algorithms often encounter the difficulty in defining a reward function in a sparse solution space. Imitation learning (IL) deals with this issue by providing a few expert demonstrations, and then either mimicking the expert's behavior (behavioral cloning, BC) or recovering the reward function by assuming the optimality of the expert (inverse reinforcement learning, IRL). Conventional IL approaches formulate the agent policy by mapping one single state to a distribution over actions, which did not consider sequential information. This strategy can be less accurate especially in IL, a weakly supervised learning environment, especially when the number of expert demonstrations is limited. This paper presents an effective approach named Sequential IMItation LEarning (SIMILE). The core idea is to introduce sequential information, so that an agent can refer to both the current state and past state-action pairs to make a decision. We formulate our approach into a recurrent model, and instantiate it using LSTM so as to fuse both long-term and short-term information. SIMILE is a generalized IL framework which is easily applied to BL and IRL, two major types of IL algorithms. Experiments are performed on several robot controlling tasks in OpenAI Gym. SIMILE not only achieves performance gain over the baseline approaches, but also enjoys the benefit of faster convergence and better stability of testing performance. These advantages verify a higher learning efficiency of SIM-ILE, and implies its potential applications in real-world scenarios, i.e., when the agent-environment interaction is more difficult and/or expensive.

1. INTRODUCTION:

In recent years, Reinforcement learning (RL) (Sutton & Barto, 1998) has been widely used in many research areas. Different from supervised learning (SL) in which a set of input/output pairs are provided, the fundamental idea of RL is to interact with an environment and learn from trial-anderror. The goal of an RL algorithm is to find a policy that maximizes the total reward in a complete episode. However, as the learning task becomes more and more complex, researchers often encounter the difficulty in defining a reasonable reward function. To alleviate this issue, imitation learning (IL) was proposed (Schaal, 1999) , which instead provides a few expert demonstrations for the agent to learn from. Based on the assumption that the expert is always the best, there are two types of IL approaches, known as behavioral cloning (BC) (Abbeel & Ng, 2004 ) and inverse reinforcement learning (IRL) (Ng & Russell, 2000) , respectively1 . Both of them train the agent so that its behavior is indistinguishable from that of the expert -BC tries to mimic the behavior of the expert, and IRL aims at recovering the underlying reward function so that its inner-loop, an RL algorithm, can learn from it.

A noticeable challenge of IL lies in the limited amount of expert demonstrations, mainly due to the potential time and financial costs especially in real-world environments. On the other hand, conven-tional IL approaches often interpret the behavior of an expert using individual state-action pairs. We argue that this introduces ambiguity and noise into the training process, as one single state may be insufficient to provide all necessary information for the agent to make a decision. For example, in playing a video game (Bellemare et al., 2013) , each state contains a still image, which does not tell the moving direction and speed of each object. In such cases, the expert can take completely different actions under the "same" situation (two states seem identical in the defined representation, but the expert can refer to extra information and realize the difference), which confuses the agent and introduces additional noise to the training process. Please refer to Section 3.2 for detailed examples.

This paper provides a straightforward approach named Sequential IMItation LEerning (SIMILE), which allows the agent to see sequential information (i.e., past state-action pairs) in order to acquire extra information -as an intuitive example, in playing a video game, the moving direction and speed of an object can be predicted by seeing a few consecutive states. Therefore, we formulate the policy into a recurrent model, and instantiate it using an LSTM (Hochreiter & Schmidhuber, 1997) which effectively fuses long-term and short-term information. SIMILE is a generalized algorithm which can be instantiated in two important examples of IL, namely IRL and BC. In either case, we also fuse the information produced by each LSTM cell using AdaBoost (Freund & Schapire, 1997) , a sequential classifier which adjusts the weight of each state according to its importance.

We evaluate SIMILE in OpenAI Gym (Brockman et al., 2016) , a popular benchmarking environment for RL algorithms. We investigate eight robot controlling tasks, varying from basic objects to complex motion systems. Beyond both IRL and BC baselines, our approach achieves consistent overall performance gain -in some tasks, the trained agent performs comparably or even better than the expert. SIMILE also enjoys two additional benefits. First, the training process converges faster, which not only remedies the drawback in running speed, but also reduces the number of interaction with the environment which can be expensive. Second, the testing performance becomes more stable in terms of the standard deviation of total reward, suggesting that the agent becomes more reliable. Both these advantages imply that our approach makes use of training data more effectively, and owe to the exploitation of sequential information. Moreover, these advantages also suggest that our approach is more friendly to training an RL system in real-world environments.

The remainder of this paper is organized as follows. Section 2 briefly reviews related work. Section 3 introduces the SIMILE approach and its application to IRL and BC pipelines. After experiments are shown in Section 4, we conclude this work in Section 5.

2. RELATED WORK:

Reinforcement learning (RL) (Kaelbling et al., 1996; Sutton & Barto, 1998 ) is an area of machine learning concerned with how software agents ought to take actions in an environment so as to maximize some notion of cumulative reward2 . It implies, and has made significant progresses in a wide range of applications, including robot navigation (Zhu et al., 2017) , urban route planning (Kuderer et al., 2015) , training multi-agent systems (Mnih et al., 2015) , playing video games (Bellemare et al., 2013) and chess games (Silver et al., 2016) , etc. Compared to supervised learning (SL) which provides a set of input-output pairs, RL often trains an agent by facilitating it to interact with an environment and get trained from trial-and-error. An RL system is often formulated by a Markov Decision Process (MDP) in which a reward function is defined at each state transition, and the goal is to maximize the total reward in a pre-defined task, i.e., a complete episode. One of the key issues in RL is to sample effective training data from the environment, for which a few popular algorithms were proposed, such as Monte-Carlo sampling (Sutton & Barto, 1998; Dosovitskiy & Koltun, 2017) , temporal differencing (Sutton, 1988; Amiranashvili et al., 2018) and deep Q-learning (Mnih et al., 2015; Wang et al., 2015) . To improve training efficiency, off-policy or asynchronous methods were also designed (Schulman et al., 2015; Mnih et al., 2016; Schulman et al., 2017) for parallel optimization. The strategy of combining different sampling tricks achieves superior performance was studied in (Hessel et al., 2017) .

One of the key factors of RL is to define a reward function, however, this is difficult in many complex scenes. Imitation learning (IL) was then proposed to deal with this problem. The core idea of IL is to provide a few expert demonstrations, and ask the agent to mimic the behavior of the expert.

There are mainly two types of methods in IL. The first type is named behavioral cloning (BC) or apprenticeship learning (Abbeel & Ng, 2004; Abbeel et al., 2010; Hadfield-Menell et al., 2016) , in which a set of state-action pairs was extracted from the expert demonstrations, and the agent learned from these data like the supervised setting. This method can be generalized to optimizing an agent policy that is indistinguishable from the expert policy (Ho et al., 2016) , and thus be formulated in the form of a generative adversarial network (GAN) (Ho & Ermon, 2016) . The second type called inverse reinforcement learning (IRL) (Ng & Russell, 2000) instead aimed at recovering the underlying reward function from expert demonstrations, so that a standard RL algorithm can learn from the reward function. Therefore, IRL is often equipped with an inner-loop which is an RL algorithm, and the training process alternatively updates the agent policy and the reward function, assuming that the expert always makes the optimal choice. Previous studies have included max-margin or max-entropy approaches (Ziebart et al., 2008; Wulfmeier et al., 2015) as well as probabilistic approaches (Ramachandran & Amir, 2007; Levine et al., 2011) into IRL. The equivalence of IRL and GAN was later proved in (Finn et al., 2016) , which leads to adversarially training an IRL system towards stronger transfer ability (Fu et al., 2018) .

This work aims at introducing sequential information into both IRL and BC frameworks. This recalls the family of recurrent neural networks (RNNs) (Hopfield, 1982; Graves et al., 2009) , and a popular instantiation of RNNs named long short-term memory (LSTM) (Hochreiter & Schmidhuber, 1997) which has shown its ability of incorporating sequential information in many problems such as natural language processing (Kumar et al., 2016) , video processing (Donahue et al., 2015) and reinforcement learning (Parisotto & Salakhutdinov, 2018) . Also, the sequential outputs from LSTM need to be combined into a discriminator, which is related to the problem of fusing several weak classifiers into a strong one. This problem was investigated in Adaptive Boosting (AdaBoost) (Freund & Schapire, 1997) and its variants such as the multi-class AdaBoost (Hastie et al., 2009) .

3. APPROACH:



3.1. BACKGROUND:

The environment of an RL system can be defined as a quintuple S, A, P, γ, R abstracting a finitestate Markov Decision Process (MDP). S denotes the space of all possible states, and A denotes the set of actions. Given a pair of state s ∈ S and action a ∈ A, P (• | s, a) is the state transition function, i.e., P (s | s, a) is the probability that another state s is achieved when the agent takes action a at state s. As a special case, P 0 (s 0 ) . = P 0 (s 0 | ∅) determines the probability of the first state s 0 . γ ∈ [0, 1] is named discounted factor measuring how much the action of the current state impacts a future reward. R : S × A → R denotes the reward function to measure the benefit of a state-action pair. R is often bounded by R max in its absolute value:

|R(•, •)| R max .

The goal of RL is to learn a policy, i.e., a function π : S × A → [0, 1] which defines the probability of each action a to be taken by the agent under state s. Given a policy π and a starting state s 0 , the MDP can sample an action at each time t ∈ N and then go to the next random state:

a t ∼ π(s t , •), s t+1 ∼ P (• | s t , a t ).

(1) This produces a trajectory τ = {s 0 , a 0 , . . . , s T -1 , a T -1 , s T }, and we denote it by τ ∼ P(π, P | s 0 ). Compared to directly learn policy π, it is often easier to learn from a critic, e.g., a function that implicitly defines the optimal policy π . An example is to construct a value function V π (•) which estimates the reward obtained by policy π at each state s:

EQUATION

and the optimal policy π satisfies V π (s) V π (s) at each state s and all policy π. Another critic is named Q-function, which estimates the reward obtained by policy π at each state s if action a is taken as the first step (and all the remaining steps are determined by π):

EQUATION

Once a Q-function is constructed on a policy π, we can continue to obtain a better policy π (namely, V π (s) V π (s) for all states s ∈ S) by setting π (s, arg max a {Q π (s, a)}) = 1 at each state s. In many scenarios, the reward function R is difficult to define. IL starts with constructing a set of expert demonstrations {τ 1 , τ 2 , . . . , τ K }. Each τ k is named a trajectory which records the expert's behavior in a complete episode τ k = (s k,0 , a k,0 , s k,1 , a k,1 , . . . , s k,T k ). This is to implicitly define an expert policy π E . Then, based on the assumption that the expert always performs the best, there are two ways to train the agent. BC uses all pairs (s k,t , a k,t ) as training data to optimize the agent policy π in a supervised manner, and IRL updates π and the reward function R alternatively so that R always prefers π E to π. Mathematically, both BC and IRL solves the following minimax problem:

EQUATION

where H(π) is the casual entropy term of π, measuring how confident the policy π is (the larger H(π), the more confident, the better (Bloem & Bambos, 2014) ). R takes different forms in BC and IRL. In BC, it can be written as

E π [R(s 0 )] = ∞ t=0 -ln D(s t , a t )

, where all (s t , a t ) pairs are sampled from π using Equation 1, and D(s, a) is a discriminative function to judge the likelihood that (s, a) comes from the decision of an expert. In IRL, E π [R(s 0 )] = V π (s 0 ) is the value function estimating the total reward obtained by π. Optimizing Equation 4 is equivalent to GAN (Goodfellow et al., 2014) , in which the agent (RL inner-loop) plays the role of a generator, and the reward function (IRL outer-loop) plays the role of a discriminator (Finn et al., 2016) . The final goal is to make it difficult for the reward function to distinguish π from π E .

3.2. MOTIVATION: INTRODUCING SEQUENTIAL INFORMATION:

Current IL approaches heavily rely on high-quality expert demonstrations. For example, GAIL (Ho & Ermon, 2016 ) constructed a number of expert demonstrations for each task by running an RL algorithm named TRPO (Schulman et al., 2015) on the ground-truth reward function, and showed that the number of demonstrations does impact IL performance. This process fits well to the virtual environment (e.g., robot controlling games in OpenAI Gym (Brockman et al., 2016) ), but in realworld RL problems, it may be intractable (the ground-truth reward does not exist) or very expensive (it may break physical device, or take a very long time). We will show in Section 4.3 that our approach enjoys a larger advantage in the scenarios of fewer expert demonstrations.

We argue that one of the reasons of requiring a large amount of data lies in the exploitation of training data. Recall that the policy π : S × A → [0, 1] decides the next action based on merely one (current) state s. This may be insufficient for decision making. Figure 1 shows two examples. The first one is a robot controlling task named Acrobot (Sutton, 1996) , in which the agent is asked to actuate the joint of a two-link pendulum to swing it as high as possible. In this case, the state vector contains two angles and the velocity of two ending points, but it does not provide the acceleration of both ending points. Although the acceleration can be determined by physical laws, we note that the agent is often not equipped with this type of knowledge, nor does it know the mass of these two links. Therefore, when an agent is trained in the standard environment (the mass is 1 for both links) and then transferred to another setting (e.g., the mass of the second link becomes 2), it may need to take a different action at the same state. The second example is more intuitive: in an Atari game named SpaceInvaders (Bellemare et al., 2013) , the agent is asked to control a spaceship to eliminate as many enemies as possible. In this case, the state variable is the real-time screenshot, in which all objects are still and the agent does not know if the enemies will move towards left or right, the speed of the enemies, the speed of itself, etc. In more complex scenes, there may even exist some factors which helps decision making but are difficult to formulate explicitly in the state variable. We name them as hidden information. An expert such as a human or an RL algorithm seeing the ground-truth reward function may take completely different actions at the "same" state with different hidden information. However, an IL algorithm is not aware of these information and thus may be confused by noisy training data (the same input is paired with different outputs). With a limited amount of training data (expert demonstrations), this issue may lead to instability in testing performance (e.g., a large variance), as shown in Section 4.2.

To take hidden information into consideration, a straightforward idea is to introduce sequential information. This is to say, when the agent needs to take an action, it receives all previous state-action records rather than merely one single (current) state as input data. Intuitively, this is partly how humans apperceive the actual state, especially the factors that are not formulated in the state variable. For example, in a video game, the motion properties of all objects become predictable if a few consecutive frames are taken as input.

3.3. SIMILE: FRAMEWORK AND TWO EXAMPLES:

Therefore, we desire an algorithm to extract information from sequential inputs. Mathematically, we start with Equation 1 and replace the original policy π with π, and sampling strategy a t ∼ π(s t , •) with a t ∼ π(s t , • | s 0 , a 0 , . . . , s t-1 , a t-1 ), i.e., the desired policy π determines the distribution of the current action a t based on the current state s t and all previous state-action pairs (s 0 , a 0 ) , . . . , (s t-1 , a t-1 ). This is a sequential inference problem which can be formulated using a recurrent model:

EQUATION

Intuitively, in the decision process, we need to consider both long-term memory (e.g., if a similar situation appears previously, the agent may refer to the record to predict the possible transitions) and short-term memory (e.g., by seeing a few previous states, it is possible to extract hidden information such as motion properties), so we make use of LSTM (Hochreiter & Schmidhuber, 1997) to fuse these information. LSTM is composed of a series of cells, each of which receives three inputs: a long-term memory signal h t , a short-term memory signal c t and a state variable s t , and outputs a distribution on all possible actions meanwhile updating h t and c t for the next cell:

EQUATION

In order to learn the policy, we explicitly decompose this function into two stages:

EQUATION

Here we simply apply the vanilla LSTM (Greff et al., 2017) . It is possible that an advanced model can lead to performance gain, but this goes out of the discussion scope of our paper. Substitut-Algorithm 1 Applying SIMILE to vanilla IRL 1: Input: expert trajectories T = {τ 1 , τ2 , . . . , τK } ∼ P(π E , P ), learning rates η 1 and η 2 ; 2: Initialize: policy π parameterized by θ 0 , reward function R initialized by ω 0 ; 3: for m = 1, 2, . . . , M do 4:

s m,0 ∼ P 0 (•), T m ← 0; 5:

while task is not accomplished do 6:

a m,t ∼ π(s m,t | s m,0 , a m,0 , . . . , s m,t-1 , a m,t-1 );

7: s m,t+1 ∼ P (• | s m,t , a m,t ), T m ← T m + 1; 8:

end while 9:

τ m ← (s m,0 , a m,0 , . . . , s m,Tm-1 , a m,Tm-1 , s m,Tm ); 10:

ω m+1 ← ω m -η 1 × ∇ ωm Tm-1 t=0 R(s m,t , a m,t ) -E τk ∈T Tk -1 t=0 R(s k,t , ãk,t ) ; 11:

Update θ m as θ m+1 using R and an RL algorithm (e.g., TRPO (Schulman et al., 2015) ); 12: end for 13: Output: the learned policy π parameterized by θ M . ing Equation 7into Equation 4 obtains the Sequential IMItation LEarning (SIMILE) algorithm. In the following parts, we will instantiate SIMILE in two types of IL algorithms, namely IRL and BC.

• Instantiation in Inverse Reinforcement Learning:

First, we apply SIMILE to the vanilla inverse reinforcement learning, in which the goal is to recover the reward function R for an RL algorithm (the inner-loop) to learn from. We initialize R and policy π using random noise, and update their parameters ω t and θ t alternatively. In each iteration, both the expert and agent sample a trajectory using Equation 7. Then, R is updated to maximize the advantage of π E over π, and π is updated using an RL algorithm in the inner-loop (here we use the TRPO (Schulman et al., 2015) algorithm) which takes R as input.

The pipeline of IRL with SIMILE incorporated is shown in Algorithm 1. Here, the total reward obtained by the agent, E π [s 0 ∼ P 0 ], is computed by sampling a complete trajectory and summing up all values of the estimated reward function. On the other hand, the total reward obtained by the expert, E πE , is directly computed by averaging the performance of all experts, i.e., E πE [τ ∼ T ] where T is the set of expert trajectories.

• Instantiation in Behavioral Cloning:

Next, we apply SIMILE to GAIL (Ho & Ermon, 2016) , a recently proposed baseline of BC. GAIL assumes the expert trajectories are sampled from an implicit policy π E , and trains a discriminator D(•, •) to distinguish whether each state-action pair (s, a) is likely to be generated from π E . The entire learning algorithm is an adversarial training process in which the parameters of the discriminator D and policy π are updated alternatively. Applying SIMILE to GAIL is straightforward, for which we only need to replace the original sampling strategy a t ∼ π(s t , •) with a t ∼ π(s t , • | s 0 , a 0 , . . . , s t-1 , a t-1 ). The modified pipeline is illustrated in Algorithm 2.

• Enhancing Sequential Information in the Classifier:

In both IRL and BC, the classification module (R or D) plays an important role in estimating total rewards by both the expert and agent, and adjusting the reward function to lean towards the expert. When SIMILE is added, this total reward estimation can also be incorporated. For this purpose, we add an individual output to each LSTM cell for the reward in this step, and summarize all these rewards into the final discriminator. This is to fuse a sequence of weak classifiers into a strong one, which we use the adaptive boosting (AdaBoost) algorithm (Freund & Schapire, 1997) . The point is that, AdaBoost captures the importance of each state (with the help of LSTM) and adjusts the weight on it. Consequently, more important states are better optimized. In experiments, this strategy produces small but consistent accuracy gain, so we will apply it by default in the following experiments.

Algorithm 2 Applying SIMILE to GAIL (Ho & Ermon, 2016) 1: Input: expert trajectories T = {τ 1 , τ2 , . . . , τK } ∼ P(π E , P ), learning rates η 1 and η 2 ; 2: Initialize: policy π parameterized by θ 0 , discriminator D parameterized by ω 0 ; 3: for m = 1, 2, . . . , M do a m,t ∼ π(s m,t | s m,0 , a m,0 , . . . , s m,t-1 , a m,t-1 ); τ m ← (s m,0 , a m,0 , . . . , s m,Tm-1 , a m,Tm-1 , s m,Tm ); 10:

ω m+1 ← ω m -η 1 × {E τm [∇ ωm ln D(s, a)] + E τk ∈T [∇ ωm ln (1 -D(s, a))]}; 11: θ m+1 ← θ m + η 2 × {E τm [∇ θm ln π(a | s) • E τm [ln D(s , a ) | s 0 = s, a 0 = a]

]}; 12: end for 13: Output: the learned policy π parameterized by θ M .

3.4. DISCUSSIONS AND RELATIONSHIP TO PRIOR WORK:

It has been proved that both IRL and BC are equivalent to GAN (Finn et al., 2016; Ho & Ermon, 2016) , in which π is the generator, and D or R is the discriminator, respectively. Obviously, SIM-ILE does not change such property, so that we can still analyze the convergence of these iterative algorithm using GAN. As we shall see in Section 4.3, the sampling strategy of SIMILE enjoys a higher training efficiency, making it possible to achieve reasonable performance with fewer expert demonstrations and/or training iterations.

The fundamental assumption of SIMILE is that a single state variable may not provide sufficient information for making a decision. This issue also exists in RL algorithms (Bakker, 2002) , but we argue that RL algorithms are able to alleviate this drawback, because the ground-truth reward function serves as a strong supervision at each state-action pair. In IL, however, the supervision becomes much weaker, with an estimated classifier being used to distinguish the agent from the expert, which largely magnifies the inaccuracy in the sampling stage and, consequently, the noise in data. This hypothesis is partially verified in Section 4.1 which shows the impact of SIMILE on IRL and BC. Compared to IRL which provides an estimation of total reward, BC trains a discriminative function in each state-action pair and thus the supervision is stronger. Consequently, SIMILE show much larger improvement on IRL than on BC.

On the other hand, Monte-Carlo (MC) is a widely used sampling strategy to estimate the total reward. It assumes that the impact of an action will decay with time, and thus introduces a discounted factor γ to attenuate the reward terms obtained in the far future. SIMILE provides complementary information, which considers the impact of previous state-action pairs. A similar idea appeared in SeqGAN (Yu et al., 2017) which used MC search to complement sequences in a discrete action space. SIMILE shares the same goal with MC, which is to improve sampling efficiency, so that the agent can get more valuable information from a limited amount of sampled data.

4. EXPERIMENTS:



4.1. SETTING AND BASELINES:

We evaluate SIMILE in OpenAI Gym (Brockman et al., 2016) , a popolar benchmark for RL algorithms. Following GAIL (Ho & Ermon, 2016) , we choose a few robot controlling tasks from the classic control and MuJoCo subclasses, both of which are simulated using physics engines (Todorov et al., 2012) . Each task is provided with a ground-truth cost function, and we generate a number of expert demonstrations for each task by running the TRPO algorithm (Schulman et al., 2015) on these true costs. We train individual models for each task, and the number of iterations follow the same setting as the baselines.

As described in Section 3.3, there are two baselines for BC and IRL, namely GAIL (Ho & Ermon, 2016) and the vanilla IRL, respectively. We do not use the other baselines FEM and GTAL in the GAIL paper, due to their poor performance compared to GAIL. In all scenarios, we randomly choose 70% data for training and use the remaining 30% for testing (the training/testing split remains unchanged). Following GAIL, the basic policy network is the same for all tasks, using 100 neurons at each hidden layer, and tanh(•) activation to provide non-linearity. We train all models from scratch (i.e., using random Gaussion noise to initialize all weights), and use the Adam optimizer (Kingma & Ba, 2015) with a mini-batch size of 128.

4.2. QUANTITATIVE RESULTS:

Quantitative results on 8 robot controlling tasks are summarized in Table 1 . We first observe the baselines. Vanilla IRL often performs worse compared to vanilla BC and its improved version, GAIL. The difference lies in that IRL recovers the reward function R and calls the RL inner-loop, while BC directly constructs a discriminative function D directly. From another perspective, BC allows joint optimization over two modules which often leads to better performance. GAIL goes one step beyond vanilla BC because it introduces adversarial training which improves stability. SIMILE brings significant improvement beyond vanilla IRL. In 7 out of 8 tasks, IRL+SIMILE works better than vanilla BC. The only exception, CartPole, is the simplest task overall in which 4.4 TESTING STABILITY: VARIATION OF PERFORMANCE In these experiments, another interesting finding is that SIMILE makes the testing performance more stable, i.e., the overall standard deviation is smaller than the baseline. In particular, in Ant, GAIL produces a very large deviation of 878.67, which may be caused by the instability of expert demonstrations (deviation is 424.16), but SIMILE reduces it to merely 23.78. Also, in the best case Walker2D, SIMILE is much more stable than both the baseline and the expert. These advantages suggest the benefit of sequential information, which reduces the ambiguity in the training and testing process -even two situations looks similar according to the state variable, SIMILE can refer to hidden information so as to distinguish them and take different actions.

5. CONCLUSIONS AND FUTURE WORK:

This paper proposes an approach named Sequential IMItation LEearning (SIMILE) to effectively introduce sequential information into conventional IL algorithms. It works by formulating the decision process into a recurrent model, and then using an LSTM to capture both long-term and shortterm information. This generalized framework can be instantiated on IRL and BC, two popular variants of IL. The entire algorithm can be optimized in an end-to-end manner. Experiments on a series of robot controlling tasks verify the effectiveness of our approach. In addition to the improved performance, SIMILE enjoys two-fold benefits, namely, faster convergence and more stable testing performance. These advantages demonstrate its potential applications to real-world RL problems.

The success of SIMILE suggests that a good agent (e.g., a human) often takes rich information into consideration before making decisions. However, current RL or IRL algorithms are mostly executed on one single state which is far from sufficient. Our study goes one step further along in this direction, but there remains much more to explore. For example, our recurrent model only memorizes a few history data, yet it may require an individual module to formulate some implicit factors to complement the state variable. Another interesting problem is to investigate the transfer ability of IL systems. For example, if an agent is trained in an environment and then transferred to another one with a different set of physical parameters (e.g., the mass of an object, the speed of enemies, etc.), it remains unclear how well it can perform. There were some preliminary work in this field (Fu et al., 2018) , and we pave a new direction which is to introduce additional (e.g., sequential) information. These topics are left for future work.

:

Throughout this paper, we use "imitation learning" (IL) to name all the RL methods which learn from expert demonstrations. Among them, all methods which explicitly recover the reward function are named "inverse reinforcement learning" (IRL), otherwise "behavioral cloning" (BC). For example, GAIL(Ho & Ermon,

2016) belongs to BC because it bypassed the reward function and directly generate the agent policy.

https://en.wikipedia.org/wiki/Reinforcement learning

Figures and Tables:

Figure 1: Two examples that the state vector is insufficient for decision making. The left figure show Acrobot (Sutton, 1996), and the right figure show an Atari game named SpaceInvaders (Bellemare et al., 2013) which takes image data as input. See texts for detailed descriptions.

t+1 ∼ P (• | s m,t , a m,t ), T m ← T m + 1;

Peer review (iclr2019):
 This paper introduces the use of sequential information (state-action pairs) for enhancing imitation learning, and using recurrent networks (LSTM) in that process. The authors motivate this by pointing out that while the state information, if Markovian, should contain all information necessary for decision making, with incomplete learners redundant information in the sequential state-action information leading to the current state can be helpful, citing some concrete examples. After describing a number of variants of this idea, in the context of IRL, BC, etc., the authors conduct a systematic empirical evaluation to assess the effectiveness of the proposal, over the baselines, using a number of RL benchmark problems. The results are favorable and convincingly show that the proposed sequential enhancement can bring significant improvement in terms of attained rewards, convergence speed and stability in many of the tested cases. One suggestion I have is that it would be interesting to investigate into the question of how the addition of sequential information adds value is related to the validity of Markovian assumption in each of the problem being considered. It is a good empirical paper demonstrating the practical use of an idea that is simple but reasonable, and in a way that is substantiated using proper cutting edge framework and baselines.