Paper: arXiv 2502.18471
Abstract
Large language models (LLMs) excel at generating human-like responses but often struggle with interactive tasks that require access to real-time information. This limitation poses challenges in finance, where models must access up-to-date information, such as recent news or price movements, to support decision-making. To address this, we introduce Financial Agent, a knowledge-grounding approach for LLMs to handle financial queries using real-time text and tabular data. Our contributions are threefold: First, we develop a Financial Context Dataset of over 50,000 financial queries paired with the required context. Second, we train FinBloom 7B, a custom 7 billion parameter LLM, on 14 million financial news articles from Reuters and Deutsche Presse-Agentur, alongside 12 million Securities and Exchange Commission (SEC) filings. Third, we fine-tune FinBloom 7B using the Financial Context Dataset to serve as a Financial Agent. This agent generates relevant financial context, enabling efficient real-time data retrieval to answer user queries. By reducing latency and eliminating the need for users to manually provide accurate data, our approach significantly enhances the capability of LLMs to handle dynamic financial tasks. Our proposed approach makes real-time financial decisions, algorithmic trading and other related tasks streamlined, and is valuable in contexts with high-velocity data flows.
Complexity vs Empirical Score
- Math Complexity: 2.0/10
- Empirical Rigor: 8.0/10
- Quadrant: Street Traders — practical and empirical, lighter on theory
Why this score: The paper focuses on implementing a practical LLM agent system using large-scale financial datasets and real-time data integration, with minimal advanced mathematical derivations.
Research Flowchart
flowchart TD
A["Research Goal: Enable LLMs to answer financial queries<br>using real-time data"] --> B{"Methodology"};
B --> C["Develop Financial Context Dataset<br>50k queries"];
B --> D["Train FinBloom 7B<br>on 14M news + 12M SEC filings"];
B --> E["Fine-tune as Financial Agent<br>to generate retrieval contexts"];
C --> F["Computational Process:<br>Agent retrieves real-time text & tabular data"];
D --> F;
E --> F;
F --> G["Key Findings: Efficient real-time data retrieval<br>Reduced latency for financial decision-making<br>Streamlined algorithmic trading workflows"];
Cited References (66)
- Language models are few-shot learners (2020)
- Bloom: A 176b-parameter open-access multilingual language model (2022) — link
- Opt: O pen pre-trained transformer language models (2022) — link
- BloombergGPT : A Large Language Model for Finance (2023) — link
- BioGPT : G enerative pre-trained transformer for biomedical text generation and mining (2022)
- RAG Does Not Work for Enterprises (2024) — link
- A Comprehensive Survey of Retrieval-Augmented Generation ( RAG ): E volution, Current Landscape and Future Directions (2024) — link
- The power of noise: R edefining retrieval for RAG systems (2024)
and 58 more
- Long-Context LLM s Meet RAG : O vercoming Challenges for Long Inputs in RAG (2024) — link
- Mindful-RAG : A study of points of failure in retrieval augmented generation (2024) — link
- Retrieval Augmented Generation ( RAG ) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely (2024) — link
- Galactica: A large language model for science (2022) — link
- BERT : Pre-training of deep bidirectional transformers for language understanding (2018) — link
- Check your facts and try again: I mproving large language models with external knowledge and automated feedback (2023) — link
- Grounding large language models in interactive environments with online reinforcement learning (2023) — link
- Knowledge-grounded dialogue generation with a unified knowledge representation (2021) — link
- Language models are unsupervised multitask learners (2019)
- Chain-of-thought prompting elicits reasoning in large language models (2022)
- Prompt programming for large language models: B eyond the few-shot paradigm (2021)
- Making pre-trained language models better few-shot learners (2020) — link
- Autoprompt: E liciting knowledge from language models with automatically generated prompts (2020) — link
- Bleu: A method for automatic evaluation of machine translation (2002)
- Rouge: A package for automatic evaluation of summaries (2004)
- GPT understands, too (2021) — link
- Prefix-tuning: Optimizing continuous prompts for generation (2021) — link
- The power of scale for parameter-efficient prompt tuning (2021) — link
- Qlora: Efficient finetuning of quantized llms (2024)
- Retrieval-augmented generation for knowledge-intensive NLP tasks (2020)
- Wizard of W ikipedia: K nowledge-powered conversational agents (2018) — link
- Few-shot learning with retrieval augmented language models (2022) — link
- The FinBen : An Holistic Financial Benchmark for Large Language Models (2024)
- Sentiwordnet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining. (2010)
- SEntFiN 1.0 : Entity-aware sentiment analysis for financial news (2022)
- Good debt or bad debt: Detecting semantic orientations in economic texts (2014)
- Senticnet 2: A semantic and affective resource for opinion mining and sentiment analysis (2012)
- Trillion dollar words: A new financial dataset, task & market analysis — → 2305.07972
- REFinD : Relation Extraction Financial Dataset (2023)
- Finer: Financial named entity recognition dataset and weak-supervision model (2023) — link
- Impact of news on the commodity market: Dataset and results (2021)
- MultiFin : A dataset for multilingual financial NLP (2023)
- Finqa: A dataset of numerical reasoning over financial data (2021) — link
- Domain adaption of named entity recognition to support credit risk assessment (2015)
- FinRED : A dataset for relation extraction in financial domain (2022)
- Financial document causality detection shared task (fincausal 2020) (2020) — link
- Financial numeric extreme labelling: A dataset and benchmarking (2023)
- Textual analogy parsing: What’s shared and what’s compared among analogous facts (2018) — link
- Financial opinion mining and question answering (2018)
- Fine-Grained Argument Understanding with BERT Ensemble Techniques: A Deep Dive into Financial Sentiment Analysis (2023)
- Generating plausible counterfactual explanations for deep transformers in financial text classification (2020) — link
- Multi-Lingual ESG Issue Identification (2023)
- TAT-QA : A question answering benchmark on a hybrid of tabular and textual content in finance (2021) — link
- S em E val-2017 Task 5: Fine-Grained Sentiment Analysis on Financial Microblogs and News (2017) — link
- Ectsum: A new benchmark dataset for bullet point summarization of long earnings call transcripts (2022) — link
- Convfinqa: Exploring the chain of numerical reasoning in conversational finance question answering (2022) — link
- Accurate stock movement prediction with self-supervised learning from sparse noisy tweets (2022)
- Stock movement prediction from tweets and historical prices (2018)
- Hybrid deep sequential modeling for social text-driven stock prediction (2018)
- Statlog (German Credit Data) (1994)
- Statlog (Australian Credit Approval) (1987)
- PIXIU : A large language model, instruction data and evaluation benchmark for finance (2023) — link
- FinGPT : Open-source financial large language models — → 2306.06031
- CFGPT : Chinese financial assistant with large language model (2023) — link
- InvestLM : A Large Language Model for Investment using Financial Domain Instruction Tuning (2023) — link
- Empowering many, biasing a few: Generalist credit scoring through large language models (2023) — link
- RoBERTa : A robustly optimized bert pretraining approach (2019) — link
- A multimodal foundation agent for financial trading: Tool-augmented, diversified, and generalist (2024)
2 of 66 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.