Granite Docling V2: Compact Vision-Language Models for End-to-End Document Conversion
Overview of Granite Docling V2
IBM has introduced Granite Docling V2, a suite of two compact vision-language models designed to perform end-to-end document conversion. These models are engineered to transform documents—including those with complex tables, formulas, code, and images—into structured data while maintaining the original reading order and document hierarchy. By avoiding the flattening of content into plain text, these models ensure that document elements remain identifiable for downstream tasks such as retrieval-augmented generation (RAG), search, and autonomous agents.
Model Specifications and Performance
Granite Docling V2 is available in two distinct sizes, each optimized for different performance requirements:
- Granite Docling V2 2B: This model serves as the high-accuracy flagship. It is designed to handle dense pages, small print, complex mathematical formulas, and intricate tables across a broad spectrum of document types, including scientific papers, financial reports, and slides.
- Granite Docling V2 500M: This model prioritizes throughput, achieving processing speeds of 18.49 pages per second on a single GPU. It utilizes an adaptive approach, focusing computational resources on complex page elements only when necessary to maintain high accuracy while remaining performant on simpler content.
Both models are also available in "Flash" versions for users of IBM watsonx and IBM watsonx Software, providing increased speed without sacrificing accuracy.
Integration with DocLang
Granite Docling V2 models output data in the DocLang format, an open standard developed by a working group including IBM, NVIDIA, Red Hat, ABBYY, and HumanSignal under the LF AI & Data foundation. This format ensures that headings, paragraphs, tables, and images retain their semantic type and spatial positioning. This structured output allows developers to extract specific document components, such as only tables or formulas, with high precision.
Accessibility and Ecosystem Support
Granite Docling V2 is released under the Apache 2.0 license, ensuring broad accessibility for enterprise and research use. The models are compatible with several standard machine learning frameworks and tools:
- Hugging Face Transformers: For general integration.
- vLLM: For high-performance serving.
- MLX-VLM: For local execution on Apple silicon.
- Docling: The primary library for document parsing and conversion.
Users can evaluate the models via the Granite Docling V2 Playground or compare performance metrics using the Docling Benchmark Explorer. Further technical details regarding the training and architecture of these models are available in the official technical report.