A dynamic graph-based time series prediction framework integrating temporal convolutional networks and graph attention mechanisms
Abstract
This paper addresses the challenge that rise–fall direction prediction in multivariate financial time series is constrained by the difficulty of jointly modeling temporal dependencies and cross-entity correlations. An intelligent algorithm system for multi-stock collaborative prediction is proposed. The system is organized as a computational pipeline, enabling an end-toend learning framework from temporal feature extraction to relational modeling and final decision output, thereby enhancing discriminative capability in complex sequential environments. Methodologically, the system employs a Temporal Convolutional Network (TCN) as the core encoding module to perform parallel modeling of historical sequences. A dynamic graph is constructed via rolling correlation to capture time-varying relationships among nodes. Furthermore, a Graph Attention mechanism is introduced to adaptively fuse cross-node information, and a Multi-Layer Perceptron (MLP) is utilized for final classification. The overall process forms a unified computational pipeline of “temporal encoding – dynamic graph modeling – attention-based fusion – prediction output,” balancing modeling capacity and computational efficiency. Experimental results on real-world market data demonstrate stable performance improvements. Compared with baseline models, the proposed system achieves an accuracy of 0.5381 and an AUC of 0.5633, while maintaining low variance across multiple random seeds, indicating strong robustness and generalization capability. In conclusion, the proposed intelligent algorithm system effectively integrates temporal modeling with dynamic graph learning, enabling efficient representation of complex multivariate sequences. The framework exhibits strong modularity and scalability, and can be extended to general computational scenarios such as multi-entity time series prediction and anomaly detection.