Node-Index Caching Finds No Attribute Reuse in CLEVR Validation Programs

Authors

  • Oliver Wells Author
  • Aaron Coleman Author
  • Evan Anderson Author

Abstract

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

References

  1. Hunter, John D.. (2007). Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering. https://doi.org/10.1109/mcse.2007.55
  2. Barr, Earl T.; Harman, Mark; McMinn, Phil; Shahbaz, Muzammil; Yoo, Shin. (2015). The Oracle Problem in Software Testing: A Survey. IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2014.2372785
  3. Cheney, James; Chiticariu, Laura; Tan, Wang-Chiew. (2009). Provenance in Databases: Why, How, and Where. Foundations and Trends in Databases. https://doi.org/10.1561/1900000006
  4. Cyganiak, Richard; Wood, David; Lanthaler, Markus (eds.). (2014). RDF 1.1 Concepts and Abstract Syntax. W3C Recommendation,25February2014. https://www.w3.org/TR/rdf11-concepts/
  5. Hand, David J. (2004). Measurement Theory and Practice: The World Through Quantification. Wiley. https://www.wiley-vch.de/de/fachgebiete/mathematik-und-statistik/measurement-theory-and-practice-978-0-470-68567-9
  6. Guu, Kelvin; Pasupat, Panupong; Liu, Evan; Liang, Percy. (2017). From Language to Programs: Bridging Reinforcement Learning and Maximum Marginal Likelihood. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/p17-1097
  7. Harris, Steve; Seaborne, Andy (eds.). (2013). SPARQL 1.1 Query Language. W3C Recommendation,21March2013. https://www.w3.org/TR/sparql11-query/
  8. Gu, Yu; Kase, Sue; Vanni, Michelle; Sadler, Brian; Liang, Percy; Yan, Xifeng; Su, Yu. (2021). Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Bases. Proceedings of the Web Conference 2021. https://doi.org/10.1145/3442381.3449992
  9. Buneman, Peter; Khanna, Sanjeev; Tan, Wang-Chiew. (2001). Why and Where: A Characterization of Data Provenance. Lecture Notes in Computer Science. https://doi.org/10.1007/3-540-44503-x_20
  10. Dodge, Jesse; Gururangan, Suchin; Card, Dallas; Schwartz, Roy; Smith, Noah A.. (2019). Show Your Work: Improved Reporting of Experimental Results. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP). https://doi.org/10.18653/v1/d19-1224
  11. Virtanen, Pauli; Gommers, Ralf; Oliphant, Travis E.; Haberland, Matt; Reddy, Tyler; Cournapeau, David; Burovski, Evgeni; Peterson, Pearu; Weckesser, Warren; Bright, Jonathan; van der Walt, Stéfan J.; Brett, Matthew; Wilson, Joshua; Millman, K. Jarrod; Mayorov, Nikolay; Nelson, Andrew R. J.; Jones, Eric; Kern, Robert; Larson, Eric; Carey, C J; Polat, İlhan; Feng, Yu; Moore, Eric W.; VanderPlas, Jake; Laxalde, Denis; Perktold, Josef; Cimrman, Robert; Henriksen, Ian; Quintero, E. A.; Harris, Charles R.; Archibald, Anne M.; Ribeiro, Antônio H.; Pedregosa, Fabian; van Mulbregt, Paul; SciPy 1.0 Contributors; Vijaykumar, Aditya; Bardelli, Alessandro Pietro; Rothberg, Alex; Hilboll, Andreas; Kloeckner, Andreas; Scopatz, Anthony; Lee, Antony; Rokem, Ariel; Woods, C. Nathan; Fulton, Chad; Masson, Charles; Häggström, Christian; Fitzgerald, Clark; Nicholson, David A.; Hagen, David R.; Pasechnik, Dmitrii V.; Olivetti, Emanuele; Martin, Eric; Wieser, Eric; Silva, Fabrice; Lenders, Felix; Wilhelm, Florian; Young, G.; Price, Gavin A.; Ingold, Gert-Ludwig; Allen, Gregory E.; Lee, Gregory R.; Audren, Hervé; Probst, Irvin; Dietrich, Jörg P.; Silterra, Jacob; Webber, James T; Slavič, Janko; Nothman, Joel; Buchner, Johannes; Kulick, Johannes; Schönberger, Johannes L.; de Miranda Cardoso, José Vinícius; Reimer, Joscha; Harrington, Joseph; Rodríguez, Juan Luis Cano; Nunez-Iglesias, Juan; Kuczynski, Justin; Tritz, Kevin; Thoma, Martin; Newville, Matthew; Kümmerer, Matthias; Bolingbroke, Maximilian; Tartre, Michael; Pak, Mikhail; Smith, Nathaniel J.; Nowaczyk, Nikolai; Shebanov, Nikolay; Pavlyk, Oleksandr; Brodtkorb, Per A.; Lee, Perry; McGibbon, Robert T.; Feldbauer, Roman; Lewis, Sam; Tygier, Sam; Sievert, Scott; Vigna, Sebastiano; Peterson, Stefan; More, Surhud; Pudlik, Tadeusz; Oshima, Takuya; Pingel, Thomas J.; Robitaille, Thomas P.; Spura, Thomas; Jones, Thouis R.; Cera, Tim; Leslie, Tim; Zito, Tiziano; Krauss, Tom; Upadhyay, Utkarsh; Halchenko, Yaroslav O.; Vázquez-Baeza, Yoshiki. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods. https://doi.org/10.1038/s41592-019-0686-2.
  12. Johnson, Justin; Hariharan, Bharath; van der Maaten, Laurens; Fei-Fei, Li; Zitnick, C. Lawrence; Girshick, Ross. (2017b). CLEVR v1.0: Main no-image dataset release. Original author release; snapshot14February2017; CC BY4.0. https://cs.stanford.edu/people/jcjohns/clevr/
  13. Tan, Junze; Zhao, Runhao; Tang, Jiuyang; He, Lei. (2026). Few-Shot Knowledge Graph Question Generation via LLM Abstraction-to-Instantiation Conversion and Small Model Collaboration. Communications in Computer and Information Science. https://doi.org/10.1007/978-3-032-19096-3_22.
  14. Cao, Shulin; Shi, Jiaxin; Pan, Liangming; Nie, Lunyiu; Xiang, Yutong; Hou, Lei; Li, Juanzi; He, Bin; Zhang, Hanwang. (2022). KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Base. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/2022.acl-long.422
  15. Hamlet, D.; Taylor, R.. (1990). Partition testing does not inspire confidence (program testing). IEEE Transactions on Software Engineering. https://doi.org/10.1109/32.62448
  16. Goldman, Omer; Latcinnik, Veronica; Naveh, Udi; Globerson, Amir; Berant, Jonathan. (2018). Weakly Supervised Semantic Parsing with Abstract Examples. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). https://doi.org/10.18653/v1/P18-1168
  17. Wilkinson, Mark D.; Dumontier, Michel; Aalbersberg, IJsbrand Jan; Appleton, Gabrielle; Axton, Myles; Baak, Arie; Blomberg, Niklas; Boiten, Jan-Willem; da Silva Santos, Luiz Bonino; Bourne, Philip E.; Bouwman, Jildau; Brookes, Anthony J.; Clark, Tim; Crosas, Mercè; Dillo, Ingrid; Dumon, Olivier; Edmunds, Scott; Evelo, Chris T.; Finkers, Richard; Gonzalez-Beltran, Alejandra; Gray, Alasdair J.G.; Groth, Paul; Goble, Carole; Grethe, Jeffrey S.; Heringa, Jaap; ’t Hoen, Peter A.C; Hooft, Rob; Kuhn, Tobias; Kok, Ruben; Kok, Joost; Lusher, Scott J.; Martone, Maryann E.; Mons, Albert; Packer, Abel L.; Persson, Bengt; Rocca-Serra, Philippe; Roos, Marco; van Schaik, Rene; Sansone, Susanna-Assunta; Schultes, Erik; Sengstag, Thierry; Slater, Ted; Strawn, George; Swertz, Morris A.; Thompson, Mark; van der Lei, Johan; van Mulligen, Erik; Velterop, Jan; Waagmeester, Andra; Wittenburg, Peter; Wolstencroft, Katherine; Zhao, Jun; Mons, Barend. (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data. https://doi.org/10.1038/sdata.2016.18.
  18. Peng, Roger D.. (2011). Reproducible Research in Computational Science. Science. https://doi.org/10.1126/science.1213847
  19. Johnson, Justin; Hariharan, Bharath; van der Maaten, Laurens; Fei-Fei, Li; Zitnick, C. Lawrence; Girshick, Ross. (2017a). CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr.2017.215
  20. Colin Cameron, A.; Miller, Douglas L.. (2015). A Practitioner’s Guide to Cluster-Robust Inference. Journal of Human Resources. https://doi.org/10.3368/jhr.50.2.317
  21. Kassis, Timothy; Agarwal, Vinayak; He, Yuhuan; Patel, Darshil; Brueckner, Aubrey M.. (2026). Scientific Agent Skills: A Library of Procedural Knowledge for Research Agents. arXiv preprint. https://arxiv.org/abs/2609.00065
  22. Geirhos, Robert; Jacobsen, Jörn-Henrik; Michaelis, Claudio; Zemel, Richard; Brendel, Wieland; Bethge, Matthias; Wichmann, Felix A.. (2020). Shortcut learning in deep neural networks. Nature Machine Intelligence. https://doi.org/10.1038/s42256-020-00257-z
  23. Zhang, Huanyao; Zhou, Jiepeng; Zhao, Runhao; Shan, Yanzhe; Chen, Jiaoyang; Zhou, Bowen; Li, Bo; Wang, Fang; Wu, Jialong; Tao, Zhengwei; Mei, Lang; Yu, Xiaohan; Liu, Liyan; Chen, Chong; Zhang, Wentao. (2026). DeepVoyager-VL: Incentivizing Vision-in-the-Loop Search for Long-Horizon Multimodal Agents. arXiv:2608.01827. https://doi.org/10.48550/arXiv.2608.01827.
  24. Stevens, S. S.. (1946). On the Theory of Scales of Measurement. Science. https://doi.org/10.1126/science.103.2684.677.
  25. Angles, Renzo; Gutierrez, Claudio. (2008). Survey of graph database models. ACM Computing Surveys. https://doi.org/10.1145/1322432.1322433
  26. Roberts, David R., et al. “Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure.” Ecography, vol. 40, no. 8, 2017, pp. 913-929. https://doi.org/10.1111/ecog.02881.
  27. Shmueli, Galit. (2010). To Explain or to Predict?. Statistical Science. https://doi.org/10.1214/10-sts330
  28. Chandra, Ashok K.; Merlin, Philip M.. (1977). Optimal implementation of conjunctive queries in relational data bases. Proceedings of the ninth annual ACM symposium on Theory of computing - STOC '77. https://doi.org/10.1145/800105.803397
  29. Harris, Charles R.; Millman, K. Jarrod; van der Walt, Stéfan J.; Gommers, Ralf; Virtanen, Pauli; Cournapeau, David; Wieser, Eric; Taylor, Julian; Berg, Sebastian; Smith, Nathaniel J.; Kern, Robert; Picus, Matti; Hoyer, Stephan; van Kerkwijk, Marten H.; Brett, Matthew; Haldane, Allan; del Río, Jaime Fernández; Wiebe, Mark; Peterson, Pearu; Gérard-Marchant, Pierre; Sheppard, Kevin; Reddy, Tyler; Weckesser, Warren; Abbasi, Hameer; Gohlke, Christoph; Oliphant, Travis E.. (2020). Array programming with NumPy. Nature. https://doi.org/10.1038/s41586-020-2649-2.
  30. Herschel, Melanie; Diestelkämper, Ralf; Ben Lahmar, Houssem. (2017). A survey on provenance: What for? What form? What from?. The VLDB Journal. https://doi.org/10.1007/s00778-017-0486-1

Downloads

Published

2026-10-31