Skip to main content
QUICK REVIEW

[Paper Review] DocPedia: Unleashing the Power of Large Multimodal Model in the Frequency Domain for Versatile Document Understanding

Hao Feng, Qi Liu|arXiv (Cornell University)|Nov 20, 2023
Multimodal Machine Learning ApplicationsComputer Science6 citations
TL;DR

DocPedia proposes a novel large multimodal model that processes high-resolution document images directly in the frequency domain using DCT coefficients, enabling superior perception and comprehension without OCR. By leveraging a dual-stage training strategy and frequency-domain visual encoding, it achieves state-of-the-art performance on benchmarks like DocVQA and TextVQA, especially at 2,560×2,560 resolution.

ABSTRACT

This work presents DocPedia, a novel large multimodal model (LMM) for versatile OCR-free document understanding, capable of parsing images up to 2,560$ imes$2,560 resolution. Unlike existing work either struggle with high-resolution documents or give up the large language model thus vision or language ability constrained, our DocPedia directly processes visual input in the frequency domain rather than the pixel space. The unique characteristic enables DocPedia to capture a greater amount of visual and textual information using a limited number of visual tokens. To consistently enhance both perception and comprehension abilities of our model, we develop a dual-stage training strategy and enrich instructions/annotations of all training tasks covering multiple document types. Extensive quantitative and qualitative experiments conducted on various publicly available benchmarks confirm the mutual benefits of jointly learning perception and comprehension tasks. The results provide further evidence of the effectiveness and superior performance of our DocPedia over other methods.

Motivation & Objective

  • Address the limitations of existing OCR-free document understanding models that either constrain vision (low-res input) or language (lightweight decoders).
  • Overcome the trade-off between high-resolution visual perception and robust language comprehension in document understanding.
  • Enable effective use of large language models (LLMs) for reasoning and world knowledge while preserving fine-grained visual details in high-resolution documents.
  • Develop a training strategy that jointly optimizes perception and comprehension abilities for versatile document understanding.
  • Explore the feasibility of using frequency-domain representations as an alternative to pixel-space input for vision encoders in multimodal models.

Proposed method

  • Process document images via JPEG DCT to extract frequency-domain coefficients as input to the vision encoder, reducing token count while preserving critical visual and textual information.
  • Introduce a frequency adapter to bridge the gap between DCT coefficients and the vision encoder, enabling effective feature learning in the frequency domain.
  • Employ a dual-stage training strategy: pre-train the vision encoder with contrastive learning on image-text pairs, then fine-tune jointly on perception (OCR, captioning) and comprehension (VQA, document understanding) tasks.
  • Use a large language model (LLM) to generate responses based on combined visual tokens (from frequency domain) and instruction-derived tokens, enabling logical reasoning and world knowledge use.
  • Optimize the model with richly annotated instructions and data across diverse document types, including receipts, academic papers, and forms.
  • Apply a shape-adaptive cropping strategy during inference to handle very high-resolution inputs, ensuring full utilization of the model’s high-resolution capability.

Experimental results

Research questions

  • RQ1Can frequency-domain representation of images improve the efficiency and performance of large multimodal models in high-resolution document understanding?
  • RQ2Does joint pre-training and fine-tuning of perception and comprehension tasks lead to mutual improvement in model capabilities?
  • RQ3Can a frequency-domain input pipeline outperform pixel-space baselines in terms of visual token efficiency and resolution scalability?
  • RQ4To what extent does using a full LLM for reasoning enhance performance on complex document understanding tasks compared to lightweight decoders?
  • RQ5How does the model perform on extremely high-resolution or multi-page documents, and what are its limitations in such scenarios?

Key findings

  • DocPedia achieves a 53.35% VQA score on the DocVQA benchmark with 1,920×1,920 input resolution, outperforming methods that use only image-based inputs.
  • At 2,560×2,560 resolution, DocPedia produces accurate responses to complex queries, with performance improving significantly compared to lower resolutions.
  • The frequency-domain input strategy allows the model to maintain high performance with only 1/4 the number of visual tokens compared to pixel-space input at the same resolution.
  • Ablation studies show that pre-training is critical—omitting it leads to significant performance degradation, highlighting the importance of vision-LLM feature alignment.
  • Joint fine-tuning on perception and comprehension tasks yields better results than isolated training, confirming the mutual benefit of simultaneous learning.
  • The model demonstrates superior performance on text localization and reasoning tasks (e.g., Q3 in Figure 1), especially at high resolutions, where pixel-based models fail due to downscaling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.