Explainable Industry-Aware Social Media Virality Prediction Using Temporal and Categorical Features

This study proposes an explainable, industry-aware machine learning framework to predict social media post virality using pre-publication metadata. Utilizing 528 observations (January 2025–February 2026) from Instagram and TikTok across the IT, F&B, and manufacturing sectors, virality was defined using a leakage-free 75th-percentile engagement threshold. Several classifiers, Logistic Regression, Random Forest, SVM, XGBoost, and CatBoost, were evaluated using five-fold stratified cross-validation and time-based testing. Model interpretability was addressed using SHAP analysis, and optimal posting times were simulated via a marginal approach.During cross-validation, the categorical-only XGBoost achieved an F1-score of 0.4158 and ROC-AUC of 0.6046, while the operational simulation model (combined_main_no_client) yielded a lower F1-score of 0.3581. In chronological final-test evaluation (January–February 2026), the model suffered severe performance decay due to temporal covariate shift, dropping to an F1-score, Recall, and Precision of 0.2917, while missing 70.83% of actual viral cases. SHAP analysis identified month index and IT industry affiliation as the strongest predictive features. These findings highlight the challenges of pre-publication virality forecasting and emphasize the vulnerability of static classifiers to temporal shifts in low-sample environments.

Authors

Institutions

Publication Details

Journal
International Journal of Advances in Data and Information Systems
Published
2026-10-29
DOI
https://doi.org/10.59395/ijadis.v7i3.1647
Primary Topic
Digital Marketing and Social Media
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable Industry-Aware Social Media Virality Prediction Using Temporal and Categorical Features

Hujjatullah Fazlurrahman, Riska Dhenabayu, Mohamad Syamsul Hidayat, Naufal Rifqi Nasution et al.
International Journal of Advances in Data and Information Systems
Digital Marketing and Social Media
article

Explainable Industry-Aware Social Media Virality Prediction Using Temporal and Categorical Features

Hujjatullah Fazlurrahman, Riska Dhenabayu, Mohamad Syamsul Hidayat, Naufal Rifqi Nasution, Muhammad Ariqoh Bahrul Ulum
article en

Abstract

This study proposes an explainable, industry-aware machine learning framework to predict social media post virality using pre-publication metadata. Utilizing 528 observations (January 2025–February 2026) from Instagram and TikTok across the IT, F&B, and manufacturing sectors, virality was defined using a leakage-free 75th-percentile engagement threshold. Several classifiers, Logistic Regression, Random Forest, SVM, XGBoost, and CatBoost, were evaluated using five-fold stratified cross-validation and time-based testing. Model interpretability was addressed using SHAP analysis, and optimal posting times were simulated via a marginal approach.During cross-validation, the categorical-only XGBoost achieved an F1-score of 0.4158 and ROC-AUC of 0.6046, while the operational simulation model (combined_main_no_client) yielded a lower F1-score of 0.3581. In chronological final-test evaluation (January–February 2026), the model suffered severe performance decay due to temporal covariate shift, dropping to an F1-score, Recall, and Precision of 0.2917, while missing 70.83% of actual viral cases. SHAP analysis identified month index and IT industry affiliation as the strongest predictive features. These findings highlight the challenges of pre-publication virality forecasting and emphasize the vulnerability of static classifiers to temporal shifts in low-sample environments.

International Journal of Advances in Data and Information SystemsVol. 7(3)
Universitas Negeri Surabaya (ID), Universitas Islam Majapahit (ID), Northern University of Malaysia (MY)
Openalex Percentile: Top 6%
Digital Marketing and Social Media
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon