[Paper Review] GPT-Signal: Generative AI for Semi-automated Feature Engineering in the Alpha Research Process
GPT-4 is used to semi-automate the generation of return-predictive financial signals, creating 6 new signals that improve alpha-prediction models across sectors and time.
In the trading process, financial signals often imply the time to buy and sell assets to generate excess returns compared to a benchmark (e.g., an index). Alpha is the portion of an asset's return that is not explained by exposure to this benchmark, and the alpha research process is a popular technique aiming at developing strategies to generate alphas and gain excess returns. Feature Engineering, a significant pre-processing procedure in machine learning and data analysis that helps extract and create transformed features from raw data, plays an important role in algorithmic trading strategies and the alpha research process. With the recent development of Generative Artificial Intelligence(Gen AI) and Large Language Models (LLMs), we present a novel way of leveraging GPT-4 to generate new return-predictive formulaic alphas, making alpha mining a semi-automated process, and saving time and energy for investors and traders.
Motivation & Objective
- Motivate the need for more efficient feature engineering in alpha research and quantitative finance.
- Propose a semi-automated framework using a Large Language Model (GPT-4) to generate new return-predictive signals from financial data.
- Evaluate the predictive value and robustness of GPT-generated signals across multiple sectors and timeframes.
- Compare augmented signal models against a baseline model using traditional signals and Fama-MacBeth regression.
Proposed method
- Design a two-step GPT-4 prompting workflow (Langchain-based) where the model first defines signals and their effects, then generates and refines new signals from input data.
- Use zero-shot chain-of-thought prompting to enhance GPT-4 reasoning in signal generation.
- Construct and normalize signals; compute Spearman rank correlations and heatmaps to assess signal-return relationships.
- Evaluate predictive power via Fama-MacBeth two-step regression with cross-sectional regressions and adjusted R-squared as the performance metric.
- Use a dataset of S&P 500 sector companies (IT, Health Care, Energy) with 10 existing signals and quarterly returns (2016–2020).
- Present six new signals created by GPT-4 and compare their contribution to a baseline model.

Experimental results
Research questions
- RQ1Can GPT-4 generate novel return-predictive signals from financial data that meaningfully relate to future returns?
- RQ2Do GPT-generated signals provide predictive gains over models built with traditional signals?
- RQ3Are the GPT-generated signals robust across sectors (IT, Health Care, Energy) and different time periods?
- RQ4What is the relative explanatory power (e.g., adjusted R-squared) of models augmented with GPT-generated signals versus baseline models?
Key findings
- GPT-4 can analyze tabular financial data and generate new, nonlinear signals with accompanying reasoning.
- The new signals show measurable correlations with returns, with absolute correlations ranging up to 0.12 in IT sector heatmaps (higher than many existing signals).
- One signal (EVC) exhibits the highest absolute correlation to returns among new signals and existing signals.
- Fama-MacBeth regressions show improved adjusted R-squared for 5 of 6 GPT-generated signals across sectors compared to the baseline.
- The approach demonstrates robustness of GPT-generated signals across IT, Health Care, and Energy sectors during 2016–2020.
- GPT-4 combines existing signals in nonlinear, higher-order ways to create novel signals that outperform simple linear combos.
- The framework accelerates feature engineering by leveraging GPT-4’s data-processing and reasoning capabilities.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.