Skip to main content
QUICK REVIEW

[Paper Review] A deep inverse reinforcement learning approach to route choice modeling with context-dependent rewards

Zhan Zhao, Yuebing Liang|arXiv (Cornell University)|Jun 18, 2022
Transportation Planning and OptimizationSocial Sciences8 citations
TL;DR

This paper proposes a deep inverse reinforcement learning (IRL) framework, RCM-AIRL, for link-based route choice modeling that captures context-dependent, nonlinear reward functions using adversarial IIRL, achieving superior prediction accuracy and generalization—especially for unseen destinations—on Shanghai taxi GPS data, outperforming conventional DCMs and imitation learning baselines.

ABSTRACT

Route choice modeling is a fundamental task in transportation planning and demand forecasting. Classical methods generally adopt the discrete choice model (DCM) framework with linear utility functions and high-level route characteristics. While several recent studies have started to explore the applicability of deep learning for route choice modeling, they are limited to path-based models with relatively simple model architectures and relying on predefined choice sets. Existing link-based models can capture the dynamic nature of link choices within the trip without the need for choice set generation, but still assume linear relationships and link-additive features. To address these issues, this study proposes a general deep inverse reinforcement learning (IRL) framework for link-based route choice modeling, which is capable of incorporating diverse features (of the state, action and trip context) and capturing complex relationships. Specifically, we adapt an adversarial IRL model to the route choice problem for efficient estimation of context-dependent reward functions without value iteration. Experiment results based on taxi GPS data from Shanghai, China validate the superior prediction performance of the proposed model over conventional DCMs and other imitation learning baselines, even for destinations unseen in the training data. Further analysis show that the model exhibits competitive computational efficiency and reasonable interpretability. The proposed methodology provides a new direction for future development of route choice models. It is general and can be adaptable to other route choice problems across different modes and networks.

Motivation & Objective

  • To address the limitations of classical discrete choice models (DCMs) in capturing complex, nonlinear, and context-dependent routing preferences in urban networks.
  • To develop a flexible, link-based route choice model that avoids the need for predefined choice sets and can incorporate diverse, high-dimensional features (state, action, context).
  • To enable efficient, model-free estimation of context-dependent reward functions without value iteration, improving computational efficiency and interpretability.
  • To validate the model’s performance on real-world trajectory data and demonstrate its capability for counterfactual analysis under network changes.
  • To provide a generalizable framework adaptable to different transportation modes and network types beyond the current application to taxi trajectories.

Proposed method

  • Formulates the route choice problem as a Markov Decision Process (MDP) with state, action, and context-dependent reward functions.
  • Adapts adversarial inverse reinforcement learning (AIRL) to estimate the reward function from observed human trajectories in a model-free manner, avoiding value iteration.
  • Uses deep neural networks (DNNs) to parameterize both the reward and policy functions, enabling nonlinear and high-dimensional feature integration.
  • Incorporates context features such as destination distance, trip purpose, and time of day to model dynamic, situation-specific routing preferences.
  • Implements a valid action space constraint that restricts choices to only existing outgoing links at each node, ensuring only feasible routes are predicted.
  • Trains the model end-to-end using demonstrated trajectories, with the discriminator distinguishing expert trajectories from generated ones in the AIRL framework.

Experimental results

Research questions

  • RQ1Can a deep inverse reinforcement learning framework effectively model complex, context-dependent route choice behavior without relying on linear utility functions?
  • RQ2How does the proposed RCM-AIRL model perform in predicting route choices compared to conventional DCMs and other imitation learning baselines, especially for unseen destinations?
  • RQ3To what extent do destination-related context features influence the model’s ability to learn goal-directed behavior and avoid route loops?
  • RQ4Can the model generalize to counterfactual scenarios such as link closures without retraining, using only updated network features?
  • RQ5How interpretable and computationally efficient is the proposed model compared to existing deep learning and traditional DCM-based approaches?

Key findings

  • RCM-AIRL achieves significantly better prediction performance than conventional DCMs and other imitation learning baselines, with a 0.228 ED (Euclidean Distance), 0.717 BLEU score, 0.351 JSD, and -4.301 LP (log-likelihood) on test data.
  • The model generalizes well to unseen destinations, maintaining strong performance even when testing on OD pairs not present in the training data.
  • Excluding destination-related context features leads to a dramatic performance drop (ED: 0.829, BLEU: 0.262, JSD: 0.593, LP: -9.018), with trajectories frequently getting stuck in loops.
  • The model exhibits competitive computational efficiency and reasonable interpretability, with SHAP analysis showing that destination distance is the most influential feature.
  • Counterfactual analysis shows that RCM-AIRL can predict behavior changes under network modifications (e.g., link closures) by simply recomputing features on the updated network, without retraining.
  • The model’s ability to learn goal-oriented exploration is critically dependent on destination context features, which guide the reward function toward efficient convergence to the target.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.