paper-with-me

Papers

Learning to Generate Explainable Stock Predictions using Self-Reflective Large Language Models

2024-02-06 · Kelvin J. L. Koa, Yunshan Ma, Ritchie Ng, Tat-Seng Chua

Explaining stock predictions is generally a difficult task for traditional non-generative deep learning models, where explanations are limited to visualizing the attention weights on important texts. Today, Large Language Models (LLMs) present a solution to this problem, given their known capabilities to generate human-readable explanations for their decision-making process. However, the task of stock prediction remains challenging for LLMs, as it requires the ability to weigh the varying impacts of chaotic social texts on stock prices. The problem gets progressively harder with the introduction of the explanation component, which requires LLMs to explain verbally why certain factors are more important than the others. On the other hand, to fine-tune LLMs for such a task, one would need expert-annotated samples of explanation for every stock movement in the training set, which is expensive and impractical to scale. To tackle these issues, we propose our Summarize-Explain-Predict (SEP) framework, which utilizes a self-reflective agent and Proximal Policy Optimization (PPO) to let a LLM teach itself how to generate explainable stock predictions in a fully autonomous manner. The reflective agent learns how to explain past stock movements through self-reasoning, while the PPO trainer trains the model to generate the most likely explanations from input texts. The training samples for the PPO trainer are also the responses generated during the reflective process, which eliminates the need for human annotators. Using our SEP framework, we fine-tune a LLM that can outperform both traditional deep-learning and LLM methods in prediction accuracy and Matthews correlation coefficient for the stock classification task. To justify the generalization capability of our framework, we further test it on the portfolio construction task, and demonstrate its effectiveness through various portfolio metrics.

📄 PDF Abstract BibTeX arXiv:2402.03659

Code (1)

koa-fin/sep 공식 구현 pytorch

Tasks

Stock Prediction

Methods 이 논문이 사용한 방법론

Entropy Regularization 설명 없음
PPO Proximal Policy Optimization, or PPO, is a policy gradient method for reinforcement learning. The motivation was to have an algorithm with the data efficiency and reliable…

Similar Papers 제목 키워드 기반

TradingGroup: A Multi-Agent Trading System with Self-Reflection and Data-Synthesis

2025-08-25 · Feng Tian, Flora D. Salim, Hao Xue arxiv

Recent advancements in large language models (LLMs) have enabled powerful agent-based applications in finance, particularly for sentiment analysis, financial report comprehension, and stock forecasting. However, existing…

Reinforcement LearningSentiment AnalysisDecision Making

Automated Detection of Visual Attribute Reliance with a Self-Reflective Agent

2025-10-24 · Christy Li, Josep Lopez Camuñas, Jake Thomas Touchet, Jacob Andreas 외 arxiv

When a vision model performs image recognition, which visual attributes drive its predictions? Detecting unintended reliance on specific visual features is critical for ensuring model robustness, preventing overfitting, …

SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales

2024-05-31 · Tianyang Xu, Shujin Wu, Shizhe Diao, Xiaoze Liu 외

Large language models (LLMs) often generate inaccurate or fabricated information and generally fail to indicate their confidence, which limits their broader applications. Previous work elicits confidence from LLMs by dir…

Explainable-AI powered stock price prediction using time series transformers: A Case Study on BIST100

2025-06-01 · Sukru Selim Calik, Andac Akyuz, Zeynep Hilal Kilimci, Kerem Colak

Financial literacy is increasingly dependent on the ability to interpret complex financial data and utilize advanced forecasting tools. In this context, this study proposes a novel approach that combines transformer-base…

Explainable artificial intelligenceExplainable Artificial Intelligence (XAI)Interpretable Machine LearningStock Price Prediction+1

IKNet: Interpretable Stock Price Prediction via Keyword-Guided Integration of News and Technical Indicators

2025-10-09 · Jinwoong Kim, Sangjin Park arxiv

The increasing influence of unstructured external information, such as news articles, on stock prices has attracted growing attention in financial markets. Despite recent advances, most existing newsbased forecasting mod…

Stock Price Prediction