MoC: Mixtures of Text Chunking Learners for Retrieval-Augmented Generation System

Jihao Zhao, Zhiyuan Ji, Zhaoxin Fan, Hanyu Wang, Simin Niu +3 more
3/12/2025
cs.CL

No official code found. Best implementation: IAAR-Shanghai/Meta-Chunking (275 stars, Apache-2.0, last commit 2025-09-25).

Abstract

Retrieval-Augmented Generation (RAG), while serving as a viable complement to large language models (LLMs), often overlooks the crucial aspect of text chunking within its pipeline. This paper initially introduces a dual-metric evaluation method, comprising Boundary Clarity and Chunk Stickiness, to enable the direct quantification of chunking quality. Leveraging this assessment method, we highlight the inherent limitations of traditional and semantic chunking in handling complex contextual nuances, thereby substantiating the necessity of integrating LLMs into chunking process. To address the inherent trade-off between computational efficiency and chunking precision in LLM-based approaches, we devise the granularity-aware Mixture-of-Chunkers (MoC) framework, which consists of a three-stage processing mechanism. Notably, our objective is to guide the chunker towards generating a structured list of chunking regular expressions, which are subsequently employed to extract chunks from the original text. Extensive experiments demonstrate that both our proposed metrics and the MoC framework effectively settle challenges of the chunking task, revealing the chunking kernel while enhancing the performance of the RAG system.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Meta-Chunking: Learning Efficient Text Segmentation via Logical Perception

27519Python, Jupyter NotebookOct 13, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2025moc,
  title  = {MoC: Mixtures of Text Chunking Learners for Retrieval-Augmented Generation System},
  author = {Jihao Zhao and Zhiyuan Ji and Zhaoxin Fan and Hanyu Wang and Simin Niu and Bo Tang and Feiyu Xiong and Zhiyu Li},
  year   = {2025},
  eprint = {2503.09600},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.09600v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.09600.svg)](https://codeofpaper.com/paper/2503.09600)

Discussion