Collaborative Optimization in Financial Data Mining Through Deep Learning and ResNeXt

Pengbin Feng, Yankaiqi Li, Yijiashun Qi, Xiaojun Guo, Zhenghao Lin · DOI

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.

ResNeXt block architecture featuring group convolutions and residual connections.

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%.

Comparison of classification performance across different models.

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

Abstract

This study proposes a multi-task learning framework based on ResNeXt, aiming to solve the problem of feature extraction and task collaborative optimization in financial data mining. Financial data usually has the complex characteristics of high dimensionality, nonlinearity, and time series, and is accompanied by potential correlations between multiple tasks, making it difficult for traditional methods to meet the needs of data mining. This study introduces the ResNeXt model into the multi-task learning framework and makes full use of its group convolution mechanism to achieve efficient extraction of local patterns and global features of financial data. At the same time, through the design of task sharing layers and dedicated layers, it is established between multiple related tasks. Deep collaborative optimization relationships. Through flexible multi-task loss weight design, the model can effectively balance the learning needs of different tasks and improve overall performance. Experiments are conducted on a real S&P 500 financial data set, verifying the significant advantages of the proposed framework in classification and regression tasks. The results indicate that, when compared to other conventional deep learning models, the proposed method delivers superior performance in terms of accuracy, F1 score, root mean square error, and other metrics, highlighting its outstanding effectiveness and robustness in handling complex financial data. This research provides an efficient and adaptable solution for financial data mining, and at the same time opens up a new research direction for the combination of multi-task learning and deep learning, which has important theoretical significance and practical application value.
BibTeX
@misc{feng2024collaborative,
  author = {Pengbin Feng and Yankaiqi Li and Yijiashun Qi and Xiaojun Guo and Zhenghao Lin},
  title = {{Collaborative Optimization in Financial Data Mining Through Deep Learning and ResNeXt}},
  year = {2024},
  eprint = {2412.17314},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.17314},
}
Figure