arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.23671cs.CL
收藏

CrossFormer:用于文档分割的跨片段语义融合

CrossFormer: Cross-Segment Semantic Fusion for Document Segmentation

Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Tencent Inc.(腾讯公司)

Tongke Ni, Yang Fan, Junru Zhou, Xiangping Wu, Qingcai Chen

AI总结:

针对传统文档分割预处理导致跨片段语义丢失的问题,提出基于transformer的CrossFormer模型,通过跨片段融合模块动态建模语义依赖,提升了分割准确率,并能替代RAG系统中基于规则的分块方法以增强效能。

摘要:

文本语义分割涉及根据主题、上下文信息和文档结构,将文档划分为多个语义连续的段落。传统方法通常将文档预处理为片段以应对输入长度限制,这导致了跨片段关键语义信息的丢失。为解决此问题,我们提出了CrossFormer,这是一种基于transformer的模型,其具有新颖的跨片段融合模块,能够动态建模文档片段间的潜在语义依赖关系,从而大幅提升分割准确率。此外,CrossFormer可替代Retrieval-Augmented Generation (RAG) 系统中基于规则的分块方法,生成语义更连贯的块以增强其效能。综合评估证实,CrossFormer在公开文本语义分割数据集上达到了最先进的性能,并在RAG基准上取得了显著收益。

英文摘要:

Text semantic segmentation involves partitioning a document into multiple paragraphs with continuous semantics based on the subject matter, contextual information, and document structure. Traditional approaches have typically relied on preprocessing documents into segments to address input length constraints, resulting in the loss of critical semantic information across segments. To address this, we present CrossFormer, a transformer-based model featuring a novel cross-segment fusion module that dynamically models latent semantic dependencies across document segments, substantially elevating segmentation accuracy. Additionally, CrossFormer can replace rule-based chunk methods within the Retrieval-Augmented Generation (RAG) system, producing more semantically coherent chunks that enhance its efficacy. Comprehensive evaluations confirm CrossFormer's state-of-the-art performance on public text semantic segmentation datasets, alongside considerable gains on RAG benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑