Adaptive Financial Sentiment Analysis for NIFTY 50 via Instruction-Tuned LLMs , RAG and Reinforcement Learning Approaches
Not on the map. Why?
Abstract (arXiv)
Financial sentiment analysis plays a crucial role in informing investment decisions, assessing market risk, and predicting stock price trends. Existing works in financial sentiment analysis have not considered the impact of stock prices or market feedback on sentiment analysis. In this paper, we propose an adaptive framework that integrates large language models (LLMs) with real-world stock market feedback to improve sentiment classification in the context of the Indian stock market. The proposed methodology fine-tunes the LLaMA 3.2 3B model using instruction-based learning on the SentiFin dataset. To enhance sentiment predictions, a retrieval-augmented generation (RAG) pipeline is employed that dynamically selects multi-source contextual information based on the cosine similarity of the sentence embeddings. Furthermore, a feedback-driven module is introduced that adjusts the reliability of the source by comparing predicted sentiment with actual next-day stock returns, allowing the system to iteratively adapt to market behavior. To generalize this adaptive mechanism across temporal data, a reinforcement learning agent trained using proximal policy optimization (PPO) is incorporated. The PPO agent learns to optimize source weighting policies based on cumulative reward signals from sentiment-return alignment. Experimental results on NIFTY 50 news headlines collected from 2024 to 2025 demonstrate that the proposed system significantly improves classification accuracy, F1-score, and market alignment over baseline models and static retrieval methods. The results validate the potential of combining instruction-tuned LLMs with dynamic feedback and reinforcement learning for robust, market-aware financial sentiment modeling.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 24 references that are in the map. First posted on arXiv 23 Dec 2025.
Builds on
12 of 24 references.
References · 12
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Large Language Modelscited by 774
- 2019FinBERT: Financial Sentiment Analysis with Pre-trained Language Modelscited by 378
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2023Large Language Models in Finance: A Surveycited by 223
- 2023Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Modelscited by 67
- 2023Instruct-FinGPT: Financial Sentiment Analysis by Instruction Tuning of General-Purpose Large Language Modelscited by 58
- 2024Large Language Model Adaptation for Financial Sentiment Analysiscited by 18
- 2021Stock Movement Prediction with Financial News using Contextualized Embedding from BERTcited by 12
- 2024Aligning LLMs with Human Instructions and Stock Market Feedback in Financial Sentiment Analysiscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026FinSMART: Financial Sentiment Analysis for Algorithmic Trading through Market-Aligned Reinforcement Learning
- 2025FinDPO: Financial Sentiment Analysis for Algorithmic Trading through Preference Optimization of LLMs
- 2024Designing Heterogeneous LLM Agents for Financial Sentiment Analysis
- 2024RAG-IT: Retrieval-Augmented Instruction Tuning for Automated Financial Analysis -- A Case Study for the Semiconductor Sector
- 2025Exploring Sentiment Manipulation by LLM-Enabled Intelligent Trading Agents
- 2025Reasoning or Overthinking: Evaluating Large Language Models on Financial Sentiment Analysis
- 2022What do LLMs Know about Financial Markets? A Case Study on Reddit Market Sentiment Analysis
- 2026SenseAI: A Human-in-the-Loop Dataset for RLHF-Aligned Financial Sentiment Reasoning