Journal of Computer Applications

    Next Articles

Missing prediction-based statistical semantic chunking method for retrieval-augmented generation

  

  • Received:2026-07-15 Revised:2026-09-24 Online:2026-11-03 Published:2026-11-03

面向检索增强生成的缺失预测统计语义分块方法

韩玉兰1,张明程2,田旭航3   

  1. 1. 宁夏大学物理与电子电气工程学院
    2. 宁夏大学电子与电气工程学院
    3. 湖南大学电气与信息工程学院
  • 通讯作者: 韩玉兰
  • 基金资助:
    宁夏自然科学基金项目

Abstract: Existing aware semantic text chunking methods fail to balance semantic purity of individual chunks and information density of contextual content. Large?language?model?driven chunking approaches suffer from low controllability due to end?to?end generation. To address these issues, this paper proposes a Missing Prediction Chunking (MPC) method, which combines semantic understanding from large language models with numerical quantification mechanisms of embedding models. First, a large language model was used to predict masked target sentences from preceding and following contexts. Second, a similarity sequence was constructed by vector comparison with original sentences to quantify abstract semantic transitions. Finally, three statistical segmentation strategies were applied to the similarity sequence to achieve robust chunking for diverse document requirements. Experimental results on four question?answering datasets from LongBench show that MPC outperforms baseline methods including Semantic, LumberChunker and Margin Sampling Chunking. Its Z?score variant achieves an F1?score of 0.4478 and an answer similarity of 0.8145, with overall performance leading baselines by 1.18 to 3.4 percentage points. The missing?prediction?based chunking effectively balances semantic boundary clarity and information integrity. It provides a new technical reference for quantitative discrimination of semantic boundaries in large language model?driven approaches.

Key words: retrieval-augmented generation, text chunking, large language model, natural language processing, semantic similarity

摘要: 针对当前文本分块方法中语义感知类方法无法平衡单个分块的语义纯度和上下文信息密度,而大语言模型驱动类方法依赖模型端到端生成可控性低的问题,提出将语言模型的语义理解和嵌入模型的数值量化机制结合的缺失预测分块方法(Missing Prediction Chunking,MPC)。首先使用大语言模型从前后上下文中预测被屏蔽的目标句子,其次通过和原始句子的向量比较构建相似度序列,进而量化抽象语义转换。最后在该相似度序列基础上引入三种统计切分策略实现鲁棒分块,适应不同文档切分需求。在Longbench四个问答数据集上的实验结果表明,MPC方法优于Semantic、LumberChunker、Margin Sampling Chunking等基线方法,其中Z分数法的F1达到0.4478,回答相似度达到0.8145,综合得分领先1.18至3.4个百分点。缺失预测分块方法可有效平衡语义边界清晰度与信息完整性,为大语言模型驱动类方法的语义边界量化判别提供新的技术参考。

关键词: 检索增强生成, 文本分块, 大语言模型, 自然语言处理, 语义相似度

CLC Number: