A Multitask Learning framework for E‐commerce time series analytics: Operational risk, demand forecasting, and anomaly detection
Junzhong He and
Xiaorui An
PLOS ONE, 2026, vol. 21, issue 7, 1-19
Abstract:
The study presents MT-PyraRisk, a multi-task learning framework that integrates pyramidal attention mechanisms for cross-border e-commerce risk prediction. The model processes multimodal time-series data through a shared feature extraction layer and task-specific prediction modules, supporting both regression tasks, such as operational risk and demand forecasting, and classification tasks, such as anomaly detection. Experiments were conducted on the Global E-commerce Dataset and the Kaggle Network Traffic Dataset using a sliding-window time-series setting, with the data divided into training, validation, and testing sets at a ratio of 70%, 15%, and 15%, respectively. The model was evaluated using MSE and MAE for regression tasks and Precision, Recall, and F1-score for classification and anomaly detection tasks. Compared with the strong baseline Timesformer, MT-PyraRisk reduced MSE by approximately 4.3% and improved F1-score and Recall by approximately 1.1% and 2.3%, respectively, on the Global E-commerce Dataset. On the Kaggle Network Traffic Dataset, MT-PyraRisk reduced MSE by approximately 5.1% and improved F1-score, Precision, and Recall by approximately 3.3%, 2.2%, and 4.5%, respectively. Ablation results further demonstrate the contribution of the pyramidal attention mechanism, task-specific prediction layers, and joint optimization module, as removing these components led to clear performance degradation. These results indicate that MT-PyraRisk can provide an effective multi-task modeling solution for operational risk forecasting, demand prediction, and anomaly detection in cross-border e-commerce risk management.
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0352809 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 52809&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0352809
DOI: 10.1371/journal.pone.0352809
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().