Examining Counseling Search Interest Through Mental Health-Related Search Trends and Machine Learning Approaches
(1) Department of Mathematics and Data Science, Universitas Andalas, 25163, Indonesia
(2) Department of Mathematics and Data Science, Universitas Andalas, 25163, Indonesia
(3) Department of Guidance and Counseling, Universitas Negeri Padang, Indonesia
(*) Corresponding Author
Abstract
Mental health-related concerns have become increasingly visible in digital environments, where online search behavior reflects public awareness and information-seeking patterns. Examining temporal changes in mental health-related searches may provide valuable insights into emerging public concerns and support evidence-based planning. This study analyzes monthly Google Trends data on counseling and related mental health topics from January 2011 to June 2026. An XGBoost regression model was developed using historical counseling search interest, lagged variables, and related mental health indicators, including depression, anxiety, stress, suicide, and mental health search trends. Temporal analysis, feature importance evaluation, and SHAP interpretation were applied to investigate trend patterns and explain model predictions. The findings revealed a substantial increase in counseling-related search interest, particularly after 2018, with several periods showing notable fluctuations. The XGBoost model demonstrated satisfactory predictive performance, achieving a mean absolute percentage error of 18.78 percent and a coefficient of determination of 0.658. Historical counseling search variables were identified as the most influential predictors, indicating that previous search behavior plays a dominant role in forecasting future trends. The study highlights the potential of interpretable machine learning approaches for monitoring digital mental health trends and supporting data-driven public health strategies.
References
Alibudbud, R. (2023). Google Trends for health research: Its advantages, application, methodological considerations, and limitations in psychiatric and mental health infodemiology. Frontiers in Big Data, 6, 1132764. https://doi.org/10.3389/fdata.2023.1132764
Arif, E., Devianto, D., Yollanda, M., & Afrimayani, A. (2022). Analysis of Precious Metal Price Movements Using Long Memory Model and Fuzzy Time Series Markov Chain. International Journal of Energy Economics and Policy, 12(6), 202–214. https://doi.org/10.32479/ijeep.13531
Arif, E., Herlinawati, E., Devianto, D., Yollanda, M., & Permana, D. (2024). Hybridization of long short-term memory neural network in fractional time series modeling of inflation. Frontiers in Big Data, 6, 1282541. https://doi.org/10.3389/fdata.2023.1282541
Benito, G. V., Goldberg, X., Brachowicz, N., de Cid, R., & Petrone, P. M. (2024). Machine learning for anxiety and depression profiling and risk assessment in the aftermath of an emergency. Artificial Intelligence in Medicine. https://doi.org/10.1016/j.artmed.2024.102991
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. https://doi.org/10.1145/2939672.2939785
Devianto, D., Permana, D., Arif, E., Afrimayani, A., Yanuar, F., Maiyastri, M., & Yollanda, M. (2024). An innovative model for capturing seasonal patterns of train passenger movement using exogenous variables and fuzzy time series hybridization. Journal of Open Innovation: Technology, Market, and Complexity, 10(1), 100232. https://doi.org/10.1016/j.joitmc.2024.100232
Devianto, D., Ramadani, K., Maiyastri, Asdi, Y., & Yollanda, M. (2022). The hybrid model of autoregressive integrated moving average and fuzzy time series Markov chain on long-memory data. Frontiers in Applied Mathematics and Statistics, 8, 1045241. https://doi.org/10.3389/fams.2022.1045241
Devianto, D., Wahyuni, E., Maiyastri, M., & Yollanda, M. (2024). The seasonal model of chili price movement with the effect of long memory and exogenous variables for improving time series model accuracy. Frontiers in Applied Mathematics and Statistics, 10, 1408381. https://doi.org/10.3389/fams.2024.1408381
Devianto, D., Yollanda, M., Maiyastri, M., & Yanuar, F. (2023). The soft computing FFNN method for adjusting heteroscedasticity on the time series model of currency exchange rate. Frontiers in Applied Mathematics and Statistics, 9, 1045218. https://doi.org/10.3389/fams.2023.1045218
Di Martino, F., & Delmastro, F. (2023). Explainable AI for clinical and remote health applications: A survey on tabular and time series data. Artificial Intelligence Review. https://doi.org/10.1007/s10462-022-10304-3
Joyce, D. W., Kormilitzin, A., Smith, K. A., & Cipriani, A. S. (2023). Explainable artificial intelligence for mental health through transparency and interpretability for understandability. Npj Digital Medicine. https://doi.org/10.1038/s41746-023-00751-9
Kachlik, Z., Walaszek, M., Nazar, W., Soko?owska, M., Karbiak, A., Pilarska, E., & Cuba?a, W. J. (2025). Predicting Suicide Attempt Trends in Youth: A Machine Learning Analysis Using Google Trends and Historical Data. Journal of Clinical Medicine, 14(18), 6373. https://doi.org/10.3390/jcm14186373
Kong, W., Pei, Z., Guo, Z., Xu, R., & Zhao, J. (2025). Relationship matters: Using machine learning methods to predict the mental health severity of Chinese college freshmen during the pandemic period. Journal of Affective Disorders. https://doi.org/10.1016/j.jad.2024.09.168
Lundberg, S. M., & Lee, S. (2017, January 1). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems.
Manyam, R., Yun, J., Lou, P., Scott, L. N., & Krafty, R. T. (2025). Predicting Risk Factors for Suicidal Ideation Using Interpretable Artificial Intelligence Methods. Proceedings - 2025 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2025. https://doi.org/10.1109/BIBM66473.2025.11357209
Mimikou, C., Kokkotis, C., Tsiptsios, D. I., Anagnostopoulos, K. P., & Tr?otapsianis, G. A. (2025). Explainable Machine Learning in the Prediction of Depression. Diagnostics. https://doi.org/10.3390/diagnostics15111412
Niu, B., Wan, M., & Zhou, Y. (2025). Development of an explainable machine learning model for predicting depression in adolescent girls with non-suicidal self-injury: A cross-sectional multicenter study. Journal of Affective Disorders. https://doi.org/10.1016/j.jad.2025.03.080
Noor, A. A., Manzoor, A., Mazhar Qureshi, M. D., Qureshi, M. A., & Rashwan, W. (2025). Unveiling Explainable AI in Healthcare: Current Trends, Challenges, and Future Directions. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery. https://doi.org/10.1002/widm.70018
Putra, A. H., & Afiati, E. (2026). Beyond the Australian Context: Reconsidering the Relationship Between Climate Exposure and Psychosocial Stressors in Youth Mental Health. Early Intervention in Psychiatry, 20(7), e70196. https://doi.org/10.1111/eip.70196
Putra, A. H., Ardi, Z., & Afiati, E. (2026). Perceived organisational support is a condition, not a cure: The case for acceptance and commitment therapy in child protection worker mental health frameworks. European Journal of Trauma & Dissociation, 10(3), 100714. https://doi.org/10.1016/j.ejtd.2026.100714
Putra, A. H., Ardi, Z., Ifdil, Afiati, E., & Herawati, A. A. (2026). Control-group deterioration and inflated effect sizes in LMIC school-based well-being trials: A methodological warning for adolescent mental health prevention research. Mental Health & Prevention, 43, 200534. https://doi.org/10.1016/j.mhp.2026.200534
Sumner, S. A., Alic, A., Law, R. K., Idaikkadar, N., & Patel, N. (2023). Estimating national and state-level suicide deaths using a novel online symptom search data source. Journal of Affective Disorders, 342, 63–68. https://doi.org/10.1016/j.jad.2023.08.141
Takane, S. (2025). Can the integrated and selected pattern approach effectively predict suicide rates? A study using internet search queries. Journal of Affective Disorders Reports, 21, 100934. https://doi.org/10.1016/j.jadr.2025.100934
Vu, T., Dawadi, R., Yamamoto, M., Tran Ngoc Hoang, P., & Araki, M. (2025). Prediction of depressive disorder using machine learning approaches: Findings from the NHANES. BMC Medical Informatics and Decision Making. https://doi.org/10.1186/s12911-025-02903-1
Wang, A., McCarron, R., Azzam, D., Stehli, A., Xiong, G., & DeMartini, J. (2022). Utilizing Big Data From Google Trends to Map Population Depression in the United States: Exploratory Infodemiology Study. JMIR Mental Health, 9(3), e35253. https://doi.org/10.2196/35253
Xia, F., Ren, J., Liu, L., Cui, Y., & He, Y. (2025). A machine learning-based depression risk prediction model for healthy middle-aged and older adult people based on data from the China health and aging tracking study. Frontiers in Public Health. https://doi.org/10.3389/fpubh.2025.1515094
Yollanda, M., & Devianto, D. (2020). Hybrid Model of Seasonal ARIMA-ANN to Forecast Tourist Arrivals through Minangkabau International Airport. Proceedings of the Proceedings of the 1st International Conference on Statistics and Analytics, ICSA 2019, 2-3 August 2019, Bogor, Indonesia. Proceedings of the 1st International Conference on Statistics and Analytics, ICSA 2019, 2-3 August 2019, Bogor, Indonesia. https://doi.org/10.4108/eai.2-8-2019.2290473
Yollanda, M., Devianto, D., & Yozza, H. (2018). Nonlinear Modeling of IHSG with Artificial Intelligence. 2018 International Conference on Applied Information Technology and Innovation (ICAITI), 85–90. https://doi.org/10.1109/ICAITI.2018.8686702
Yollanda, M., Harjupa, W., Devianto, D., Andarini, D. F., Nauval, F., Saufina, E., Purwaningsih, A., Harjupa, W., Trismidianto, Harjana, T., Risyanto, Rahmatia, F., Pratama, R., & Satiadi, D. (2023). Prediction of CENS, MJO, and Extreme Rainfall Events in Indonesia Using the VECM Model. In A. Basit, E. Yulihastin, S. Y. Cahyarini, H. Santoso, W. S. Pranowo, L. Slamet S., & H. A. Belgaman (Eds.), Proceedings of the International Conference on Radioscience, Equatorial Atmospheric Science and Environment and Humanosphere Science (Vol. 290, pp. 367–383). Springer Nature Singapore. https://doi.org/10.1007/978-981-19-9768-6_35
DOI: 10.24036/0001408chr2026
Article Metrics
Abstract View : 17 timesPDF : 14 times
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Mutia Yollanda, Ghea Weisha, Ade Herdian Putra

This work is licensed under a Creative Commons Attribution 4.0 International License.





