CBEC inventory optimization model design based on spatiotemporal attention and transformer architecture

Z Zongping Lin Y Yingyi Huang J Jing Yang C Chunhu Cui Y Yabin Lian H Honglei Zhang

Abstract

To solve the problem of inaccurate long-term prediction of cross-border inventory encountered by cross-border enterprises in their experience, this paper proposes a cross-border inventory prediction model based on a spatiotemporal perception Transformer. Specifically, firstly, an improved temporal aware self-attention mechanism is adopted to mine potential temporal trends and spatial heterogeneity features in cross-border inventory, and an accurate spatiotemporal correlation matrix is established to obtain global spatiotemporal features. Secondly, we simulate the multi-level diffusion process of inventory data in the road network using multi-scale diffusion convolution, which captures the local spatial features of nodes across multiple neighborhood ranges. Finally, a multi-dimensional feature fusion module is used to adaptively fuse the captured spatiotemporal features and output prediction results. The experimental results show that compared with the ASTGNN model with the highest prediction accuracy, the method proposed in this paper performs better in MAE, MAPE, and RMSE, which are reduced by 7.6%, 4.2%, and 1.1%, respectively.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 2
Published February 02, 2026
Pages e0338951
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (6)

Z

Zongping Lin

Y

Yingyi Huang

J

Jing Yang

C

Chunhu Cui

Y

Yabin Lian

H

Honglei Zhang