ACL 2025finding0 citations

DocFusion: A Unified Framework for Document Parsing Tasks

Mingxu Chai, Ziyu Shen, Chong Zhang, Yue Zhang, Xiao Wang, Shihan Dou, Jihua Kang, Jiazheng Zhang

Abstract

Document parsing involves layout element detection and recognition, essential for extracting information. However, existing methods often employ multiple models for these tasks, leading to increased system complexity and maintenance overhead. While some models attempt to unify detection and recognition, they often fail to address the intrinsic differences in data representations, thereby limiting performance in document processing. Our research reveals that recognition relies on discrete tokens, whereas detection relies on continuous coordinates, leading to challenges in gradient updates and optimization. To bridge this gap, we propose the Gaussian-Kernel Cross-Entropy Loss (GK-CEL), enabling generative frameworks to handle both tasks simultaneously. Building upon GK-CEL, we propose DocFusion, a unified document parsing model with only 0.28B parameters. Additionally, we construct the DocLatex-1.6M dataset to provide high-quality training support. Experimental results show that DocFusion, equipped with GK-CEL, performs competitively across four core document parsing tasks, validating the effectiveness of our unified approach.

BibTeX
@inproceedings{chai-etal-2025-docfusion,
    title = "{D}oc{F}usion: A Unified Framework for Document Parsing Tasks",
    author = "Chai, Mingxu  and
      Shen, Ziyu  and
      Zhang, Chong  and
      Zhang, Yue  and
      Wang, Xiao  and
      Dou, Shihan  and
      Kang, Jihua  and
      Zhang, Jiazheng  and
      Zhang, Qi",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.findings-acl.393/",
    doi = "10.18653/v1/2025.findings-acl.393",
    pages = "7584--7599",
    ISBN = "979-8-89176-256-5"
}
DocFusion: A Unified Framework for Document Parsing Tasks · ACL 2025