Prior Knowledge Neural Network for Automatic Feature Construction in Financial Time Series

Jie Fang, Jianwu Lin, Yong Jiang, Shutao XiaarXiv 2019

Introduction

In quantitative finance, the discovery of "alphas"—predictive features derived from raw market data—is a critical task. Traditionally, these features are hand-crafted or generated via Genetic Programming (GP). However, GP often suffers from search inefficiency and high redundancy. Researchers from Tsinghua University propose the Alpha Discovery Neural Network (ADNN), a differentiable framework that treats feature construction as a continuous optimization problem, enabling more efficient and diverse alpha generation.

Problem Statement

Genetic Programming (GP) treats mathematical formulas as discrete trees. This approach has three primary limitations:

  1. Inefficiency: Small mutations can lead to catastrophic failures in feature utility, making it akin to a random search.
  2. Redundancy: GP frequently produces clusters of highly correlated features.
  3. Non-stationarity: Discrete formulas struggle to adapt to the noisy, evolving nature of financial time series.

Methodology

The ADNN Architecture

The ADNN framework replaces the discrete evolution of GP with gradient-based optimization. The network is designed to extract informative features from raw inputs like price and volume.

Overview of the ADNN framework for financial feature construction.

The architecture includes components for inspecting feature components and pre-training on various distributions to ensure a robust starting point.

Differentiable Ranking Approximation

A significant challenge in using neural networks for financial features is the non-differentiable nature of the rank() operator, which is essential for handling outliers. To overcome this, the authors introduced a sigmoid-based kernel function, $g(x)$, to approximate the ranking operation.

This approximation allows the entire pipeline to be trained via backpropagation, maximizing the Spearman Correlation between the generated features and future returns.

Model Stealing and Pre-training

Rather than starting from scratch, ADNN utilizes a "model stealing" strategy. The network is pre-trained to mimic existing classical features or specific random distributions. This initialization provides a high-quality baseline that the network subsequently refines into superior, non-linear trading signals.

Experimental Results

The framework was evaluated on Chinese A-share market data (2015–2019). The researchers compared three approaches: standalone GP (Scheme A), a hybrid GP + ADNN (Scheme B), and standalone ADNN (Scheme C).

  • Predictive Accuracy: Scheme B achieved a Test Information Coefficient (IC) of 0.121, outperforming standalone GP (0.093).
  • Feature Diversity: ADNN-based methods produced significantly more diverse features, with a diversity score of 24.34 for Scheme B compared to 17.16 for GP.
  • Financial Performance: In backtesting, the hybrid Scheme B delivered an absolute return of +15.62%, surpassing both the GP strategy (+13.00%) and the ZZ500 index benchmark (+13.75%).

Conclusion

The Alpha Discovery Neural Network represents a shift from discrete, heuristic-based feature search to continuous, gradient-based optimization. By incorporating differentiable ranking and prior knowledge through pre-training, ADNN generates higher-quality and more diverse financial alphas. While computational intensity and human-readability remain challenges, the hybrid approach of using GP for coarse logic and ADNN for fine-tuning offers a powerful new tool for quantitative researchers.

Summary updated

BibTeX
@misc{fang2019prior,
  author = {Jie Fang and Jianwu Lin and Yong Jiang and Shutao Xia},
  title = {{Prior Knowledge Neural Network for Automatic Feature Construction in Financial Time Series}},
  year = {2019},
  eprint = {1912.06236},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.06236},
}
Figure