Hostname: page-component-89b8bd64d-b5k59 Total loading time: 0 Render date: 2026-05-09T05:09:40.753Z Has data issue: false hasContentIssue false

Markov chain Monte Carlo for a hyperbolic Bayesian inverse problem in traffic flow modeling

Published online by Cambridge University Press:  22 February 2022

Jeremie Coullon*
Affiliation:
Mathematics and Statistics, Lancaster University, Bailrigg, Lancaster LA1 4YW, United Kingdom
Yvo Pokern
Affiliation:
Statistical Science, University College London, Gower Street, London WC1E 6BT, United Kingdom
*
*Corresponding author. E-mail: jeremie.coullon@gmail.com

Abstract

As a Bayesian approach to fitting motorway traffic flow models remains rare in the literature, we empirically explore the sampling challenges this approach offers which have to do with the strong correlations and multimodality of the posterior distribution. In particular, we provide a unified statistical model to estimate using motorway data both boundary conditions and fundamental diagram parameters in a motorway traffic flow model due to Lighthill, Whitham, and Richards known as LWR. This allows us to provide a traffic flow density estimation method that is shown to be superior to two methods found in the traffic flow literature. To sample from this challenging posterior distribution, we use a state-of-the-art gradient-free function space sampler augmented with parallel tempering.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Density estimated from occupancy for the section of M25 on January 8, 2007 between 6:21 am and 7:09 am. We observe forward moving free flow waves between minutes 381 and 405, which correspond to the movement of vehicles. We also observe backward moving high-density waves in the second half of the $ x-t $ plane.

Figure 1

Figure 2. Figures showing the empirical relationship between vehicle flow $ q $, density $ \rho $, and velocity $ v $. The data is taken from detectors on the M25 measuring various quantities averaged every minute.

Figure 2

Figure 3. (a) Daganzo’s triangular fundamental diagram (FD) plotted for dimensionless flow and density with $ \left({q}_c,{\rho}_c,{\rho}_j\right)=\left(\mathrm{1,0.15,1}\right) $. (b) Del Castillo’s FD plotted for dimensionless flow and density with $ \left(Z,{\rho}_j,u\right)=\left(\mathrm{1,1,3.1}\right) $ and for $ \gamma \in \left[\mathrm{0.5,1,5,20,100}\right] $.

Figure 3

Figure 4. The Riemann Problem with $ {\rho}_{i-1}>{\rho}_i $ causes a rarefaction wave. The initial condition (namely at $ t=0 $) consists of a constant value of high density for $ x\in \left[\mathrm{0,2.5}\right] $ and a constant value of low density for $ x\in \left[\mathrm{2.5,5}\right] $. As the simulation moves forward in time we observe a rarefaction wave, or a fanning out of density values between the low and high values of the initial condition.

Figure 4

Figure 5. We plot the analytic solution to the Riemann Problem along with its numerical solution using Clawpack. As time progresses we observe that the discontinuity is smoothed slightly. However, we notice that the position of the shock wave remains accurate.

Figure 5

Figure 6. Section of M25 on January 8, 2007 between 6 am and 10 am. We plot flow versus density for two estimation methods: density from occupancy (Equation (12)) and density from speed (Equation (11)) summed over all lanes. These methods give very different estimates. In particular, we note that the congested flow wave speeds vary greatly between methods, while the free flow wave speed is approximately the same.

Figure 6

Figure 7. Posterior samples from a direct fit of del Castillo’s fundamental diagram to M25 data. Trace plots of sampled parameters against flow-density data. The three colors correspond to the three Markov chain Monte Carlo chains.

Figure 7

Figure 8. Posterior samples from a direct fit of del Castillo’s fundamental diagram (FD) to M25 data. (a) Plotted FDs using the samples. (b) Density in the $ x-t $ plane from Lighthill–Whitham–Richards. Parameters used are the posterior mean from samples. We notice that the congested flow waves do not cross the domain as they do in the data.

Figure 8

Figure 9. (a) Inlet boundary conditions from data (using density from occupancy) along with prior samples at 1 min resolution. (b) Samples from the prior for the inlet at full resolution: one point every 1.5 s.

Figure 9

Figure 10. Trace plots for the fundamental diagram parameters for a parallel tempering functional ensemble sampler sampler, which show good mixing.

Figure 10

Figure 11. Fundamental diagram (FD) samples plotted with M25 flow data and three density estimation methods: from occupancy, from speed, and from boundary conditions (BCs). The samples are from FD and BC sampling for del Castillo’s FD for M25 data. The density estimated in the BCs seems to agree with density from speed, but the congested flow wave speed in the fitted model seems to be different from the wave speeds implied by the other two density estimation methods.

Figure 11

Figure 12. Using the posterior mean parameters from fundamental diagram and boundary condition sampling with a parallel tempering functional ensemble sampler sampler, we plot the output of Lighthill–Whitham–Richards in the $ x-t $ plan (a) and the residuals (b).

Figure 12

Figure 13. Outlet and inlet boundary condition samples.

Figure 13

Figure 14. Trace plots for three time points in the outlet boundary condition which show some of the multimodality.

Figure 14

Figure 15. Del Castillo fundamental diagram. The two vertical lines correspond to two values of density ($ {\rho}_1=90 $ and $ {\rho}_2=195 $) that map to the same value of flow. As the likelihood is built from flow, these two values of density are equally likely and therefore the posterior exhibits multimodality.

Submit a response

Comments

No Comments have been published for this article.