2025-03-13 · 专家 · 机器学习 · 自然语言处理

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

本文提出了一种名为MoC的混合文本分块学习框架,用于检索增强生成系统,通过引入双指标评估方法和多粒度路由器,有效提升了文本分块质量和检索增强生成系统的性能。

更新于 2025-03-13。作者:Jihao Zhao、Zhiyuan Ji、Zhaoxin Fan、Hanyu Wang、Simin Niu、Bo Tang、Feiyu Xiong、Zhiyu Li。

中文摘要

检索增强生成(RAG)作为一种大型语言模型(LLMs)的有力补充,却常常忽略了其管道中文本分块这一关键方面。本文首先介绍了一种双指标评估方法,包括边界清晰度和块粘性,以实现对分块质量的直接量化。利用这种评估方法,我们突出了传统分块和语义分块在处理复杂语境细微差别方面的固有局限性,从而证实了将LLMs整合到分块过程中的必要性。为了解决基于LLMs的方法中计算效率与分块精度之间的固有权衡,我们设计了一种粒度感知混合分块器(MoC)框架,该框架包含三个阶段的处理机制。值得注意的是,我们的目标是引导分块器生成一系列结构化的分块正则表达式列表,这些表达式随后用于从原始文本中提取分块。大量的实验表明,我们提出的指标和MoC框架有效地解决了分块任务中的挑战,揭示了分块内核的同时提升了RAG系统的性能。

英文摘要

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.

解读

一句话总结

本文提出了一种名为MoC的混合文本分块学习框架,用于检索增强生成系统,通过引入双指标评估方法和多粒度路由器,有效提升了文本分块质量和检索增强生成系统的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt