arXiv:2611.26254cs.CVNov 2026

Manuscript Offprint

arXiv:2611.26254

Prism: Hierarchical Text Detection with Minimalist Design

Yuchen Su, Xuesheng Wang, Zhilong Ji, Jinfeng Bai, Shijian Lu, Zhineng Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Hierarchical text detection aims to localize words, text lines, and paragraphs while parsing their structural relationships. It provides essential structural cues for visual text understanding. To maximize accuracy, existing methods typically rely on complex multi-scale feature fusion necks and heavy-weight heads, resulting in bloated architectures and low inference efficiency. In this paper, we argue that a sufficiently pre-trained backbone can effectively replace these sophisticated external modules, while simple geometric inclusion suffices for hierarchical text structural parsing. Thus, we propose Prism, a minimalist framework for hierarchical text detection. Prism performs multi-granularity detection by attaching parallel lightweight heads to a single-scale backbone feature map, covering words, text lines, and paragraphs, and reconstructs the structural hierarchy via an efficient geometric inclusion algorithm. In addition, we systematically compare representative lightweight head archetypes and show that pixel-level regression offers the best accuracy-efficiency trade-off in this setting. Experiments on multiple public benchmarks show that our significantly simplified architecture achieves state-of-the-art (SOTA) performance with remarkable efficiency. Specifically, it runs 1.7×1.7\times faster than LRANet on CTW1500 while achieving higher accuracy, and surpasses the current SOTA method, OmniParser V2, by over 6 PQ points on the hierarchical HierText dataset. Code will be released soon.

\correspondence\mymaketitle

1 Introduction

Figure 1: Comparison between Prism and other mainstream text detection methods on Total-Text. (a) shows a breakdown of the inference time across different components for each method at a uniform input resolution of 1024 ×\times 1024. (b) compares their F-measures, evaluated at each method’s optimal resolution. †{\dagger} denotes our method adopts sufficient pre-training.

Text detection aims to localize textual instances in images. Hierarchical text detection goes one step further by detecting text at multiple granularities (e.g., words, lines, and paragraphs) and parsing their structural relationships. Such structured outputs provide richer layout information for text-rich natural scenes and electronic documents [10, 11]. However, an efficient and accurate hierarchical text detection framework remains lacking, limiting its applicability in many real-world scenarios.

To pursue higher accuracy, existing text detection methods typically adopt an “architectural stacking” paradigm at the expense of efficiency. Specifically, mainstream solutions rely on increasingly elaborate designs: 1) Complex Necks–the feature pyramid network (FPN) [21] and its variants (e.g., PANet [22], BiFPN [32]) have become the standard for handling multi-scale objects, and complex multi-scale deformable attention modules [50, 43] have also been widely adopted; 2) Heavy-weight Heads–bottom-up methods leverage computationally intensive high-resolution heads for precise pixel-level prediction [20, 48, 42], while top-down methods use multiple parallel heads [51, 25, 30] or global attention modules [2, 29, 35] to handle multi-scale text instances. Furthermore, for hierarchical text detection, complex relation-reasoning modules, such as the explicit word-to-line and line-to-paragraph relationship modeling in LayoutFormer [18], are typically needed to parse the structural inclusion across different text granularities.

We depart from this complexity-first paradigm and instead revisit text detection from a minimalist perspective, exploring whether a simple architecture can be sufficient when backed by strong pre-training. In general object detection, plain ViT [9] backbones pre-trained with MAE [13] have been shown to achieve competitive performance with simple multi-scale adaptation, as demonstrated by ViTDet [17]. This raises a natural question: can text detection be simplified even further? We base our minimalist design on three task-specific observations: 1) Text detection fundamentally targets a single foreground category composed of a finite set of structural primitives (e.g., strokes and characters). We thus hypothesize that a single-scale feature map from a sufficiently powerful, extensively pre-trained backbone is discriminative enough to render multi-scale fusion necks like FPN redundant. 2) Text detection is inherently a purely perceptual task that requires only intrinsic visual features of each text instance, without the need for complex semantic reasoning (e.g., differentiating headings from body text). Therefore, lightweight heads are likely sufficient for the final prediction. 3) The spatial layout of text inherently encodes its hierarchical inclusion. Thus, simple geometric calculations can naturally replace complex word-line-paragraph relation modules.

Figure

Figure 2: Visualization of Prism. Like a prism refracting light, our framework decomposes a single-scale feature into a rich spectrum of hierarchical outputs, spanning words, lines, paragraphs, and their geometric layouts.

Building upon these insights, we propose Prism, a minimalist hierarchical text detection framework. True to its name, just as a prism refracts a single beam of light into a vibrant spectrum, Prism decomposes the single-scale feature into a diverse set of structural outputs, as illustrated in Fig. 2. Specifically, it consists solely of a backbone and a set of parallel, lightweight expert heads built upon a single-scale feature map. Conceptually, this resembles a multi-expert architecture, with each head specializing in a specific task (e.g., word or line detection). Finally, we employ a box-approximation geometric inclusion algorithm to efficiently and accurately parse the hierarchical structure.

To fully realize this minimalist framework, the design of the lightweight head is crucial. Thus, we categorize and systematically analyze lightweight implementations of four head archetypes: pixel-level regression (e.g., YOLO-style [37]), query-based regression (e.g., DETR-style [3]), pixel-level segmentation (e.g., DB-style [19]), and query-level segmentation (e.g., MaskFormer-style [5]). Our study shows that a pixel-level regression head, which explicitly leverages spatial priors and perceives instances holistically, achieves the best balance of accuracy and efficiency.

Owing to its minimalist design, Prism yields remarkable inference speed. As shown in Fig. 1, Prism is 1.7×1.7\times faster than the leading real-time detector LRANet [31] while maintaining superior accuracy. Moreover, on the hierarchical dataset HierText [26], our method surpasses the SOTA Omniparser V2 [45] by at least 6% in Panoptic Quality (PQ).

The main contributions of this work are as follows:

  • We introduce a minimalist design paradigm for unified hierarchical text detection, demonstrating that as backbone models and pre-training data scale up, complex multi-scale necks and heavy heads become increasingly redundant.
  • We propose Prism, a simple framework that couples single-scale multi-granularity detection with parameter-free geometric inclusion, enabling efficient word-line-paragraph hierarchy parsing without multi-scale necks or learnable relation modules.
  • Extensive experiments over multiple challenging benchmarks show that Prism achieves superior detection accuracy and computational efficiency despite its significantly simplified architecture.

References (24)