BADGR: An Autonomous Self-Supervised Learning-Based Navigation System

BADGR: An Autonomous Self-Supervised Learning-Based Navigation System

Abstract

Mobile robot navigation is typically regarded as a geometric problem, in which the robot’s objective is to perceive the geometry of the environment in order to plan collision-free paths towards a desired goal. However, a purely geometric view of the world can can be insufficient for many navigation problems. For example, a robot navigating based on geometry may avoid a field of tall grass because it believes it is untraversable, and will therefore fail to reach its desired goal. In this work, we investigate how to move beyond these purely geometric-based approaches using a method that learns about physical navigational affordances from experience. Our approach, which we call BADGR, is an end-to-end learning-based mobile robot navigation system that can be trained with self-supervised off-policy data gathered in real-world environments, without any simulation or human supervision. BADGR can navigate in real-world urban and off-road environments with geometrically distracting obstacles. It can also incorporate terrain preferences, generalize to novel environments, and continue to improve autonomously by gathering more data. Videos, code, and other supplemental material are available on our website https://sites.google.com/view/badgr

I Introduction

Navigation for mobile robots is often regarded as primarily a geometric problem, where the aim is to construct either a local or global map of the environment, and then plan a path through this map [37]. While this approach has produced excellent results in a range of settings, from indoor navigation [28] to autonomous driving [36], open-world mobile robot navigation often present challenges that are difficult to address with a purely geometric view of the world. Some geometric obstacles, such as the tall grass in Figure LABEL:fig:teaser, may in fact be traversable. Different surfaces, though geometrically similar, may be preferred to differing degrees—for example, the vehicle in Fig. LABEL:fig:teaser might prefer the paved surface over the bumpy field. Conventionally, these aspects of the navigation problem have been approached from the standpoint of semantic understanding, using computer vision methods trained on human-provided traversability or road surface labels [23, 11, 40, 13]. However, traversability, bumpiness, and other mobility-relevant attributes are physical attributes of the environment, and in principle can be learned by the robot through experience, without human supervision. In this paper, we study how autonomous, self-supervised learning from experience can enable a robot to learn about the affordances in its environment using raw visual perception and without human-provided labels or geometric maps.

Instead of using human supervision to teach a robot how to navigate, we investigate how the robot’s own past experience can provide retrospective self-supervision: for many physically salient navigational objectives, such as avoiding collisions or preferring smooth over bumpy terrains, the robot can autonomously measure how well it has fulfilled its objective, and then retrospectively label the preceding experience so as to learn a predictive model for these objectives. For example, by experiencing collisions and bumpy terrain, the robot can learn, given an observation and a candidate plan of future actions, which actions might lead to bumpy or smooth to terrain, and which actions may lead to collision. This in effect constitutes a self-supervised multi-task reinforcement learning problem.

Based on this idea, we present a fully autonomous, self-improving, end-to-end learning-based system for mobile robot navigation, which we call BADGR—Berkeley Autonomous Driving Ground Robot. BADGR works by gathering off-policy data—such as from a random control policy—in real-world environments, and uses this data to train a model that predicts future relevant events—such as collision, position, or terrain properties—given the current sensor readings and the recorded executed future actions. Using this model, BADGR can then plan into the future and execute actions that avoid certain events, such as collision, and actively seek out other events, such as smooth terrain. BADGR constitutes a fully autonomous self-improving system because it gathers data, labels the data in a self-supervised fashion, trains the predictive model in order to plan and act, and can autonomously gather additional data to further improve itself.

While the particular components that we use to build BADGR draw on prior work [18, 17], we demonstrate for the first time that a complete system based on these components can reason about both geometric and non-geometric navigational objectives, learn from off-policy data, does not require any human labelling, does not require expensive sensors or simulated data, can improve with autonomously collected data, and works in real-world environments.

The primary contribution of this work is an end-to-end learning-based mobile robot navigation system that can be trained entirely with self-supervised off-policy data gathered in real-world environments, without any simulation or human supervision. Our results demonstrate that our BADGR system can learn to navigate in real-world environments with geometrically distracting obstacles, such as tall grass, and can readily incorporate terrain preferences, such as avoiding bumpy terrain, using only 42 hours of autonomously collected data. Our experiments show that our method can outperform a SLAM and planning navigation policy in complex real-world settings, generalize to novel environments, and can improve as it gathers more data.

Ii Related Work

Autonomous mobile robot navigation has been extensively studied in many real-world scenarios, ranging from indoor navigation [28, 16, 34, 25] to outdoor driving [36, 38, 33, 39, 9]. The predominant approach for autonomous navigation is to have the robot build a map, localize itself in the map, and use the map in order to plan and execute actions that enable the robot to achieve its goal. This simultaneous localization and mapping (SLAM) and planning approach [37] has achieved impressive results, and underlies current state-of-the-art autonomous navigation technologies [42, 35]. However, these approaches still have limitations, such as performance degradation in textureless scenes, requiring expensive sensors, and—most importantly—do not get better as the robot acts in the world [8].

Learning-based methods have shown promise in addressing these limitations by learning from data. One approach to improve upon SLAM methods is to directly estimate the geometry of the scene [7, 3, 41]. However, these methods are limited in that the geometry is only a partial description of the environment. Only learning about geometry can lead to unintended consequences, such as believing that a field of tall grass is untraversable. Semantic-based learning approaches attempt to address the limitations of purely geometric methods by associating the input sensory data with semantically meaningful labels, such as which pixels in an image correspond to traversable or bumpy terrain. However, these methods typically depend on existing SLAM approaches [23, 11, 26, 17, 43] or humans [40, 13] in order to provide the semantic labels, which consequently means these approaches either inherit the limitations of geometric approaches or are not autonomously self-improving. Methods based on imitation learning have been demonstrated on real-world robots [29, 1, 5], but again depend on humans for expert demonstrations, which does not constitute a continuously self-improving system. End-to-end reinforcement learning approaches have shown promise in automating the entire navigation pipeline. However, these methods have typically focused on pure geometric reasoning, require on-policy data, and often utilize simulation due to constraints such as sample efficiency [31, 18, 32, 2, 22, 4]. Prior works have investigated learning navigation policies directly from real-world experience, but typically require a person [2, 20, 14] or SLAM algorithm [10] to gather the data, assume access to the ground-truth robot state [27], learn using low-bandwidth sensors [21], or only perform collision avoidance [18, 19]. Our approach overcomes the limitations of these prior works by designing an end-to-end reinforcement learning approach that directly learns to predict relevant navigation cues with a sample-efficient, off-policy algorithm, and can continue to improve with additional experience via a self-supervised data labelling mechanism that does not depend on humans or SLAM algorithms.

The most similar works to our BADGR system are GCG [18] and CAPs [17]. However, GCG only learned to avoid collisions and CAPs required human supervision in order to learn non-collision avoidance behaviors, while BADGR is able to reason about both geometric and non-geometric navigational without any human supervision in complex, real-world environments.

Iii Berkeley Autonomous Driving Ground Robot

Our goal is to enable a mobile robot to navigate in real-world environments. We therefore developed BADGR, an end-to-end learning-based mobile robot navigation system that can be trained entirely with self-supervised, off-policy data gathered in real-world environments, without any simulation or human supervision, and can improve as it gathers more data.

BADGR operates by autonomously gathering large amounts of off-policy data in real-world environments. Using this data, BADGR labels relevant events—such as collisions or bumpy terrain—in a self-supervised manner, and adds these labelled events back into the dataset. BADGR then trains a predictive model that takes as input the current observation, such as camera images, and a future sequence of actions, such as linear and angular velocity commands, and predicts the relevant future events. When deploying the trained BADGR system, the user designs a reward function that encodes the task they want the robot to accomplish in terms of these relevant events—such as to reach a goal while avoiding collisions and bumpy terrain—and the robot autonomously plans and executes actions that maximize this reward.

In order to build a self-supervised learning-based navigational system, we must assume that retrospective supervision is available to the robot. This means that the robot must be able to experience events, such as collisions, and then learn to avoid (or seek out) such events in the future. We therefore make the following assumptions: (1) the robot can only learn about events it has experienced and that can be measured using the onboard sensors and (2) experiencing these events, even undesirable events such as colliding, is acceptable. We believe these assumptions are realistic for many real-world autonomous mobile robot applications.

In the following sections, we will describe the robot, data collection and labelling, model training, and planning components, followed by a summarizing overview of the entire system.

Iii-a Mobile Robot Platform

The specific design considerations for the robotic platform focus on enabling long-term autonomy with minimal human intervention.

Fig. 1: The mobile robot platform.

The robot we use is the Clearpath Jackal, shown in Fig. 1. The Jackal measures and weighs 17kg, making it ideal for navigating in both urban and off-road environments. The Jackal is controlled by specifying the desired linear and angular velocity, which are used as setpoints for the low-level differential drive controllers. The default sensor suite consists of a 6-DOF IMU, which measures linear acceleration and angular velocity, a GPS unit for approximate global position estimates, and encoders to measure the wheel velocity. In addition, we added the following sensors on top of the Jackal: two forward-facing field-of-view cameras, a 2D LIDAR, and a compass.

Inside the Jackal is an NVIDIA Jetson TX2 computer, which is ideal for running deep learning applications, in addition to interfacing with the sensors and low-level microcontrollers. Data is saved to an external SSD, which must be large and fast enough to store 1.3GB per minute streaming in from the sensors. Experiments were monitored remotely via a 4G smartphone mounted on top of the Jackal, which allowed for video streaming and, if needed, teleoperation.

The robot was designed primarily for robustness, with a relatively minimal and robust sensor suite, in order to enable long-term autonomous operation for large-scale data collection.

Iii-B Data Collection

We design the data collection methodology to enable gathering large amounts of diverse data for training with minimal human intervention.

The first consideration when designing the data collection policy is whether the learning algorithm requires on-policy data. On-policy data collection entails alternating between gathering data using the current policy, and retraining the policy using the most recently gathered data. On-policy data collection is highly undesirable because only the most recently gathered data can be used for training; all previously gathered data must be thrown out. In contrast, off-policy learning algorithms can train policies using data gathered by any control policy. Due to the high cost of gathering data with real-world robotic systems, we choose to use an off-policy learning algorithm in order to be able to gather data using any control policy and train on all of the gathered data.

The second consideration when designing the data collection policy is to ensure the environment is sufficiently explored, while also ensuring that the robot execute action sequences it will realistically wish to execute at test time. A naïve uniform random control policy is inadequate because the robot will primarily drive straight due to the linear and angular velocity action interface of the robot, which will result in both insufficient exploration and unrealistic test time action sequences. We therefore use a time-correlated random walk control policy to gather data, which is visualized in Fig. 2.

Fig. 2: An example plot of the commanded angular and linear velocities from our time-correlated random control policy that is used to gather data.
Fig. 3: While collecting data, the robot will periodically require a manual intervention to reset from catastrophic failures, though recovery is usually automatic.

As the robot is gathering data using the random control policy, it will require a mechanism to detect if it is in collision or stuck, and an automated controller to reset itself in order to continue gathering data. We detect collisions in one of two ways, either using the LIDAR to detect when an obstacle is near or the IMU to detect when the robot is stuck due to an obstacle. We used the LIDAR collision detector in urban environments in order to avoid damaging property, and the IMU collision detector in off-road environments because the LIDAR detector was overly pessimistic, such as detecting grass as an obstacle. Once a collision is detected, a simple reset policy commands the robot to back up and rotate. However, sometimes the reset policy is insufficient, for example if the robot flips over (Fig. 3), and a person must manually reset the robot.

As the robot collects data, all the raw sensory data is saved onboard. After data collection for the day is complete, the data is copied to a desktop machine and subsampled down to 4Hz.

Iii-C Self-Supervised Data Labelling

BADGR then goes through the raw, subsampled data and calculates labels for specific navigational events. These events consist of anything pertinent to navigation that can be extracted from the data in a self-supervised fashion.

In our experiments, we consider three different events: collision, bumpiness, and position. A collision event is calculated as occurring when, in urban environments, the LIDAR measures an obstacle to be close or, in off-road environments, when the IMU detects a sudden drop in linear acceleration and angular velocity magnitudes. A bumpiness event is calculated as occurring when the angular velocity magnitudes measured by the IMU are above a certain threshold. The position is determined by an onboard state estimator that fuses wheel odometry and the IMU to form a local position estimate.

After BADGR has iterated through the data, calculated the event labels at each time step, and added these event labels back into the dataset, BADGR can then train a model to predict which actions lead to which navigational events.

Iii-D Predictive Model

The learned predictive model takes as input the current sensor observations and a sequence of future intended actions, and predicts the future navigational events. We denote this model as , which defines a function parameterized by vector that takes as input the current observation and a sequence of future actions , and predicts different future events .

Fig. 4: Illustration of the deep neural network predictive model at the core of our learning-based navigation policy. The neural network takes as input the current RGB image and processes it with convolutional and fully connected layers to form the initial hidden state of a recurrent LSTM unit [15]. This recurrent unit takes as input actions in a sequential fashion, and produces outputs. These outputs of the recurrent unit are then passed through additional fully connected layers to predict all events for all future time steps. These predicted future events, such as position, if the robot collided, and if the robot drove over bumpy terrain, enable a planner to select actions that achieve desirable events, such reaching a goal, and avoid undesirable events, such as collisions and bumpy terrain.

The model we learn is an image-based, action-conditioned predictive deep neural network, shown in Fig. 4. The network first processes the input image observations using convolutional and fully connected layers. The final output of the these layers serves as the initialization for a recurrent neural network, which sequentially processes each of the future actions and outputs the corresponding predicted future events .

The model is trained—using the observations, actions, and event labels from the collected dataset—to minimize a loss function that penalizes the distance between the predicted and ground truth events

(1)

The individual losses for each event are either cross entropy if the event is discrete, or mean squared error if the event is continuous. The neural network parameter vector is trained by performing minibatch gradient descent on the loss in Eqn. 1.

Iii-E Planning

Given the trained neural network predictive model, this model can then be used at test time to plan and execute desirable actions.

We first define a reward function that encodes what we want the robot to do in terms of the model’s predicted future events. For example, the reward function could encourage driving towards a goal while discouraging collisions or driving over bumpy terrain. The specific reward function we use is specified in the experiments section.

Using this reward function and the learned predictive model, we solve the following planning problem at each time step

(2)

execute the first action, and continue to plan and execute following the framework of model predictive control.

We solve Eqn. 2 using the zeroth order stochastic optimizer from Nagabandi et al. [24]. This optimizer works by maintaining a running estimate of the optimal action sequence. Each time the planner is called, action sequences are sampled that are time-correlated and centered around this running action sequence estimate

(3)

in which the parameter determines how close the sampled action sequences should be to the running action sequence estimate, and the parameter determines the degree to which the sampled action sequences are correlated in time.

Each action sequence is then propagated through the predictive model in order to calculate the reward . Given each action sequence and its corresponding reward, we update the running estimate of the optimal action sequence via a reward-weighted average

(4)

in which is a parameter that determines how much weight should be given to high-reward action sequences.

Each time the planner is called, new action sequences are sampled according to Eqn. 3, these action sequences are propagated through the learned predictive model in order to calculate the reward of each sequence, the running estimate of the optimal action sequence is updated using Eqn. 4, and the robot executes the first action .

This optimizer is more powerful than other zeroth order stochastic optimizers, such as random shooting or the cross-entropy method [30], because it warm-starts the optimization using the solution from the previous time step, uses a soft update rule for the new sampling distribution in order to leverage all of the sampled action sequences, and considers the correlations between time steps. In our experiments, we found this more powerful optimizer was necessary to achieve good planning.

Iii-F Algorithm Summary

We now provide a brief summary of how our BADGR system operates during training (Alg. 1) and deployment (Alg. 2).

During training, BADGR gathers data by executing actions according to the data collection policy and records the onboard sensory observations and executed actions. Next, BADGR uses the gathered dataset to self-supervise the event labels, which are added back into the dataset. This dataset is then used to train the learned predictive model.

When deploying BADGR, the user first defines a reward function that encodes the specific task they want the robot to accomplish. BADGR then uses the trained predictive model, current observation, and reward function to plan a sequence of actions that maximize the reward function. The robot executes the first action in this plan, and BADGR continues to alternate between planning and executing until the task is complete.

1:  initialize dataset
2:  while not done collecting data do
3:     get current observation from sensors
4:     get action from data collection policy
5:     add to
6:     execute
7:     if in collision then
8:        execute reset maneuver
9:     end if
10:  end while
11:  for each  do
12:     calculate event labels using self-supervision
13:     add to
14:  end for
15:  use to train predictive model by minimizing Eqn. 1
Algorithm 1 Training BADGR
1:  input: trained predictive model , reward function
2:  while task is not complete do
3:     get current observation from sensors
4:     solve Eqn. 2 using and to get the planned action sequence
5:     execute the first action
6:  end while
Algorithm 2 Deploying BADGR

Iv Experiments

In our experimental evaluation, we study how BADGR can autonomously learn a successful navigation policy in real-world environments, improve as it gathers more data, generalize to unseen environments, and compare it to purely geometric approaches. Videos, code, and other supplemental material are available on our website1.

We performed our evaluation in a real-world outdoor environment consisting of both urban and off-road terrain. BADGR autonomously gathered 34 hours of data in the urban terrain and 8 hours in the off-road terrain. Although the amount of data gathered may seem significant, the total dataset consisted of 720,000 off-policy datapoints, which is smaller than currently used datasets in computer vision [6] and significantly smaller than the number of samples often used by deep reinforcement learning algorithms [12].

Our evaluations consist of tasks that involve reaching a goal GPS location, avoiding collisions, and preferring smooth over bumpy terrain. In order for BADGR to accomplish these tasks, we design the reward function that BADGR uses for planning as such

(5)

where and are user-defined scalars that weight how much the robot should care about reaching the goal and avoiding bumpy terrain. An important design consideration for the reward function was how to encode this multi-objective task. First, we ensured each of the individual rewards were in the range of , which made it easier to weight the individual rewards. Second, we ensured the collision reward always dominated the other rewards: if the robot predicted it was going to collide, all of the individual rewards were assigned to their maximum value of 1; conversely, if the robot predicted it was not going to collide, all of the individual rewards were assigned to their respective values.

Method Successfully Reached Goal Avg. Bumpiness
BADGR (ours) 25/25 (100%)
BADGR w/o bumpy cost 25/25 (100%)
SLAM+P 25/25 (100%)
Naïve 5/25 (20%) N/A
Fig. 5: Experimental evaluation in an urban environment for the task of reaching a specified goal position while avoiding collisions and bumpy terrain. Each approach was evaluated from 5 different start locations—each color corresponding to a different start location—with 5 runs per each start location. The figures show the paths of each run, and whether the run successfully reached the goal or ended in a collision. The table shows the success rate and average bumpiness for each method. Our BADGR approach is better able to reach the goal and avoid bumpy terrain compared to the other methods.
Fig. 6: Visualization of BADGR’s predictive model in the urban environment. Each image shows the candidate paths that BADGR considers during planning. These paths are color coded according to either their probability of collision (top row) or probability of experiencing bumpy terrain (bottom row) according to BADGR’s learned predictive model. These visualizations show the learned model can accurately predict that action sequences which would drive into buildings or bushes will result in a collision, and that action sequences which drive on concrete paths are smoother than driving on grass.

We evaluated BADGR against two other methods:

  • SLAM+P: a SLAM plus planner-based system that builds a local geometric map using the onboard LIDAR and plans paths that avoid collisions while navigating towards the specified goal. Note that our method only uses the camera images, while this approach uses LIDAR.

  • Naïve: a naïve policy that simply drives straight towards the specified goal.

We compare against SLAM+P, which is the most common approach for designing navigation policies, in order to demonstrate the advantages of our learning-based approach, while the purpose of the naïve policy is to provide a lower bound baseline and calibrate the difficulty of the task.

Note that for all tasks, only a single GPS coordinate—the location of the goal—is given to the robot. This single GPS coordinate is insufficient for successful navigation, and therefore the robot must use other onboard sensors in order to accomplish the task.

Urban environment. We first evaluated all the approaches for the task of reaching a goal GPS location while avoiding collisions and bumpy terrain in an urban environment. Fig. 5 shows the resulting paths that BADGR, SLAM+P, and the naïve policies followed. The naïve policy almost always crashed, which illustrates the urban environment contains many obstacles. The SLAM+P policy always succeeded in reaching the goal, but failed to avoid the bumpy grass terrain. BADGR also always succeeded in reaching the goal, and—as also shown by Fig. 5—succeeded in avoiding bumpy terrain by driving on the paved paths. Note that we never told the robot to drive on paths; BADGR automatically learned from the onboard camera images that driving on concrete paths is smoother than driving on the grass.

While a sufficiently high-resolution 3D LIDAR could in principle identify the bumpiness of the terrain and detect the paved paths automatically, 3D geometry is not a perfect indicator of the terrain properties. For example, let us compare tall grass versus gravel terrain. Geometrically, the tall grass is bumpier than the gravel, but when actually driving over these terrains, the tall grass will result in a smoother ride. This example underscores the idea that there is not a clear mapping between geometry and physically salient properties such as whether terrain is smooth or bumpy.

BADGR overcomes this limitation by directly learning about physically salient properties of the environment using the raw onboard observations—in this case, the IMU readings—to determine if the terrain is bumpy. Our approach does not make assumptions about geometry, but rather lets the predictive model learn correlations from the onboard sensors; Fig. 6 shows our predictive model successfully learns which image and action sequences lead to collisions and bumpy terrain and which do not.

Off-road environment. Next, we evaluated all the approaches for the task of reaching a goal GPS location while avoiding both collisions and getting stuck in an off-road environment. Fig. 7 shows the resulting paths that BADGR, SLAM+P, and the naïve policies followed. The naïve policy sometimes succeeded, but oftentimes collided with obstacles such as trees and became stuck on thick patches of grass. The SLAM+P policy nearly never crashed or became stuck on grass, but sometimes refused to move because it was surrounded by grass which it incorrectly labelled as untraversable obstacles (Fig. 7(a)). BADGR almost always succeeded in reaching the goal by avoiding collisions and getting stuck, while not falsely predicting that all grass was an obstacle (Fig. 7(b)).

Fig. 7: Experimental evaluation in an off-road environment for the task of reaching a specified goal location while avoiding collisions. Each approach was evaluated from 5 different start locations—each color corresponding to a different start location—with 5 runs per each start location. Each run terminated when the robot collided, failed to make progress and was trapped, or successfully reached the goal. Our BADGR policy is the only approach which can consistently reach the goal without colliding or getting trapped.
(a)
(b)
Fig. 8: Comparison of SLAM+P (top) versus our BADGR approach (bottom) in a tall grass portion of the off-road environment. The SLAM+P policy incorrectly labels the grass as untraversable, and therefore rotates in-place in an attempt to find a traversable path; after completing a full rotation and failing to detect any traversable path, the SLAM+P policy determines the robot is trapped. In contrast, our BADGR approach has learned from experience that some tall grass is indeed traversable, and is therefore able to successfully navigate the robot towards the goal.
Fig. 9: Comparison of our BADGR policy (left) versus the SLAM+P policy (right). Each image shows the candidate paths each policy considered during planning, and the color of each path indicates if the policy predicts the path will result in a collision. The SLAM+P policy falsely predicts the paths driving left or straight will result in a collision with the few strands of tall grass. In contrast, our BADGR policy correctly predicts that the grass is traversable and will therefore drive over the grass, which will result in BADGR reaching the goal faster.

Additionally, even when the SLAM+P approach succeeded in reaching the goal, the path it took was sometimes suboptimal. Fig. 9 shows an example where the SLAM+P policy labelled a few strands of grass as untraversable obstacles, and therefore decided to take a roundabout path to the goal; in contrast, BADGR accurately predicted these few strands of grass were traversable, and therefore took a more optimal path. BADGR reached the goal faster on average compared to the SLAM+P policy.

Self-improvement. A practical deployment of BADGR would be able to continually self-supervise and improve the model as the robot gathers more data. To provide an initial evaluation of how additional data enables adaptation to new circumstances, we conducted a controlled study in which BADGR gathers and trains on data from one area, moves to a new target area, fails at navigating in this area, but then eventually succeeds in the target area after gathering and training on additional data from that area.

Fig. 10: Experimental demonstration of our BADGR approach improving as it gathers more experience. The robot’s task was to reach a goal in the new target area without colliding. The zero-shot policy trained with only the initial training data always failed. The finetuned policy trained only using data from the target domain travelled farther before colliding, but still predominantly failed. The policy trained using both the initial training data and three hours of autonomously gathered, self-supervised-supervised data in the target domain always succeeded in reaching the goal. This result demonstrates that BADGR improves as it gathers more data, and also that previously gathered data from other areas can actually accelerate learning.

In this experiment, we first evaluate the performance of the original model trained only in the initial training domain, labeled as ‘zero-shot’ in Figure 10. The zero-shot policy fails on every trial due to a collision. We then evaluate the performance of a policy that is finetuned after collecting three more hours of data with autonomous self-supervision in the target domain, which we label as ‘finetuned.’ This model succeeds at reaching the goal on every trial. For completeness, we also evaluate a model trained only on the data from the target domain, without using the data from the original training domain, which we label as ‘target domain only.’ This model is better than the zero-shot model, but still fails much more frequently than the finetuned model that uses both sources of experience.

This experiment not only demonstrates that BADGR can improve as it gathers more data, but also that previously gathered experience can actually accelerate policy learning when BADGR encounters a new environment. From these results, we might reasonably extrapolate that as BADGR gathers data in more and more environments, it should take less and less time to successfully learn to navigate in each new environment; we hope that future work will evaluate these truly continual and lifelong learning capabilities.

Generalization. We also evaluated how well BADGR—when trained on the full 42 hours of collected data—navigates in novel environments not seen in the training data. Fig. 11 shows our BADGR policy successfully navigating in three novel environments, ranging from a forest to urban buildings. This result demonstrates that BADGR can generalize to novel environments if it gathers and trains on a sufficiently large and diverse dataset.

Fig. 11: Our BADGR policy can generalize to novel environments not seen in the training data. Each row shows the BADGR policy executing in a different novel environment. The first column shows the approximate path followed by the BADGR policy. The remaining columns show sampled images from the onboard camera while the robot is navigating, with the future path of the robot overlaid onto the image.

V Discussion

We presented BADGR, an end-to-end learning-based mobile robot navigation system that can be trained entirely with self-supervised, off-policy data gathered in real-world environments, without any simulation or human supervision, and can improve as it gathers more data. We demonstrated that our approach can learn to navigate in real-world environments with geometrically distracting obstacles, such as tall grass, and can readily incorporate terrain preferences, such as avoiding bumpy terrain, using only 42 hours of data. Our experiments showed that BADGR can outperform a SLAM and planning navigation policy in complex real-world settings, generalize to novel environments, and can improve as it gathers more data.

Although BADGR can autonomously gather data with minimal human supervision, the robot periodically requires human assistance, for example if the robot flips over. These periodic resets can be a significant burden, especially if the robot is operating in a remote location. Investigating methods that train policies which are cautious in novel environments could further decrease the amount of human supervision needed while collecting data. Also, while BADGR can improve as it gathers more data, this improvement requires gathering a non-negligible amount of data and retraining from scratch. Approaches that adapt in an online fashion could improve BADGR’s performance when deployed. Finally, our experiments solely evaluated BADGR in static environments, without moving agents such as pedestrians and cars. Gathering and training with data from non-static environments could prove challenging due to biases in the data from the interactions between the data collection policy and the other agents in the environment. We believe that solving these and other challenges is crucial for enabling robot learning platforms to learn and act in the real world, and that BADGR is a promising step towards this goal.

Vi Acknowledgments

This work was supported by ARL DCIST CRA W911NF-17-2-0181, the National Science Foundation via IIS-1700697, the DARPA Assured Autonomy program, and Berkeley Deep Drive. Gregory Kahn was supported by an NSF Graduate Research Fellowship.

Footnotes

  1. https://sites.google.com/view/badgr

References

  1. M. Bojarski, D. Del Testa, D. Dworakowski, B. Firner, B. Flepp, P. Goyal, L. D. Jackel, M. Monfort, U. Muller and J. Zhang (2016) \hrefhttps://images.nvidia.com/content/tegra/automotive/images/2016/solutions/pdf/end-to-end-dl-using-px.pdfEnd to end learning for self-driving cars. arXiv:1604.07316. Cited by: §II.
  2. J. Bruce, N. Sünderhauf, P. Mirowski, R. Hadsell and M. Milford (2018) \hrefhttps://arxiv.org/pdf/1807.05211.pdfLearning deployable navigation policies at kilometer scale from a single traversal. In CoRL, Cited by: §II.
  3. J. Chang and Y. Chen (2018) \hrefhttps://arxiv.org/pdf/1803.08669.pdfPyramid stereo matching network. In CVPR, Cited by: §II.
  4. H. L. Chiang, A. Faust, M. Fiser and A. Francis (2019) \hrefhttps://arxiv.org/pdf/1809.10124.pdfLearning navigation behaviors end-to-end with autorl. RA-L. Cited by: §II.
  5. F. Codevilla, M. Miiller, A. López, V. Koltun and A. Dosovitskiy (2018) \hrefhttp://vladlen.info/papers/conditional-imitation.pdfEnd-to-end driving via conditional imitation learning. In ICRA, Cited by: §II.
  6. J. Deng, W. Dong, R. Socher, L. Li, K. Li and L. Fei-Fei (2009) \hrefhttp://www.image-net.org/papers/imagenet_cvpr09.pdfImagenet: A large-scale hierarchical image database. In CVPR, Cited by: §IV.
  7. H. Fu, M. Gong, C. Wang, K. Batmanghelich and D. Tao (2018) \hrefhttps://arxiv.org/pdf/1806.02446.pdfDeep ordinal regression network for monocular depth estimation. In CVPR, Cited by: §II.
  8. J. Fuentes-Pacheco, J. Ruiz-Ascencio and J. M. Rendon-Mancha (2015) \hrefhttps://link.springer.com/article/10.1007/s10462-012-9365-8Visual simultaneous localization and mapping: a survey. Artificial Intelligence Review. Cited by: §II.
  9. P. Furgale and T. D. Barfoot (2010) \hrefhttps://furgalep.github.io/sbib/furgale_jfr10.pdfVisual teach and repeat for long-range rover autonomy. Journal of Field Robotics. Cited by: §II.
  10. D. Gandhi, L. Pinto and A. Gupta (2017) \hrefhttps://arxiv.org/pdf/1704.05588.pdfLearning to fly by crashing. In IROS, Cited by: §II.
  11. R. Hadsell, P. Sermanet, J. Ben, A. Erkan, M. Scoffier, K. Kavukcuoglu, U. Muller and Y. LeCun (2009) \hrefhttp://yann.lecun.com/exdb/publis/pdf/hadsell-jfr-09.pdfLearning long-range vision for autonomous off-road driving. Journal of Field Robotics. Cited by: §I, §II.
  12. M. Hessel, J. Modayil, H. Van Hasselt, T. Schaul, G. Ostrovski, W. Dabney, D. Horgan, B. Piot, M. Azar and D. Silver (2018) \hrefhttps://arxiv.org/pdf/1710.02298.pdfRainbow: Combining improvements in deep reinforcement learning. In AAAI, Cited by: §IV.
  13. N. Hirose, A. Sadeghian, M. Vázquez, P. Goebel and S. Savarese (2018) \hrefhttps://arxiv.org/pdf/1803.03254.pdfGonet: A semi-supervised deep learning approach for traversability estimation. In IROS, Cited by: §I, §II.
  14. N. Hirose, F. Xia, R. Martín-Martín, A. Sadeghian and S. Savarese (2019) \hrefhttps://arxiv.org/pdf/1903.02749.pdfDeep Visual MPC-Policy Learning for Navigation. In RA-L, Cited by: §II.
  15. S. Hochreiter and J. Schmidhuber (1997) \hrefhttps://www.bioinf.jku.at/publications/older/2604.pdfLong short-term memory. Neural computation. Cited by: Fig. 4.
  16. J. P. How, B. Behihke, A. Frank, D. Dale and J. Vian (2008) \hrefhttps://s3.amazonaws.com/academia.edu.documents/40510157/Real-time_indoor_autonomous_vehicle_test20151130-1329-1jp7t28.pdf?response-content-disposition=inline%3B%20filename%3DReal-time_indoor_autonomous_vehicle_test.pdf&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWOWYYGZ2Y53UL3A%2F20200105%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200105T231851Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a1b368099d614bc7e5fb9952ebcba4178cff804f13b21c107dd7be59634718c0Real-time indoor autonomous vehicle test environment. IEEE Control Systems Magazine. Cited by: §II.
  17. G. Kahn, A. Villaflor, P. Abbeel and S. Levine (2018) \hrefhttps://arxiv.org/pdf/1810.07167.pdfComposable Action-Conditioned Predictors: Flexible Off-Policy Learning for Robot Navigation. In CoRL, Cited by: §I, §II, §II.
  18. G. Kahn, A. Villaflor, B. Ding, P. Abbeel and S. Levine (2018) \hrefhttps://arxiv.org/pdf/1709.10489.pdfSelf-supervised deep reinforcement learning with generalized computation graphs for robot navigation. In ICRA, Cited by: §I, §II, §II.
  19. A. Kendall, J. Hawke, D. Janz, P. Mazur, D. Reda, J. Allen, V. Lam, A. Bewley and A. Shah (2019) \hrefhttps://arxiv.org/pdf/1807.00412.pdfLearning to drive in a day. In ICRA, Cited by: §II.
  20. A. Loquercio, A. I. Maqueda, C. R. Del-Blanco and D. Scaramuzza (2018) \hrefhttp://rpg.ifi.uzh.ch/docs/RAL18_Loquercio.pdfDronet: Learning to fly by driving. In RA-L, Cited by: §II.
  21. A. R. Mahmood, D. Korenkevych, G. Vasan, W. Ma and J. Bergstra (2018) \hrefhttp://proceedings.mlr.press/v87/mahmood18a/mahmood18a.pdfBenchmarking reinforcement learning algorithms on real-world robots. In CoRL, Cited by: §II.
  22. X. Meng, N. Ratliff, Y. Xiang and D. Fox (2019) \hrefhttps://arxiv.org/pdf/1903.02749.pdfNeural Autonomous Navigation with Riemannian Motion Policy. In ICRA, Cited by: §II.
  23. J. Michels, A. Saxena and A. Y. Ng (2005) \hrefhttp://ai.stanford.edu/ asaxena/rccar/ICML_ObstacleAvoidance.pdfHigh speed obstacle avoidance using monocular vision and reinforcement learning. In ICML, Cited by: §I, §II.
  24. A. Nagabandi, K. Konoglie, S. Levine and V. Kumar (2019) \hrefhttps://arxiv.org/pdf/1909.11652.pdfDeep Dynamics Models for Learning Dexterous Manipulation. In CoRL, Cited by: §III-E.
  25. L. Paull, J. Tani, H. Ahn, J. Alonso-Mora, L. Carlone, M. Cap, Y. F. Chen, C. Choi, J. Dusek and Y. Fang (2017) \hrefhttp://michalcap.net/wp-content/papercite-data/pdf/paull_2017.pdfDuckietown: an open, inexpensive and flexible platform for autonomy education and research. In ICRA, Cited by: §II.
  26. C. Richter and N. Roy (2017) \hrefhttp://www.roboticsconference.org/static/papers/63.pdfSafe Visual Navigation via Deep Learning and Novelty Detection. In RSS, Cited by: §II.
  27. M. Riedmiller, M. Montemerlo and H. Dahlkamp (2007) \hrefhttps://ieeexplore.ieee.org/document/4524181Learning to drive a real car in 20 minutes. In FBIT, Cited by: §II.
  28. C. Rosen and N. Nilsson (1968) \hrefhttp://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.184.8908&rep=rep1&type=pdfApplication of intelligent automata to reconnaissance. Technical report SRI. Cited by: §I, §II.
  29. S. Ross, N. Melik-Barkhudarov, K. S. Shankar, A. Wendel, D. Dey, J. A. Bagnell and M. Hebert (2013) \hrefhttps://arxiv.org/pdf/1211.1690.pdfLearning monocular reactive uav control in cluttered natural environments. In ICRA, Cited by: §II.
  30. R. Y. Rubinstein and D. P. Kroese (2013) \hrefhttps://www.springer.com/gp/book/9780387212401The cross-entropy method: a unified approach to combinatorial optimization, Monte-Carlo simulation and machine learning. Springer Science & Business Media. Cited by: §III-E.
  31. F. Sadeghi and S. Levine (2017) \hrefhttps://arxiv.org/abs/1611.04201(CAD)2 RL: Real Single-Image Flight without a Single Real Image. RSS. Cited by: §II.
  32. N. Savinov, A. Dosovitskiy and V. Koltun (2018) \hrefhttps://arxiv.org/pdf/1803.00653.pdfSemi-parametric topological memory for navigation. In ICLR, Cited by: §II.
  33. S. Scherer, S. Singh, L. Chamberlain and M. Elgersma (2008) \hrefhttps://journals.sagepub.com/doi/pdf/10.1177/0278364908090949Flying fast and low among obstacles: Methodology and experiments. The International Journal of Robotics Research. Cited by: §II.
  34. S. Shen, N. Michael and V. Kumar (2011) \hrefhttps://ieeexplore.ieee.org/abstract/document/5980357/Autonomous multi-floor indoor navigation with a computationally constrained MAV. In ICRA, Cited by: §II.
  35. (Website) External Links: Link Cited by: §II.
  36. C. Thorpe, M. H. Hebert, T. Kanade and S. A. Shafer (1988) \hrefhttp://www.ri.cmu.edu/pub_files/pub2/thorpe_charles_1988_1/thorpe_charles_1988_1.pdfVision and navigation for the Carnegie-Mellon Navlab. TPAMI. Cited by: §I, §II.
  37. S. Thrun, W. Burgard and D. Fox (2008) Probabilistic robotics. MIT Press. Cited by: §I, §II.
  38. S. Thrun, M. Montemerlo, H. Dahlkamp, D. Stavens, A. Aron, J. Diebel, P. Fong, J. Gale, M. Halpenny and G. Hoffmann (2006) Stanley: the robot that won the darpa grand challenge. Journal of field Robotics. Cited by: §II.
  39. C. Urmson and et. al. (2008) \hrefhttp://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.451.8563&rep=rep1&type=pdfAutonomous driving in urban environments: Boss and the urban challenge. Journal of Field Robotics. Cited by: §II.
  40. A. Valada, J. Vertens, A. Dhall and W. Burgard (2017) \hrefhttp://ais.informatik.uni-freiburg.de/publications/papers/valada17icra.pdfAdapnet: Adaptive semantic segmentation in adverse environmental conditions. In ICRA, Cited by: §I, §II.
  41. Y. Wang, W. Chao, D. Garg, B. Hariharan, M. Campbell and K. Q. Weinberger (2019) \hrefhttps://arxiv.org/pdf/1812.07179.pdfPseudo-lidar from visual depth estimation: Bridging the gap in 3d object detection for autonomous driving. In CVPR, Cited by: §II.
  42. (Website) External Links: Link Cited by: §II.
  43. L. Wellhausen, A. Dosovitskiy, R. Ranftl, K. Walas, C. Cadena and M. Hutter (2019) \hrefhttps://www.research-collection.ethz.ch/bitstream/handle/20.500.11850/323783/Self_Supervised_Learning_V2%286%29.pdf?sequence=1&isAllowed=yWhere should I walk? Predicting terrain properties from images via self-supervised learning. RA-L. Cited by: §II.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
""
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
   
Add comment
Cancel
Loading ...
407980
This is a comment super asjknd jkasnjk adsnkj
Upvote
Downvote
""
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters
Submit
Cancel

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test
Test description