mlsanityData to 14 Oct 2026

Assessing Look-Ahead Bias in Stock Return Predictions Generated By GPT Sentiment Analysis

arXiv 2309.17322 ↗First posted 29 Sep 2023q-fin.GN cs.AIcited by 31

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs), including ChatGPT, can extract profitable trading signals from the sentiment in news text. However, backtesting such strategies poses a challenge because LLMs are trained on many years of data, and backtesting produces biased results if the training and backtesting periods overlap. This bias can take two forms: a look-ahead bias, in which the LLM may have specific knowledge of the stock returns that followed a news article, and a distraction effect, in which general knowledge of the companies named interferes with the measurement of a text's sentiment. We investigate these sources of bias through trading strategies driven by the sentiment of financial news headlines. We compare trading performance based on the original headlines with de-biased strategies in which we remove the relevant company's identifiers from the text. In-sample (within the LLM training window), we find, surprisingly, that the anonymized headlines outperform, indicating that the distraction effect has a greater impact than look-ahead bias. This tendency is particularly strong for larger companies--companies about which we expect an LLM to have greater general knowledge. Out-of-sample, look-ahead bias is not a concern but distraction remains possible. Our proposed anonymization procedure is therefore potentially useful in out-of-sample implementation, as well as for de-biased backtesting.

Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 4 of its 16 references that are in the map. First posted on arXiv 29 Sep 2023.

Builds on

4 of 16 references.

References · 4

  1. 2020Extracting Training Data from Large Language Modelscited by 2,189
  2. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  3. 2023Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Modelscited by 129
  4. 2023ChatGPT Informed Graph Neural Network for Stock Movement Predictioncited by 41

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 9; 2026: 21.

31 papers.

Sort:

By area:

  1. 2025Time Travel is Cheating: Going Live with DeepFund for Real-Time Fund Investment Benchmarkingcited by 21
  2. 2026Look-Ahead-Bench: a Standardized Benchmark of Look-ahead Bias in Point-in-Time LLMs for Financecited by 13
  3. 2025A Fast and Effective Solution to the Problem of Look-ahead Bias in LLMscited by 8
  4. 2026DatedGPT: Preventing Lookahead Bias in Large Language Models with Time-Aware Pretrainingcited by 8
  5. 2024A Scoping Review of ChatGPT Research in Accounting and Financecited by 6
  6. 2025Reasoning or Overthinking: Evaluating Large Language Models on Financial Sentiment Analysiscited by 6
  7. 2025Advancing Financial Engineering with Foundation Models: Progress, Applications, and Challengescited by 4
  8. 2025A Financial Brain Scan of the LLMcited by 3
  9. 2025Instruction Tuning Chronologically Consistent Language Modelscited by 3
  10. 2026Scaling Point-in-Time Language Models: Enabling Economic Evaluation of Embeddingscited by 3
  11. 2026Dutch Books for Language Modelscited by 3
  12. 2026Temporal Leakage in LLM Backtesting: Measurement, Validation, and Adjusted Scorescited by 2
19 more
  1. 2025Do Large Language Models (LLMs) Understand Chronology?cited by 1
  2. 2025Integrating Large Language Models and Reinforcement Learning for Sentiment-Driven Quantitative Tradingcited by 0
  3. 2025How AI Forecasts AI Jobs: Benchmarking LLM Predictions of Labor Market Changescited by 0
  4. 2026Seeing the Goal, Missing the Truth: Human Accountability for AI Biascited by 0
  5. 2026MemGuard-Alpha: Limits of Membership Inference for Detecting and Filtering Memorization-Contaminated Signals in LLM-Based Financial Forecastingcited by 0
  6. 2026Forecasting With LLMs: Improved Generalization Through Feature Steeringcited by 0
  7. 2026HindsightBench: A Black-Box Behavioral Audit Protocol for Parametric Hindsight in Time-Indexed LLM Decision Taskscited by 0
  8. 2026Frontier Financial Judgement: Can agents tell what might move a stock?cited by 0
  9. 2026Talking to Digital Twins: Selective Disclosure and Belief Measurement in Financial Social Mediacited by 0
  10. 2026Large Language Model-Driven Small-Capitalization Trading: Integrating Financial News Sentiment, Macroeconomic Indicators, and Technical Signalscited by 0
  11. 2026FORESIGHT-9: Prospective and Process-Aware Evaluation of Adaptive Trading Agentscited by 0
  12. 2026Agentic Empirical Asset Pricing: Methodological Foundationscited by 0
  13. 2026Contagion on the Trading Floor: How Adversarial Signals Spread in Multi-Agent Trading Systemscited by 0
  14. 2026Target alignment, dilution and forecast selection when cross-sectional forecasts share a common targetcited by 0
  15. 2026LiveOption: Evaluating LLM Agents in Structured Option Trading with Nonlinear Payoffscited by 0
  16. 2026Frontier Autolab: Organizational Memory, Adversarial Dissent and Temporal Leakage in Multi-Agent LLM Firms Across Fifty Years of Technological Changecited by 0
  17. 2026Can Language Models Learn to Forecast Stock Pricescited by 0
  18. 2026Say, Echo, Do: Strategic Narratives and Revealed Positioning in Financial Marketscited by 0
  19. 2026How Well Do LLMs Perform in Peer Review? Evidence from Finance and Accountingcited by 0