跳到正文
实时
IBM Research Blog·· 4 天前精选67

IBM 开源三款 Granite 文档模型,让智能体直接读取页面

New Granite models help agents put documents to work

要点速览

IBM 发布了三款开源 Granite 模型,均采用 Apache 2.0 许可,包括 500M 和 2B 两种规格的 Granite Docling V2、Granite Vision 5.0 4B 和 Granite Embedding 748M Vision R2,分别负责文档转换、复杂图表与表单的结构化抽取、以及直接从页面图像检索。

Why it matters

IBM 一次开源三个文档处理模型,覆盖转换、视觉抽取与检索,读者可据此评估企业文档 Agent 的搭建方式。

同一件事另外 1 家也报道了

各家口径不同:IBM Research Blog称模型为500M/2B,而Hugging Face Blog指出2B模型精度最高,500M模型速度更快。

  1. IBM Research Blog··首发·当前阅读

    IBM 开源三款 Granite 文档模型,让智能体直接读取页面

  2. Hugging Face Blog··+10 分钟

    IBM 发布 Granite Docling V2 文档转换视觉语言模型,含 2B 与 500M 两档

    新增信息:支持多种文档格式并输出Markdown/HTML/JSON

按发布时间排列 · 事件后续出现时自动追加 · 由模型根据各家标题与摘要比对

正文 · 原文

Much of an organization’s knowledge lives in pages made to be looked at: slide decks, scanned forms, financial statements, manuals. As AI agents take on more enterprise work, they need that knowledge. Getting to it usually means chaining separate models for OCR, layout analysis and chunking, and a mistake at one stage can carry into the next.

Today, IBM is releasing three open Granite models that work from the page itself: Granite Docling V2 in 500M and 2B sizes, Granite Vision 5.0 4B, and Granite Embedding 748M Vision R2. Granite Docling converts the document, Granite Vision extracts the data from complex visuals, and Granite Embedding Vision makes it all searchable. All three are released under the Apache 2.0 license.

Whole pages, converted in a single pass

Granite Docling V2 turns each page image into a complete, structured record of the document in one pass. Instead of Markdown or HTML, which lose layout and element types, the models write DocLang, a markup language in which every element carries its type, its position on the page, and its place in the reading order. Headings, paragraphs, nested lists, tables with full cell structure, formulas, code, pictures and their captions are all captured just as they appear in your documents.

DocLang is also compact. Every tag and location is a single token, so a page takes far fewer tokens than it does when converted to Markdown or HTML, and fewer tokens means faster conversion. A DocLang page converts losslessly into Markdown, HTML or JSON, and a short task prompt can ask for only the tables, text, or formulas when that's all you need. The smaller model adds a density router that spends extra compute only on dense pages.

Across more than 16,000 pages from nine benchmarks, both Granite Docling V2 models were more accurate than every other document conversion model we tested, including models up to 10 times their size. The 2B model scored 96.5 at 3.8 pages per second on one H100, and the 500M model scored 94.9 at 6 pages per second, nearly matching the fastest model we tested. All scores come from the Docling Benchmark Explorer, an open evaluation space where every benchmark is re-annotated natively in DocLang. You can browse the pages, compare model outputs side by side, and check each score yourself: Benchmark Explorer. Both models run with Hugging Face Transformers, vLLM, mlx-vlm, and the Docling library. Read more in the paper, or try the models in the demo.

teaser_speed-vs-accuracy.png

Figure 1: Accuracy vs. speed across nine document conversion benchmarks. Both open Granite Docling V2 models are more accurate than every other model tested, and far ahead of the original Granite-Docling 258M. The Flash versions, available in watsonx, use faster speculative decoding to reach the same accuracy at higher speed.

Reading charts, complex tables, and forms

Some parts of a page need more than conversion. Granite Vision 5.0 4B is built for structured visual extraction: the data behind a chart, the structure of a complex table, or specific fields on a form, returned as JSON against a schema you provide. It plugs straight into Docling: Docling detects the charts on each page, and Granite Vision summarizes them or extracts their data.

Compared with Granite Vision 4.1 4B, Granite Vision 5.0 delivers higher accuracy on chart, table, and key-value extraction. These gains are driven by redesigned training data and a reinforcement learning stage with task-specific rewards. The model also introduces support for multi-panel charts and stronger multilingual performance across charts and tables. Granite Vision 5.0 outperforms open models up to six times its size on chart and table extraction tasks, and achieves better results than the frontier models we evaluated on chart-to-CSV conversion and cropped-table extraction. Learn more in the blog, or try it in the Document Intelligence and Document Chat demos.

vision.png

Figure 2: Average score across seven chart, table, and key-value extraction benchmarks. Granite Vision 5.0 4B scores higher than every model we tested, including frontier models.

Finding the right page, straight from the image

Granite Embedding 748M Vision R2 finds the right page directly from its image, with no OCR or chunking. One forward pass produces both a single vector for fast search and multi-vectors for high-accuracy reranking. Across eight visual document retrieval benchmarks it averages 0.721 nDCG, and every model we compared that scores higher encodes pages more slowly.

embedding.png

Figure 3: Granite Embedding Vision R2 is the fastest of 21 visual document retrievers, at 35.3 pages per second on one H200. Every model that scores higher is slower.

It's also fast enough for large collections: At 35.3 pages per second on one H200 GPU, it's faster than any of the 20 other visual document retrievers we tested, so a million pages takes about eight hours to encode. Read more about it in the Hugging Face technical blog, or try the demo.

Built for what agents need next

Each model stands on its own, and together they give agents small, open models that read pages directly. Granite Docling converts documents into structured data; Granite Vision pulls the data out of charts, forms, and screens; and Granite Embedding Vision finds the right page, so an agent can retrieve it and a Granite language model can answer from it. All three are available on Hugging Face today. For enterprise deployments, we recommend pairing them with Granite Guardian.

来源: IBM Research Blog · research.ibm.com