Publications / Top Conferences

MultiDocFusion: Hierarchical and Multimodal Chunking Pipeline for Enhanced RAG on Long Industrial Documents

EMNLP 2025 venue badge

EMNLP 2025 · Main · Aug 2025

Joongmin Shin*, Chanjun Park, Jeongbae Park, Jaehyung Seo, Heuiseok Lim

MultiDocFusion pipeline: (a) document parsing, (b) OCR, (c) DSHP-LLM hierarchy reconstruction, and (d) DFS-based grouping into hierarchical chunks
MultiDocFusion pipeline: (a) document parsing, (b) OCR, (c) DSHP-LLM hierarchy reconstruction, and (d) DFS-based grouping into hierarchical chunks — click to open the full-resolution figure.

Abstract

RAG-based QA has emerged as a powerful method for processing long industrial documents. However, conventional text chunking approaches often neglect the complex structures of long industrial documents, causing information loss and reduced answer quality. To address this, we introduce MultiDocFusion, a multimodal chunking pipeline that integrates: (i) detection of document regions using vision-based document parsing, (ii) text extraction from these regions via OCR, (iii) reconstruction of document structure into a hierarchical tree using large language model (LLM)-based document section hierarchical parsing (DSHP-LLM), and (iv) construction of hierarchical chunks through DFS-based Grouping. Extensive experiments across industrial benchmarks demonstrate that MultiDocFusion improves retrieval precision by 8–15% and ANLS QA scores by 2–3% compared to baselines, emphasizing the critical role of explicitly leveraging document hierarchy for multimodal document-based QA. These significant performance gains underscore the necessity of structure-aware chunking in enhancing the fidelity of RAG-based QA systems.

Key Contribution

A hierarchical multimodal chunking pipeline that preserves layout and improves evidence composition in industrial RAG.

Method

MultiDocFusion (Multimodal Document Structure Fusion) combines the visual layout and the hierarchical section structure of long industrial documents to build better retrieval units. It works on PDFs, scanned images, and documents with complex layouts, and supports corpus-level multi-document RAG. The pipeline has four stages:

  • (a) Document parsing (DP). Vision models detect titles, section headers, text blocks, tables, and figures on each page and assign each segment a type and bounding box, producing a page-by-page layout structure.
  • (b) OCR. Each segment is sent to an OCR engine, and the recognized text is linked back to its bounding box to form an annotated layout.
  • (c) DSHP-LLM. An LLM instruction-tuned with LoRA on public document-hierarchy datasets reads the list of candidate section headers and assigns each header a parent (e.g., ID:3 Parent:2), forming a header tree. It then scans the spatially sorted list of all segments and attaches tables, figures, and text blocks to the current header, which yields a full document hierarchical tree.
  • (d) DFS-based grouping. A depth-first traversal of the tree aggregates each node's text with its descendants and splits a chunk when it exceeds a maximum length. Each chunk keeps its hierarchy as Markdown headers, so a subsection is retrieved together with its enclosing sections.
Step-by-step example on a long industrial document: (a) layout regions detected by document parsing, (b) OCR text linked to bounding boxes, (c) section headers parsed into a hierarchical tree with general nodes attached by spatial order, and (d) hierarchy-aware chunks produced by DFS-based grouping
Step-by-step example on a long industrial document: (a) layout regions detected by document parsing, (b) OCR text linked to bounding boxes, (c) section headers parsed into a hierarchical tree with general nodes attached by spatial order, and (d) hierarchy-aware chunks produced by DFS-based grouping.

Results

Section-header hierarchy parsing on DocHieNet and HRDH. ↳ marks DSHP-LLM applied to the backbone above; bold marks an improvement over that backbone.

ModelDocHieNetHRDH
F1TEDSF1TEDS
GPT-40.51390.69610.25940.3342
Llama-3.2-3B0.25580.54640.43890.4904
↳ DSHP-LLM0.48940.75490.86640.8459
Qwen-2.5-3B0.41220.69950.32990.3734
↳ DSHP-LLM0.48080.69570.88560.8658
Mistral-8B0.39070.65590.34450.3974
↳ DSHP-LLM0.62910.82300.93210.9199
Qwen-2.5-7B0.52300.73560.29620.3807
↳ DSHP-LLM0.55650.81040.63300.6381

Retrieval by chunking method, averaged over top-k = 1 to 4. Bold marks the best score in each column.

Chunking methodDUDEMPVQACUADMOAMOB
RecallPrecisionnDCGRecallPrecisionnDCGRecallPrecisionnDCGRecallPrecisionnDCG
Length chunking0.26280.16860.21660.25230.15870.19330.90110.85370.87760.64620.56760.6209
Semantic chunking0.09560.05490.07750.09390.05240.06800.76840.67190.71810.27370.19500.2453
LumberChunker0.23950.15330.19860.21520.12980.16090.90310.85760.88000.61300.52050.5692
Perplexity chunking0.24280.15590.20200.21590.13180.16290.88690.83950.86030.61730.52410.5785
Structure-based chunking0.22190.14500.18620.20360.12300.15240.88440.83110.85810.55440.46620.5149
MultiDocFusion0.29270.20010.25050.27050.17590.21310.90210.86510.88190.67580.61840.6554

QA performance by chunking method, averaged over Llama-3.2-3B, Mistral-8B, and Qwen-2.5-7B readers. Bold marks the best score in each column.

Chunking methodDUDEMPVQACUADMOAMOB
ANLSROUGE-LMETEORANLSROUGE-LMETEORANLSROUGE-LMETEORANLSROUGE-LMETEOR
Length chunking0.16110.14440.19880.13980.09660.14080.25850.16770.16620.24970.08230.1115
Semantic chunking0.15480.12610.16570.13320.08050.09780.25930.14910.14680.24550.08460.1043
LumberChunker0.15310.12840.17520.13070.07690.09930.26570.16300.16500.25360.08480.1167
Perplexity chunking0.16530.13900.18550.13440.07510.09500.26410.16460.15240.25320.08940.1190
Structure-based chunking0.17510.14890.19210.15370.09800.12780.24980.15560.15910.25010.09790.1114
MultiDocFusion0.18590.16920.22850.16150.13160.18500.27380.17620.16500.25960.09160.1257
  • MultiDocFusion improves retrieval precision by 8–15% and ANLS by 2–3% over the chunking baselines.
  • Instruction tuning with DSHP-LLM raises HRDH F1 from 0.2962–0.4389 for the base backbones to 0.6330–0.9321.

BibTeX

@inproceedings{shin-etal-2025-multidocfusion,
    title = "{M}ulti{D}oc{F}usion : Hierarchical and Multimodal Chunking Pipeline for Enhanced {RAG} on Long Industrial Documents",
    author = "Shin, Joongmin  and
      Park, Chanjun  and
      Park, Jeongbae  and
      Seo, Jaehyung  and
      Lim, Heuiseok",
    editor = "Christodoulopoulos, Christos  and
      Chakraborty, Tanmoy  and
      Rose, Carolyn  and
      Peng, Violet",
    booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2025",
    address = "Suzhou, China",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.emnlp-main.1062/",
    doi = "10.18653/v1/2025.emnlp-main.1062",
    pages = "20985--21004",
    ISBN = "979-8-89176-332-6"
}

hierarchical chunkingmultimodalRAGindustrial