Studies in Evidence and Discovery · Vol. 2 No. 10A (2026)
Published October 31, 2026
Oliver Wells — Denmark; Aaron Coleman — Norway; Evan Anderson — Italy
Node-index caching avoided no object-attribute comparisons in the CLEVR validation release. We executed all 149,991 original programs with repeated recursion and with a cache scoped to each immutable scene and question. Both schedules reproduced every released answer. Their attribute-check costs were identical for every program, despite the cache retaining an average of 11.16 intermediate values and 20.40 object-set memberships under equal-image weighting. Only seven programs saved any operator evaluation; each reused a scene node whose assigned attribute-check cost was zero. The result identifies a mismatch between this reuse mechanism and the released program representation. It establishes neither a general failure of caching nor a performance result for a visual agent.
Keywords: program execution; evidence reuse; memoization; visual reasoning benchmark; logical cost accounting
A structured question can involve several branches and still offer almost no reuse to a cache indexed by program-node identity. Each branch may have its own node objects, even when some operations look similar. Conversely, a shared node can be reached twice without performing an expensive operation. These cases matter when the length of a reasoning program is used to motivate a computational optimization. Program length, dependency structure and reusable work are different quantities.
The research question is: how many repeated object-attribute comparisons can node-index memoization avoid when executing the unchanged CLEVR validation programs, and what retained intermediate state accompanies that reuse? We compare two exact schedules on the same synthetic scene graphs and their original programs. The first recursively recomputes dependencies. The second stores a result at its original node index and returns it whenever that index is reached again within the question.
Structured question construction makes this interface concrete. Tan et al., 2026 describes knowledge-graph question generation through abstraction-to-instantiation conversion and collaboration between models. The accessible publisher abstract motivates distinguishing an instantiated dependency structure from its linguistic realization. Our experiment checks execution accounting on released instantiated structures; it does not run that framework or evaluate generated language. A valid graph-question pair does not itself establish that a particular cache will find repeated work.
Zhang et al., 2026 constructs questions with intermediate visual dependencies and supports selective visual acquisition and the preservation of acquired evidence for later actions. Its author methods make evidence management an explicit part of long-horizon search. Reusing an unchanged observation is a different operation from acquiring a new one. We examine that distinction in a fully observable, immutable graph oracle. No image is perceived, no search agent is trained and no cost reduction in that source system is inferred.
CLEVR was introduced to diagnose compositional visual reasoning with controlled scenes and associated questions (Johnson et al., 2017a). We reuse the original main v1.0 no-image release, whose validation files contain 15,000 scene graphs and 149,991 questions (Johnson et al., 2017b). These are authentic released synthetic benchmark records, not observations of real-world visual activity. All validation questions enter, rather than a selected family or a sample chosen for substantial cache savings.
Each scene lists objects with categorical attributes and explicitly recorded spatial adjacency. Each question supplies an answer and a topologically ordered functional program. We retain all 26 observed function names. Filters select object sets by an attribute value; unique requires a singleton; relate returns the recorded adjacency set of an object. Same-attribute operations select other objects sharing the specified attribute. The remaining functions form unions or intersections, count objects, test existence, query an attribute or compare scalar values.
Graph models vary in the identities and relationships they preserve (Angles and Gutierrez, 2008). The RDF abstract syntax, for example, defines a particular graph of terms and triples (Cyganiak et al., 2014); that specification does not turn every integer in another graph into a shared semantic object. CLEVR's scene-object indices and program-node indices have their own local meanings. We do not load the scenes as RDF, infer entity identities from equal integers across scenes or compare a node number across different questions.
The same caution applies to query semantics. Harris and Seaborne, 2013 specifies evaluation for a distinct query language, while Chandra and Merlin, 1977 studies the implementation of conjunctive queries. They motivate separating a query's meaning from the schedule used to compute it. Our operators follow the released CLEVR contract. We do not apply conjunctive-query minimization, SPARQL equivalence, algebraic rewriting or common-subexpression hashing to the source programs.
| Source or execution property | Actual count |
|---|---|
| Original validation scenes | 15,000 |
| Original questions, both schedules answer-matched | 149,991 |
| comparison terminal questions | 40,639 |
| count terminal questions | 35,422 |
| exist terminal questions | 20,196 |
| query terminal questions | 53,734 |
| Invalid / mismatching / cap-failed questions | 0 |
Table 1. Complete source and execution support. Terminal families classify the final operator. Every original question remains represented. There are no edited constraints, alternative answers selected after execution or exclusions based on measured cost.
Both executors begin at the final program node and follow its dependencies. Repeated recursion calls the same dependency again whenever the traversal reaches it again. The memoized executor stores the immutable result of each evaluated node. A later reference to that exact index returns the stored result without rerunning the operator. Cache scope ends at the question boundary, and two distinct nodes are never merged because their function labels or arguments look similar.
This definition deliberately excludes structural common-subexpression elimination. It also excludes caching across different scenes or across questions. Those alternatives require their own equivalence and invalidation rules. Preserving evidence with a known dependency is particularly important when observations can change over time, as in the active acquisition described by Zhang et al., 2026. The present static scene makes reuse well defined; it supplies no evidence that a previously acquired image remains valid after an agent changes its environment.
Provenance identifies which inputs and transformations support an output (Buneman et al., 2001). Broader accounts distinguish different forms and purposes of provenance (Cheney et al., 2009; Herschel et al., 2017). In our implementation, the original node index provides an exact within-question reference. That is enough to reuse a pure result when the same node is revisited. It is not proof that distinct program expressions are interchangeable, and it conveys no identity outside its original scope.
The primary counter records object-attribute equality checks. A filter contributes the number of objects in its input set. A same-attribute operator contributes the total number of scene objects minus its one anchor. Every other operator contributes zero to this counter. We separately record total evaluated operators, retained cache values and the total cardinality of cached object sets. An object index stored in several intermediate sets counts once in each such set, so this latter quantity is logical storage mass rather than unique scene objects.
Measurement theory requires a connection between a number and the property it represents (Hand, 2004). Scale distinctions also restrict which comparisons are meaningful (Stevens, 1946). Our check count is a declared logical unit. It is not elapsed CPU time, allocated RAM, energy, multimodal tokens or the number of external image requests. We therefore avoid translating a difference of zero checks into a claim about equal runtime or equal resource use on hardware.
Figure 1. Research model for execution accounting. Both schedules use the same scene, operators and source program. The paired comparison concerns logical work and stored intermediate state. It contains no learned-policy, visual-perception or causal human-behavior path.
An efficiency calculation requires a common computational task. The oracle problem in software testing concerns determining whether an observed result is correct (Barr et al., 2015). Here each original question supplies a released answer, and the two executors must also agree with one another. We normalize only the source answer schema: Boolean results become yes or no; other scalar results become their canonical string. We neither select a convenient answer variant nor reinterpret a failed unique operation as an arbitrary object choice.
Execution agreement is a useful but limited check. Guu et al., 2017 studies learning from language and programs, while Goldman et al., 2018 uses abstract examples for semantic parsing. Such settings illustrate why program execution and linguistic interpretation are related without being identical. Matching CLEVR's released answer does not independently validate every English question or establish how a language model would understand it. It validates the executed scalar against the available benchmark reference under the stated semantics.
Program-bearing benchmarks also differ in what they ask a system to generalize. KQA Pro supplies explicit compositional programs for knowledge-base questions (Cao et al., 2022), and Gu et al., 2021 distinguishes different generalization settings in knowledge-base question answering. We do not import their evaluation splits or claim cross-benchmark transfer. The present calculation exhausts one released validation file and compares schedules within each original graph program.
The fixed protocol preceded the first full source execution and cost calculation. A shared-node synthetic fixture also preceded that run. Four intended strict-unique boundary fixtures were omitted at that stage and were actually run afterward; this timing deviation is retained explicitly. They returned the expected invalid state for zero and multiple objects under both schedules. No invalid-unique case occurred in the complete source run, and no source record, executor or primary result was changed following these checks.
The unit for the primary mean is an image. We average question-level cost differences within each image, then give the 15,000 image means equal weight. All question-level counts remain available. This prevents images with different question counts from silently receiving different primary influence. Structured observations require an appropriate analysis unit (Roberts et al., 2017), and clustering principles explain why repeated observations on one object are not automatically independent replications (Cameron and Miller, 2015).
An intercept-only description of image mean differences yields the primary estimate. Its sample-mean SE and t-based pointwise working interval are calculated by the declared formula. This is conditional descriptive uncertainty under an imagined independent-scene sampling interpretation. It does not establish real-world visual coverage, account for every dependency in the question generator or turn 149,991 questions into independent contests between algorithms.
Both schedules reproduced every released answer for all 149,991 questions. There were no unsupported source functions, invalid executions, answer mismatches or operator-cap failures. Every question had the same attribute-check count under the two schedules. Thus all 149,991 paired differences are zero; none is positive or negative. This complete accounting is more informative than presenting only a favorable cost-reduction percentage.
| Quantity / units | Estimate | SE | 95% working interval | Images |
|---|---|---|---|---|
| Repeated recursion: attribute checks | 19.007946 | Not estimated | Not estimated | 15,000 |
| Node cache: attribute checks | 19.007946 | Not estimated | Not estimated | 15,000 |
| Primary paired saving: attribute checks | 0.000000 | 0.000000 | [0.000000, 0.000000] | 15,000 |
| Cache result values | 11.160615 | Not estimated | Not estimated | 15,000 |
| Cache object-set memberships | 20.398448 | Not estimated | Not estimated | 15,000 |
Table 2. Actual logical costs and paired estimate. Averages first weight questions equally within an image and then images equally. The primary intercept, SE and working interval are all zero because every underlying difference is zero. The interval is a degenerate output of the specified descriptive formula, not a bound on caching benefits for unseen programs. R-squared for a constant paired response is undefined and is not supplied.
Each schedule performs an equal-image mean of 19.007946 attribute checks per question. Nevertheless, the memoized executor retains a mean of 11.160615 result values and 20.398448 object-set memberships. These stored states are visible even when they avoid no attribute comparison. The result does not quantify the runtime cost of maintaining the cache, and the counts cannot be converted into additional bytes without an explicit representation and allocator measurement.
Seven programs save one operator evaluation each. A separately recorded post-outcome inspection of their original dependency graphs finds that each shared, revisited node is a scene operator. Scene returns the existing object-index universe and receives zero attribute-check cost under the fixed definition. It follows that the small operator-call saving can coexist with zero savings in the primary counter. This explanation was investigated after seeing the complete result; it did not determine which programs entered the analysis.
Testing partitions alone do not guarantee confidence in all program behavior, a concern examined by Hamlet and Taylor, 1990. The complete answer agreement here is accordingly kept separate from claims about arbitrary inputs, other query languages or modified scene semantics. Likewise, a benchmark's convenient structure can limit what it reveals about a system, a broader concern associated with shortcut learning (Geirhos et al., 2020). We identify the available reuse structure without attributing a learned shortcut to any model, since no model was run.
Figure 2. Actual counter results. Identical bars retain the nonzero cost level; the right panel shows cached result values and object-set memberships in their own logical units. No truncated difference axis or runtime interpretation is used.
| Family omitted | Remaining questions | Images | Mean paired saving | Working interval |
|---|---|---|---|---|
| count | 114,569 | 15,000 | 0.000000 | [0.000000, 0.000000] |
| exist | 129,795 | 15,000 | 0.000000 | [0.000000, 0.000000] |
| query | 96,257 | 15,000 | 0.000000 | [0.000000, 0.000000] |
| comparison | 109,352 | 15,000 | 0.000000 | [0.000000, 0.000000] |
Table 3. All four declared family omissions. Every reduced calculation still contains all 15,000 images. A zero difference in every individual question necessarily persists after deletion; these rows describe the changed support and are not independent confirmations of a theorem or additional experimental replications.
The absence of savings remains under every terminal-family omission. This persistence is arithmetic once the complete question-level result is known. The question counts and the absolute cost level still change with composition, which is why the omitted-family supports are retained. We do not select a family with a larger observed difference, redesign the cache to obtain a positive result or remove zero-saving questions from its denominator.
Explanation and prediction involve different questions (Shmueli, 2010). Our mechanism-level explanation concerns the absence of repeated expensive nodes at their original indices. It does not predict the efficiency of a visual search agent or a compiler that first merges equivalent expressions. A different program representation, an expensive scene-loading primitive or a cache spanning several queries could change the relevant opportunity. Those are unperformed comparisons, rather than outcomes demonstrated by the present experiment.
Reporting experimental conditions makes these distinctions inspectable (Dodge et al., 2019). The primary program actually executed both schedules. An independent topological evaluator reconstructed scalar results and local costs, then used reverse dependency-path multiplicities to reconstruct repeated traversal. It matched 1,349,919 exact output and counter checks across the complete question set. A further export check reconciled all 90,000 saved image-summary cells. The original executable freeze and all source hashes remain unchanged.
The executed source and transformations are retained following computational reproducibility principles (Peng, 2011), with file identity and reuse provenance documented consistently with FAIR data management (Wilkinson et al., 2016). The author release identifies the dataset under CC BY 4.0. This analysis uses its structured synthetic scene metadata and questions, without acquiring image pixels or implying ownership of the benchmark. The working analysis can be reproduced from the recorded original files and local code.
NumPy supports the numerical summaries (Harris et al., 2020), SciPy supplies the declared t reference (Virtanen et al., 2020), and Matplotlib renders the actual model and result figures (Hunter, 2007). Scientific-writing and statistical skills supported the design record, reporting checks and manuscript organization; their procedural library is documented by Kassis et al., 2026. Writing assistance and numerical agreement do not replace accountable human assessment. Scientific interpretation, source-rights review and authorship approval remain pending.
On this complete release, node-index memoization finds no repeated object-attribute work to remove. Its limited operator-call reuse occurs only at zero-cost scene nodes, while intermediate states are still retained. The practical finding is a fit problem between a specific reuse policy and the representation it receives. It supports inspecting that representation before claiming computational savings, while leaving the efficiency of other caches and real visual agents unresolved.