Review Articles

Graph-adjusted clustering to enhance autoregressive time series forecasting for trend analysis

Yanran Wei ,

Department of Statistics, Virginia Tech, Blacksburg, VA, USA

Xinwei Deng

Department of Statistics, Virginia Tech, Blacksburg, VA, USA

Virginia Polytechnic Institute and State University: Blacksburg, VA, US

Pages | Received 22 Jul. 2025, Accepted 07 Nov. 2026, Published online: 25 Nov. 2026,
  • Abstract
  • Full Article
  • References
  • Citations

As social media becomes increasingly integrated into daily life, users engage more frequently in discussions across social platforms and search for topics spanning multiple domains, such as sports and entertainment. For example, there are estimated 240-300 million daily active users generating over 500 million tweets on the platform of X (formerly Twitter). Given this information explosion, topic forecasting has become crucial for understanding and capturing user activity patterns and tracking trending discussions. However, current methodologies primarily focus on forecasting individual topics while ignoring the inherent correlations among them. To address this gap, we propose a graph-adjusted autoregression based clustering (GaAC) approach that enables cross-prediction of multivariate time series with each cluster. Unlike existing methods, the proposed approach can arrange topics with similar trends into groups using graph-adjusted clustering. Then the time series forecasting can be obtained by using autoregressive models applied to each cluster. The proposed method can significantly reduce computational costs compared to traditional methods such as ARIMA, machine learning-based methods and deep learning-based approaches. We evaluate the performance of the proposed GaAC-based forecasting through both numerical studies and real-world examples.

Your browser may not support PDF viewing. Please click to download the file.

References

  • Alexandrov, A., Benidis, K., Bohlke-Schneider, M., Flunkert, V., Gasthaus, J., Januschowski, T., Maddix, D. C., Rangapuram, S., Salinas, D., Schulz, J., Stella, L., Türkmen, A. C., & Wang, Y. (2019). GluonTS: Probabilistic time series models in Python. arXiv:1906.05264.
  • Bandara, K., Bergmeir, C., & Smyl, S. (2018). Forecasting across time series databases using recurrent neural networks on groups of similar series: A clustering approach. arXiv: 1710.03222. Retrieved from https://arxiv.org/abs/1710.03222(open in a new window).
  • Blei, D. M. (2012). Probabilistic topic models. Communications of the ACM, 55(4), 77–84. https://doi.org/10.1145/2133806.2133826
  • Blei, D. M., & Lafferty, J. D. (2006). Dynamic topic models. In Proceedings of the 23rd International Conference on Machine Learning (pp. 113–120). Association for Computing Machinery (ACM).
  • Blei, D. M., Ng, A. Y., & Jordan, M. I. (2003). Latent Dirichlet allocation. The Journal of Machine Learning Research, 3, 993–1022.
  • Box, G. E. P., & Jenkins, G. (1990). Time Series Analysis, Forecasting and Control. Holden-Day, Inc.
  • Brown, R. G. (1959). Statistical Forecasting for Inventory Control. McGraw-Hill.
  • Cao, L., & Li, F. F. (2007). Spatially coherent latent topic model for concurrent segmentation and classification of objects and scenes. In 2007 IEEE 11th International Conference on Computer Vision (pp. 1–8). Institute of Electrical and Electronics Engineers (IEEE).
  • Chung, F. (2010). Graph theory in the information age. Notices of the AMS, 57(6), 726–732.
  • Davis, R. A., Zang, P., & Zheng, T. (2012). Sparse vector autoregressive modeling. arXiv: 1207.0520. Retrieved from https://arxiv.org/abs/1207.0520(open in a new window).
  • De Livera, A. M. (2010). Automatic forecasting with a modified exponential smoothing state space framework. Monash Econometrics and Business Statistics Working Papers, 10(10), 1–29.
  • De Livera, A. M., Hyndman, R. J., & Snyder, R. D. (2011). Forecasting time series with complex seasonal patterns using exponential smoothing. Journal of the American Statistical Association, 106(496), 1513–1527. https://doi.org/10.1198/jasa.2011.tm09771
  • Epskamp, S., Waldorp, L. J., Mõttus, R., & Borsboom, D. (2018). The Gaussian graphical model in cross-sectional and time-series data. Multivariate Behavioral Research, 53(4), 453–480. https://doi.org/10.1080/00273171.2018.1454823
  • Fried, R., & George, A. C. (2011). Exponential and Holt-Winters smoothing. In M. Lovric (Ed.), International Encyclopedia of Statistical Science (pp. 488–490). Springer. https://doi.org/10.1007/978-3-642-04898-2_244
  • Gallagher, R. J., Reing, K., Kale, D., & Ver Steeg, G. (2017). Anchored correlation explanation: Topic modeling with minimal domain knowledge. Transactions of the Association for Computational Linguistics, 5, 529–542. https://doi.org/10.1162/tacl_a_00078
  • Han, J., Kamber, M., & Pei, J. (2012). 10 cluster analysis: Basic concepts and methods. In J. Han, M. Kamber, & J. Pei (Eds.), Data mining: Concepts and techniques (3rd ed., pp. 443–495). Morgan Kaufmann. https://doi.org/10.1016/B978-0-12-381479-1.00010-1.
  • Hofmann, T. (1999). Probabilistic latent semantic indexing. In Proceedings of the 22nd Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 50–57). Association for Computing Machinery. https://doi.org/10.1145/312624.312649.
  • Holt, C. C. (2004). Forecasting seasonals and trends by exponentially weighted moving averages. International Journal of Forecasting, 20(1), 5–10. https://doi.org/10.1016/j.ijforecast.2003.09.015
  • Huang, J., Ma, S., & Zhang, C. H. (2008). Adaptive Lasso for sparse high-dimensional regression models. Statistica Sinica, 18(4), 1603–1618.
  • Hurtado, J., Agarwal, A., & Zhu, X. (2016, April). Topic discovery and future trend forecasting for texts. Journal of Big Data, 3(1), Article 7. https://doi.org/10.1186/s40537-016-0039-2
  • Jameel, S., & Lam, W. (2013a). An n-gram topic model for time-stamped documents. In P. Serdyukov et al. (Eds.), Advances in Information Retrieval (pp. 292–304). Springer Berlin Heidelberg.
  • Jameel, S., & Lam, W. (2013b). A nonparametric n-gram topic model with interpretable latent topics. In Asia Information Retrieval Symposium (pp. 74–85). Springer.
  • Lau, J. H., Baldwin, T., & Cohn, T. (2017). Topically driven neural language model. arXiv:1704.08012.
  • Liao, T. W. (2005). Clustering of time series data–a survey. Pattern Recognition, 38(11), 1857–1874. https://doi.org/10.1016/j.patcog.2005.01.025
  • Mautz, D., Plant, C., & Böhm, C. (2020). DeepECT: The deep embedded cluster tree. Data Science and Engineering, 5(4), 419–432. https://doi.org/10.1007/s41019-020-00134-0
  • Oreshkin, B. N., Carpov, D., Chapados, N., & Bengio, Y. (2019). N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. arXiv: 1905.10437. Retrieved from http://arxiv.org/abs/1905.10437(open in a new window).
  • Papadimitriou, C. H., Tamaki, H., Raghavan, P., & Vempala, S. (1998). Latent semantic indexing: A probabilistic analysis. In Proceedings of the Seventeenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (pp. 159–168). Association for Computing Machinery. https://doi.org/10.1145/275487.275505
  • Qi, Y., Zhu, N., Zhai, Y., & Ding, Y. (2018). The mutually beneficial relationship of patents and scientific literature: Topic evolution in nanoscience. Scientometrics, 115(2), 893–911. https://doi.org/10.1007/s11192-018-2693-y
  • Rodrigues, P. P., Gama, J., & Pedroso, J. (2008). Hierarchical clustering of time-series data streams. IEEE Transactions on Knowledge and Data Engineering, 20(5), 615–627. https://doi.org/10.1109/TKDE.2007.190727
  • Salinas, D., Flunkert, V., Gasthaus, J., & Januschowski, T. (2020). DeepAR: Probabilistic forecasting with autoregressive recurrent networks. International Journal of Forecasting, 36(3), 1181–1191. https://doi.org/10.1016/j.ijforecast.2019.07.001
  • Schank, T., & Wagner, D. (2005). Approximating clustering coefficient and transitivity. Journal of Graph Algorithms and Applications, 9(2), 265–275. https://doi.org/10.7155/jgaa.00108
  • Stock, J. H., & Watson, M. W. (2005). Implications of Dynamic Factor Models for VAR Analysis. National Bureau of Economic Research Cambridge, Mass., USA.
  • Taylor, S. J., & Letham, B. (2018). Forecasting at scale. The American Statistician, 72(1), 37–45. https://doi.org/10.1080/00031305.2017.1380080
  • Titov, I., & R. T. McDonald (2008). Modeling online reviews with multi-grain topic models. arXiv: 0801.1063. Retrieved from http://arxiv.org/abs/0801.1063(open in a new window).
  • Von Luxburg, U. (2007). A tutorial on spectral clustering. Statistics and Computing, 17(4), 395–416. https://doi.org/10.1007/s11222-007-9033-z
  • Wang, C., Blei, D. M., & Heckerman, D. (2012). Continuous time dynamic topic models. arXiv: 1206.3298. http://arxiv.org/abs/1206.3298(open in a new window).
  • West, M. (2020). Bayesian forecasting of multivariate time series: Scalability, structure uncertainty and decisions. Annals of the Institute of Statistical Mathematics, 72(1), 1–31. https://doi.org/10.1007/s10463-019-00741-3
  • Winters, P. R. (1960). Forecasting sales by exponentially weighted moving averages. Management Science, 6(3), 324–342. Retrieved July 22, 2022, from http://www.jstor.org/stable/2627346(open in a new window).
  • Yan, X., Guo, J., Lan, Y., & Cheng, X. (2013). A biterm topic model for short texts. In Proceedings of the 22nd International Conference on World Wide Web (pp. 1445–1456). ACM.
  • Znalezniak, M., Rola, P., Kaszuba, P., Tabor, J., & Śmieja, M. (2023). Contrastive hierarchical clustering. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases (pp. 627–643). Springer.
  • Zou, H. (2006). The adaptive Lasso and its oracle properties. Journal of the American Statistical Association, 101(476), 1418–1429. https://doi.org/10.1198/016214506000000735

To cite this article: Yanran Wei & Xinwei Deng (25 Nov 2026): Graph-adjusted clustering to enhance autoregressive time series forecasting for trend analysis, Statistical Theory and Related Fields, DOI: 10.1080/24754269.2026.2762662

To link to this article: https://doi.org/10.1080/24754269.2026.2762662