Module resources
Multimodal and document AI
Checked sources to go further than the lessons. Back to the module.
Recommended learning sequence
Work through these in order.
Vision Language Models Explained (opens in a new tab)
Start with the model side: how a vision-language model pairs an image encoder, a projector and a text decoder, and what document understanding looks like in practice. It frames the patch and token ideas in the lesson.
Tesseract User Manual (opens in a new tab)
Then the classic OCR route: the manual for an open source OCR engine, so the 'transcribe first' option in the lesson has a concrete tool behind it.
DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis (opens in a new tab)
Read the paper behind layout analysis: a human-annotated dataset for finding the blocks on a page. It explains what the layout step in OCR plus layout analysis is trained to do.
ColPali: Efficient Document Retrieval with Vision Language Models (opens in a new tab)
Now the alternative that skips parsing: embed page images directly and judge it on a page-retrieval benchmark. Repeated on purpose from the lesson, to compare against the layout route you just read.
Docling documentation (opens in a new tab)
Finish hands-on. The documentation's quickstart converts a source file into a structured document and exports Markdown, so you can test a layout-aware parser on one of your own PDFs.
All resources
Official documentation
Docling documentation (opens in a new tab)Essential
The documentation home for Docling, listing the formats it parses and its OCR, page layout, reading order and table structure support, with a quickstart and examples. It also advertises local execution, which matters for the privacy section of the lesson.
Tesseract User Manual (opens in a new tab)
The user manual for Tesseract, an open source OCR engine, covering how it is used and how its models are supplied. Shows what the 'OCR' box in the lesson's pipeline can be in practice.
Further reading
Vision Language Models Explained (opens in a new tab)Essential
An introduction to vision-language models that covers capabilities including document understanding, the image encoder, projector and text decoder design, and how to pick a model. Background for how a model reads a page.
Evaluating Chunking Strategies for Retrieval (opens in a new tab)
Repeated on purpose from the RAG module: a comparison of chunking strategies for retrieval, to read before you design chunks for tables and pages in this lesson.
Research papers
DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis (opens in a new tab)
Presents DocLayNet, a human-annotated dataset for document layout analysis (KDD 2022). Read it to see what a layout model is trained on, and why layout varies across documents and why annotators disagree on block types.
OCR-free Document Understanding Transformer (opens in a new tab)
Donut is a document understanding transformer that works without a separate OCR step (ECCV 2022). A counterpoint to the lesson's OCR plus layout pipeline: the title's claim is that a separate OCR step is not needed.
DocVQA: A Dataset for VQA on Document Images (opens in a new tab)
Introduces DocVQA, question answering over document images (WACV 2021). It shows how document question answering is measured, which feeds the lesson's evaluation section.
Visual Instruction Tuning (opens in a new tab)
Visual instruction tuning (NeurIPS 2023, oral): the authors use text-only GPT-4 to create instruction-following data that pairs language with images. Background on how image-and-text models are trained to follow instructions.
Case studies
Seven Failure Points When Engineering a Retrieval Augmented Generation System (opens in a new tab)
Repeated on purpose from the RAG module: its seven failure points give a checklist to hold beside this lesson's parsing, retrieval and generation split when you diagnose wrong answers.
Datasets
ViDoRe Benchmark (Hugging Face collection) (opens in a new tab)
The ViDoRe collection of datasets for visual document retrieval, introduced with ColPali. Browse it to see the kinds of pages and questions a page-image retriever is tested on.