AN ADAPTIVE TEMPORAL FUSION TRANSFORMER FRAMEWORK FOR PREDICTING DYNAMIC USER BEHAVIOUR ON DIGITAL PLATFORMS
Keywords:
Adaptive Learning, Concept Drift, Deep Learning, Temporal Fusion Transformer, User Behaviour PredictionAbstract
The dynamic and non-stationary nature of user behaviour on digital platforms presents significant challenges for conventional deep learning forecasting models. This study proposes an Adaptive Temporal Fusion Transformer (A-TFT) framework to improve predictive accuracy, adaptability, and computational efficiency through the integration of multi-horizon forecasting and concept drift detection. The proposed framework combines Maximum Mean Discrepancy (MMD), Adaptive Windowing (ADWIN), selective fine-tuning, and historical replay to address evolving behavioural patterns while preserving previously acquired knowledge. The experimental design assumes 50,000 observations from 500 users, incorporating multivariate behavioural indicators and chronological data partitioning. Illustrative evaluation results indicate an MAE of 0.065, RMSE of 0.087, sMAPE of 8.42%, and R² of 0.955, representing a hypothetical MAE reduction of 29.35% compared with conventional TFT. Furthermore, the integrated drift detection mechanism demonstrates an illustrative F1-score of 94.70% and an average detection delay of 1.8 days. The principal contribution lies in integrating temporal forecasting, distribution monitoring, and adaptive parameter optimisation within a unified deep learning framework. The proposed approach offers potential applications in personalised digital services, intelligent recommendation systems, and user engagement optimisation, pending empirical validation.
Downloads
References
Bifet, A., & Gavaldà, R. (2007). Learning from time-changing data with adaptive windowing. In Proceedings of the Seventh SIAM International Conference on Data Mining (pp. 443–448). https://doi.org/10.1137/1.9781611972771.42
Chen, Y., Liu, S., Yang, J., Jing, H., Zhao, W., & Yang, G. (2024). A joint time-frequency domain transformer for multivariate time series forecasting. Neural Networks, 176, 106334. https://doi.org/10.1016/j.neunet.2024.106334
Diebold, F. X., & Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business & Economic Statistics, 13(3), 253–263. https://doi.org/10.1080/07350015.1995.10524599
Gretton, A., Borgwardt, K. M., Rasch, M. J., Schölkopf, B., & Smola, A. (2012). A kernel two-sample test. Journal of Machine Learning Research, 13, 723–773. https://jmlr.org/papers/v13/gretton12a.html
Hinder, F., Vaquet, V., & Hammer, B. (2024a). One or two things we know about concept drift—A survey on monitoring in evolving environments. Part A: Detecting concept drift. Frontiers in Artificial Intelligence, 7, Article 1330257. https://doi.org/10.3389/frai.2024.1330257
Hinder, F., Vaquet, V., & Hammer, B. (2024b). One or two things we know about concept drift—A survey on monitoring in evolving environments. Part B: Locating and explaining concept drift. Frontiers in Artificial Intelligence, 7, Article 1330258. https://doi.org/10.3389/frai.2024.1330258
Herdianto, H., Nasution, D., Hafni, & Ramadhan, S. (2024). Penerapan deep learning YOLO untuk deteksi manusia. Proceedings Economic, Social Science, Computer, Agriculture and Fisheries (ESCAF), 3, 1301–1308. https://semnas.univbinainsan.ac.id/index.php/escaf/issue/view/4
Kim, T., Kim, J., Tae, Y., Park, C., Choi, J. H., & Choo, J. (2022). Reversible instance normalization for accurate time-series forecasting against distribution shift. In International Conference on Learning Representations. https://openreview.net/forum?id=cGDAkQo1C0p
Lim, B., Arık, S. Ö., Loeff, N., & Pfister, T. (2021). Temporal fusion transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4), 1748–1764. https://doi.org/10.1016/j.ijforecast.2021.03.012
Liu, Y., Wu, H., Wang, J., & Long, M. (2022). Non-stationary transformers: Exploring the stationarity in time series forecasting. Advances in Neural Information Processing Systems, 35, 9881–9893. https://arxiv.org/abs/2205.14415
Liu, Y., Hu, T., Zhang, H., Wu, H., Wang, S., Ma, L., & Long, M. (2024). iTransformer: Inverted transformers are effective for time series forecasting. In International Conference on Learning Representations. https://arxiv.org/abs/2310.06625
Nie, Y., Nguyen, N. H., Sinthong, P., & Kalagnanam, J. (2023). A time series is worth 64 words: Long-term forecasting with transformers. In International Conference on Learning Representations. https://arxiv.org/abs/2211.14730
Okamoto, Y. (2026). Transformers for time-series forecasting: A comprehensive survey through 2024. Nonlinear Theory and Its Applications, IEICE, 17(1), 260–278. https://doi.org/10.1587/nolta.17.260
Oreshkin, B. N., Carpov, D., Chapados, N., & Bengio, Y. (2020). N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. In International Conference on Learning Representations. https://arxiv.org/abs/1905.10437
Reinaldo, Hafni, & Muttaqin, M. (2025). Application of the rule based expert system method against brute force attacks force attack on Mikrotik Cloud PLN Icon Plus Medan Office. Instal: Jurnal Komputer, 16(6), 218–223. https://doi.org/10.54209/jurnalinstall.v16i06.267
Sumiran, Aryza, S., & Wijaya, R. F. (2026). Model tata kelola teknologi informasi inklusif berbasis big data dan COBIT 2019 menggunakan AHP untuk optimalisasi aksesibilitas pembelajaran informatika bagi peserta didik tunanetra dengan teknologi asistif NVDA. Jurnal Nasional Teknologi Komputer, 6(4), 2536–2550. https://publikasi.hawari.id/index.php/jnastek/issue/view/25
Wang, S., Wu, H., Shi, X., Hu, T., Luo, H., Ma, L., Zhang, J. Y., & Zhou, J. (2024). TimeMixer: Decomposable multiscale mixing for time series forecasting. In International Conference on Learning Representations. https://arxiv.org/abs/2405.14616
Wan, J., Xia, N., Yin, Y., Pan, X., Hu, J., & Yi, J. (2024). TCDformer: A transformer framework for non-stationary time series forecasting based on trend and change-point detection. Neural Networks, 173, 106196. https://doi.org/10.1016/j.neunet.2024.106196
Wen, Q., Zhou, T., Zhang, C., Chen, W., Ma, Z., Yan, J., & Sun, L. (2023). Transformers in time series: A survey. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence (pp. 6778–6786). https://doi.org/10.24963/ijcai.2023/759
Wu, H., Hu, T., Liu, Y., Zhou, H., Wang, J., & Long, M. (2023). TimesNet: Temporal 2D-variation modeling for general time series analysis. In International Conference on Learning Representations. https://arxiv.org/abs/2210.02186
Zeng, A., Chen, M., Zhang, L., & Xu, Q. (2023). Are transformers effective for time series forecasting? Proceedings of the AAAI Conference on Artificial Intelligence, 37(9), 11121–11128. https://doi.org/10.1609/aaai.v37i9.26317
Zhang, Y., & Yan, J. (2023). Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In International Conference on Learning Representations. https://openreview.net/forum?id=vSVLM2j9eie
Zhou, T., Ma, Z., Wen, Q., Wang, X., Sun, L., & Jin, R. (2022). FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting. Proceedings of Machine Learning Research, 162, 27268–27286. https://proceedings.mlr.press/v162/zhou22g.html



