Abstract
Quantitative finance relies heavily on the discovery of "Alpha"—signals that predict asset returns beyond a benchmark. Traditionally, feature engineering for Alpha discovery is a manual, expert-driven process. This paper presents GPT-Signal, a framework that leverages GPT-4 to automate the generation of formulaic alphas. By combining traditional financial ratios through non-linear reasoning, GPT-Signal produces interpretable, high-performing features. Empirical results across S&P 500 sectors (2016–2020) show that these AI-generated signals frequently outperform standard benchmarks in predictive power, offering a scalable path for financial research.
Introduction
The search for Alpha is the cornerstone of quantitative investment strategies. However, the process of designing predictive features—mathematical formulas that map raw financial data to future returns—is often bottlenecked by human cognitive limits and biases. GPT-Signal addresses this by utilizing Large Language Models (LLMs) to explore a vast space of non-linear feature combinations, providing both the mathematical logic and economic intuition for new signals.
Methods
The GPT-Signal framework employs a two-stage prompting strategy with GPT-4. First, the model is "contextualized" with definitions and logic for 10 standard financial signals (e.g., P/E, ROE, Gross Margin). Second, using a Zero-shot Chain-of-Thought (CoT) approach, the model analyzes historical tabular data to generate new, non-linear formulas. Evaluation is conducted using Spearman Rank Correlation and Fama-MacBeth two-step regressions to assess predictive significance (Adjusted $R^2$).
Data
The study utilizes S&P 500 data from 2016 to 2020, focusing on three sectors: Information Technology, Health Care, and Energy. Financial metrics were sourced from FactSet, and return data from Yahoo Finance, targeting one-month and three-month forward return horizons.
Key Insights and Results
GPT-4 demonstrates an ability to move beyond simple linear combinations, creating complex features like the Investment Quality Score (IQS) using logarithms and ratios. Crucially, the model provides economic reasoning for its choices, ensuring that the generated signals are grounded in financial theory.
As shown in the correlation analysis above, several AI-generated signals exhibit stronger absolute correlations with future returns than traditional benchmarks. For instance, the Efficiency Value Composite (EVC) signal achieved a higher absolute correlation than any of the 10 baseline ratios.
Regression results further validate these findings. In five out of six tested scenarios, the inclusion of an AI-generated signal improved the model's Adjusted $R^2$, indicating superior explanatory power for market returns compared to the baseline. This efficiency drastically reduces the time required to develop and test new hypotheses, transforming a weeks-long manual research task into a semi-automated process.
Limitations and Future Work
While GPT-Signal significantly accelerates the research process, it remains a semi-automated tool requiring human oversight for prompt design and final validation. Future research should expand the dataset to include global markets and high-volatility periods, and incorporate full-scale trading simulations to account for transaction costs and market impact.
Conclusion
GPT-Signal represents a significant step toward the automation of financial discovery. By bridging the gap between raw data and economic intuition, LLMs can serve as powerful assistants in the quantitative research pipeline, uncovering complex patterns that traditional manual methods might overlook.
Summary updated