Decoding the Market: Can AI Predict Stock Prices and Explain Why?
"Unveiling the potential of self-reflective AI in generating explainable stock market predictions."
For years, the stock market has been a complex puzzle, challenging even the most seasoned investors. Traditional methods often fall short of providing clear, actionable insights, leaving many to wonder if there's a better way to understand market movements. The rise of deep learning offered some solutions, but it also created new problems. While it could do some analysis it remained as black box models that lacked the transparency and explainability needed for practical application.
Enter Large Language Models (LLMs), a new breed of AI known for their ability to generate human-readable explanations. With their language skills, LLMs present a potential solution to this challenge. However, stock prediction is difficult for these types of AI because the varying chaotic impacts of social texts on stock prices are difficult to weigh and explain verbally.
A groundbreaking study from the National University of Singapore and Eastspring Investments introduces a novel framework called Summarize-Explain-Predict (SEP). This innovative approach utilizes a self-reflective AI agent and Proximal Policy Optimization (PPO) to enable LLMs to autonomously learn how to generate explainable stock predictions, promising a new era of transparency and understanding in the financial world.
How Self-Reflective AI Learns to Predict and Explain Stock Movements

The SEP framework tackles the challenge of creating explainable stock predictions by dividing the process into three key components:
- Summarize: This module leverages the summarization capabilities of LLMs to condense vast amounts of text data into concise summaries of factual information.
- Explain: A self-reflective agent iteratively refines its predictions and explanations through verbal self-reflection, learning from past mistakes to improve future accuracy.
- Predict: A specialized LLM, fine-tuned using Proximal Policy Optimization (PPO), generates confidence-based predictions and explanations based on the insights gained during the reflective process.
The Future of AI in Stock Market Analysis
The SEP framework represents a significant step forward in the quest for explainable AI in stock market analysis. By combining the power of LLMs with self-reflection and reinforcement learning, this approach offers a promising path towards more transparent and understandable investment insights. As AI continues to evolve, we can expect even more sophisticated models that not only predict stock movements but also provide clear, concise explanations for their decisions, empowering investors to make more informed choices.