Manuscript Offprint

arXiv:2608.31139

Configurable Semantic Chunking for Biomedical Information Extraction in Retrieval-Augmented Generation

Riya Ahuja, Tim Kacprowski, Roya Shiasi Sardoabi

Abstract

BioMedRAG introduced retrieval-augmented generation with a learned chunk scorer for biomedical information extraction. However, it relies on fixed-size chunking which can fragment semantic evidence. We propose a configurable semantic chunking framework that addresses this limitation by combining entity-preserving windows, trigger-centered chunking, proposition-first extraction, tiered trigger prioritization, and hierarchical relation resolution. The framework integrates with BioMedRAG by replacing only the chunk construction stage while preserving the embedding model, learned chunk scorer, generator, and evaluation protocol. We evaluate the framework on biomedical relation extraction benchmarks (GM-CIHT, DDI, ChemProt) and adverse event classification (ADE). On GM-CIHT, the full hybrid configuration achieves 82.6% F1, improving over the fixed-size baseline (74.2% F1) by 8.4 points under our experimental setup. Cross-dataset analysis shows that semantic chunking improves extraction datasets with explicit relation cues, such as GM-CIHT and DDI, while fixed chunking remains competitive or stronger for dense biochemical extraction and binary classification settings such as ChemProt and ADE. By externalizing chunking logic into configuration files, the framework provides an interpretable and adaptable alternative to rigid fixed-size chunking for biomedical RAG pipelines.

1 Introduction

Biomedical literature is expanding quickly, with PubMed now indexing more than 39 million articles [National Library of Medicine, 2026]. Extracting structured knowledge, such as drug-disease interactions, gene-protein relationships, and adverse drug events, from this vast corpus is critical for clinical decision support, drug discovery, and precision medicine [Grouin and Grabar, 2024]. Retrieval-augmented generation (RAG) has emerged as a powerful paradigm for this task [Lewis et al., 2020], combining large language models (LLMs) with external evidence retrieval to improve factual grounding and interpretability.

BioMedRAG [Li et al., 2025] introduced a specialized RAG framework for biomedical information extraction and reports strong results on relation extraction benchmarks. However, it relies on fixed-size chunking, uniformly splitting sentences into 5-word windows regardless of semantic structure. This strategy frequently fragments relation-bearing expressions, resulting in incomplete or misaligned evidence. For example, the sentence “Aspirin treats headache by inhibiting prostaglandin synthesis” may be split into chunks such as “Aspirin treats headache by inhibiting” and “prostaglandin synthesis”, separating the drug mechanism from its target. Such fragmentation reduces retrieval precision and forces the LLM to infer missing relational context.

To address this limitation, we propose a configurable semantic chunking framework that preserves meaningful semantic boundaries through an incremental design. Our framework builds incrementally on entity-aware segmentation that respects named entity boundaries. We progressively incorporate: (1) relation-trigger-centered extraction with tiered prioritization to distinguish explicit triggers (treats, inhibits) from generic terms (medication, drug); (2) hierarchical relation resolution to handle competing relation types; and (3) proposition-first extraction that isolates minimal subject-trigger-object spans. These components integrate through a unified scoring mechanism that balances trigger confidence, relation specificity, and contextual alignment, enabling seamless integration with BioMedRAG's trained chunk scorer.

Accurate extraction of biomedical relations from literature has direct implications for clinical practice and translational medicine. Drug-drug interaction detection (DDI) informs prescription safety and adverse event prevention, while chemical-protein binding relationships (ChemProt) accelerate drug target discovery and repurposing. Gene-disease associations extracted from biomedical texts support precision medicine and clinical genomics. By improving retrieval quality in RAG systems, our semantic chunking framework enhances the reliability of automated biomedical knowledge extraction, reducing manual curation burden and enabling real-time literature-based clinical decision support.

We evaluate our framework on four biomedical benchmarks from the BioMedRAG repository [Li et al., 2025]: GM-CIHT, DDI, and ChemProt for triple extraction, and ADE for adverse event classification. Experimental results reveal substantial improvements on complex relational tasks requiring precise evidence localization, while detailed component-wise analysis characterizes the contribution of each framework element. Cross-dataset comparison provides practical insights into when semantic chunking benefits retrieval-augmented generation systems.

Our key contributions are summarized as follows:

  1. We propose a configuration-driven semantic chunking framework for biomedical retrieval-augmented information extraction. The framework replaces fixed-size windows with entity-preserving, trigger-aware, and proposition-oriented evidence candidates.

  2. We integrate the proposed chunking framework into BioMedRAG while keeping the embedding model, learned chunk scorer, generator, preprocessing pipeline, and evaluation protocol unchanged. This controlled design isolates the effect of chunk construction from other system components.

  3. We conduct an empirical evaluation on four biomedical benchmarks, including GM-CIHT, DDI, ChemProt, and ADE, and show that semantic chunking is most effective for extraction tasks with explicit relation cues and moderate entity density.

  4. We provide component-wise ablation studies, including the effects of entity-aware segmentation, proposition extraction, trigger prioritization, relation hierarchy resolution, ranking strategy, and NER-based entity detection.

References (14)