Skip to main content
Erschienen in: International Journal of Intelligent Transportation Systems Research 1/2024

Open Access 26.01.2024

Trajectory Data-Driven Network Representation for Traffic State Prediction using Deep Learning

verfasst von: Shohei Yasuda, Hiroki Katayama, Wataru Nakanishi, Takamasa Iryo

Erschienen in: International Journal of Intelligent Transportation Systems Research | Ausgabe 1/2024

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In this study, we propose a trajectory data-driven network representation method, specifically leveraging directional statistics. This approach allows us to extract major intersections and define links from observed trajectories, thereby mitigating the reliance on existing network data and map matching. We apply Graph Convolutional Networks and Long-Short Term Memory models to the trajectory data-driven network representation, suggesting the potential for fast and accurate traffic state prediction. The results imply significant reduction in computational complexity while demonstrating promising prediction accuracy. Our proposed method offers a valuable approach for analyzing and modeling transportation networks using real-world trajectory data, providing insights into traffic patterns and facilitating the exploration of more efficient traffic management strategies.
Hinweise

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Abkürzungen
EM
Expectation-Maximization
GCN
Graph Convolutional Network
LSTM
Long-Short Term Memory
T-GCN
Temporal Graph Convolutional Network
GRU
Gated Recurrent Unit
ETC
Electronic Toll Collection System
OSM
OpenStreetMap
MAE
Mean Absolute Error
RMSE
Root Mean Squared Error
MAPE
Mean Absolute Percentage Error

1 Introduction

In transportation network analysis, the representation of the network is a crucial and challenging problem. Depending on the purpose of the analysis, such as national-level network design or identification of bottlenecks in local narrow roads, the required spatial resolution varies significantly. Therefore, careful consideration is needed regarding the resolution at which calculations should be performed for each analysis purpose. The computational cost associated with network-based calculations fluctuates rapidly with the number of links, making it necessary to consider the feasibility of computation when setting the resolution. However, there are no clear rules or algorithms for appropriately representing networks for various purposes. Most studies either use conceptual networks designed subjectively by analysts or meticulously adjust network data obtained from detailed networks made for navigation systems. Decades ago, the lack of discussion on how to place centroids and represent road network elements in traffic assignment problems was noted, despite the significant influence of these aspects on analytical outcomes [1]. Thereafter, techniques to simplify the network structure were proposed in the context of reducing the computational burden of the traffic assignment problem [24]. Even today, however, there are still few studies focusing on network representation, making it an issue that requires active engagement.
In recent years, with the rapid advancement of observational data, the trend in network data used for analysis is changing. In particular, with the proliferation of vehicle trajectory data, the demand for network data containing coordinate information is increasing. Trajectory data, also known as network-free data, is originally a time series of latitude and longitude, requiring additional processing to associate it with a network through techniques like map-matching. To associate vehicle observational data with a network, it is necessary for the network data to have positional coordinate information. However, network data based on position coordinates, such as OpenStreetMap (OSM), which accurately represents detailed connection structures including narrow roads, often results in a massive number of nodes. For example, intersections or interchanges that provide route selection functionality are often represented by numerous nodes, which is redundant when considering wide-area network assignment problems. In such situations, the adjustment work for network data becomes increasingly burdensome in order to fully utilize valuable observational data that has become available in recent years.
Network representation methods that consider the characteristics of trajectory data have the potential to solve these problems. For example, network aggregation techniques based on trajectory data [57] objectively reconstruct networks based on actual observations, demonstrating their effectiveness, particularly for accelerating computational processes for large-scale networks. However, network aggregation currently relies heavily on the connection structure of the input network data and the accuracy of pre-executed map-matching processes, posing significant challenges. Map-matching is especially computationally intensive, and frequent mismatches still occur in networks with parallel roads. To address these issues, the development of new methodologies that reduce dependence on given network data and map-matching processes is required.
To decrease reliance on given network data, it is necessary to develop new methodologies for generating network data based on observations. One such method currently being developed is to estimate major intersections solely from trajectory data [8]. This method can be considered purely observation-based as it does not use any given network data. However, this approach assumes situations where there is absolutely no information about spaces where roads and intersections exist, such as in developing countries where there is no existing map data. From a practical standpoint, it is rational to adopt a strategy that does not rely on the connection structure of the given network data but leverages preliminary information such as the location and shape of intersections.
In this study, we develop a methodology to generate network data from trajectory data without using connection information from given network data, assuming situations where all intersection positions and degrees can be obtained in advance from maps or other sources. Specifically, we utilize the direction information and arrival information between points in trajectory data and develop major intersection extraction technology and network generation technology based on directional statistics. By generating networks from actually observed trajectory data, metrics for each generated link, such as average speed, can be calculated without the need for additional map-matching processes. By representing links based on actual arrival information, errors in link connection information and directions, which are common in conventional network data, can be avoided. The proposed method allows for adjusting the network resolution by adjusting threshold values, making it easy to create a network with a resolution suitable for the purpose and accuracy. To validate the utility of the proposed method, we perform network data generation using actual observational data and evaluate the accuracy of traffic state prediction based on deep learning.

2 Methodology

2.1 Trajectory Data-Driven Network Representation

We assume that information K regarding the coordinates and degrees of all intersections within a target area is available as prior knowledge. K is defined as follows:
$$\begin{aligned} K = \left\{ ({x^K_i}, {y^K_i}, {d^K_i}) \mid i = 1, 2, \ldots , n \right\} , \end{aligned}$$
(1)
where \({x^K_i}\) and \({y^K_i}\) are the coordinates of intersection i, \({d^K_i}\) is the degree of intersection i, and n is the number of intersections within the target area. The proposed method generates network data only from K and trajectory data:
$$\begin{aligned} T \!=\! \left\{ ({x^T_{j,h}}, {y^T_{j,h}}, {c^T_{j,h}}) \mid j \!=\! 1, 2, \ldots , m_h; h \!=\! 1, 2, \ldots , u \right\} , \end{aligned}$$
(2)
where \({x^T_{j, h}}\) and \({y^T_{j, h}}\) are the coordinates of a dot observed at the j-th point of the trajectory for vehicle h, \({c^T_{j, h}}\) is the timestamp observed at the j-th point of the trajectory for vehicle h, \(m_h\) is the number of dots for vehicle h, and u is the number of vehicles whose trajectories could be observed in the target area.
In this study, intersections with a certain number of vehicles traversing in three or more directions are considered to play an important role as points for route choice, and the set of such intersections is defined as major intersections \(K^M\). We describe how to extract major intersections \(k^M \in K^M\) from the set of all intersections K using directional statistics. As a preprocessing step, for each dot \(t_{j, h} \in T\), an azimuth angle \(a_{j, h}\) to the next dot \(t_{j+1, h}\) is calculated. This process is not performed for the last observed dot of each vehicle. We extract the set \(T_i\) of dots within a distance s for each intersection \(k_i \in K\). \(T_i\) is described as follows:
$$\begin{aligned} T_i = \left\{ t_i \mid \text {distance}(k_i, t_i) \le s\right\} , \end{aligned}$$
(3)
where \(\text {distance}(k_i, t_i)\) represents the distance between point \(k_i\) and point \(t_i\). For each \(k_i\), let \(A_i\) be the set of azimuth angles calculated for all \(t_i\).
\(a_i \in A_i\) can be regarded as sampled from the distribution of azimuth angles in the direction of vehicles traversed within a distance s from intersection \(k_i\). Assuming that the azimuth angles of vehicles traversing from each intersection to the links extending in each direction follow a normal distribution, \(a_i\) follows a mixed normal distribution with the degree \(d^K_i\) of the corresponding intersection as the mixture number. The mathematical expression is as follows:
$$\begin{aligned} a_i \sim \sum \limits _{g=1}^{d^K_i}{\pi _{i,g} N\left( \mu _{i,g}, \sigma ^{2}\right) }, \sum _{g=1}^{d^K_i}\pi _{i, g} = 1, \end{aligned}$$
(4)
where \(\mu _{i, g}\) is the mean of each normal distribution included in the mixed normal distribution, and \(\pi _{i, g}\) is the weight of each normal distribution. For simplicity, in this study, the variance of each normal distribution is assumed to be a fixed value \(\sigma ^{2}\). If we can estimate \(\pi _{i, g}\), the number of vehicles traveling in each direction can be calculated by multiplying it by the total number of vehicles \(\left| T_i \right| \) that passed near each intersection \(k_i\). In this study, these parameters Expectation-Maximization (EM) algorithm. Using the threshold \(\tau _1\) for major node extraction, an intersection \(k_i\) is considered a major intersection \(k^M\) if there are at least three \(\pi _{i, g}\) values that satisfy:
$$\begin{aligned} \left| t_i\right| \pi _{i, g} \ge \tau _1. \end{aligned}$$
(5)
We will explain the process of defining links between major intersections. A threshold \(\tau _2\) is defined for link definition. We trace the trajectories of vehicles that traversed within the target area in a specific order. When a vehicle passes through a range within a distance s from a major intersection and subsequently passes through a range within a distance s from a different major intersection, we store information about these pairs of major intersections, the order of passage, and the timestamp.
This process is repeated for all vehicle trajectories, and for major intersection pairs where the number of vehicle passages exceeds \(\tau _2\), links are defined based on the direction of passage. For all vehicles used in defining the links, we calculate the average speed of the respective link by dividing the total distance between the dots for the given major intersection pair by the total travel time as defined by Edie [9].

2.2 Evaluation for Traffic State Prediction with Deep Learning Approach

In this study, we utilize the proposed network representation to perform traffic state prediction using a deep learning approach and assess its accuracy. Graph Convolutional Network (GCN), which is well-suited for learning from data with graph structures, and Long-Short Term Memory (LSTM), which is effective for capturing time-evolving patterns. We evaluate the accuracy of traffic state prediction using this methodology.
GCN is a method that handles the spatial correlation of inputs by convolving only the features of neighboring nodes for each node. By repeating this convolution operation, the features of nodes as far apart as the number of iterations are convolved. This convolution operation is defined as an approximation of the graph Fourier transform using the graph Laplacian. The output \(\textbf{H}^{(l)}\) of the \(l+1\)th layer is represented as follows:
$$\begin{aligned} \textbf{H}^{(l+1)}=\sigma \left( \tilde{\textbf{D}}^{-\frac{1}{2}} \tilde{\textbf{A}} \tilde{\textbf{D}}^{-\frac{1}{2}} \textbf{H}^{(l)} \textbf{W}^{(l)}\right) , \end{aligned}$$
(6)
where \(\textbf{H}^{(l)}\) is the output of the lth layer, \(\tilde{\textbf{A}}=\textbf{A}+\textbf{I}\) is a self-connected adjacency matrix, \(\tilde{\textbf{D}}=\textbf{D}+\textbf{I}\) is a self-connected degree matrix, \(\textbf{A}\) is the adjacency matrix, \(\textbf{D}\) is the degree matrix, \(\textbf{W}^{(l)}\) is the weight matrix of the lth layer, and \(\sigma \) is the activation function.
LSTM is a type of recurrent neural network that can capture long-term dependencies and is well-suited for sequential data. It consists of input, forget, and output gates, as well as a memory cell. The equations for LSTM are as follows:
$$\begin{aligned} \varvec{f}^{t} =\sigma \left( \textbf{W}_\mathrm{{f}}[\varvec{x}^t,\varvec{h}^{t-1}]+\varvec{b}_f\right) \end{aligned}$$
(7)
$$\begin{aligned} \varvec{i}^{t} =\sigma \left( \textbf{W}_\mathrm{{i}}[\varvec{x}^{t},\varvec{h}^{t-1}]+\varvec{b}_{i}\right) \end{aligned}$$
(8)
$$\begin{aligned} \varvec{g}^{t} = \tanh \left( \textbf{W}_\mathrm{{g}} [\varvec{x}^{t},\varvec{h}^{t-1}] + \varvec{b}_{g}\right) \end{aligned}$$
(9)
$$\begin{aligned} \varvec{c}^{t} =\varvec{f}^{t} \odot \varvec{c}^{t-1}+i^{t} \odot \varvec{g}^{t}\end{aligned}$$
(10)
$$\begin{aligned} \varvec{o}^{t} =\sigma \left( \textbf{W}_\mathrm{{o}} [\varvec{x}^{t},\varvec{h}^{t-1}] + \varvec{b}_o\right) \end{aligned}$$
(11)
$$\begin{aligned} \varvec{h}^{t} =\varvec{o}^{t} \odot \tanh \left( \varvec{c}^{t}\right) , \end{aligned}$$
(12)
where the input at the \(t-1\)th step is \(\varvec{h}^{t-1}\), the weight matrix is \(\textbf{W}_*\), the bias is \(\varvec{b}_*\), and the adamantine product is \(\odot \), \(\varvec{f}^{t}, \varvec{i}^{t}, \varvec{g}^{t}, \varvec{c}^{t}, \varvec{o}^{t}\) are output of the gates and the concatenation of matrices is \([\cdot ,\cdot ]\).
In this study, the output goes through the GCN layer twice at each time step, followed by two LSTM layers, and finally a fully connected layer to obtain the prediction result (Fig. 1). This model is based on the Temporal Graph Convolutional Network (T-GCN) [10], which replaces the Gated Recurrent Unit (GRU) in T-GCN with LSTM. A dropout layer is added before the fully connected layer to mitigate overfitting.

3 Empirical Validation

3.1 Target and Dataset

We conducted empirical validation using actual observation data in Kobe area of Japan (mesh code 523502). The traffic observation data used in this study consisted of Electronic Toll Collection System (ETC) 2.0 data, which is vehicle trajectory data collected by the Ministry of Land, Infrastructure, Transport and Tourism of Japan, and detector data from the Hanshin Expressway Company. In addition, we compared the characteristics of the network data constructed in this validation with those of commonly used network data by using OSM data.
The ETC 2.0 data consisted of dot data observed from 00:00, November 1, 2020, to 23:59, November 30, 2020. The detector data focused on one upstream and one downstream detector between interchanges on the Hanshin Expressway. In cases where multiple lanes had detectors, the leftmost lane was selected for analysis. The OSM data within the target area was obtained using the Overpass API. We extracted the road segments that were accessible to automobiles and used them as our target network. The traffic state data were aggregated at 15-minute intervals. For the aggregation, the speed was calculated using the harmonic mean with traffic volume as weights, while traffic volume and occupancy were averaged. After the aggregation, we performed linear interpolation in the temporal direction for each detector and road link. For missing values at the edges, we replaced them with the nearest non-missing value at the edge. In this validation, the prediction target is the occupancy of each detector.

3.2 Parameters

We will explain the parameters used for validation. The parameter \(\tau _1\) for extracting major nodes was set at 50, 100, 200, and 500 (veh/day) in a stepwise manner, and the network generation results and traffic state prediction results were compared for each value. The parameter \(\tau _2\) for link definition was fixed at 50 (veh/day). The distance s used for determining the passage of trajectories near intersections was set to 30 (m). The variance \(\sigma ^2\) of each normal distribution within the mixture normal distribution was fixed at 15. The parameters \(P=4\) and \(\mathcal {T}=10\) mean that the forecast was made on a 4-step time scale based on the last 10 steps of observed data. The training period was from 00:00 on November 1, 2020, to 23:59 on November 23, 2020, and the validation period was from 00:00 on November 24, 2020, to 23:59 on November 30, 2020.
Table 1
Number of Nodes and Links for Each Result
\(\tau _1\)
nodes
edges
50
1975
6949
100
1693
6874
200
999
3033
500
692
4566
Table 2
Accuracy of occupancy prediction
\(\tau _1\)
50
100
200
500
MAE
2.003
2.167
2.231
2.016
RMSE
3.503
3.662
3.712
3.420
MAPE
20.598
22.184
21.690
22.101

3.3 Result of Network representation

We show the results of the trajectory data-driven network data generated for each value of \(\tau _1\) compared with the original OSM data. Figures 2, 3, 4, 5, and 6 show the visualization of OSM network data and the trajectory data-driven network data. Table 1 shows the number of nodes and links for each dataset.
The results demonstrate the ability to adjust the resolution of the network appropriately by tuning the threshold value, \(\tau _1\). In comparison to the original OSM data, significant reductions in the number of links and nodes have been achieved. By carefully selecting \(\tau _1\) during the major node extraction process, the network can be simplified while retaining the essential connectivity and structural characteristics. This reduction in links and nodes provides computational benefits, as it reduces the complexity and computational cost associated with network-based calculations. The trajectory data-driven network representation offers a more streamlined and efficient network representation compared to the original OSM data, without sacrificing the essential information required for transportation analysis.

3.4 Result of Traffic State Prediction

We present the results of traffic state prediction using the trajectory data-driven network generated in this validation. Table 2 shows the accuracy of the occupancy projections. Mean Absolute Error (MAE) is the average of the absolute differences between predictions and observed values, making it a measure of the average magnitude of the model’s errors that is not highly sensitive to outliers. Root Mean Squared Error (RMSE) is the square root of the average of squared differences between predictions and observed values, penalizing large errors, thus making it sensitive to outliers. Absolute Percentage Error (MAPE) calculates the average of the absolute percentage differences between predictions and actual observations, offering a scale-independent measure of relative error. Comparing these results, it is evident that adjusting the value of \(\tau _1\) to coarsen the network resolution does not lead to significant changes in accuracy for both MAE, MAPE, and RMSE. This underscores the notion that a higher resolution network representation does not necessarily result in a substantial improvement in prediction accuracy. It suggests the importance of adopting a flexible network representation tailored to the specific context and objectives rather than uniformly pursuing higher resolutions.
Figures 7, 8, 9, and 10 show the prediction accuracy of occupancy for \(\tau _1\)=50,100,200,500. Figures 11, 12, and 13 show the observed and predicted occupancy for each detector for one day on November 24, 2020, when \(\tau _1\)=50, 100, 200, and 500. These results show that the proposed method is promising in terms of accuracy as well as significant reduction in computational speed in traffic condition prediction.

4 Discussion and Conclusion

In this study, we proposed a methodology for generating network data from trajectory data and demonstrated its utility for traffic state prediction. By leveraging trajectory data and directional statistics, we were able to extract major intersections and define links without relying on pre-existing network data. This approach has several advantages over traditional methods that heavily depend on given network data and map-matching processes.
One of the key contributions of this study is the ability to generate network data with a resolution suitable for specific analysis purposes based on actual observation data. By adjusting the threshold values, we were able to control the level of aggregation in the network representation. This flexibility allows researchers and practitioners to tailor the network resolution to the specific needs of their analysis, whether it is national-level network design or identifying local bottlenecks. The ability to adjust the resolution also reduces the computational burden associated with network-based calculations.
Furthermore, the trajectory data-driven network representation demonstrated promising results in traffic state prediction using deep learning. This representation eliminates the requirement for additional map-matching processes, simplifying the data processing pipeline. The empirical validation results showcased the method’s potential in terms of accuracy and significant reduction in computational speed for traffic condition prediction.

Acknowledgements

This work was supported by Hanshin Expressway Co., Ltd. and JSPS KAKENHI Grant Number 21K14266.

Declarations

Conflicts of interest

The authors declare that they have no conflict of interest.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://​creativecommons.​org/​licenses/​by/​4.​0/​.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Unsere Produktempfehlungen

ATZelectronics worldwide

ATZlectronics worldwide is up-to-speed on new trends and developments in automotive electronics on a scientific level with a high depth of information. 

Order your 30-days-trial for free and without any commitment.

ATZelektronik

Die Fachzeitschrift ATZelektronik bietet für Entwickler und Entscheider in der Automobil- und Zulieferindustrie qualitativ hochwertige und fundierte Informationen aus dem gesamten Spektrum der Pkw- und Nutzfahrzeug-Elektronik. 

Lassen Sie sich jetzt unverbindlich 2 kostenlose Ausgabe zusenden.

Literatur
2.
Zurück zum Zitat Wright, I., Xiang, Y., Waller, L., Cross, J., Norton, E., Van Vliet, D.: In: European Transport Conference, 2010 Association for European Transport (AET) Citeseer, (2010) Wright, I., Xiang, Y., Waller, L., Cross, J., Norton, E., Van Vliet, D.: In: European Transport Conference, 2010 Association for European Transport (AET) Citeseer, (2010)
4.
Zurück zum Zitat Wada, K., Satsukawa, K., Smith, M., Akamatsu, T.: Transp. Res. B Methodol. 126, 391 (2019)CrossRef Wada, K., Satsukawa, K., Smith, M., Akamatsu, T.: Transp. Res. B Methodol. 126, 391 (2019)CrossRef
5.
Zurück zum Zitat Casadei, G., Bertrand, V., Gouin, B., Canudas-de Wit, C.: Transp. Res. C Emerg. Technol. 95, 713 (2018) Casadei, G., Bertrand, V., Gouin, B., Canudas-de Wit, C.: Transp. Res. C Emerg. Technol. 95, 713 (2018)
6.
Zurück zum Zitat Yasuda, S., Iryo, T., Sakai, K., Fukushima, K.: IEEE Intelligent Transportation Systems Conference (ITSC) pp. 1677–1682 (2019) Yasuda, S., Iryo, T., Sakai, K., Fukushima, K.: IEEE Intelligent Transportation Systems Conference (ITSC) pp. 1677–1682 (2019)
7.
Zurück zum Zitat Katayama, H., Yasuda, S., Fuse, T.: Int J Intell Transp Syst Res 20(3), 830 (2022) Katayama, H., Yasuda, S., Fuse, T.: Int J Intell Transp Syst Res 20(3), 830 (2022)
8.
Zurück zum Zitat Zhong, H., Nakanishi, W., Yasuda, S., Iryo, T.: Theory Appl. GIS 30(2), 91 (2022) Zhong, H., Nakanishi, W., Yasuda, S., Iryo, T.: Theory Appl. GIS 30(2), 91 (2022)
9.
Zurück zum Zitat Edie, L.C.: Discussion of traffic stream measurements and definitions. Port of New York Authority, (1963) Edie, L.C.: Discussion of traffic stream measurements and definitions. Port of New York Authority, (1963)
10.
Zurück zum Zitat Zhao, L., Song, Y., Zhang, C., Liu, Y., Wang, P., Lin, T., Deng, M., Li, H.: IEEE Trans Intell Transp Syst 21(9), 3848 (2019)CrossRef Zhao, L., Song, Y., Zhang, C., Liu, Y., Wang, P., Lin, T., Deng, M., Li, H.: IEEE Trans Intell Transp Syst 21(9), 3848 (2019)CrossRef
Metadaten
Titel
Trajectory Data-Driven Network Representation for Traffic State Prediction using Deep Learning
verfasst von
Shohei Yasuda
Hiroki Katayama
Wataru Nakanishi
Takamasa Iryo
Publikationsdatum
26.01.2024
Verlag
Springer US
Erschienen in
International Journal of Intelligent Transportation Systems Research / Ausgabe 1/2024
Print ISSN: 1348-8503
Elektronische ISSN: 1868-8659
DOI
https://doi.org/10.1007/s13177-023-00383-z

Weitere Artikel der Ausgabe 1/2024

International Journal of Intelligent Transportation Systems Research 1/2024 Zur Ausgabe

    Marktübersichten

    Die im Laufe eines Jahres in der „adhäsion“ veröffentlichten Marktübersichten helfen Anwendern verschiedenster Branchen, sich einen gezielten Überblick über Lieferantenangebote zu verschaffen.