paper-with-me

Papers

Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answering

2023-06-01 · Wenjin Wang, Yunhao Li, Yixin Ou, Yin Zhang

Layout-aware pre-trained models has achieved significant progress on document image question answering. They introduce extra learnable modules into existing language models to capture layout information within document images from text bounding box coordinates obtained by OCR tools. However, extra modules necessitate pre-training on extensive document images. This prevents these methods from directly utilizing off-the-shelf instruction-tuning language foundation models, which have recently shown promising potential in zero-shot learning. Instead, in this paper, we find that instruction-tuning language models like Claude and ChatGPT can understand layout by spaces and line breaks. Based on this observation, we propose the LAyout and Task aware Instruction Prompt (LATIN-Prompt), which consists of layout-aware document content and task-aware instruction. Specifically, the former uses appropriate spaces and line breaks to recover the layout information among text segments obtained by OCR tools, and the latter ensures that generated answers adhere to formatting requirements. Moreover, we propose the LAyout and Task aware Instruction Tuning (LATIN-Tuning) to improve the performance of small instruction-tuning models like Alpaca. Experimental results show that LATIN-Prompt enables zero-shot performance of Claude and ChatGPT to be comparable to the fine-tuning performance of SOTAs on document image question answering, and LATIN-Tuning enhances the zero-shot performance of Alpaca significantly. For example, LATIN-Prompt improves the performance of Claude and ChatGPT on DocVQA by 263% and 20% respectively. LATIN-Tuning improves the performance of Alpaca on DocVQA by 87.7%. Quantitative and qualitative analyses demonstrate the effectiveness of LATIN-Prompt and LATIN-Tuning. We provide the code in supplementary and will release it to facilitate future research.

📄 PDF Abstract BibTeX arXiv:2306.00526

Code (3)

wenjinw/latin-prompt 공식 구현 pytorch
deepopinion/anls-star-metric
deepopinion/anls_star_metric

Tasks

Optical Character Recognition (OCR)Question AnsweringVisual Question Answering (VQA)Zero-Shot Learning

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation

2023-10-13 · Jiayu Xiao, Henglei Lv, Liang Li, Shuhui Wang 외

Recent text-to-image (T2I) diffusion models have achieved remarkable progress in generating high-quality images given text-prompts as input. However, these models fail to convey appropriate spatial composition specified …

Image GenerationText to Image GenerationText-to-Image Generation

TextGround4M: A Prompt-Aligned Dataset for Layout-Aware Text Rendering

2026-04-27 · Dongxing Mao, Yilin Wang, Linjie Li, Zhengyuan Yang 외 arxiv

Despite recent advances in text-to-image generation, models still struggle to accurately render prompt-specified text with correct spatial layout -- especially in multi-span, structured settings. This challenge is driven…

Text-to-Image Generation

InstructLayout: Instruction-Driven 2D and 3D Layout Synthesis with Semantic Graph Prior

2024-07-10 · Chenguo Lin, YuChen Lin, Panwang Pan, Xuanyang Zhang 외

Comprehending natural language instructions is a charming property for both 2D and 3D layout synthesis systems. Existing methods implicitly model object joint distributions and express object relations, hindering generat…

BenchmarkingDecoderObject

LayoutLLM: Layout Instruction Tuning with Large Language Models for Document Understanding

2024-04-08 · CVPR 2024 1 · Chuwei Luo, Yufan Shen, Zhaoqing Zhu, Qi Zheng 외

Recently, leveraging large language models (LLMs) or multimodal large language models (MLLMs) for document understanding has been proven very promising. However, previous works that employ LLMs/MLLMs for document underst…

Document AIdocument understanding

FlowInOne:Unifying Multimodal Generation as Image-in, Image-out Flow Matching

2026-04-08 · Junchao Yi, Rui Zhao, Jiahao Tang, Weixian Lei 외 arxiv

Multimodal generation has long been dominated by text-driven pipelines where language dictates vision but cannot reason or create within it. We challenge this paradigm by asking whether all modalities, including textual …

visual instruction followingText-to-Image GenerationTrajectory Predictionmultimodal generation