Is All the Information in the Price? LLM Embeddings versus the EMH in Stock Clustering

Bingyang Wang, Grant Johnson, Tucker Balch, Maria Hybinette

TL;DR

This paper challenges the idea that AI-driven methods can improve stock clustering beyond traditional price-based approaches. By evaluating different clustering methods using a novel Arbitrage Pricing Theory (APT) framework, they found that historical stock return correlations consistently outperform both human-defined industry classifications (GICS) and LLM-based news embeddings in predicting stock returns.

What Problem Does This Paper Address?

The Efficient Markets Hypothesis (EMH), particularly its semi-strong form, suggests that all public information is already reflected in stock prices. This implies that clustering stocks based on price movements alone should be as good as, if not better than, methods incorporating other forms of public information, like news or expert classifications. The paper investigates this by asking: can AI, specifically using LLM embeddings of news, provide improved stock clustering compared to traditional price-based or human-defined (GICS) methods? This is crucial for understanding how markets absorb information and for practical applications like portfolio construction and risk management.

Methods

The core of the paper's methodology is a novel way to evaluate stock clusterings. They adapt the Arbitrage Pricing Theory (APT) framework to create a synthetic factor model. For each clustering method, they generate cluster indices (value-weighted average returns of stocks within a cluster) and use these as factors in a linear model to predict individual stock returns. This allows for a consistent, out-of-sample evaluation of predictive performance.

They compare three main types of clustering:

  1. Price-based: Derived from historical daily stock return correlations, computed over rolling time windows to capture evolving market structures.
  2. Human-informed: Based on the Global Industry Classification Standard (GICS), a widely used industry classification system.
  3. AI-driven: Constructed using LLM embeddings of stock-related news headlines. Specifically, they use OpenAI's text-embedding-3-large model on concatenated weekly news headlines and then compute pairwise similarity using cosine similarity.

For numerical clustering, they employ both k-means and hierarchical clustering algorithms on the similarity matrices generated by the price and LLM embedding methods. A random assignment is used as a baseline.

Datasets

  • Compustat North America Daily Updates database (via WRDS): Used for point-in-time GICS classification data and historical stock price data.
  • RavenPack: Source for news headlines, filtered for relevance and processed to remove noise.

The paper uses S&P 500 constituents from January 2022 to December 2024 for their backtesting experiments.

Key Insights and Ideas

  • The EMH Holds Strong (for short-term prediction): The most striking finding is that simple, price-based clustering methods consistently outperform more sophisticated AI-driven and human-defined approaches in predicting short-term stock returns. This suggests that short-horizon return information is indeed largely captured by price movements.
  • LLMs Don't Beat Prices (Yet): Despite the power of LLMs to capture semantic meaning from text, their embeddings of news headlines did not lead to better stock clustering for predictive purposes compared to historical return correlations.
  • A Generalizable Evaluation Framework: The paper introduces a valuable contribution in its APT-based methodology for converting any equity grouping into a real-time factor model for evaluation. This is a reusable pipeline for practitioners and academics.
  • Direct Comparison Under Identical Conditions: This study offers the first direct comparison of price-based, human rule-based, and AI-based clustering under the same rolling, out-of-sample evaluation framework.

Key Results

The study found that price-based clustering methods consistently outperformed both GICS (rule-based) and LLM embedding methods. Specifically:

  • Price-based clustering reduced Root Mean Squared Error (RMSE) by 15.9% relative to GICS.
  • Price-based clustering reduced RMSE by 14.7% relative to LLM embeddings.
  • The best-performing price-based clustering method showed a statistically significant improvement over the best LLM-based method, with a p-value of 0 from a paired Student's t-test on prediction errors.

Limitations and Future Work

  • Limited Timeframe: The backtesting analysis is limited to approximately 14-18 months (January 2022 - December 2024) due to the knowledge cutoff of the LLM used. This is shorter than typical financial model validation periods.
  • Large-Cap Focus: The study is limited to large-cap U.S. equities.
  • Fixed Cluster Count: The number of clusters was fixed at K=11, aligning with GICS sectors. The authors note that different cluster counts might yield different results.

Future work could involve extending the analysis to longer timeframes, exploring different LLMs and embedding techniques, and testing with different universe sizes or types of equities. The proposed framework also offers academics a tool to test alternative hypotheses about information absorption in markets.

Summary updated

BibTeX
@inproceedings{wang2025is,
  author = {Bingyang Wang and Grant Johnson and Tucker Balch and Maria Hybinette},
  title = {{Is All the Information in the Price? LLM Embeddings versus the EMH in Stock Clustering}},
  booktitle = {GenAI in Finance @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=5gfbGArnxm},
}
Figure