Financial Query Processing With Knowledge-Graph RAG Enrichment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large Language Models (LLMs) in financial analysis are limited by static datasets, leading to outdated information and lack of transparency, which undermines their effectiveness and reliability in a rapidly changing financial sector.

Innovation Solution

Implementing Retrieval-Augmented Generation (RAG) systems that integrate LLMs with a retrieval component to access up-to-date financial data, utilize domain-specific knowledge graphs for query augmentation, and employ noise filtering and relevance ranking to provide accurate and contextually relevant responses.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If LLMs rely on static datasets for financial analysis, then they maintain operational simplicity, but the information becomes outdated and reliability decreases

Engineering Contradiction:
Improveinformation accuracyVSAvoidsystem architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system is divided into distinct functional modules: a retrieval component that accesses external financial data sources, a processing component that integrates this data with the LLM, and the LLM itself. This segmentation allows the LLM to maintain its core generative capabilities while the retrieval component handles real-time data acquisition, thus improving reliability without requiring complete system redesign.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A retrieval component acts as an intermediary between the LLM and external financial data sources. This intermediary fetches real-time financial data, regulatory updates, and market information, then integrates it with the LLM's static knowledge. This mediator approach enables the system to access current information while keeping the LLM's architecture relatively simple.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If LLMs process vast amounts of financial data, then information completeness improves, but processing time and computational resources increase

Engineering Contradiction:
Improveinformation completenessVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The retrieval component pre-fetches and caches financial data, regulatory filings, and market information before they are needed for analysis. By preparing this data in advance and storing it in accessible formats, the system reduces processing time when actual queries are executed, while still maintaining comprehensive information coverage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system extracts only the most relevant financial data and information needed for specific analysis tasks, rather than processing all available data. The retrieval component identifies and extracts pertinent information from vast financial datasets, reducing the computational burden while maintaining information completeness for the specific query at hand.

Inventive Principle:
Principle #2Taking out (Extraction)

3Ease of operation

If LLMs operate as black box systems, then ease of operation is maintained, but transparency and verifiability decrease

Engineering Contradiction:
Improveuser interface simplicityVSAvoidtransparency
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system implements feedback mechanisms that provide users with citations and references for the financial data and information used in LLM-generated responses. The retrieval component tracks the sources of retrieved information and feeds this metadata back to the user interface, allowing users to verify the authenticity and relevance of the information while maintaining ease of operation through automated presentation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250292110A1Enhanced query processing using domain specific retrieval-augmented generation for financial services
Publication Date: 2025.09.18 AUQUAN LTD
  • US20250292110A1 patent drawing
  • US20250292110A1 patent drawing
  • US20250292110A1 patent drawing

AI summary

Embodiments of the present invention provide an innovative Retrieval-Augmented Generation (RAG) system tailored for financial analysis, significantly enhancing the precision and contextual relevance of Large Language Models (LLMs). A part of the system is a query augmentation component that leverages a knowledge graph to semantically enrich user queries, ensuring comprehensive retrieval of pertinent financial documents. A noise filtering mechanism refines the search results, while a relevance ranking component prioritizes documents based on context (e.g., user and task). The system employs prompt engineering to guide the LLM in generating responses that meet the specific requirements of financial analysis. Additionally, the LLM is fine-tuned using a corpus of financial questions and answers, reinforced by human-in-the-loop feedback, to adapt the model to the financial domain's unique linguistic and structural nuances. This advanced RAG system offers financial professionals timely, reliable, and actionable insights, providing a competitive edge in a rapidly evolving financial landscape.