Learning Navigation Costs from Demonstration with Semantic Observations

Tianyu Wang, Vikas Dhiman, Nikolay Atanasov

Abstract

This paper introduces an Inverse Reinforcement Learning (IRL) framework designed to teach autonomous vehicles navigation costs by observing expert demonstrations alongside streaming semantic sensor data. By integrating a probabilistic semantic map encoder with a differentiable A* planner, the system learns a cost function that captures complex driving rules—such as staying on roads and avoiding sidewalks—directly from partial, first-person observations. Experimental results in the CARLA simulator demonstrate that this approach significantly outperforms standard IRL baselines in both control accuracy and trajectory matching.

Introduction

Operating autonomous systems in unstructured environments requires a deep understanding of context. Beyond mere obstacle avoidance, vehicles must adhere to lane structures, respect sidewalks, and obey traffic rules. Hand-crafting cost functions for these semantic rules is difficult and brittle. While Inverse Reinforcement Learning (IRL) allows learning these functions from expert demonstrations, most methods assume full observability of the environment. This paper addresses the challenge of learning navigation costs end-to-end from partial, streaming semantic observations, such as those from LiDAR and cameras.

Methods

The proposed architecture bridges raw sensor streams and motion planning through three primary components:

  1. Semantic Map Encoder: Instead of binary occupancy grids, the system uses a recurrent Bayesian update to maintain a multi-class semantic probability map (e.g., road, sidewalk, vegetation).
  2. Cost Encoder: A CNN with an encoder-decoder architecture processes the probabilistic map to output cost values for state-control pairs.
  3. Differentiable Planning: To enable end-to-end training, the authors utilize a differentiable A* planner. By computing a closed-form subgradient of the optimal cost-to-go, the system can backpropagate errors from the expert's actions through the entire pipeline.
Figure 1: Overview of the training phase and motion planning framework.

Experimental Setup

The model was trained and evaluated using the CARLA Simulator. The training set included 100 expert trajectories across four maps, while testing was conducted on the larger, unseen Town05 map. Inputs consisted of simulated 360-degree LiDAR and four semantic segmentation cameras providing 13 object classes.

Results and Discussion

The proposed model outperformed baselines across all key metrics:

  • Control Accuracy: 90.5% (vs. 86.1% baseline).
  • Trajectory Matching (MHD): 3.036 (vs. 4.521 baseline).
  • Negative Log-Likelihood (NLL): 0.446, indicating the best fit for expert demonstrations.
  • Success Rate: 91% in unseen environments.
Figure 4: Visualization of the learned cost function at step 80, showing how the model assigns costs based on semantic features.

Key insights from the evaluation include:

  • Probabilistic Mapping: Maintaining semantic uncertainty through Bayesian updates leads to richer cost maps than deterministic labeling.
  • Implicit Rule Learning: The model naturally learns to assign low costs to roads and higher costs to sidewalks or reverse directions without explicit programming.
  • Efficient Optimization: Restricting subgradient computation to states explored by A* makes high-dimensional IRL computationally feasible.

Conclusion

This work demonstrates that navigation costs can be effectively learned from partial semantic observations. While currently limited by grid-based discretization, the framework provides a robust foundation for online learning and adaptation in complex real-world environments. Future work will focus on extending this approach to continuous, high-speed control scenarios.

Summary updated

BibTeX
@inproceedings{wang2020learning,
  author = {Tianyu Wang and Vikas Dhiman and Nikolay Atanasov},
  title = {{Learning Navigation Costs from Demonstration with Semantic Observations}},
  booktitle = {Learning},
  year = {2020},
}
Figure