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

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
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [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]
Databricks Genie, using a structured extraction of the same chart via ai_parse_document, gave the correct answer of 18.
- [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.
- [4]
Databricks states that a text-based retrieval system can only search the text space; generating a caption to describe a chart may miss the data needed for fine-grained questions on the numbers inside it, so the system may retrieve the wrong page, or retrieve the right page without enough information to answer. It says it sees the same gaps in customers' information retrieval systems, particularly in financial services.
- [5]
Databricks evaluated 310 chart and infographic-heavy questions from the ViDoRe V3 benchmark, which covers seven domains: employment, energy, pharmaceuticals, physics, finance, computer science and industrial documents.
- [6]
For each experiment, Databricks parsed and chunked the entire 16K-page English corpus and generated answers to every query, searching over the full index.
- [7]
Because many of the chart-focused ViDoRe questions could still be answered using surrounding text, Databricks built a second benchmark, Chart-RAG, of 114 visually grounded questions written from three chart-heavy reports (BIS Quarterly Review, IMF World Economic Outlook, J.P. Morgan Long-Term Capital Market Assumptions) totalling 378 pages.
- [8]
Each configuration was run three times and results were reported with confidence intervals.
- [9]
Databricks published a blog post titled "Enhancing Agent Retrieval with Structured Chart Extraction", arguing that structured extraction from charts improves both retrieval and answer quality on chart-based questions.
- [10]
The pipeline uses ai_parse_document to extract document content including charts represented as structured JSON, ai_prep_search to transform content into retrieval-ready chunks, a lightweight 300M-parameter text embedding model for indexing, and ai_search to create the index, which is connected to Genie for retrieval and answering.
- [11]
Databricks compared two indexes created with a 300-million-parameter BGE text embedding model, built from the same source PDFs and differing only in chart figure representation.
- [12]
Each answer was scored Correct, Partially Correct or Incorrect using an LLM judge, gemini-3-flash, against its gold answer.
- [13]
Retrieval was reported as Hit Rate@10 and nDCG@10; Hit Rate@10 checks whether at least one gold page appears in the top 10 retrieved results, ViDoRe queries may have multiple gold pages with relevance scores of 1 or 2 which are binarised for hit rate and kept graded for nDCG, and each Chart-RAG query has one gold page.
- [14]
Returning 10 results from a 16,000-page corpus means the top-10 window is one page in 1,600, or 0.0625 percent of the corpus.
- [15]
The two datasets together produce 1,272 graded answers per representation across the repeated runs.
- [16]
Chart-RAG has about one question per 3.3 pages, against about one per 52 pages for the ViDoRe subset, roughly sixteen times the question density.
- [17]
The frontier agent's answer of 17 against a correct answer of 18 is a miss of one count, about 5.6 percent in relative terms.
- [18]
Databricks says its approach performs competitively with large single-vector and multi-vector multimodal embedding models.
- [19]
Databricks states that structured chart JSON improves both answer quality and retrieval across both datasets.
- [20]
The available text of the post ends at the summary statement about improvement and does not include the per-configuration metric values for the two indexes.
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.
Sources
1 independent publisher whose own reporting we read for this story.
- databricks.comEnhancing Agent Retrieval with Structured Chart Extraction
1 article · August 27, 2026
Topics and entities
Follow any of these and your For You feed starts watching them — no settings page required.