ACL 2025finding0 citations

Document Segmentation Matters for Retrieval-Augmented Generation

Zhitong Wang, Cheng Gao, Chaojun Xiao, Yufei Huang, Shuzheng Si, Kangyang Luo, Yuzhuo Bai, Wenhao Li

Abstract

Retrieval-augmented generation (RAG) enhances large language models (LLMs) by integrating external knowledge. A critical yet underexplored challenge in RAG is document segmentation, also known as document chunking. Existing widely-used rule-based chunking methods usually lead to suboptimal splits, where overly large chunks introduce irrelevant information and small chunks lack semantic coherence. Existing semantic-based approaches either require costly LLM calls or fail to adaptively group contextually related sentences. To address these limitations, we propose PIC, Pseudo-Instruction for document Chunking), a simple yet effective method that leverages document summaries as pseudo-instructions to guide chunking. By computing semantic similarity between sentences and the summary, PIC dynamically groups sentences into chunks that align with the document’s key themes, ensuring semantic completeness and relevance to potential user instructions. Experiments on multiple open-domain question-answering benchmarks demonstrate that PIC can significantly improve retrieval accuracy (Hits@k) and end-to-end QA performance (Exact Match) without any additional training.

BibTeX
@inproceedings{wang-etal-2025-document,
    title = "Document Segmentation Matters for Retrieval-Augmented Generation",
    author = "Wang, Zhitong  and
      Gao, Cheng  and
      Xiao, Chaojun  and
      Huang, Yufei  and
      Si, Shuzheng  and
      Luo, Kangyang  and
      Bai, Yuzhuo  and
      Li, Wenhao  and
      Duan, Tangjian  and
      Lv, Chuancheng  and
      Lu, Guoshan  and
      Chen, Gang  and
      Qi, Fanchao  and
      Sun, Maosong",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.findings-acl.422/",
    doi = "10.18653/v1/2025.findings-acl.422",
    pages = "8063--8075",
    ISBN = "979-8-89176-256-5"
}