arXiv:2505.17968cs.LGcs.AI2025-05被引 9

大模型靠观察难破黑箱,主动提问才能提升逆向推理能力

Are Large Language Models Reliable AI Scientists? Assessing Reverse-Engineering of Black-Box Systems

  • 让大模型主动提问测试黑箱,而非仅被动观察
  • 主动干预使推理准确率显著提升,突破原有性能瓶颈
  • 适合想用AI做自动科研的开发者和研究者

使用AI构建自主研究者有望加速科学发现。实现这一目标的关键在于理解大语言模型(LLM)从行为中识别黑箱系统底层结构的能力。本文探究了LLM在被动观测与主动采集数据下,对三类黑箱系统的逆向工程能力:程序、形式语言和数学方程。通过大量实验,发现LLM仅依赖观察时性能停滞,远低于贝叶斯推断的理想水平。但若引导其主动提问,通过特定输入测试输出,可显著提升表现,有效验证边界情况并修正认知。将一个LLM生成的干预数据提供给另一个,证明该提升源于生成有效干预的过程,类似人类学习规律。进一步分析表明,主动干预能帮助模型避免两种常见失败模式:过度复杂化(误判已有先验知识)和遗漏(忽略观察信息)。这些发现为提升大模型逆向工程能力提供了实用指导,支持其在新发现中的应用。

原文摘要 · Abstract (English)

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.

大模型逆向工程黑箱主动学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。