[Paper Review] UniDoc: A Universal Large Multimodal Model for Simultaneous Text Detection, Recognition, Spotting and Understanding
UniDoc presents the first large multimodal model capable of simultaneous text detection, recognition, spotting, and multimodal understanding, trained with unified multimodal instruct tuning across OCR and general vision-language tasks.
In the era of Large Language Models (LLMs), tremendous strides have been made in the field of multimodal understanding. However, existing advanced algorithms are limited to effectively utilizing the immense representation capabilities and rich world knowledge inherent to these large pre-trained models, and the beneficial connections among tasks within the context of text-rich scenarios have not been sufficiently explored. In this work, we introduce UniDoc, a novel multimodal model equipped with text detection and recognition capabilities, which are deficient in existing approaches. Moreover, UniDoc capitalizes on the beneficial interactions among tasks to enhance the performance of each individual task. To implement UniDoc, we perform unified multimodal instruct tuning on the contributed large-scale instruction following datasets. Quantitative and qualitative experimental results show that UniDoc sets state-of-the-art scores across multiple challenging benchmarks. To the best of our knowledge, this is the first large multimodal model capable of simultaneous text detection, recognition, spotting, and understanding.
Motivation & Objective
- Address the gap in text-rich image understanding by enabling simultaneous text detection, recognition, spotting, and multimodal understanding in a single model.
- Leverage large language model world knowledge and multimodal pretraining to improve OCR-related tasks through cross-task interactions.
- Create and utilize a large-scale multimodal instruction-following dataset tailored for text detection, recognition, spotting, and understanding.
- Demonstrate state-of-the-art performance on public OCR and multimodal benchmarks and analyze the benefits of unified multimodal tuning.
Proposed method
- Use CLIP-ViT-L/14 as the visual encoder to extract features from input images.
- Project visual features into the LLM embedding space and combine them with tokenized natural language instructions.
- Employ Vicuna as the language model and perform unified multimodal instruction tuning in two stages (pre-training and fine-tuning).
- Pre-train with frozen visual and language models while training a linear projector to align modalities; fine-tune by unfreezing and optimizing both the LLM and projector with OCR and multimodal tasks.
- Instruct-tune on four tasks (captioning, detection, recognition, spotting) during pre-training and extend to multimodal understanding during fine-tuning.
Experimental results
Research questions
- RQ1Can a single large multimodal model jointly perform text detection, recognition, spotting, and multimodal understanding in text-rich images?
- RQ2Do cross-task interactions during unified multimodal instruct tuning improve individual OCR and understanding capabilities?
- RQ3What is the impact of task formulation, instruction type, and training stages on OCR and multimodal understanding performance?
- RQ4How well does UniDoc generalize to text-rich scenarios beyond the training data?
Key findings
- UniDoc achieves state-of-the-art scores across multiple benchmarks for text detection, recognition, and multimodal understanding in text-rich images.
- Unified multimodal instruct tuning yields beneficial interactions among OCR tasks that enhance overall performance.
- Spotting-based instructions improve detection and recognition accuracy compared to other instruction types.
- The model demonstrates strong generalization in text-rich scenarios, including irregular text layouts and diverse fonts.
- Ablation studies show joint training across detection, recognition, and spotting in both pre-training and fine-tuning stages yields the best results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.