Skip to main content
QUICK REVIEW

[论文解读] ABCNet v2: Adaptive Bezier-Curve Network for Real-time End-to-end Text Spotting

Yuliang Liu, Chunhua Shen|arXiv (Cornell University)|May 8, 2021
Handwritten Text Recognition TechniquesComputer Science参考文献 96被引用 20
一句话总结

ABCNet v2 提出了一种端到端、实时的场景文本检测与识别框架,采用自适应贝塞尔曲线来检测任意形状的文本,计算开销极低。通过引入一种新颖的贝塞尔对齐(BezierAlign)层以实现精确的特征提取,并结合坐标卷积与模型量化技术,该方法在保持高推理速度的同时实现了最先进(SOTA)的准确率,尤其在 4-bit 和二值化配置下表现优异。

ABSTRACT

End-to-end text-spotting, which aims to integrate detection and recognition in a unified framework, has attracted increasing attention due to its simplicity of the two complimentary tasks. It remains an open problem especially when processing arbitrarily-shaped text instances. Previous methods can be roughly categorized into two groups: character-based and segmentation-based, which often require character-level annotations and/or complex post-processing due to the unstructured output. Here, we tackle end-to-end text spotting by presenting Adaptive Bezier Curve Network v2 (ABCNet v2). Our main contributions are four-fold: 1) For the first time, we adaptively fit arbitrarily-shaped text by a parameterized Bezier curve, which, compared with segmentation-based methods, can not only provide structured output but also controllable representation. 2) We design a novel BezierAlign layer for extracting accurate convolution features of a text instance of arbitrary shapes, significantly improving the precision of recognition over previous methods. 3) Different from previous methods, which often suffer from complex post-processing and sensitive hyper-parameters, our ABCNet v2 maintains a simple pipeline with the only post-processing non-maximum suppression (NMS). 4) As the performance of text recognition closely depends on feature alignment, ABCNet v2 further adopts a simple yet effective coordinate convolution to encode the position of the convolutional filters, which leads to a considerable improvement with negligible computation overhead. Comprehensive experiments conducted on various bilingual (English and Chinese) benchmark datasets demonstrate that ABCNet v2 can achieve state-of-the-art performance while maintaining very high efficiency.

研究动机与目标

  • 解决在非受限场景中以高准确率和高效率检测与识别任意形状文本的挑战。
  • 通过使用结构化的贝塞尔曲线表示,消除对字符级标注和复杂后处理的依赖。
  • 通过一种新颖的特征对齐机制——贝塞尔对齐(BezierAlign),提升弯曲文本的识别精度。
  • 通过模型量化实现低延迟推理,同时保持性能损失最小化。
  • 在共享特征的基础上,构建一个端到端可训练的统一框架,采用仅 NMS 的后处理流程。

提出的方法

  • 使用自适应贝塞尔曲线表示任意形状的文本实例,替代传统的边界框或分割掩码。
  • 引入贝塞尔对齐(BezierAlign)作为可微分层,通过沿贝塞尔曲线采样,从弯曲文本区域中提取高精度卷积特征。
  • 应用坐标卷积以编码滤波器的空间位置,以极低的计算开销提升特征对齐与识别准确率。
  • 采用统一的端到端训练策略,实现检测与识别任务的联合优化,共享特征表示。
  • 对全精度模型应用模型量化,并对二值化网络采用渐进式训练策略,以缓解性能下降问题。
  • 将主干网络替换为 ResNet-18,并量化至 4-bit 和 1-bit 精度,显著加速推理,同时保持高准确率。

实验结果

研究问题

  • RQ1与标准边界框相比,自适应贝塞尔曲线是否能以极低计算成本有效表示任意形状的文本?
  • RQ2与基于 TPS 或 STN 的变形方法相比,所提出的贝塞尔对齐(BezierAlign)层是否显著提升弯曲文本的识别准确率?
  • RQ3采用贝塞尔曲线检测与基于注意力机制的识别的端到端框架,是否能在保持实时推理速度的同时实现最先进性能?
  • RQ4量化技术在低比特宽度(如 1-bit 或 4-bit)下,对文本检测与识别模型的性能保持程度如何?
  • RQ5渐进式训练策略是否能有效缓解二值化神经网络(BNN)模型在文本检测与识别任务中的性能下降问题?

主要发现

  • ABCNet v2 在 TotalText 数据集上实现了 58.9% 的端到端 hmean 最先进性能,在 CTW1500 数据集上达到 52.2%,优于先前方法。
  • 4-bit 量化模型在 TotalText 上达到 67.2% 的 hmean,在 CTW1500 上达到 53.0%,分别仅比全精度模型低 0.7% 和 0.8%。
  • 采用渐进式训练的二值化网络在合成数据集上达到 55.8% 的 hmean,较全精度模型仅下降 1.8%,显示出在极低比特宽度下的强鲁棒性。
  • 二值化网络在 TotalText 和 CTW1500 上均可实现实时推理,展现出在边缘设备上的强大部署潜力。
  • 坐标卷积的引入在计算开销可忽略的前提下显著提升了准确率。
  • 定性与定量结果均表明,贝塞尔对齐(BezierAlign)层在识别精度上显著优于基于 TPS 或 STN 的变形方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。