NIFTY Financial News Headlines Dataset
Raeid Saqur, Ken Kato, Nicholas Vinden, Frank Rudzicz
TL;DR
NIFTY introduces a public, headline-informed dataset for financial market forecasting using large language models, structured for both SFT (NIFTY-LM) and RLHF-style alignment (NIFTY-RL). It combines long-span news data with market context and concrete label definitions, enabling POMDP-based framing and regime-switching studies. The work provides baseline SM task results and embedding analyses showing larger models yield richer semantic representations that improve downstream forecasting, with practical impact for research in finance-focused NLP and RL. By releasing datastructures and prompts tailored to modern LLM frameworks, NIFTY facilitates rapid experimentation and cross-institutional benchmarking in financial NLP and decision-making under uncertainty.
Abstract
We introduce and make publicly available the NIFTY Financial News Headlines dataset, designed to facilitate and advance research in financial market forecasting using large language models (LLMs). This dataset comprises two distinct versions tailored for different modeling approaches: (i) NIFTY-LM, which targets supervised fine-tuning (SFT) of LLMs with an auto-regressive, causal language-modeling objective, and (ii) NIFTY-RL, formatted specifically for alignment methods (like reinforcement learning from human feedback (RLHF)) to align LLMs via rejection sampling and reward modeling. Each dataset version provides curated, high-quality data incorporating comprehensive metadata, market indices, and deduplicated financial news headlines systematically filtered and ranked to suit modern LLM frameworks. We also include experiments demonstrating some applications of the dataset in tasks like stock price movement and the role of LLM embeddings in information acquisition/richness. The NIFTY dataset along with utilities (like truncating prompt's context length systematically) are available on Hugging Face at https://huggingface.co/datasets/raeidsaqur/NIFTY.
