atlas

Research map / Detection and segmentation / CNN features

LayoutFormer: Hierarchical Text Detection Towards Scene Text Understanding

CVPR 2024 · Detection and segmentation › CNN features · approach: Arbitrary-shape scene text detection · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LayoutFormer, a Transformer-based hierarchical scene text detector that jointly detects word-, line-, and paragraph-level text and their layouts, using a Prior Location Sampler to cut decoder cost.

Problem

Scene text detectors typically handle only one level of text (word, line, or paragraph) and ignore inter-level relationships needed for scene text understanding; Transformer decoders on high-resolution multi-scale features are also computationally expensive.

Approach

Use line as the detection unit with LineDecoder, derive words via a WordDecoder (per-line word queries) and paragraphs via a ParaDecoder (cross-attention over line queries), supervised directly by multi-level boxes; a Prior Location Sampler selects Top-K foreground features across multi-scale maps with weighted aggregation to update queries efficiently.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use line rather than word or paragraph as the detection unit (ablation)LayoutFormer · HierText valPQ: 53.09 -> 57.48; 40.34 -> 57.48Helped
use weighted Top-K sampling on C1-C4 instead of masked attention (ablation)LayoutFormer · Total-Text valF-measure: 86.21 -> 87.12Helped
use weighted Top-K sampling on C1-C4 instead of masked attention (ablation)LayoutFormer · HierText val line-levelPQ: 56.74 -> 57.48Helped
increase Top-K from 16 to 32 (ablation)LayoutFormer Prior Location Sampler · Total-Text valF-measure: 86.14 -> 87.12Helped
increase Top-K from 32 to 64 (ablation)LayoutFormer Prior Location Sampler · HierText val line-levelPQ: 57.48 -> 58.86Helped
use sampled Fl instead of Xline for WordDecoder image features (ablation)LayoutFormer WordDecoder · HierText valWord PQ: 44.02 -> 50.29Helped
use sampled Fl instead of Xline for WordDecoder image features (ablation)LayoutFormer WordDecoder · HierText valLine PQ: 36.35 -> 48.60Helped
set WordDecoder depth L3 to 4 instead of 1 (ablation)LayoutFormer WordDecoder · HierText valWord PQ: 50.29 -> 51.07Helped
set WordDecoder depth L3 to 4 instead of 1 (ablation)LayoutFormer WordDecoder · HierText valLine PQ: 48.60 -> 44.05Hurt
reduce Nper line from 10 to 6 (ablation)LayoutFormer WordDecoder · HierText valWord PQ: 50.29 -> 46.21Hurt
use Xline instead of sampled Fl for ParaDecoder image features (ablation)LayoutFormer ParaDecoder · HierText valParagraph PQ: 46.15 -> 51.98Helped
use LayoutFormer rather than Max-DeepLab-ClusterHierText line-paragraph detection · HierText testLine PQ: +0.14%Helped

Surprising findings

Limitations

Experimental setup

Datasets: HierText MSRA-TD500 CTW1500 Total-Text SynthText

Benchmarks: HierText MSRA-TD500 CTW1500 Total-Text

Metrics: Panoptic Quality (PQ) Recall Precision F-measure

Baselines: Unified Detector FSG DPText-DETR PCR DB PAN GCP API GCN-PP Mask-RCNN-Cluster Max-DeepLab-Cluster TextSnake CUTE

Builds on: Mask2Former DETR Deformable DETR Unified Detector

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy