NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Verification-Guided Abstraction Generation with Large Language Models for Generalized Planning

Zhenhe Cui, Huaxiang Xia, Hangjun Shen, Kailun Luo, Yong He, LiangWeiNeurIPS 2026

TL;DR

Teaching an AI to solve a single puzzle is relatively easy; teaching it a single master strategy that solves any version of that puzzle—whether there are 5 pieces or 5,000—is hard. This paper pairs the pattern-spotting intuition of Large Language Models (LLMs) with strict, mathematical verification to automatically build compact problem abstractions for generalized planning. By turning formal verification failures into structured bug reports, LLMs can iteratively repair their own symbolic logic until their strategies reliably generalize.

What Problem Does This Paper Address?

In AI, Generalized Planning (GP) is the quest to find a single policy that solves an entire family of problems from the same domain. Imagine a robot tasked with moving balls from room A to room B. You don't want to compute a new plan from scratch every time someone adds a ball; you want a general loop: while balls remain, pick one up, move to target, drop it.

To discover these loops, planners rely on abstraction—stripping away concrete details to find shared high-level structure. A standard formalism for this is Qualitative Numerical Planning (QNP), which tracks simple booleans (e.g., is the gripper holding a ball?) and qualitative counters that just go up, go down, or hit zero (e.g., number of balls left > 0).

Figure 2: Illustration of abstraction generation for the Gripper domain, showing the HL and LL domains, refinement mapping, LL instance and plan, HL instance, and policy.

While QNPs are great for generalized planning, building them is a major bottleneck. Traditionally, human experts have to hand-craft the feature spaces, search biases, and construction algorithms for new domains. LLMs seem like a natural fit to automate this, since they read code and specifications fluently. However, symbolic abstractions are fragile: one tiny logical typo renders the whole high-level plan useless or unsound. Can LLMs generate these abstractions from scratch, and can formal verification fix their inevitable mistakes?

Methods

Instead of relying on domain-specific algorithms, the authors propose a neuro-symbolic generate–debug–repair loop that pairs an LLM with formal verification tools.

Figure 1: Overview of verification-guided QNP abstraction generation with LLMs for GP.
  1. Generate: Given a domain description (in PDDL, a standard planning language) and a few training instances, the LLM proposes abstract boolean and numerical features using predefined logical templates. It then constructs a candidate QNP abstraction and a refinement mapping that translates high-level variables and actions back to concrete ones.
  2. Debug (Symbolic Verification): First, an off-the-shelf QNP solver (DSET) tries to find an abstract policy, and the system checks if the training instances map validly into this abstract space. Next, the authors introduce two distinct verification branches to test if the abstraction actually works on the concrete training problems:
  3. SRCB (Simulation-Relation-Checking-Based): The strict route. It synchronously explores both the abstract and concrete state spaces to verify an m-simulation relation—checking that every valid abstract transition can be mirrored in the concrete world, certifying approximate soundness.
  4. PRCB (Policy-Refinability-Checking-Based): The pragmatic route. Rather than verifying the entire state space, it simply checks whether the specific plan output by the abstract policy can be translated step-by-step into a valid sequence of concrete actions that reaches the goal.
  5. Repair: Whenever a check fails, the system doesn't just say "wrong." It extracts a formal error witness (e.g., a state mismatch or an unrefinable action) and populates a structured feedback prompt telling the LLM exact symbolic mismatches to fix, repeating up to 10 times.
Example of structured verification feedback given to the LLM

Datasets

The authors evaluate their framework on seven standard GP benchmark domains taken from existing literature: Delivery, Forest, Gripper, Miconic, Ferry, Spanner, and Heavy. These cover tasks involving transportation, navigation, ordering constraints, and resource reuse. No new benchmarks are introduced; rather, for each domain, the authors use the Z3 theorem prover to generate 4 training instances and 10 evaluation instances, each containing between 10 and 30 objects.

Key Insights and Ideas

  • Self-reflection isn't enough; LLMs need a compiler: Letting an LLM critique and revise its own abstractions ("self-repair") under the exact same iteration budget yields dramatically worse results than feeding it formal verification witnesses. Grounded, localized symbolic error messages are the secret sauce.
  • Soundness vs. Refinability: Comparing SRCB and PRCB highlights a classic engineering trade-off. SRCB gives a stronger mathematical guarantee over the state space (and is computationally heavier on passing instances), while PRCB takes a lighter-weight shortcut by only validating the induced solution path, often unlocking higher coverage for weaker models.
  • Informative Failure Boundaries: Complete failures on two domains (Spanner and Forest) exposed fundamental limits in the abstraction language itself rather than just LLM reasoning—such as assuming one abstract action maps to one concrete action rather than a multi-step sequence of walks.

Key Results

The authors tested five frontier models—GPT-5.4, Claude-Opus-4.6, Gemini-3.1, DeepSeek-V3.2, and Qwen-3.5—measuring coverage rate (the fraction of test instances successfully handled across 4 runs).

  • Massive gains from Verification-Guided Repair (VR): Under the strict SRCB check, GPT's coverage jumped from 0.04 (single-pass) and 0.14 (self-repair) to 0.60 with VR. Remarkably, Claude went from 0.00 (both single-pass and self-repair) to 0.57 with VR. Under PRCB, GPT rose from 0.21 (self-repair) to 0.61, and Claude from 0.31 to 0.59.
  • Model capabilities matter: Stronger base models (GPT and Claude) benefited heavily, while weaker ones (like Qwen, reaching just 0.04–0.07 with VR) struggled to produce abstractions solvable by DSET in the first place.
  • Competitive with pure symbolic methods: Against two specialized symbolic baselines, the LLM+VR approach matched or beat them on Ferry, Delivery, Gripper, Heavy, and Miconic (achieving 0.20 coverage where both symbolic methods scored 0), though it scored 0.00 on Spanner (where one symbolic method achieved 1.0) and Forest (where all methods scored 0).

Limitations and Future Work

The authors highlight two main bottlenecks:

  1. Constrained Expressivity: Feature generation relies on fixed logical templates, and the refinement mapping assumes each abstract action maps to a single low-level action schema. Domains requiring geometric grid distances (Forest) or multi-step macro-actions (Spanner) cannot be expressed cleanly in this setup.
  2. Coarse Solver Feedback: When the DSET solver fails to find a policy at the very first check, its output can be too coarse to pinpoint the exact symbolic flaw, leaving weaker LLMs stuck in unsolvable loops.

Future work aims to explore richer, more expressive abstraction languages and multi-step refinement mappings.

Summary updated

BibTeX
@inproceedings{cui2026verification,
  author = {Zhenhe Cui and Huaxiang Xia and Hangjun Shen and Kailun Luo and Yong He and LiangWei},
  title = {{Verification-Guided Abstraction Generation with Large Language Models for Generalized Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4JHc9P6xNp},
}
Figure