PaveDSL: A Neuro-Symbolic Approach to Plan Specification and Verification for Multi-Agent Code Generation

Wutong Yu, Deyu Zhou


Abstract
Recent multi-agent code generation frameworks often verify natural-language plans by simulating their behavior on test cases before code generation. However, such verification remains unreliable because model hallucination may cause flawed plans to be incorrectly accepted. Inspired by neuro-symbolic reasoning, we propose PaveDSL, which transforms natural-language plans into structured designs expressed in a domain-specific language. Based on this structured representation, PaveDSL combines symbolic checks with neural inference to examine plans before code generation. Specifically, PaveDSL applies two complementary verifiers in parallel. The deterministic symbolic verifier checks structural constraints without invoking an LLM, while the agent verifier performs graph-guided semantic reasoning over the structured design. If verification fails, a repair agent localizes errors and revises the design before code generation. Experiments on multiple benchmarks with different LLMs show that PaveDSL consistently improves the performance of baseline code generation methods.
Anthology ID:
2026.findings-emnlp.1950
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
41566–41584
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1950/
DOI:
10.18653/2026.findings-emnlp.1950
Bibkey:
Cite (ACL):
Wutong Yu and Deyu Zhou. 2026. PaveDSL: A Neuro-Symbolic Approach to Plan Specification and Verification for Multi-Agent Code Generation. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 41566–41584, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
PaveDSL: A Neuro-Symbolic Approach to Plan Specification and Verification for Multi-Agent Code Generation (Yu & Zhou, Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1950.pdf