Are Large Language Models Reliable AI Scientists? Assessing Reverse-Engineering of Black-Box Systems
Not on the map. Why?
Abstract (arXiv)
Using AI to create autonomous researchers has the potential to accelerate scientific discovery. A prerequisite for this vision is understanding how well an AI model can identify the underlying structure of a black-box system from its behavior. In this paper, we explore how well a large language model (LLM) learns to identify a black-box function from passively observed versus actively collected data. We investigate the reverse-engineering capabilities of LLMs across three distinct types of black-box systems, each chosen to represent different problem domains where future autonomous AI researchers may have considerable impact: Program, Formal Language, and Math Equation. Through extensive experiments, we show that LLMs fail to extract information from observations, reaching a performance plateau that falls short of the ideal of Bayesian inference. However, we demonstrate that prompting LLMs to not only observe but also intervene -- actively querying the black-box with specific inputs to observe the resulting output -- improves performance by allowing LLMs to test edge cases and refine their beliefs. By providing the intervention data from one LLM to another, we show that this improvement is partly a result of engaging in the process of generating effective interventions, paralleling results in the literature on human learning. Further analysis reveals that engaging in intervention can help LLMs escape from two common failure modes: overcomplication, where the LLM falsely assumes prior knowledge about the black-box, and overlooking, where the LLM fails to incorporate observations. These insights provide practical guidance for helping LLMs more effectively reverse-engineer black-box systems, supporting their use in making new discoveries.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 43 of its 79 references that are in the map. First posted on arXiv 23 May 2025.
Builds on
43 of 79 references.
References · 43
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024GPT-4o System Cardcited by 4,588
- 2016Variational Inference: A Review for Statisticianscited by 1,472
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
- 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMscited by 570
- 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 464
- 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 425
- 2025Accelerating scientific discovery with Co-Scientistcited by 401
- 2022Using cognitive psychology to understand GPT-3cited by 398
31 more
- 2024Can LLMs Generate Novel Research Ideas? A Large-Scale Human Study with 100+ NLP Researcherscited by 363
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 321
- 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 263
- 2013(More) Efficient Reinforcement Learning via Posterior Samplingcited by 233
- 2025Thoughts Are All Over the Place: On the Underthinking of o1-Like LLMscited by 163
- 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Taskscited by 152
- 2023Structured Chain-of-Thought Prompting for Code Generationcited by 138
- 2024LLM-SR: Scientific Equation Discovery via Programming with Large Language Modelscited by 133
- 2019Variational Bayesian Optimal Experimental Designcited by 116
- 2024Mind Your Step (by Step): Chain-of-Thought can Reduce Performance on Tasks where Thinking Makes Humans Worsecited by 109
- 2024CogBench: a large language model walks into a psychology labcited by 63
- 2020Decoupling Exploration and Exploitation for Meta-Reinforcement Learning without Sacrificescited by 59
- 2024Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspectivecited by 57
- 2024Large Language Models Assume People are More Rational than We Really arecited by 54
- 2025Can Large Language Models Detect Errors in Long Chain-of-Thought Reasoning?cited by 44
- 2025Deconstructing Long Chain-of-Thought: A Structured Reasoning Optimization Framework for Long CoT Distillationcited by 43
- 2023Modeling rapid language learning by distilling Bayesian priors into artificial neural networkscited by 42
- 2024Towards Scientific Discovery with Generative AI: Progress, Opportunities, and Challengescited by 41
- 2024Incoherent Probability Judgments in Large Language Modelscited by 30
- 2025On Benchmarking Human-Like Intelligence in Machinescited by 25
- 2025Sparks of Science: Hypothesis Generation Using Structured Paper Datacited by 25
- 2024What Do Learning Dynamics Reveal About Generalization in LLM Reasoning?cited by 23
- 2017One Model for the Learning of Languagecited by 22
- 2023Bayes in the age of intelligent machinescited by 22
- 2023Passive learning of active causal strategies in agents and language modelscited by 21
- 2024Eliciting the Priors of Large Language Models using Iterated In-Context Learningcited by 19
- 2025BoxingGym: Benchmarking Progress in Automated Experimental Design and Model Discoverycited by 18
- 2025Toward Efficient Exploration by Large Language Model Agentscited by 17
- 2024MatPilot: an LLM-enabled AI Materials Scientist under the Framework of Human-Machine Collaborationcited by 11
- 2025Levels of Analysis for Large Language Modelscited by 10
- 2024People use fast, goal-directed simulation to reason about novel gamescited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 10.
14 papers.
Sort:
By area:
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
- 2025Code World Models for General Game Playingcited by 26
- 2025Assessing Adaptive World Models in Machines with Novel Gamescited by 20
- 2025One Life to Learn: Inferring Symbolic World Models for Stochastic Environments from Unguided Explorationcited by 10
- 2026auto-psych: Automating the science of mind using agent-driven theory discovery and experimentationcited by 5
- 2026CausalGame: Benchmarking Causal Thinking of LLM Agents in Gamescited by 5
- 2026CausaLab: A Scalable Environment for Interactive Causal Discovery Toward AI Scientistscited by 4
- 2026DiG-bench: Discovery in Gamescited by 3
- 2026Accelerating Scientific Research with Gemini in the Real-Worldcited by 2
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experimentscited by 0
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agentscited by 0
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inferencecited by 0
2 more
- 2026EurekaBench: Measuring Agentic Ability to Discover New Scientific Insights30 Sep 2026
- 2026Toward Interactive Understanding of Code APIs25 Sep 2026
- 2026Accelerating Scientific Research with Gemini in the Real-World27 Aug 2026
- 2026DiG-bench: Discovery in Games12 Aug 2026
- 2026Don't Let Me Ask for It: LLMs Show Deficiencies in Active Multi-Turn Information Acquisition for Abductive Inference4 Aug 2026
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agents8 Jul 2026
- 2026CausalGame: Benchmarking Causal Thinking of LLM Agents in Games5 Jul 2026
- 2026auto-psych: Automating the science of mind using agent-driven theory discovery and experimentation24 Jun 2026
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments24 Jun 2026
- 2026CausaLab: A Scalable Environment for Interactive Causal Discovery Toward AI Scientists25 May 2026
- 2025One Life to Learn: Inferring Symbolic World Models for Stochastic Environments from Unguided Exploration14 Oct 2025
- 2025Code World Models for General Game Playing6 Oct 2025
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
- 2026CausaLab: A Scalable Environment for Interactive Causal Discovery Toward AI Scientistscited by 4
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agentscited by 0
- 2026Toward Interactive Understanding of Code APIscited by 0
- 2026EurekaBench: Measuring Agentic Ability to Discover New Scientific Insightscited by 0
- 2026EurekaBench: Measuring Agentic Ability to Discover New Scientific Insights30 Sep 2026
- 2026Toward Interactive Understanding of Code APIs25 Sep 2026
- 2026Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agents8 Jul 2026
- 2026CausaLab: A Scalable Environment for Interactive Causal Discovery Toward AI Scientists25 May 2026
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligence28 Jul 2025
- 2026auto-psych: Automating the science of mind using agent-driven theory discovery and experimentationcited by 5
- 2026DiG-bench: Discovery in Gamescited by 3
- 2026Accelerating Scientific Research with Gemini in the Real-Worldcited by 2
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experimentscited by 0
- 2026Accelerating Scientific Research with Gemini in the Real-World27 Aug 2026
- 2026DiG-bench: Discovery in Games12 Aug 2026
- 2026auto-psych: Automating the science of mind using agent-driven theory discovery and experimentation24 Jun 2026
- 2026RevengeBench: Reverse Engineering Code-Space Policies from Behavioral Experiments24 Jun 2026