Rancang Bangun Aplikasi Peramalan Jumlah Penumpang Menggunakan Long Short-Term Memory (LSTM)

Muhammad Davi, Edi WinarkoInfotekmesin 2023

TL;DR

This paper develops a Long Short-Term Memory (LSTM) based application to forecast passenger numbers for Jakarta's Busway system. By comparing LSTM against Exponential Smoothing, the study demonstrates LSTM's superior forecasting accuracy, especially when combined with data transformation techniques, offering valuable insights for public transportation management.

What Problem Does This Paper Address?

Public transportation services, like Jakarta's Busway, are intrinsically linked to user satisfaction. To maintain and improve this satisfaction, operators often expand services (e.g., new routes, more buses). However, these expansions need to be strategically aligned with anticipated passenger demand. The core challenge is accurately forecasting future passenger numbers to inform these crucial operational decisions. Existing methods might not capture the complex temporal patterns in passenger data, leading to potential inefficiencies or service gaps. This paper aims to address this by exploring the effectiveness of a sophisticated machine learning model, LSTM, for this specific forecasting task.

Methods

The study employs a combination of machine learning and statistical forecasting techniques. The primary method is Long Short-Term Memory (LSTM), a type of recurrent neural network (RNN) particularly adept at handling sequential data and capturing long-term dependencies, which is crucial for time series forecasting. To benchmark its performance, the researchers also utilize Exponential Smoothing (ES), a well-established statistical forecasting method.

A key aspect of their approach involves data transformation using Exponential Smoothing as a pre-processing step for the LSTM model. This aims to improve LSTM's accuracy, especially in cases where raw LSTM performance might be suboptimal. The models are trained and evaluated using historical passenger data. Model performance is quantified using standard metrics: Root Mean Squared Error (RMSE) and Mean Absolute Percentage Error (MAPE).

The research also details a systematic approach to hyperparameter tuning for both LSTM and ES models, including optimizing parameters like learning rate, sliding window size, number of neurons (for LSTM), and the smoothing factor 'alpha' (for ES).

Datasets

The study utilizes historical passenger data for Jakarta's Busway system. The dataset comprises time series data from January 2015 to January 2016, covering 394 days of passenger counts. This data was collected via smart cards. The paper does not introduce a new benchmark dataset but rather uses real-world operational data.

Key Insights and Ideas

  • LSTM's Potential for Public Transport Forecasting: The research strongly suggests that LSTM is a powerful tool for forecasting passenger demand in public transportation, outperforming traditional methods like Exponential Smoothing on average.
  • The Power of Data Transformation: Combining LSTM with Exponential Smoothing for data transformation significantly improved forecasting accuracy in specific corridors where raw LSTM performance was weaker. This highlights that even advanced models can benefit from pre-processing tailored to the data's characteristics.
  • Corridor-Specific Performance: The study reveals that forecasting performance can vary significantly across different Busway corridors. Some corridors might be more predictable than others, and certain models might perform better on specific routes.
  • Hyperparameter Sensitivity: The effectiveness of LSTM and ES models is highly dependent on their hyperparameter settings. Careful tuning is essential to achieve optimal results, and a combination of optimal individual parameters doesn't always guarantee the best collective performance.

Key Results

Overall, the LSTM model demonstrated superior accuracy, achieving an average RMSE of 2640.53 and an average MAPE of 9.14%. While LSTM generally outperformed Exponential Smoothing, there were specific corridors (corridor 3 and 5) where raw LSTM performance was not as good as the baseline ES. However, after applying data transformation with Exponential Smoothing, LSTM's performance improved in these specific corridors. The paper also presents detailed RMSE and MAPE values for each corridor across the different models, allowing for a granular comparison.

Limitations and Future Work

The authors acknowledge that the optimal hyperparameter settings found for individual models might not always translate to the best combined performance. They also note that for certain corridors (3 and 5), the raw LSTM model did not outperform the baseline Exponential Smoothing. To address this, they applied a data transformation step using Exponential Smoothing, which improved LSTM's accuracy in these specific cases.

Future work could focus on developing a unified model that achieves high accuracy across all corridors without requiring different pre-processing steps for specific routes. Further research could also explore other advanced deep learning architectures or hybrid models to potentially achieve even greater forecasting precision for public transportation passenger numbers.

Summary updated

BibTeX
@inproceedings{davi2023rancang,
  author = {Muhammad Davi and Edi Winarko},
  title = {{Rancang Bangun Aplikasi Peramalan Jumlah Penumpang Menggunakan Long Short-Term Memory (LSTM)}},
  booktitle = {Infotekmesin},
  year = {2023},
  doi = {10.35970/infotekmesin.v14i2.1911},
}
Figure