Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning

Tianyu Wang, Vikas Dhiman, Nikolay Atanasov · DOI

TL;DR

This paper introduces a novel inverse reinforcement learning (IRL) approach for autonomous navigation that learns a cost function from demonstrations using semantic observations. By combining a differentiable semantic map encoder with a deep cost encoder and a motion planning algorithm, it can generalize learned behaviors to new environments and achieve robust navigation, even in complex scenarios like following traffic rules.

What Problem Does This Paper Address?

Autonomous systems, like self-driving cars or robots, need to understand their environment to navigate safely and efficiently. This often involves interpreting semantic information (e.g., "this is a road," "this is a sidewalk"). Manually designing cost functions that capture these complex rules is incredibly difficult. Inverse Reinforcement Learning (IRL) offers a way to learn these cost functions from expert demonstrations. However, existing IRL methods often struggle with:

  • Partial Observability: Real-world sensors provide incomplete information about the environment.
  • Semantic Understanding: Effectively integrating rich semantic information (like object categories) into the learning process.
  • Generalization: Learning cost functions that work in new, unseen environments with different spatial arrangements of semantic elements.
  • Computational Efficiency: Many IRL methods require extensive computation, making real-time application challenging.

This paper aims to address these challenges by developing an IRL framework that learns a cost function from demonstrations using semantic observations, enabling more robust and generalizable autonomous navigation.

Methods

The core of the proposed method lies in a differentiable architecture that combines semantic mapping and cost learning:

  • Semantic Map Encoder: This component takes a sequence of observations (distance and semantic labels from sensors like LiDAR and cameras) and infers probabilistic semantic category information for different parts of the environment. It uses a Bayesian update mechanism to refine its understanding over time.
  • Cost Encoder: A deep neural network (specifically, a fully convolutional network) takes the semantic map features as input and outputs a cost estimate for different states and actions. This encoder is designed to be differentiable.
  • Differentiable Planning: Instead of traditional dynamic programming, the paper uses a motion planning algorithm (like A*) to compute the optimal cost-to-go. Crucially, this planning step is made differentiable with respect to the cost function parameters. This allows for end-to-end optimization.
  • Novel Expert Model: The authors propose a new model for expert behavior that allows for bounded rational deviations from optimality. This is modeled using a Boltzmann policy over the optimal value function, which is more amenable to gradient-based optimization than traditional maximum entropy (MaxEnt) models.
  • Sparse Tensor Implementation: To handle the computational demands of large environments and sparse observations, the paper introduces a sparse tensor implementation for the map and cost variables, significantly improving efficiency.

Datasets

  • Minigrid Environment: A custom 2D grid-world environment was used for initial analysis and visualization. This environment featured different semantic categories (e.g., wall, lawn, lava).
  • CARLA Simulator: A realistic urban driving simulator used for more complex experiments. The authors collected demonstration data from CARLA's built-in autonomous navigation agent and tested their approach on unseen maps within the simulator.

Key Insights and Ideas

  • Semantic Information is Key for Navigation: The paper strongly suggests that explicitly modeling and learning from semantic information is crucial for robust autonomous navigation, especially in complex environments with rules.
  • Differentiable Planning is a Game-Changer for IRL: Making the motion planning step differentiable allows for end-to-end learning of the cost function, directly optimizing for expert-like behavior. This is a significant departure from methods that rely on separate planning and learning stages.
  • Boltzmann Policy for Expert Modeling: Using a Boltzmann policy over the value function provides a more tractable way to model expert behavior for IRL, enabling efficient gradient computation.
  • Generalization through Probabilistic Mapping: The probabilistic semantic map encoder allows the system to generalize learned costs to new environments by inferring semantic probabilities rather than relying on fixed, hard-coded maps.
  • Efficiency through Sparsity: The sparse tensor implementation is critical for scaling the approach to larger, more realistic environments, making it computationally feasible.

Key Results

  • Superior Performance in Minigrid: The proposed model outperformed a strong baseline (DeepMaxEnt) in a 2D minigrid environment across metrics like negative log-likelihood (NLL), control accuracy (Acc), trajectory success rate (TSR), and modified Hausdorff distance (MHD).
  • Successful CARLA Navigation: In the CARLA simulator, the model achieved a higher success rate in reaching goals and produced trajectories closer to expert demonstrations compared to baselines, even when those baselines were augmented with semantic information.
  • Efficient Inference: The proposed method demonstrated significantly faster inference speeds compared to DeepMaxEnt, making it more suitable for real-time applications.
  • Learned Traffic Rule Following: The CARLA experiments showed the model learned to follow traffic rules, such as staying on roads and avoiding sidewalks, by inferring costs from demonstrations.

Limitations and Future Work

  • Limitations:
    • The current work focuses on environments with static obstacles and no dynamic agents (other vehicles, pedestrians).
  • The performance of DeepMaxEnt with added semantic information degraded, suggesting potential challenges in integrating semantic data with existing architectures.
  • Future Work:
    • Extending the approach to handle dynamic environments with other moving objects and changing traffic lights.
  • Further exploring the integration of semantic information with existing IRL architectures.
  • Investigating the use of more complex sensor modalities and environments.

Summary updated

BibTeX
@inproceedings{wang2021inverse,
  author = {Tianyu Wang and Vikas Dhiman and Nikolay Atanasov},
  title = {{Inverse reinforcement learning for autonomous navigation via differentiable semantic mapping and planning}},
  booktitle = {Auton. Robots},
  year = {2021},
  doi = {10.1007/s10514-023-10118-4},
}
Figure