open access publication

Article, 2023

Unboxing the graph: Towards interpretable graph neural networks for transport prediction through neural relational inference

Transportation Research Part C Emerging Technologies, ISSN 0968-090X, 1879-2359, Volume 146, Page 103946, 10.1016/j.trc.2022.103946

Contributors

Tygesen, Mathias Niemann 0000-0002-8032-4122 (Corresponding author) [1] Pereira, Francisco Camara 0000-0001-5457-9909 [1] Rodrigues, Filipe Manuel Pereira Duarte 0000-0001-6979-6498 [1]

Affiliations

  1. [1] Technical University of Denmark
  2. [NORA names: DTU Technical University of Denmark; University; Denmark; Europe, EU; Nordic; OECD]

Abstract

Predicting the supply and demand of transport systems is vital for efficient traffic management, control, optimization, and planning. For example, predicting where from/to and when people intend to travel by taxi can support fleet managers in distributing resources; better predictions of traffic speeds/congestion allows for pro-active control measures or for users to better choose their paths. Making spatio-temporal predictions is known to be a hard task, but recently Graph Neural Networks (GNNs) have been widely applied on non-Euclidean spatial data. However, most GNN models require a predefined graph, and so far, researchers rely on heuristics to generate this graph for the model to use. In this paper, we use Neural Relational Inference to learn the optimal graph for the model. Our approach has several advantages: 1) a Variational Auto Encoder structure allows for the graph to be dynamically determined by the data, potentially changing through time; 2) the encoder structure allows the use of external data in the generation of the graph; 3) it is possible to place Bayesian priors on the generated graphs to encode domain knowledge. We conduct experiments on two datasets, namely the NYC Yellow Taxi and the PEMS-BAY road traffic datasets. In both datasets, we outperform benchmarks and show performance comparable to state-of-the-art. Furthermore, we do an in-depth analysis of the learned graphs, providing insights on what kinds of connections GNNs use for spatio-temporal predictions in the transport domain and how these connections can help interpretability.

Keywords

Bayesian priors, NYC, Neural, Neural Relational Inference, PEMS-BAY, analysis, auto-encoder structure, benchmarks, connection, control, control measures, data, dataset, demand, distributed resources, domain, domain knowledge, efficient traffic management, encode domain knowledge, encoding, encoding structure, experiments, external data, fleet, fleet management, generation, graph, graph neural network model, graph neural networks, hard task, heuristics, inference, interpretation, knowledge, learned graph, management, measurements, model, network, neural network, optimal graph, optimization, path, people, performance, planning, prediction, priors, relational inference, research, resources, road traffic datasets, spatial data, spatio-temporal prediction, structure, supply, system, task, taxes, traffic datasets, traffic management, transport, transport domain, transport predictions, transport system, use, users, variation, yellow taxis

Funders

  • European Commission

Data Provider: Digital Science