Intelligent few-shot based real-time traffic planning system for autonomous vehicles using graph SAGE-LSTM with transfer learning

This research presents a detailed framework for predicting traffic speed by integrating spatial and temporal aspects using an advanced hybrid architecture of Graph Sample and Aggregate (GraphSAGE) and Long Short-Term Memory (LSTM) networks, enhanced with transfer learning. Central to this approach is the representation of traffic speed data collected from loop detectors as a graph, with each sensor corresponding to a node. The GraphSAGE convolutions capture complex spatial relationships among nodes, enabling the model to learn how traffic speeds influence one another as a function of geographic proximity and sensor interactions. To capture the dynamic temporal dependencies inherent in traffic behaviours, the LSTM networks are employed, which excel at recognising patterns over time by maintaining information across long sequences. This architecture is particularly effective for predicting traffic speed fluctuations from historical data trends. The framework begins with a pretraining phase on the Performance Measurement System—Bay Area (PEMS-BAY) dataset, which comprises extensive traffic speed records. Subsequently, the model is fine-tuned on the Los Angeles Metropolitan Traffic Dataset (METR-LA) dataset using a limited number of training batches. Limited-batch fine-tuning based on transfer learning is a solution for adapting to data-scarce conditions under the few-shot learning framework that is independent of traditional episodic meta-learning formulations, which require multi-task support-query sets. It is based on the conditions encountered in practice, where the labeled data for the new traffic scenarios is normally very limited. This simulates a few-shot learning scenario, reflecting real-world conditions in which labelled data for new traffic environments is often limited. Through extensive experimentation, the results demonstrate that integrating spatial graph learning via GraphSAGE, temporal modelling via LSTM, and transfer-based limited-batch fine-tuning used here as a practical surrogate for episodic few-shot learning significantly improves traffic speed prediction accuracy, particularly in data-scarce environments. The proposed framework achieves strong performance on the METR-LA benchmark while using only 20 training batches for adaptation, validating its applicability in intelligent traffic management for autonomous vehicles.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-11-06
DOI
https://doi.org/10.7717/peerj-cs.4130
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Intelligent few-shot based real-time traffic planning system for autonomous vehicles using graph SAGE-LSTM with transfer learning

Mohamed Abouhawwash, Pavithra Parthasarathi, Eslam Abdelhakim Seyam, Venkatachalam K.
4 links
PeerJ Computer Science
Traffic Prediction and Management Techniques
article

Intelligent few-shot based real-time traffic planning system for autonomous vehicles using graph SAGE-LSTM with transfer learning

Mohamed Abouhawwash, Pavithra Parthasarathi, Eslam Abdelhakim Seyam, Venkatachalam K.
article en

Abstract

This research presents a detailed framework for predicting traffic speed by integrating spatial and temporal aspects using an advanced hybrid architecture of Graph Sample and Aggregate (GraphSAGE) and Long Short-Term Memory (LSTM) networks, enhanced with transfer learning. Central to this approach is the representation of traffic speed data collected from loop detectors as a graph, with each sensor corresponding to a node. The GraphSAGE convolutions capture complex spatial relationships among nodes, enabling the model to learn how traffic speeds influence one another as a function of geographic proximity and sensor interactions. To capture the dynamic temporal dependencies inherent in traffic behaviours, the LSTM networks are employed, which excel at recognising patterns over time by maintaining information across long sequences. This architecture is particularly effective for predicting traffic speed fluctuations from historical data trends. The framework begins with a pretraining phase on the Performance Measurement System—Bay Area (PEMS-BAY) dataset, which comprises extensive traffic speed records. Subsequently, the model is fine-tuned on the Los Angeles Metropolitan Traffic Dataset (METR-LA) dataset using a limited number of training batches. Limited-batch fine-tuning based on transfer learning is a solution for adapting to data-scarce conditions under the few-shot learning framework that is independent of traditional episodic meta-learning formulations, which require multi-task support-query sets. It is based on the conditions encountered in practice, where the labeled data for the new traffic scenarios is normally very limited. This simulates a few-shot learning scenario, reflecting real-world conditions in which labelled data for new traffic environments is often limited. Through extensive experimentation, the results demonstrate that integrating spatial graph learning via GraphSAGE, temporal modelling via LSTM, and transfer-based limited-batch fine-tuning used here as a practical surrogate for episodic few-shot learning significantly improves traffic speed prediction accuracy, particularly in data-scarce environments. The proposed framework achieves strong performance on the METR-LA benchmark while using only 20 training batches for adaptation, validating its applicability in intelligent traffic management for autonomous vehicles.

PeerJ Computer ScienceVol. 12
Karunya University (IN), King Fahd University of Petroleum and Minerals (SA), Bannari Amman Institute of Technology (IN), Imam Mohammad ibn Saud Islamic University (SA)
Sustainable cities and communities, Industry, innovation and infrastructure
Openalex Percentile: Top 17%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon