OmniParser V2: Structured-Points-of-Thought for Unified Visual Text Parsing and Its Generality to Multimodal Large Language Models

Wenwen Yu, Zhibo Yang, Jianqiang Wan, Sibo Song, Jun Tang, Wenqing Cheng, Yuliang Liu, Xiang Bai

TL;DR

OmniParser V2 unifies four core visually-situated text parsing tasks—text spotting, key information extraction, table recognition, and layout analysis—into a single, task-agnostic encoder-decoder framework. By introducing a two-stage Structured-Points-of-Thought (SPOT) prompting strategy, the model decouples structural layout understanding from dense text and polygon generation. This approach achieves state-of-the-art results, reduces model complexity by 23.6% compared to its predecessor, and seamlessly scales to enhance the text-parsing capabilities of Multimodal Large Language Models (MLLMs).

What Problem Does This Paper Address?

Parsing text within rich visual contexts (like documents, receipts, tables, and signage) is highly challenging. Historically, the field of Visually-situated Text Parsing (VsTP) has been fragmented. Researchers typically rely on "specialist" models tailored to individual sub-tasks, which requires complex pipelines, task-specific heads, and heterogeneous output schemas. Conversely, existing "generalist" models often act as black boxes, struggle with spatial precision, or depend heavily on external OCR engines.

OmniParser V2 addresses this "modal isolation" by creating a unified framework capable of handling diverse text structures and spatial relationships without task-specific architectures or loss functions.

Methods

The architecture of OmniParser V2 relies on a standard vision encoder (Swin-B paired with a Feature Pyramid Network) and a novel token-router-based shared decoder. Instead of using traditional soft-routing Mixture-of-Experts (MoE) designs, this decoder uses explicit category priors embedded in the input sequence to route tokens directly to task-specialist Feed-Forward Networks (FFNs) for structure, detection, or recognition.

Figure 2 – Schematic illustration of the proposed OmniParser V2 framework. The token-router-based shared decoder homogenizes four tasks through a unified structural points representation without designing task-specific branches. Furthermore, benefiting from decoupling points with content recognition and region prediction, the token-router-based shared decoder can generate polygonal contour and text content in parallel given the text points. SPS short for structured points sequence.

The core innovation is Structured-Points-of-Thought (SPOT) prompting, a two-stage generation strategy:

  1. Stage 1 (Get Structured Points): The model generates a Structured Points Sequence (SPS). This sequence combines task-specific structural markup tags (like <tr> for tables or <line> for layout) with the quantized $(x, y)$ center points of text segments.
  2. Stage 2 (Get Polygon / Content): Using the center points from Stage 1 as prompts, the shared decoder predicts the precise 16-point polygonal contours and the textual content in parallel.

To boost spatial and semantic awareness during pre-training, the authors introduce two window-prompting strategies:

  • Spatial-Window Prompting: Instructs the model to only parse text within a specific coordinate bounding box.
  • Prefix-Window Prompting: Instructs the model to only locate text instances that begin with a specified character prefix.
Figure 5 – Spatial-Window Prompting utilizes a 2-point prompt, denoted as (xleft, ytop, xright, ybottom), to specify the location of the prompting spatial window. Prefix-Window Prompting employs a 2-character prompt indicating the starting and ending characters of the prefix-window within the entire dictionary. The selected prefix range is highlighted in black, while others are shaded in gray. The outputs are the center points of two words: “Colchester” and “Greenstead”, as their corresponding prefixes alphabets, “C” and “G” fall within the predefined prefix alphabet range [“B”, “H”], but the word “and” is excluded because its prefix alphabet falls outside this range.

Datasets

OmniParser V2 underwent a two-stage pre-training process on a massive hybrid dataset combining:

  • Text Spotting & OCR: Curved SynthText, ICDAR 2013, ICDAR 2015, MLT 2017, Total-Text, TextOCR, COCO Text, and Open Image V5.
  • Layout Analysis: HierText.

For downstream task evaluation, the authors utilized:

  • Text Spotting: Total-Text, CTW1500, and ICDAR 2015.
  • Key Information Extraction (KIE): CORD and SROIE.
  • Table Recognition: PubTabNet and FinTabNet.
  • Layout Analysis: HierText, PubLayNet, DocLayNet, and M6Doc.
  • MLLM Benchmarking: OCRBench and HallusionBench.

Key Insights and Ideas

  • The Power of Decoupling: Standard end-to-end sequence generation models often suffer from "attention drift" and error accumulation when dealing with long sequences (e.g., parsing a massive table's HTML structure and cell text simultaneously). By separating the layout structure (center points) from the dense text/polygon generation, OmniParser V2 drastically shortens the target sequence length in each stage, simplifying the learning process.
  • Parallel Execution: Because Stage 2 treats each center point independently, the polygon and text content predictions can be computed in parallel across an entire batch, significantly boosting inference speed.
  • Deterministic Token Routing: Replacing learned MoE routing with deterministic, category-prior routing eliminates expert balancing overhead and mitigates conflicts between the sub-tasks of decoding coordinates vs. text characters.

Key Results

  • Performance SOTA: OmniParser V2 established new state-of-the-art results for text spotting on Total-Text (+0.6%) and CTW1500 (+0.4%) under lexicon-based evaluations. It also outperformed existing unified models in table recognition (achieving a TEDS score of 90.5 on PubTabNet) and layout analysis.
  • Efficiency: The token-router-based decoder yielded a 23.6% reduction in model size compared to V1 and achieved an inference speed of 8.2 FPS, outperforming most Transformer-based baselines.
  • MLLM Generality: When applied to existing MLLMs (such as Qwen2-VL and InternVL2.5), SPOT prompting consistently delivered substantial performance gains across all four text-parsing tasks. Notably, it improved Qwen2.5-VL-3B's accuracy on HallusionBench from 63.8% to 68.5%, demonstrating that spatial anchoring effectively mitigates model hallucinations.

Limitations and Future Work

While OmniParser V2 excels at structural text parsing, its high-level document reasoning and comprehension capabilities remain limited. The authors note that integrating advanced reinforcement learning techniques—such as Group Relative Policy Optimization (GRPO)—is a promising future direction to enhance the model's deep reasoning and interpretability in document-oriented tasks.

Summary updated

Abstract

Visually-situated text parsing (VsTP) has recently seen notable advancements, driven by the growing demand for automated document understanding and the emergence of large language models capable of processing document-based questions. While various methods have been proposed to tackle the complexities of VsTP, existing solutions often rely on task-specific architectures and objectives for individual tasks. This leads to modal isolation and complex workflows due to the diversified targets and heterogeneous schemas. In this paper, we introduce OmniParser V2, a universal model that unifies VsTP typical tasks, including text spotting, key information extraction, table recognition, and layout analysis, into a unified framework. Central to our approach is the proposed Structured-Points-of-Thought (SPOT) prompting schemas, which improves model performance across diverse scenarios by leveraging a unified encoder-decoder architecture, objective, and input\&output representation. SPOT eliminates the need for task-specific architectures and loss functions, significantly simplifying the processing pipeline. Our extensive evaluations across four tasks on eight different datasets show that OmniParser V2 achieves state-of-the-art or competitive results in VsTP. Additionally, we explore the integration of SPOT within a multimodal large language model structure, further enhancing visual text parsing capabilities on four tasks, thereby confirming the generality of SPOT prompting technique. The code is available at \href{https://github.com/AlibabaResearch/AdvancedLiterateMachinery}{AdvancedLiterateMachinery}.
BibTeX
@article{yu2026omniparser,
  author = {Wenwen Yu and Zhibo Yang and Jianqiang Wan and Sibo Song and Jun Tang and Wenqing Cheng and Yuliang Liu and Xiang Bai},
  title = {{OmniParser V2: Structured-Points-of-Thought for Unified Visual Text Parsing and Its Generality to Multimodal Large Language Models}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2026.3677075},
}
Figure