← Back to Feed
72d

NeuroProlog turns math word problems into verifiable Prolog programs.

An preprint introduces NeuroProlog, compiling math word problems into executable Prolog with formal verification guarantees.

Its Cocktail training jointly optimizes three objectives in one symbolic space: formula-to-rule translation, natural language-to-program synthesis, and program–answer alignment.

At inference, an execution-guided decoding pipeline classifies errors finely, repairs programs iteratively, and measures the model’s self‑debugging capacity.

Tested on GSM8K across multiple model scales, Cocktail training improved accuracy over single-task baselines, with statistically significant gains for most evaluated models.

Error analysis shows scale-dependent repair: larger models make more fixable mistakes, while smaller ones reduce syntax errors yet retain stubborn semantic failures.

Sources 1

‹ Back to your Brief