arXiv:2508.19162cs.CVcs.AI2025-08中稿 · ACPR2025被引 3

用少样本数据实现古籍文字行分割,精度显著提升。

Few-Shot Connectivity-Aware Text Line Segmentation in Historical Documents

  • 轻量级UNet++搭配拓扑感知损失,避免断行和误连。
  • 仅需每份手稿3页标注数据,识别准确率提升200%。
  • 适合古籍数字化、小样本场景下的文本分析研究者。

古籍数字化中的基础任务是文本行分割。然而,深度学习模型自动化该任务面临挑战,因需要大量标注数据,而历史文献往往缺乏此类数据。标注过程耗时耗力且需专业知识,因此少样本学习成为降低数据需求的可行方向。本文展示,小型简单架构结合拓扑感知损失函数,比复杂模型更精准高效。我们采用轻量级UNet++与专为神经元形态设计的连通性感知损失,显式惩罚断行和非预期合并等结构错误。通过从每份手稿仅3页中提取小块训练,有效扩充数据。方法在U-DIADS-TL数据集上显著超越现有最优结果,识别准确率提升200%,线段交并比提升75%。F-Measure得分与DIVA-HisDB基线竞赛优胜者相当甚至更高,仅需3页标注,充分验证了方法有效性。代码已公开于:https://github.com/RafaelSterzinger/acpr_few_shot_hist。

原文摘要 · Abstract (English)

A foundational task for the digital analysis of documents is text line segmentation. However, automating this process with deep learning models is challenging because it requires large, annotated datasets that are often unavailable for historical documents. Additionally, the annotation process is a labor- and cost-intensive task that requires expert knowledge, which makes few-shot learning a promising direction for reducing data requirements. In this work, we demonstrate that small and simple architectures, coupled with a topology-aware loss function, are more accurate and data-efficient than more complex alternatives. We pair a lightweight UNet++ with a connectivity-aware loss, initially developed for neuron morphology, which explicitly penalizes structural errors like line fragmentation and unintended line merges. To increase our limited data, we train on small patches extracted from a mere three annotated pages per manuscript. Our methodology significantly improves upon the current state-of-the-art on the U-DIADS-TL dataset, with a 200% increase in Recognition Accuracy and a 75% increase in Line Intersection over Union. Our method also achieves an F-Measure score on par with or even exceeding that of the competition winner of the DIVA-HisDB baseline detection task, all while requiring only three annotated pages, exemplifying the efficacy of our approach. Our implementation is publicly available at: https://github.com/RafaelSterzinger/acpr_few_shot_hist.

少样本学习古籍数字化文本行分割拓扑损失

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。