Skip to content

Build Not yet confirmed elsewhere1 publisher 3 min read Published

Databricks routes chart values through the parser instead of the reasoning budget

Databricks argues agents fail on charts at retrieval rather than at reasoning, and it tested the idea with two indexes over the same 16,000-page corpus differing only in how figures were represented.

The Engineer · Build desk

How we use AI Send a correction

Illustration accompanying Databricks routes chart values through the parser instead of the reasoning budget
Generated illustration

What happened

  • Databricks reports that a frontier agent given only a chart image reasoned for 50 seconds and counted 17 local maxima, while Genie, reading a structured extraction of the same chart, answered 18.
  • The pipeline runs ai_parse_document to emit charts as structured JSON, ai_prep_search to chunk the content, a 300-million-parameter text embedding model to index it, and ai_search feeding Genie for answering.
  • Two indexes were built from the same source PDFs with the same BGE embedding model and differed only in how chart figures were represented.
  • Evaluation covered 310 chart and infographic-heavy ViDoRe V3 questions across seven domains, with the whole 16,000-page English corpus parsed, chunked and searched for every query.
  • A second dataset, Chart-RAG, holds 114 visually grounded questions written against 378 pages of BIS Quarterly Review, IMF World Economic Outlook and J.P. Morgan Long-Term Capital Market Assumptions.

Why it matters

  • capability A small text embedder becomes a plausible index for chart-heavy corpora, which Databricks says performs competitively with large single-vector and multi-vector multimodal embedding models.
  • cost Changing figure representation means reparsing and reindexing the whole corpus, so the per-page parse bill is paid again for every representation you want to compare.
  • decision Teams debugging chart failures have to establish whether the miss happens at page selection or at answering, because captioning addresses one and structured values address both.

A dense text index stores vectors of text. A chart inside a PDF is a raster region, and nothing in the embedding step turns one into the other, so the values printed in a figure are absent from the searchable space unless some earlier stage writes them out [4]. A caption fixes the topic and not the numbers. Databricks separates the two failures that follow: the retriever returns the wrong page, or it returns the right page carrying no usable values [4]. It says it first saw the same gap in its own OfficeQA Pro results, where chart and multimodal questions scored worse than the rest [3].

The evaluation is built to tell those two failures apart. Hit Rate@10 over a fully parsed 16,000-page corpus means the top ten results are one page in 1,600 [6][13][14]. At that ratio the retrieval half is the harder half, and a caption cannot rescue it, because the caption never contains the figure the question asks about [4].

The protocol is more careful than the demo. 310 ViDoRe V3 questions and 114 Chart-RAG questions, run three times each, come to 1,272 graded answers, each scored Correct, Partially Correct or Incorrect by a gemini-3-flash judge against a gold answer [5][7][12][8][15]. Two indexes from identical PDFs, the same chunker and the same 300M BGE embedder, differing only in figure representation, is the comparison you actually want to read [11].

The part I would copy is Chart-RAG. Databricks noticed that many of its chart-selected ViDoRe questions could still be answered from surrounding prose, and therefore were not testing chart reading, so it wrote 114 questions against 378 pages of BIS, IMF and J.P. Morgan reports [7]. That is one question per 3.3 pages against one per 52 pages in ViDoRe, about sixteen times the density [16]. Confound control by construction rather than by caveat.

The opening comparison is one chart, one question, an unnamed frontier model, and a miss of exactly one count [1][2][17]. Counting offers no partial credit, though the judge does [12].

Where this design breaks is the seam. Once ai_parse_document has emitted a figure as JSON and the answering agent reads that JSON, the agent has no pixels left to check it against [10]. A misread axis or a dropped series arrives downstream indistinguishable from good data, so pipeline accuracy becomes parser accuracy, visible only through end-to-end scores [10][19].

For the win to transfer you need charts whose series are recoverable as values, questions that turn on those values rather than on topic, and a corpus big enough that wrong-page retrieval is your dominant failure mode rather than a rounding error. Financial reporting, which is where Databricks says it sees the gap in customer systems, fits all three [4]. A slide deck of hand-drawn diagrams fits none of them.

The summary line in the material available states that structured chart JSON improved both answer quality and retrieval on both datasets, and Databricks says the approach is competitive with large single-vector and multi-vector multimodal embedding models [18][19]. The excerpt stops before the table, so for now the design is more inspectable than the result [20].

What to watch

  • Publication of the Hit Rate@10 and nDCG@10 deltas with their three-run confidence intervals, which the available excerpt stops short of.
  • Whether extraction fidelity is ever reported on its own, separately from the end-to-end retrieval and answer scores.
  • Whether the same gain holds for chart types with no recoverable series, such as dense scatter plots and hand-drawn diagrams.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence56
Adoption
Insufficient
Hype gap+32
Incentives88
Confidence46
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    In a test asking "How many local maxima are on this chart?", a frontier agent that was passed just the image spent 50 seconds reasoning and gave an incorrect answer of 17.

  2. [2]

    Databricks Genie, using a structured extraction of the same chart via ai_parse_document, gave the correct answer of 18.

  3. [3]

    Databricks says that in its OfficeQA Pro benchmark, models performed worse on chart-based and multimodal questions than on questions that did not require chart understanding.

Get this ledger inside ChatGPT. Ask about any of our stories and the answer brings its figure, each claim’s verdict and the sources. Free, no account.

Add to ChatGPTAdd to Claude

Sources

1 independent publisher whose own reporting we read for this story.

  1. databricks.com

    1 article · August 27, 2026

    Enhancing Agent Retrieval with Structured Chart Extraction

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

  • Multimodal Embedding ModelsFollow
  • RAG Evaluation MethodologyFollow
  • Chart and Figure ExtractionFollow
  • Agentic Document RetrievalFollow
  • Enterprise Financial Document AIFollow

Entities

Loading related stories