arXiv 2510.12323
RAG-Anything: putting figures, tables and equations into a knowledge graph to find evidence in long documents
RAG (Retrieval-Augmented Generation) is the approach in which a language model searches external material and answers from what it retrieves. Most RAG systems treat that material as prose, yet in papers, financial reports and technical documents the key information often sits in a figure, a table or an equation. This paper, by authors at the University of Hong Kong, proposes RAG-Anything, a framework that brings non-text content into the same retrieval machinery as text.
The proposal has two centres. Figures, tables and equations are registered as nodes in a knowledge graph (a data structure in which things are points and relationships are lines between them), and search through the graph is combined with search by similarity of meaning. The authors report beating the compared methods on two document question-answering benchmarks and say the gains are especially pronounced on documents over 100 pages. The paper proposes a method and reports experiments; it is not a study of agents. The reading as agent memory and knowledge retrieval at the end of this article is an AI interpretation, not a claim by the authors. [Source: Abstract, §1, pp. 1–3]
The question: what does text-only RAG miss?
The authors' concern is that existing RAG assumes knowledge consists of text alone. Under that assumption, they argue, a system must either discard non-text information or flatten it into an inadequate textual approximation. They give three examples. Scientific research communicates results through plots and diagrams, financial analysis relies on market charts, correlation matrices and performance tables, and medical literature depends on radiological images, diagnostic charts and clinical data tables.
The naive fix, converting everything into text descriptions, loses what charts, diagrams and spatial layouts convey, in the authors' view. They therefore set out three technical challenges:
- Unified representation: combining different kinds of information in one representation while keeping each kind's characteristics and the relations between them.
- Structure-aware decomposition: parsing complex layouts into elements while keeping positional and hierarchical relations.
- Cross-modal retrieval: understanding how text, images and structured data correspond, and following evidence across them.
The authors say these challenges grow in long documents, because relevant evidence is scattered across several sections and several kinds of content. The paper calls each kind of information a modality, and content that mixes several kinds multimodal. Below, this article uses concrete words such as text, figure, table and equation, or "kind of information". [Source: §1, §2.1, pp. 1–3]
Overview: indexing, retrieval and answer generation
The framework has three components: indexing for every kind of information, retrieval across kinds, and answer generation from the retrieved knowledge (§2.1.1).
Reading Figure 1 from the left, input documents such as PPT, DOC, JPG, PNG, XLS and PDF enter a parallel parser (a process that reads a document according to its structure) and become a structured list of text, image, equation and table information. In the middle, entities and relations extracted from text form the text graph. Images, equations and tables are turned into text descriptions by a vision-language model (VLM, a language model that can read images) or a language model (LLM), and these form the cross-modal graph. The knowledge graph that merges the two, and the vector databases (databases searched by similarity of meaning), are built per document and then merged across all documents. On the right, a query collects candidates through a graph path and a similarity path, and a language model produces the response. [Source: §2.1.1, §2.2, Figure 1, pp. 3–4]
Splitting documents into atomic knowledge units
The authors call the first stage Multimodal Knowledge Unification. Where existing pipelines simply cut documents into text segments, this stage decomposes them into atomic units while keeping their structural context and semantic alignment. A figure stays tied to its caption, an equation to its surrounding definitions, and a table to its explanatory text.
Formally, a knowledge source , such as a web page, is decomposed into a set of units (Eq. 1):
Here is the unit's type (text, image, table, equation and so on) and is its content, extracted in a way suited to that type. Text is divided into paragraphs or list items, figures are extracted with metadata such as captions and cross-references, tables are parsed into cells with headers and values, and equations are converted to symbolic form. Figure 1 shows hierarchical text extraction, extraction of image captions and metadata, LaTeX equation recognition, and parsing of table structure and content. According to the authors, this puts many file formats into the same units while keeping their hierarchical order and contextual relations. [Source: §2.2, Eq. 1, Figure 1, pp. 3–4]
Two graphs: making non-text elements into nodes
The authors argue that building a single graph directly from the unified units tends to miss structural signals specific to each kind of information. They therefore build a cross-modal graph and a text graph separately and merge them later. This is dual-graph construction.
The cross-modal knowledge graph. For each image, table or equation unit, a multimodal language model produces two pieces of text: a detailed description used for retrieval, and an entity summary used for graph construction, which includes attributes such as name, type and description. Generation takes the neighbouring units as context, where is the size of the context window. The authors explain that this makes each description reflect the unit's role in the wider document.
An extraction routine then pulls fine-grained entities (the people, things or concepts that become graph nodes) and relations out of the description (Eq. 2):
Each non-text unit also gets one "parent" node , and the extracted nodes connect to it through belongs_to edges (Eqs. 3–4):
Put another way, one figure or table becomes an anchor in the graph, and the items extracted from its description hang off that anchor. The Parent Node and Child Node in Figure 1 correspond to this.
The text-based knowledge graph. From text units, a graph is built with established methods similar to LightRAG and GraphRAG, using named entity recognition and relation extraction. Because text is already semantically rich, the authors judge that multimodal context need not be integrated here.
The prompts that create the descriptions. The appendix gives the prompts (instructions to the language model) for analysing images, tables and equations (Figures 7–9). Each takes the surrounding context and returns JSON with a detailed_description and an entity_info made up of entity_name, entity_type and summary (100 words at most). The image prompt asks for overall composition, objects, relations between elements, colours and visual style, technical details of charts or diagrams, and links to surrounding content. The table prompt asks for structure, column meanings, key data and patterns, statistical insights and significance in context, and instructs the model to use specific names and values rather than general references. The equation prompt asks for mathematical meaning, variable definitions, the operations used, theoretical significance, relations to other concepts and practical uses. [Source: §2.2.1, Eqs. 2–4, §A.3, Figure 1, Figures 7–9, pp. 4–5, 14–16]
Merging into a retrieval index
The two graphs are merged by entity alignment, with entity names as the primary matching key for finding what is the same in both. The resulting knowledge graph combines visual-textual associations with fine-grained relations in the text, the authors explain.
Next, embeddings (numeric vectors used to compute similarity of meaning) are created for every entity, relation and unit and collected in an embedding table (Eq. 5):
The equation as printed in the paper has no set braces here; they are added above to match the surrounding explanation, in which collects the embeddings of all these components. The pair of graph and embedding table, , is the complete retrieval index. [Source: §2.2.2, Eq. 5, p. 5]
Retrieval: a graph path and a similarity path
Retrieval starts by analysing the query. Words such as "figure", "chart", "table" or "equation" are taken as cues to the kind of information wanted. A query embedding is then computed with the same encoder used for indexing. This step is meant to let a text query reach figures and tables through a shared representation.
There are two retrieval paths:
- Structural knowledge navigation. Keyword matching and entity recognition find starting points, beginning with exact matches between query terms and entities, and the search then expands to neighbouring nodes and relations within a specified distance. The aim is to capture knowledge connected through intermediate entities or across kinds of information (reasoning through several such steps is called multi-hop). The result is a candidate set of relevant entities, relations and their associated units.
- Semantic similarity matching. is compared with every element of the embedding table, and the top by cosine similarity (how closely two vectors point in the same direction) are returned as . This path picks up material with no direct connection in the graph.
The two sets are combined as and then ranked using three signals: structural importance from the graph's shape, embedding similarity, and the preference for a kind of information inferred from the query's words. The authors explain that simple merging would ignore the distinct evidence from each path and the redundancy between them. However, the paper does not give a formula or weights for combining the three signals, nor values for the expansion distance, or . Figure 1 also shows a step that extracts high-level and low-level keys from the query, while the body text describes this as analysis of lexical cues. [Source: §2.3, Figure 1, pp. 4–6]
Answer generation: retrieve with text proxies, generate with the original image
From the top-ranked candidates , entity summaries, relation descriptions and unit contents are concatenated into a textual context , with delimiters that mark the kind of information and its place in the document hierarchy. For units that correspond to figures, the system follows the reference back to the original image (dereferencing), forming . The response comes from a vision-language model given the query, the textual context and the original images together (Eq. 6):
As the authors describe the division of work, text proxies (descriptions that stand in for the images) make retrieval efficient, while the answer stage uses the information in the image itself. Figure 1 labels this last step LLM, while the text and Eq. 6 specify a vision-language model. [Source: §2.4, Eq. 6, Figure 1, pp. 4, 6–7]
Experimental setup
Datasets. Two document question-answering benchmarks are used (Table 1). DocBench has 229 documents and 1,102 questions, averaging 66 pages and about 46,377 tokens, across five domains: Academia, Finance, Government, Law and News. MMLongBench has 135 documents and 1,082 questions, averaging 47.5 pages and 21,214 tokens, across seven document types. The appendix statistics show that DocBench's longest domain is Finance at an average of 192 pages and its shortest is News at an average of 1 page, with Academia at an average of 11 pages. In MMLongBench, financial reports average 87 pages and guidebooks 78, while administrative and industry files average 17.
Comparison methods. There are three:
- GPT-4o-mini: the baseline of having a model read the document directly. It understands text and images and has a 128K-token context. In this experiment, however, documents are passed as concatenated images, capped at 50 pages per document and rendered at 144 dpi.
- LightRAG: a graph-enhanced, text-centred RAG system. The authors position it as processing text only.
- MMGraphRAG: a method that builds a knowledge graph across text and images, uses spectral clustering (grouping based on graph structure) and retrieves context along reasoning paths. The authors describe it as adding image processing while treating tables and equations as plain text.
Other settings. The language model underlying the baselines is GPT-4o-mini; the paper does not separately name the language and vision-language models RAG-Anything itself uses. Documents are parsed with MinerU. Retrieval uses text-embedding-3-large embeddings (3072 dimensions) and bge-reranker-v2-m3 for reranking. Graph-based methods are limited to 20,000 tokens for entities and relations combined and 12,000 tokens for chunks. Answers are constrained to one sentence.
Scoring. Accuracy is judged by GPT-4o-mini. The evaluation prompt (Figure 10) asks for a 0 or 1 on whether the answer matches the expected answer factually. Style and format do not count; an answer with the correct information is accepted even with extra context; numbers are checked for matching or equivalent values, and lists for the key elements. When the expected answer is "not answerable", a response saying it cannot answer is scored correct. [Source: §3.1, Table 1, §A.1, Tables 5–6, §A.4, Figure 10, §3.2, pp. 7–8, 13, 16–17]
Results: first overall on both benchmarks, but the order changes by domain
Overall accuracy. On DocBench, RAG-Anything scores 63.4%, MMGraphRAG 61.0%, LightRAG 58.4% and GPT-4o-mini 51.2%. On MMLongBench, RAG-Anything scores 42.8%, LightRAG 38.9%, MMGraphRAG 37.7% and GPT-4o-mini 33.5%. RAG-Anything is first overall in both tables. The point gaps given below for these tables are simple subtractions by the AI; the paper does not state them.
Where the gaps are large. On DocBench's multimodal questions it reaches 76.3%, 10.3 points above MMGraphRAG (66.0%). In Finance it reaches 67.0%, 10.8 points above LightRAG (56.2%). On MMLongBench it leads in research reports (46.6% vs 40.8%), financial reports (43.6% vs 38.5%), guidebooks (43.9% vs 39.4%) and academic papers (38.7% vs 36.2%). The authors single out the information-dense research and financial reports and attribute the result to capturing scattered evidence.
Where it is not first. The tables show it does not win everywhere. On DocBench it is second in Academia (61.4% against MMGraphRAG's 64.3%), Government (61.5% against MMGraphRAG's 64.9%) and Law (60.2% against LightRAG's 61.8%). On text-only questions it ties LightRAG at 85.0%. On unanswerable questions, at 46.0%, it is the lowest of the four methods and well below MMGraphRAG's 60.5%. On MMLongBench it trails GPT-4o-mini on tutorials (43.5% vs 44.0%) and LightRAG on brochures (34.0% vs 41.0%), and is third on administrative and industry files at 45.7% (MMGraphRAG 46.9%, GPT-4o-mini 46.8%).
The authors attribute the gains to treating text, images, tables and equations as equals, keeping structural relations through the two graphs, and searching by both structure and meaning. This is the authors' explanation; the numbers in the tables do not by themselves pin down the cause. [Source: §3.2, Tables 2–3, pp. 8–9]
Results: document length and the size of the gap
Figure 2 divides documents into five page ranges and compares only RAG-Anything and MMGraphRAG.
DocBench. The authors say the two are comparable on short documents and the gap opens as length grows. The figures in the text are 68.2% vs 54.6% for 101–200 pages and 68.8% vs 55.0% for over 200 pages, gaps of more than 13 points. The paper states no other values for this chart, so what follows is an approximate reading of its axes. MMGraphRAG is slightly higher at 1–10 pages (about 65% vs about 62%), and the two are about level across 11–100 pages (both around 60%). Question counts are about 340 each for 1–10 and 11–50 pages, about 160 for 51–100 pages, about 155 for 101–200 pages and about 80 for over 200 pages.
MMLongBench. The figures in the text put RAG-Anything's lead at 3.4 points for 11–50 pages, 9.3 points for 51–100 pages and 7.9 points for 101–200 pages, so the lead does not keep widening with length. The rest is again an approximate reading of the chart. Most questions fall in the 11–50 page range, about 700. Questions are very few at 1–10 pages (about 15) and over 200 pages (about 5). The visible gap of about 60% vs about 40% at over 200 pages is not part of the comparison in the authors' text; by the AI's arithmetic, with about 5 questions it amounts to a difference of one question. Added up by the AI, the bars come to about 1,080 questions on DocBench (1,102 in Table 1) and about 980 on MMLongBench (1,082 in Table 1). The paper does not explain the shortfall.
The authors read this as evidence that the two graphs and cross-modal retrieval are especially effective for reasoning over long documents. [Source: §3.1, Table 1, §3.2, Figure 2, pp. 7–9]
What changes when components are removed
Two ablation experiments (removing a component to measure its effect) are run on DocBench. Chunk-only drops graph construction and uses only traditional chunk retrieval. w/o Reranker drops only the cross-modal reranking.
Overall accuracy is 63.4% for the full version, 62.4% for w/o Reranker and 60.0% for Chunk-only. The authors conclude that the main gains come from graph-based retrieval and cross-modal integration, and that reranking gives only a small improvement.
The breakdown shows the effect is uneven (the drops in points are the AI's subtractions from the table). Removing the graph hurts multimodal questions most (76.3% to 66.2%, 10.1 points), followed by Academia (5.6 points) and Finance (5.5 points). The drop on text-only questions is 3.4 points. In Law, Chunk-only is higher (60.7% vs 60.2%), and in News, w/o Reranker is higher (68.6% vs 66.3%). [Source: §3.3, Table 4, p. 9]
Case studies: can the system point to the right place in a table or figure?
The authors analyse two representative cases from DocBench and show two more in the appendix. In all of them, the paper's figures mark only RAG-Anything as correct.
- A multi-panel figure (Figure 3). Using a t-SNE plot (a visualisation that maps high-dimensional data to two dimensions to show its distribution), the question asks which model's style space separates different styles more clearly. The correct answer is DAE (Deterministic Autoencoder), and all three compared methods answered VAE (Variational Autoencoder). In the authors' account, a graph whose nodes are panels, axis titles, legends and captions prevents confusion with the adjacent content-space panel.
- A financial table (Figure 4). The question asks for Novo Nordisk's total wages and salaries in 2020. The correct answer is DKK 26,778 million. GPT-4o-mini answered 32,928, and LightRAG and MMGraphRAG answered 11,503. In the authors' account, row headers, column headers (years), cells and units become nodes joined by row-of, column-of, header-applies-to and unit-of edges, which narrows the search to the target cell.
- A bar chart (Figure 5). From a chart of an experiment removing parts of a model called GCAN, the question asks which removal gives the lowest accuracy on Twitter15. RAG-Anything answered "-S-A" (the configuration removing both source tweet embeddings and dual co-attention). The authors say bars, axis labels and legends are joined by edges such as bar-of and label-applies-to.
- A table with repeated row labels (Figure 6). One table holds several datasets, so row labels repeat. Asked for the combination with the highest AUPRC (the area under the precision-recall curve) on the Evidence Inference dataset, RAG-Anything answered GloVe + LSTM – Attention, 0.506.
From these cases the authors argue that MMGraphRAG fails because it considers only image entities and ignores cells and row and column headers. These are selected individual cases; the paper gives no success rate across questions of the same type. [Source: §3.4, Figures 3–4, §A.2, Figures 5–6, pp. 9–10, 13–14]
Failures and limits shown by the authors
In Appendix A.5 and the conclusion, the authors use two cases where every method failed to discuss problems common to multimodal RAG. RAG-Anything is among the methods that failed.
Case 1: cross-modal misalignment (Figure 11). The question asks, from a figure, for the sequence that produces the final labels for named entity recognition. The expected answer is Characters → Char Embedding → Char LSTM-B/F → Word Features → Word Representation → Word LSTM-F/B → Word CRF → Label, read from bottom to top in the figure. All methods, RAG-Anything included, were pulled off course by textual evidence instead of the figure. The authors see two problems here:
- Retrieval biased toward text. When a figure contains no exact keyword match, text passages tend to be preferred even if the query explicitly names the figure. The retrieved text may be on topic but is more abstract than the specifics in the figure, so it acts as noise that misleads reasoning, the authors explain.
- Rigid spatial reading. Many visual models default to reading top to bottom and left to right, yet some tables must be read by column and technical diagrams have their own direction of flow. In this case, the elements had to be joined in the reverse of the default order.
Case 2: an ambiguous table (Figure 12). All methods failed to parse a table with merged cells and unclear column boundaries. The authors name the main cause as the row for GEM (one of the fine-tuning strategies in the table) lacking dedicated cell boundaries and the Joint and Slot columns not being clearly separated. The question field of Figure 12 in the original paper shows the same text as Figure 3, but each method's answer and the evidence table concern the improvement in joint goal accuracy (one of the table's metrics) in the Train domain, so that appears to be the question actually asked. The paper's text gives no numbers for this case; they are read from the figure. Red boxes mark 44.24 and 54.31 as the evidence, while RAG-Anything answered an improvement from 44.24 to 58.10, the value in the neighbouring EWC row.
The directions the authors call for are parsing that recognises and adapts to irregular layouts, spatial reasoning that changes its reading according to the situation, and integration of visual processing to recover positional cues lost in structural representations. The conclusion repeats that the method excels especially on documents over 100 pages and leaves these problems as future directions. [Source: §A.5, Figures 11–12, §5, pp. 11, 17–18]
Where it sits among related work
The authors compare two lines of work. One is graph-enhanced RAG. Since GraphRAG, it has developed graph construction for retrieval efficiency (LightRAG, GNN-RAG, the memory-augmented HippoRAG) and aggregation for reasoning across several levels (RAPTOR, ArchRAG), but in the authors' view it remains text-centric. The other is multimodal RAG. As the authors summarise it, VideoRAG uses a dual-channel structure for video, MM-VID converts video to text and loses visual information, VisRAG keeps layouts as images but misses fine-grained relations, and MMGraphRAG treats tables and formulas as plain text.
What the authors call the root problem is architectural fragmentation: each kind of information needing its own dedicated pipeline. They say new kinds then demand new structures and fusion mechanisms, which generalises poorly, and they claim RAG-Anything resolves this with its graph framework. [Source: §4, pp. 10–11]
AI analysis: how far the results go
This section is an AI analysis based on reading the paper's tables and text. It is not a claim by the authors.
The overall gaps are not large. The lead over second place is 2.4 points on DocBench and 3.9 points on MMLongBench. The paper reports no repeated runs, confidence intervals or statistical tests. As a rough AI estimate for reference, treating each question as an independent right-or-wrong trial, at about 60% accuracy on about 1,100 questions one standard error (a guide to chance variation) is a little under 1.5 points. Because methods are compared on the same questions, this figure cannot be used directly to test a difference, but it would be safer not to treat the overall gap alone as settling which is better. The larger gaps, by contrast, come from smaller groups, where the same estimate grows: about 4 points for the roughly 155 questions at 101–200 pages and about 5 points for the roughly 80 questions at over 200 pages, using counts read from Figure 2. The gaps above 13 points exceed those values, but the exact number of points carries a correspondingly wide margin. The same calculation cannot be done for the 10.3 points on multimodal questions, because the paper does not give their number.
MMGraphRAG's row in Table 2 does not add up. The AI weighted each method's five domain scores by the question counts in Table 5. For RAG-Anything, LightRAG and GPT-4o-mini this reproduces the overall score, but for MMGraphRAG it gives about 56.7% against the table's 61.0%. The same calculation stays within 0.6 points for all four methods in Table 3 and for both variants in Table 4. A similar average of the approximate values read from Figure 2 comes to about 61% for MMGraphRAG, so one of its domain scores, perhaps the unusually low 40.0% in Law, may be what is out of line, but the paper does not explain the difference. Domain-by-domain comparisons with MMGraphRAG, including the 14.2-point Finance gap in the next paragraph, should be read with this in mind.
The effects of length and domain are not separated. DocBench's documents over 100 pages may well include many financial documents, which average 192 pages. The Finance gap (67.0% vs 52.8%, 14.2 points) is close in size to the long-document gap (more than 13 points). The paper shows no analysis crossing length with domain, so it cannot distinguish on its own whether length mattered or whether the method is strong on table-heavy financial documents. The length comparison also involves only MMGraphRAG, and does not show how the method differs on long documents from LightRAG or from GPT-4o-mini with its cap of 50 pages per document.
The ablation covers a limited range. Chunk-only removes the graph entirely, so it does not directly test that two graphs beat one, or that two retrieval paths beat either alone. There is also no comparison removing the query analysis that considers the kind of information, or the step that passes original images. The experiment uses DocBench only. Furthermore, Chunk-only's overall 60.0% is above LightRAG's 58.4%, and on multimodal questions it is 66.2% vs 59.7%. The paper does not spell out what Chunk-only retains, but the AI reads this gap as a sign that parts other than the graph (such as generating descriptions of figures and tables) may also contribute.
The case descriptions go beyond the method's definition. The cases speak of detailed edges such as row-of and panel↔caption↔axis. The definition in §2.2.1, however, makes explicit only relations extracted from descriptions and belongs_to, and the appendix prompts contain no instruction to create row or column edges. The paper's text does not say whether these come from extraction over descriptions or from a separate process.
The "unified" and "efficient" claims are not measured. The authors claim to remove fragmentation and maintain computational efficiency, but they measure neither the effort of adding a new kind of information nor indexing time, cost or response time. As §2.2 and the appendix show, parsers and prompts specific to each kind of information still exist; what is unified is the representation and retrieval after parsing. The breakdown of results goes only as far as text-only, multimodal and unanswerable, with no separate scores for figures, tables or equations. Medicine, cited in the introduction as a motivation, is not evaluated as a separate category, and video and audio are outside the experiments.
The measurement conditions also need care. The judge is GPT-4o-mini, the same model that underlies the baselines, and answers are limited to one sentence. This accuracy will not necessarily carry over to long practical answers or multi-step work. In absolute terms too, overall accuracy of 63.4% and 42.8% cannot be called good enough for unconditional use in the business decisions the authors cite. Note also that the paper's reference list names Zirui Guo and Chao Huang among the authors of LightRAG, so the comparison includes the authors' own earlier work. Independent replication is outside the scope of this paper. [Source: §§1, 2.2–2.3, 3.1–3.4, §4, References, Tables 2–6, Figures 1–2, 7–10, pp. 1–2, 4–13, 15–16. The analysis is the AI's.]
When it is usable
This arrangement is the AI's, while the numbers and cases come from the paper's tables and figures. What the experiments directly support is searching documents prepared in advance for evidence and giving a one-sentence answer, one question at a time. Within that setting, the gaps were large on DocBench's multimodal questions (against all three compared methods) and on DocBench documents over 100 pages (against MMGraphRAG, the only method compared by length). The cases show locating a table cell or a figure panel.
Conversely, no advantage is shown in the following conditions. On text-only questions it ties LightRAG. On short documents the authors call it comparable to MMGraphRAG, and the chart shows it slightly below at 1–10 pages on DocBench. On DocBench's unanswerable questions it was the lowest of the four methods. The authors themselves present irregular tables and figures read in the reverse of the default order as hard cases.
The authors have released an open-source implementation (https://github.com/HKUDS/RAG-Anything). This article is based on the paper's text and does not assess how the implementation behaves. [Source: Abstract, §§3.2–3.4, §A.5, Tables 2–4, Figure 2, pp. 1, 8–10, 17–18. The arrangement above is the AI's.]
Reading it as agent memory and knowledge retrieval (AI interpretation)
This section is an AI interpretation for readers building autonomous agents. It is not something the authors claimed or tested. The paper does not evaluate agents and does not deal with writes during work, updates, stale information or use across sessions. What follows is one way to read the method's ideas as design references.
What agents accumulate often includes non-text material: PDF reports, spreadsheets, slides, screen captures. When searching such material, these points look useful:
- Separate the text used for retrieval from the original. Searching on text descriptions and returning to the original image at the answer stage corresponds to a design that keeps the memory index apart from the stored original. A setup that puts only summaries into context, with no way back to the original, cannot check details the summary lost.
- Describe the surrounding context at write time. Passing neighbouring units when creating a description translates to noting, when saving a tool output, which task and which step produced it. In exchange, each non-text unit needs a model call, which has to be budgeted as a cost.
- Combine an exact-match entry, neighbour expansion and similarity of meaning. Agent work involves both cues that can be stated precisely, such as file names, IDs and proper names, and cues to be found by meaning even when the wording differs.
- Treat tables as tables. The cases where failing to distinguish rows, columns and units leads to mixing up similarly named items or the neighbouring year's number bear directly on agents that act on numbers.
- Measure "cannot answer" separately. The 46.0% on DocBench's unanswerable questions is an important indicator for an agent that acts on retrieval results. Choosing a memory system on overall accuracy alone misses the risk of proceeding on wrong evidence when nothing relevant was found.
- Make text bias an evaluation item. The failure the authors show, where text outranks a figure, can also occur in memory as summaries or notes ranking above the original. Scoring separately by type of evidence is worthwhile.
On the other hand, the paper leaves points untested before this could be used directly as memory. Merging with names as the primary key sets no rule for when the same name comes to refer to something else over time, or when content goes stale. Updating the index as information is added, deleting what is no longer needed, and the cost per piece of work are not evaluated in this paper either. If you are considering adoption, the AI's advice is to measure on your own material and questions, through to the outcome of the agent's work. [Source: §§2.2–2.4, §3.2, §A.5, Table 2, Figures 7–9, Figures 11–12, pp. 3–8, 15–18. The interpretation is the AI's.]





