fastbmRAG: A Fast Graph-Based RAG Framework for Efficient Processing of Large-Scale Biomedical Literature

Guofeng Meng, Li Shen, Qiuyan Zhong, Wei Wang, Haizhou Zhang, Xiaozhen Wang · DOI

Abstract

Large language models (LLMs) are rapidly transforming various domains, including biomedicine and healthcare, demonstrating remarkable potential from scientific research to drug discovery. Graph-based retrieval-augmented generation (RAG) systems improve contextual reasoning through structured entity and relationship identification from long-context knowledge. However, most graph-based RAGs are computationally intensive, limiting their application to large-scale datasets. To address this, we introduce fastbmRAG, a fast graph-based RAG optimized for biomedical literature. By dividing knowledge graph construction into two stages—drafting from abstracts and refining with main texts guided by vector-based entity linking—fastbmRAG minimizes redundancy and computational load. Evaluations show fastbmRAG is over 10x faster than existing tools while achieving superior coverage and accuracy.

Introduction

While Large Language Models (LLMs) like GPT-4 are powerful, they often lack the specific, up-to-date knowledge found in the millions of papers published in the biomedical field. Standard "naive" RAG systems—which segment documents into chunks for similarity search—often struggle with complex medical queries, frequently missing "big picture" connections between genes, diseases, and drugs.

Graph-based RAG (GraphRAG) addresses this by building a knowledge graph of entities and their relationships, allowing for superior contextual reasoning. However, building these graphs is traditionally computationally expensive. For researchers synthesizing thousands of papers, existing GraphRAG tools are often too slow to be practical. fastbmRAG bridges this gap, providing deep reasoning with the speed required for large-scale literature analysis.

Methods

The core innovation of fastbmRAG is its two-stage knowledge graph construction, which leverages the inherent structure of scientific papers:

  1. Drafting (Abstract-based): The system first uses an LLM to extract entities (e.g., genes, diseases) and relationships from paper abstracts. Since abstracts are concise summaries, this creates a high-level "skeleton" of the knowledge graph very quickly.
  2. Refining (Main Text-based): Instead of processing the entire main text indiscriminately, fastbmRAG uses the entities found in the draft stage to perform a vector-based search within the main text. It identifies the specific paragraphs (usually 1-3) that describe those relationships in detail and uses the LLM to refine the graph's descriptions.
The two-stage knowledge graph construction workflow of fastbmRAG.

To ensure searchability, the system standardizes entity names using an LLM to map them to official ontologies: HGNC for genes and MeSH for diseases. The final graph is stored in a vector database for efficient querying.

Results and Evaluation

The system was evaluated using 400 open-access papers for each of five diseases (Endometriosis, Psoriatic Arthritis, Parkinson’s, Ovarian Cancer, and COVID-19) sourced from PubMed and Europe PMC.

The most striking result is the efficiency gain. fastbmRAG indexed 400 papers in an average of 1.78 hours, while LightRAG (a popular general-purpose graph RAG) took 20.54 hours on the same hardware. This represents a 11.5x increase in efficiency.

Comparison of indexing time between fastbmRAG and LightRAG across different disease datasets.

Qualitatively, fastbmRAG produced more detailed and categorized answers than its competitors. In tests regarding genes regulated in endometriosis, fastbmRAG provided a nuanced breakdown including inflammation response, growth factors, and tissue-specific nuances—details that were largely absent or less organized in outputs from LightRAG or base models.

Discussion and Conclusion

fastbmRAG demonstrates that utilizing the existing structure of scientific literature—specifically the abstract—can serve as a powerful shortcut for indexing. By guiding main-text processing with abstract-derived entities, the system avoids redundant computation on "filler" sections. Furthermore, standardization to HGNC and MeSH ensures that queries connect to all relevant data regardless of nomenclature variations.

While highly efficient, the system's reliance on abstracts means critical information buried deep in the main text (and omitted from the abstract) might be missed. Future work will focus on improving reasoning depth and optimizing relationship filtering thresholds for various medical sub-domains. fastbmRAG provides a scalable solution for quickly understanding and summarizing biomedical literature at scale.

Summary updated

BibTeX
@misc{meng2025fastbmrag,
  author = {Guofeng Meng and Li Shen and Qiuyan Zhong and Wei Wang and Haizhou Zhang and Xiaozhen Wang},
  title = {{fastbmRAG: A Fast Graph-Based RAG Framework for Efficient Processing of Large-Scale Biomedical Literature}},
  year = {2025},
  eprint = {2511.10014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.10014},
}
Figure