arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.05565cs.CVcs.LG
收藏

用于表格结构识别的高性能Transformer需要早期卷积

High-Performance Transformers for Table Structure Recognition Need Early Convolutions

Georgia Institute of Technology(佐治亚理工学院);ADP, Inc.(ADP公司)

ShengYun Peng, Seongmin Lee, Xiaojing Wang, Rajarajeswari Balasubramaniyan, Duen Horng Chau

AI总结:

本研究针对表格结构识别中混合CNN-Transformer架构视觉编码器参数量大、速度慢的问题,提出轻量卷积茎视觉编码器,在保证性能的同时平衡感受野与序列长度,并开源代码以推动领域研究。

摘要:

表格结构识别(TSR)旨在将表格图像转换为机器可读格式,该任务由视觉编码器提取图像特征,文本解码器生成表示表格的token。现有方法采用经典卷积神经网络(CNN)骨干网络作为视觉编码器,Transformer作为文本解码器。然而,这种CNN-Transformer混合架构的视觉编码器结构复杂,参数量占模型总参数量的近一半,显著降低了训练和推理速度,也制约了TSR领域自监督学习的发展潜力。本研究设计了一款适用于TSR的轻量级视觉编码器,且未损失模型表达能力。我们发现,卷积茎(convolutional stem)以简单得多的模型结构,就能达到经典CNN骨干网络的性能。该卷积茎在高性能TSR的两个关键因素间实现了最优平衡:更高的感受野(RF)比例和更长的序列长度。这使其能够“看到”表格的合适区域,并在足够的上下文长度内“存储”复杂的表格结构,供后续Transformer处理。我们开展了可复现的消融实验,并将代码开源在https://github.com/poloclub/tsr-convstem,以提升研究透明度、激发创新,并推动本领域的公平比较,因为表格是一种极具潜力的表示学习模态。

英文摘要:

Table structure recognition (TSR) aims to convert tabular images into a machine-readable format, where a visual encoder extracts image features and a textual decoder generates table-representing tokens. Existing approaches use classic convolutional neural network (CNN) backbones for the visual encoder and transformers for the textual decoder. However, this hybrid CNN-Transformer architecture introduces a complex visual encoder that accounts for nearly half of the total model parameters, markedly reduces both training and inference speed, and hinders the potential for self-supervised learning in TSR. In this work, we design a lightweight visual encoder for TSR without sacrificing expressive power. We discover that a convolutional stem can match classic CNN backbone performance, with a much simpler model. The convolutional stem strikes an optimal balance between two crucial factors for high-performance TSR: a higher receptive field (RF) ratio and a longer sequence length. This allows it to "see" an appropriate portion of the table and "store" the complex table structure within sufficient context length for the subsequent transformer. We conducted reproducible ablation studies and open-sourced our code at https://github.com/poloclub/tsr-convstem to enhance transparency, inspire innovations, and facilitate fair comparisons in our domain as tables are a promising modality for representation learning.

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

↑