atlas

Research map / Vision-language and multimodal / Human and embodied modeling

UNIT: Unifying Image and Text Recognition in One Vision Encoder

NeurIPS 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Vision-language pretraining · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes UNIT, a training framework that upgrades an image-pretrained ViT (OpenCLIP ViT-H/14) to also do OCR, using a lightweight OPT-125M language decoder and a vision decoder that distills the original encoder's features, trained in intra-scale and inter-scale stages.

Problem

Vision encoders like ViTs excel at image recognition but cannot simultaneously handle text recognition (OCR, document QA), and existing document-specific or ensemble approaches either discard image capability or add inference cost.

Approach

Attach a lightweight OPT-125M language decoder for autoregressive OCR and a two-layer MLP vision decoder that reconstructs the original ViT's token features on natural images, training at intra-scale resolutions and then at exchanged (scale-swapped) resolutions so the single unchanged encoder handles both images and documents with no added inference cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the image captioning task during intra-scale pretraining (ablation)UNIT · ImageNet-1Kzero-shot classification accuracy: 76.24% to 78.54%Helped
use feature reconstruction loss weight λ=2 rather than λ=1, with image captioning (ablation)UNIT · ImageNet-1Kzero-shot classification accuracy: 75.16 to 78.54Helped
use feature reconstruction loss weight λ=2 rather than λ=1, with image captioning (ablation)UNIT · SYN-L-valOCR F1: 90.88 to 94.57Helped
add inter-scale finetuning (ablation)UNIT · ImageNet-1K at exchanged resolutionzero-shot classification accuracy: 0.40 to 80.49Helped
add inter-scale finetuning (ablation)UNIT · SYN-S-valOCR F1: 34.99 to 92.68Helped
use random feature sampling during inter-scale finetuning (ablation)UNIT · ImageNet-1K at exchanged resolutionzero-shot classification accuracy: 31.66 to 80.49Helped
use random feature sampling during inter-scale finetuning (ablation)UNIT · SYN-S-valOCR F1: 92.40 to 92.68Helped
train with λ=0 for feature reconstruction loss (ablation)UNIT without image captioning · ImageNet-1Kzero-shot classification accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Conceptual Captions ShareGPT4V LAION-COCO LLaVA-80k LLaVA-CC665k DocVQA ChartQA Nougat markdown data synthetic arXiv PDF OCR data

Benchmarks: FUNSD SROIE CORD SYN-L-val MD-val ImageNet-1K ADE20k VQAv2 GQA OKVQA ChartQA DocVQA

Metrics: F1 top-1 accuracy mIoU accuracy OCRBench score MME score

Baselines: Donut Nougat Vary RADIO EfficientViT-L1 SwinV2-S ConvNext-B MViTV2-B NFNet-F3 MaxViT-B OpenCLIP-H/14 RADIO-L/14

Builds on: Vision Transformer OpenCLIP LLaVA-1.5 Cropped Position Embedding Q-Former

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy