Application of the LSTM (Long Short-Term Memory) model for tidal forecasting: A case study at the Ba Ria - Vung Tau tide gauge station, Vietnam

  • Affiliations:

    1 Ho Chi Minh City University of Natural Resources and Environment, Ho Chi Minh City, Việt Nam
    2 Faculty of Geomatics and Land Administration, Hanoi University of Mining and Geology, Hanoi, Vietnam
    3 Geodesy and Environment Research Group, Hanoi University of Mining and Geology, Hanoi, Vietnam

  • *Corresponding:
    This email address is being protected from spambots. You need JavaScript enabled to view it.
  • Received: 6th-June-2025
  • Revised: 6th-Sept-2025
  • Accepted: 20th-Sept-2025
  • Online: 1st-Oct-2025
Pages: 98 - 109
Views: 51
Downloads: 1
Rating: , Total rating: 0
Yours rating

Abstract:

In recent years, the application of tidal research has markedly supported and enhanced various socio-economic activities in coastal regions, particularly port operations, aquaculture, and disaster prevention and mitigation. Accurate tidal water level forecasting plays a vital role in spatial planning, coastal infrastructure management, and early flood warning systems. This study proposes the application of a Long Short-Term Memory (LSTM) recurrent neural network model to forecast daily tidal water levels at the Ba Ria - Vung Tau station, based on observed data from 1999 to 2022. The input data were preprocessed through three main steps: outlier removal using the Interquartile Range (IQR) method, Min-Max normalization, and time series decomposition into trend, seasonal, and residual components. The model was trained on the 1999÷2021 dataset, tested with 2022 data, and used to forecast tidal levels for 2023 using recursive forecasting. The results show that the LSTM model achieved high performance with low error on the test dataset (MSE = 0.0039 cm, MAE = 0.0449 cm, R² = 0.9443). The model effectively captured the semi-diurnal tidal cycle, demonstrated fast convergence, low error, and high stability, highlighting its potential for integration into automated tidal forecasting and early warning systems for coastal management. However, the current model uses only univariate data (tidal water level) without incorporating meteorological and oceanographic variables such as wind, pressure, temperature, or wave data. Future studies should expand toward multivariate models to improve generalization and forecasting accuracy.

How to Cite
Huynh, Q.Dinh Nguyen and ., T.Gia Nguyen 2025. Application of the LSTM (Long Short-Term Memory) model for tidal forecasting: A case study at the Ba Ria - Vung Tau tide gauge station, Vietnam (in Vietnamese). Journal of Mining and Earth Sciences. 66, 5 (Oct, 2025), 98-109. DOI:https://doi.org/10.46326/JMES.2025.66(5).09.
References

Abubakar, A. G., Mahmud, M. R., Tang, K. K. W., Hussaini, A., and Md Yusuf, N. H. (2019). A review of modelling approaches on tidal analysis and prediction. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences42, 23-34. https://doi.org/10.5194/isprs-archives-XLII-4-W16-23-2019.

Braakmann-Folgmann, A., Roscher, R., Wenzel, S., Uebbing, B., and Kusche, J. (2017). Sea level anomaly prediction using recurrent neural networks (arXiv:1710.07099v1) [Preprint]. arXiv. https://arxiv.org/abs/1710.07099.

Brownlee, J. (2017). Long Short-Term Memory Networks With Python. Machine Learning Mastery.

Ceder, N. (2018). The quick Python book: Simon and Schuster.

Chen, D. Y. (2017). Pandas for everyone: Python data analysis: Addison-Wesley Professional.

Chi, Y. N. (2022). Time series modeling and forecasting of monthly mean sea level (1978–2020): SARIMA and multilayer perceptron neural network. International Journal of Data Science, 3(1), 45–61. https://doi.org/10.33140/IJDS.03.01.05.

Diebold, F. X., and Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business and Economic Statistics, 13(3), 253–263. https://doi.org/10.1080/07350015.1995.10524599.

Goodfellow, I., Bengio, Y., and Courville, A. (2016). Regularization for deep learning. Deep learning1, 224-270.

Gupta, P. and Bagchi, A. (2024). Introduction to NumPy. In Essentials of Python for Artificial Intelligence and Machine Learning (pp. 127-159): Springer.

Hochreiter, S., and Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735.

Karim, M. R. (2018). TensorFlow: Powerful Predictive Analytics with TensorFlow: Predict valuable insights of your data with TensorFlow. Packt Publishing Ltd.

Kingma, D. P., and Ba, J. (2014). Adam: A Method for Stochastic Optimization. arXiv preprint arXiv:1412.6980.

Le, D. T., Huynh, N. D., and Nguyen, G. T. Q. (2024). Exploring the training results of machine learning models using different batch sizes and epochs: A case study with GNSS time series data. J. Hydro-Meteorol19, 90-99.

Nguyen, N. V., and Nguyen, T. G. (2025). Predicting elevation values using Gated Recurrent Unit (GRU) neural networks. Journal of Mining and Earth Sciences Vol66(3), 29-38.

Makky, N., Valizadeh Kamran, K., and Karimzadeh, S. (2024). Impact of Global Warming on Water Height Using XGBOOST and MLP Algorithms. Environmental Sciences Proceedings29(1), 83. https://www.mdpi.com/2673-4931/29/1/ 83.

Pugh, D. T. (2002). Tides, surges and mean sea-level: A handbook for engineers and scientists. John Wiley and Sons.

Raj, N., Gharineiat, Z., Ahmed, A. A. M., and Stepanyants, Y. (2022). Assessment and prediction of sea level trend in the South Pacific Region. Remote Sensing14(4), 986. https://doi.org/10.3390/rs14040986.

Tosi, S. (2009). Matplotlib for Python developers (Vol. 307). Birmingham, UK: Packt Publishing.

Tukey, J. W. (1977). Exploratory data analysis (Vol. 2, pp. 131-160). Reading, MA: Addison-wesley.

Uluocak, I. (2025). Comparative study of multivariate hybrid neural networks for global sea level prediction through 2050. Environmental Earth Sciences84(3), 79. https://link.springer.com/article/10.1007/s12665-025-12090-x.

Xie, Y., Zhou, S., and Wang, F. (2024). Prediction analysis of sea level change in the China adjacent seas based on singular spectrum analysis and long short-term memory network. Journal of Marine Science and Engineering, 12(8), Article 1397. https://doi.org/10.3390/jmse12081397.

Other articles