Abstract
Financial data mining presents significant challenges due to the high dimensionality, non-linearity, and volatility of market time series. This paper proposes a multi-task learning (MTL) framework that utilizes the ResNeXt architecture to concurrently address classification and regression tasks. By employing group convolutions and a phased optimization strategy, the model effectively captures complex spatio-temporal relationships. Experimental results on S&P 500 data demonstrate that the proposed approach significantly outperforms traditional benchmarks, including LSTMs and Transformers, in both market trend prediction and price target estimation.
Introduction
Modeling financial markets is a complex endeavor. Traditional data mining techniques often fail to account for the intricate "spatio-temporal" dependencies inherent in financial time series. Moreover, most existing models treat related financial tasks—such as trend classification and price regression—as isolated problems. This approach ignores the potential benefits of shared information across correlated tasks. This study introduces a collaborative optimization framework designed to learn shared representations, thereby enhancing the predictive accuracy and efficiency of financial models.
Methodology
The proposed framework consists of three primary components: a feature extraction module, a shared learning module, and task-specific output heads.
ResNeXt Feature Extraction
At the core of the feature extraction module is the ResNeXt architecture. Unlike standard convolutional neural networks, ResNeXt utilizes group convolutions. This technique divides input channels into smaller groups, allowing the model to learn a diverse set of local and global features without significantly increasing parameter complexity.
The inclusion of residual connections ensures stable gradient flow, which is critical when training deep architectures on volatile financial data.
Shared Learning and Task Heads
The shared learning module serves as a bridge, mapping high-level features into task-specific spaces while maintaining a weight-sharing mechanism. This architecture prevents "task interference" while leveraging commonalities between different financial metrics. The model then branches into two heads:
- Classification Head: Employs a Softmax layer for categorical predictions, such as market trends.
- Regression Head: Generates scalar outputs for continuous values, such as specific price targets.
A phased training strategy is employed, beginning with single-task pre-training to ensure convergence of the specialized heads, followed by joint optimization using a weighted loss function.
Experimental Setup
The framework was evaluated using a comprehensive S&P 500 stock market dataset spanning from 2000 onwards. The dataset includes standard trading data (Open, High, Low, Close, Volume) and macroeconomic indicators such as GDP growth and interest rates. The data was preprocessed using Z-Score normalization and divided into fixed-length time windows. A total of 1.8 million samples were utilized, with a 70/15/15 split for training, validation, and testing.
Results and Discussion
The ResNeXt-based MTL framework was benchmarked against LSTM, Deep Shared Network (DSN), Multi-Channel CNN (MCCNN), and Transformer models.
Classification Performance
The proposed model achieved superior performance in trend prediction, reaching an accuracy of 85.3% and a Macro F1 score of 83.7%.
As shown in the table above, our model outperformed the Transformer benchmark by 3.2 percentage points in accuracy. This suggests that while Transformers excel at long-range dependencies, the ResNeXt grouping strategy is more effective at capturing the local, multi-dimensional patterns characteristic of financial markets.
Regression Performance
In regression tasks, the model also demonstrated state-of-the-art results, achieving a Mean Absolute Error (MAE) of 0.025 and a Root Mean Square Error (RMSE) of 0.043. These results confirm that multi-task learning acts as an effective regularizer, reducing overfitting to the noise present in individual financial metrics.
Conclusion
This research demonstrates the efficacy of combining ResNeXt-based feature extraction with a multi-task learning framework for financial data mining. Future work will explore the integration of high-frequency data and Graph Neural Networks (GNNs) to model cross-asset correlations. Additionally, efforts will be made to optimize the computational efficiency of the framework for real-time deployment.
Summary updated