Factor Investing with a Deep Multi-Factor Model

Zikai Wei, Bo Dai, Dahua LinarXiv 2022 · DOI

Introduction

Factor investing has traditionally relied on linear models to select stocks based on characteristics like value, momentum, or quality. While these models are highly interpretable, they often fail to capture the non-linear interactions and complex relational dependencies inherent in financial markets. Conversely, modern deep learning approaches offer high predictive power but are frequently dismissed as "black boxes" by practitioners who require economic justification for investment decisions. This paper presents the Deep Multi-Factor Model (DMFM), a framework designed to bridge this gap by combining hierarchical Graph Attention Networks (GATs) with a specialized "Factor-Attention" module for enhanced interpretability.

Methodology: Financial Logic in Architecture

The DMFM architecture mirrors the logical workflow of a financial analyst, treating stocks as nodes in a dynamic, multi-relational graph. This allows the model to account for structural market changes such as industry reclassifications or index additions.

The process begins with a Stock Context Encoder that extracts initial features using an MLP with Batch Normalization, effectively performing a financial z-score normalization. The core of the model lies in its Hierarchical Graph Attention layers:

  1. Industry Level: A GAT learns intra-industry influences. By subtracting these influences, the model performs "Industry Neutralization," identifying a stock's idiosyncratic value relative to its peers.
  2. Universe Level: A second GAT captures broader market-wide influences across the entire index.

To ensure the model remains a "glass box," the authors implement a Factor-Attention Module. This mechanism maps learned "deep factors" back to original input metrics (e.g., Size, Volatility, Quality), providing managers with clear insights into the drivers of the model's predictions. Finally, the model is optimized using a multi-objective loss function that prioritizes both returns and factor stability (ICIR).

Empirical Results

The DMFM was evaluated using data from the Chinese stock market (2010–2022) across three major indices: the CSI 300 (large-cap), CSI 500 (mid-cap), and CSI 1000 (small-cap). The model demonstrated significant outperformance over traditional linear models and standard MLPs across all tested universes.

In the small-cap CSI 1000 index, the DMFM achieved a 16.36% active return ($\alpha$), nearly doubling the 7.79% return of the traditional linear baseline.

Cumulative returns on the CSI 1000 index, showing DMFM outperforming linear and MLP baselines.

Similar trends were observed in the mid-cap CSI 500 index. The model maintained a positive Sharpe Ratio across all benchmarks, even during periods of market volatility where benchmarks themselves yielded negative risk-adjusted returns. This stability indicates that the model's ability to generate excess returns is consistent over time rather than being the result of specific market regimes.

Cumulative returns on the CSI 500 index, demonstrating consistent alpha generation across different market cycles.

A key finding from the Factor-Attention heatmaps was the consistent importance of "Quality" factors. Across all indices, quality metrics received the highest attention weights, suggesting they are primary drivers of the model's superior performance.

Conclusion

The Deep Multi-Factor Model successfully addresses the performance-interpretability trade-off in factor investing. By embedding financial logic—such as industry neutralization—directly into the neural architecture and utilizing attention mechanisms for transparency, the DMFM provides a robust tool for modern portfolio management. While currently focused on the Chinese market, the underlying logic is universal, and future work will explore its application to Enhanced Index Funds (EIFs) in global markets.

Summary updated

BibTeX
@misc{wei2022factor,
  author = {Zikai Wei and Bo Dai and Dahua Lin},
  title = {{Factor Investing with a Deep Multi-Factor Model}},
  year = {2022},
  eprint = {2210.12462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.12462},
}
Figure