基于LLM驱动的算法调试的程序化精炼用于ARC-AGI-2
Procedural Refinement by LLM-driven Algorithmic Debugging for ARC-AGI-2
AI总结:
提出一种神经符号精炼方法ABPR,结合LLM与Prolog元解释器,通过证明树推导进行语义重检,在ARC-AGI-2上实现高通过率,并扩展到RAVEN风格推理任务。
摘要:
在高复杂度的抽象推理中,系统必须从少量示例或结构化观察中推断出潜在规则,并将其应用于未见实例。LLM可以将此类规则表达为程序,但基于对话的常规精炼主要停留在结果层面:它观察到答案或输出是错误的,而没有正式重新检查是哪个抽象、关系或变换导致了该结果。我们提出基于溯因的程序化精炼(ABPR),一种神经符号精炼方法,它将LLM与Prolog元解释器相结合。ABPR将每个候选程序视为潜在规则的可执行声明性假设,并将其SLD目标-子目标解析具体化为紧凑的证明树风格推导,遵循Shapiro的算法程序调试(APD)。在此视角下,精炼不仅仅是代码级调试,而是对模型假设规则进行语义重检。我们主要在ARC-AGI-2上评估ABPR,这是一个具有挑战性的少样本抽象规则归纳基准,涉及网格变换。使用Gemini-3-Flash的ABPR在公共评估集上达到56.67%的Pass@2,而使用GPT-5.5 xHigh的ABPR达到98.33%的Pass@2。在填空式I-RAVEN-X和A-I-RAVEN改编上的补充实验表明,相同的轨迹引导框架可以扩展到RAVEN风格的关系和类比抽象,而不仅限于ARC特定的网格任务。重复运行和敏感性分析表明,随着搜索广度和总搜索深度的增加,并行轨迹引导搜索减少了随机方差。
英文摘要:
In high-complexity abstract reasoning, a system must infer a latent rule from a few examples or structured observations and apply it to unseen instances. LLMs can express such rules as programs, but ordinary conversation-based refinement is largely outcome-level: it observes that an answer or output is wrong without formally re-checking which abstraction, relation, or transformation justified that outcome. We propose \emph{Abduction-Based Procedural Refinement} (ABPR), a neuro-symbolic refinement approach that couples an LLM with a Prolog meta-interpreter. ABPR treats each candidate program as an executable declarative hypothesis of the latent rule and reifies its SLD goal--subgoal resolution into compact proof-tree-style derivations, following Shapiro's algorithmic program debugging (APD). In this view, refinement is not merely code-level debugging, but semantic re-checking of the model's hypothesised rule. We evaluate ABPR primarily on ARC-AGI-2, a challenging few-shot abstract rule induction benchmark over grid transformations. ABPR with Gemini-3-Flash achieves 56.67\% Pass@2, while GPT-5.5 xHigh with ABPR reaches 98.33\% Pass@2 on the public evaluation set. Supplementary experiments on fill-in-the-blank I-RAVEN-X and A-I-RAVEN adaptations provide evidence that the same trace-guided framework extends beyond ARC-specific grid tasks to RAVEN-style relational and analogical abstraction. Repeated-run and sensitivity analyses show that parallel trace-guided search reduces stochastic variance as search breadth and total search depth increase.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。