← Latest papers
💻 computer science

Hierarchical Reranking for Scalable Financial RAG System

This paper introduces Hierarchical Reranker, a scalable RAG framework that integrates pre-retrieval optimization, a two-stage ranking mechanism, and long-context management to significantly enhance retrieval precision and factual consistency for complex financial document analysis, as evidenced by its top performance in the ACM-ICAIF '24 FinanceRAG Challenge.

Original authors: Joohyun Lee, Sungwoo Hong

Published 2026-07-31
📖 4 min read☕ Coffee break read

Original authors: Joohyun Lee, Sungwoo Hong

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery, but instead of a single crime scene, you are handed a library containing millions of books, each filled with thousands of pages of tiny, confusing text and complex charts. This is the daily reality for financial analysts who need to read documents like 10-K filings (huge reports companies file with the government) to find specific numbers or facts. In the world of Artificial Intelligence, there's a tool called RAG (Retrieval-Augmented Generation) that acts like a super-smart librarian. It doesn't just read the books; it searches them to find the exact pages you need and then writes a summary based only on what it found. However, standard librarians often get overwhelmed by the sheer size of these financial libraries, get confused by the mix of words and numbers, or make up facts when the documents are too long. This paper tackles the problem of how to build a librarian that is fast, accurate, and doesn't get lost in the details when the job gets huge.

The authors of this paper, Joohyun Lee and Sungwoo Hong, propose a new system called the Hierarchical Reranker. Think of this system as a two-step hiring process for a team of detectives. Instead of hiring one giant, expensive, and slow detective to read every single page of a 100,000-page book, this system uses a "small-and-large" team strategy. First, a fast, lightweight detective (a small AI model) quickly scans the entire library and throws out the pages that are obviously irrelevant, narrowing the pile down to the top 100 most promising pages. Then, a highly skilled, expert detective (a large, powerful AI model) takes a deep, careful look at just those 100 pages to pick the final top 20 that truly answer the question. This approach saves time and money because the expensive expert only does the hard work on the most likely candidates, rather than wasting energy on the whole library.

But finding the right pages is only half the battle. The paper also introduces a clever way to handle the documents before the detectives even start looking. Financial documents are messy; they use abbreviations like "YoY" (Year-over-Year) or "EPS" (Earnings per Share), and they mix paragraphs of text with giant tables of numbers. The system's first step is to "clean" the query and the documents. It turns those confusing abbreviations into full words, standardizes units (so "1M" and "1,000,000" look the same), and, crucially, converts those messy tables into a structured format called JSON. This is like taking a handwritten spreadsheet and turning it into a digital database so the AI doesn't get confused about which number belongs to which category. By doing this "pre-cleaning," the system ensures the AI understands the question and the evidence perfectly before it even starts searching.

The third major trick the authors use is a strategy for handling documents that are simply too long to fit in the AI's memory at once. Even though modern AI models claim they can read huge amounts of text, the paper found that when the text gets past a certain point (specifically 64,000 tokens, which is a measure of text length), the AI starts to make mistakes, especially with numbers. To fix this, the system acts like a chef preparing a massive banquet. Instead of trying to eat the whole meal at once, it chops the long document into two smaller, manageable chunks. It asks the AI to analyze the first chunk and write a draft answer, then analyzes the second chunk and writes another draft. Finally, a "fusion" step combines these two drafts into one final answer, checking to make sure they agree and resolving any conflicts. This ensures that even if the document is a massive 100,000-page report, the AI doesn't lose track of the facts.

When the researchers tested their system on several famous financial benchmarks (like FinQA and FinanceBench), the results were impressive. The system achieved a score of 0.7918 on a metric called NDCG@20, which measures how well the system ranks the correct information at the top of its list. This score was significantly better than systems that didn't use their special cleaning and two-step ranking methods. In fact, this approach was so effective that it helped the team secure second place in the ACM-ICAIF '24 FinanceRAG Challenge, a competition designed to test how well AI can handle financial data. The paper suggests that by combining these three innovations—cleaning the data, using a two-step detective team, and smartly chopping up long documents—financial institutions can now build AI systems that are not only smart but also reliable enough to be used for real-world tasks like auditing and investment analysis, without the AI making up facts or getting lost in the noise.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →