# Procedural Refinement by LLM-driven Algorithmic Debugging for ARC-AGI-2

*Yuning Qiu, Lin-Feng Zou, Jiong-Da Wang, Xue-Rong Yuan, Wang-Zhou Dai*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150157) · [Open on the map](../papers.html#p150157)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [LLM-Driven Tool-Use and Planning](../pgroup/691.md) · Type: new method · Keywords: abstract reasoning, neuro-symbolic refinement, algorithmic debugging, LLM-Prolog integration, few-shot rule induction, proof-tree derivations

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Strategies › Self-Evolution and Improvement; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Self-Improving Agents

## Summary
ABPR is a neuro-symbolic refinement approach that couples an LLM with a Prolog meta-interpreter to generate candidate programs and use algorithmic debugging to semantically re-check and improve the hypothesised rule for abstract reasoning tasks.

## Explained to a 5-year-old
A computer program tries to understand picture puzzles by making little rules. It writes those rules as steps and tests them on examples. If the answer is wrong, it looks at the steps to see where it went wrong. It then changes the steps to fix the mistake. This helps the program solve new puzzles more often.

## Explained to a 5-year-old, longer
The system works on puzzles where you have to find a hidden rule. It looks at a few examples and guesses what the rule might be. The guess is written as a set of steps that a computer can follow. The computer runs those steps on the examples to see if they work. If the answer is wrong, the system examines the steps to find the mistake. It then adjusts the steps based on what it learned. This process repeats until the rule solves the puzzle correctly. The system also tries many possible steps at once to speed up learning. By checking each step carefully, it avoids guessing blindly. This method helps the program solve new puzzles it has never seen before. It works not only on grid puzzles but also on other types of reasoning challenges. The overall goal is to make the program smarter at finding and fixing rules automatically.

## For a technical reader
The paper presents a neuro-symbolic refinement pipeline that uses an LLM to generate candidate programs and a Prolog meta-interpreter to execute and debug them. By converting program execution into proof-tree derivations, the approach can pinpoint which logical step caused an incorrect output. This trace-guided debugging is applied iteratively to improve the rule hypothesis. Experiments show strong performance on abstract reasoning benchmarks and demonstrate transfer to related tasks. The method reduces stochastic variance through parallel trace-guided search as breadth and depth increase.

## Problem
In high-complexity abstract reasoning, systems must infer latent rules from a few examples and apply them to new instances, but current refinement methods only notice wrong outputs without formally checking which rule caused the error.

## Method
The approach couples an LLM with a Prolog meta-interpreter to generate candidate programs, reifies their SLD resolution into proof-tree derivations, and applies algorithmic program debugging to semantically re-check and refine the hypothesised rule.

## Results
On the public evaluation set, the approach obtains 56.67% Pass@2 with Gemini-3-Flash and 98.33% Pass@2 with GPT-5.5 xHigh, and it also generalizes to RAVEN-style relational and analogical abstraction tasks.

## Contributions
The paper introduces a neuro-symbolic refinement framework that performs semantic re-checking of hypothesised rules via proof-tree derivations and algorithmic debugging, and demonstrates its effectiveness on abstract reasoning benchmarks and its extensibility to related tasks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150157)
