Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting
Model Description
Dolphin (
Do
cument Image
P
arsing via
H
eterogeneous Anchor Prompt
in
g) is a novel multimodal document image parsing model that follows an analyze-then-parse paradigm. It addresses the challenges of complex document understanding through a two-stage approach designed to handle intertwined elements such as text paragraphs, figures, formulas, and tables.
📑 Overview
Document image parsing is challenging due to its complexly intertwined elements such as text paragraphs, figures, formulas, and tables. Dolphin addresses these challenges through a two-stage approach:
🔍 Stage 1
: Comprehensive page-level layout analysis by generating element sequence in natural reading order
🧩 Stage 2
: Efficient parallel parsing of document elements using heterogeneous anchors and task-specific prompts
Dolphin achieves promising performance across diverse page-level and element-level parsing tasks while ensuring superior efficiency through its lightweight architecture and parallel parsing mechanism.
Model Architecture
Dolphin is built on a vision-encoder-decoder architecture using transformers:
Vision Encoder
: Based on Swin Transformer for extracting visual features from document images
Text Decoder
: Based on MBart for decoding text from visual features
Prompt-based interface
: Uses natural language prompts to control parsing tasks
The model is implemented as a Hugging Face
VisionEncoderDecoderModel
for easy integration with the Transformers ecosystem.
Usage
Our demo will be released in these days. Please keep tuned! 🔥
@inproceedings{dolphin2025,
title={Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting},
author={Feng, Hao and Wei, Shu and Fei, Xiang and Shi, Wei and Han, Yingdong and Liao, Lei and Lu, Jinghui and Wu, Binghong and Liu, Qi and Lin, Chunhui and Tang, Jingqun and Liu, Hao and Huang, Can},
year={2025},
booktitle={Proceedings of the 65rd Annual Meeting of the Association for Computational Linguistics (ACL)}
}
Acknowledgements
This model builds on several open-source projects including:
Dolphin huggingface.co is an AI model on huggingface.co that provides Dolphin's model effect (), which can be used instantly with this ByteDance Dolphin model. huggingface.co supports a free trial of the Dolphin model, and also provides paid use of the Dolphin. Support call Dolphin model through api, including Node.js, Python, http.
Dolphin huggingface.co is an online trial and call api platform, which integrates Dolphin's modeling effects, including api services, and provides a free online trial of Dolphin, you can try Dolphin online for free by clicking the link below.
ByteDance Dolphin online free url in huggingface.co:
Dolphin is an open source model from GitHub that offers a free installation service, and any user can find Dolphin on GitHub to install. At the same time, huggingface.co provides the effect of Dolphin install, users can directly use Dolphin installed effect in huggingface.co for debugging and trial. It also supports api for free installation.