Auto-Formalizing Neuro-Symbolic Predictors
Samuele Bortolotti, Weixin Chen, Han Zhao, Andrea Passerini, Stefano Teso, Antonio Vergari
Key points
From the paper's conclusion- Neuro-Symbolic (NeSy) predictors incorporate prior knowledge into the prediction process of neural networks, ensuring that outputs satisfy specified constraints, making them particularly suitable for high-stakes applications where compliance with domain knowledge is essential.
Abstract
Neuro-Symbolic (NeSy) predictors incorporate prior knowledge into the prediction process of neural networks, ensuring that outputs satisfy specified constraints, making them particularly suitable for high-stakes applications where compliance with domain knowledge is essential. A key bottleneck in this paradigm is the acquisition of symbolic constraints: encoding domain knowledge into logical formulas remains a manual and expert-intensive process. In this work, we investigate the extent to which auto-formalization via LLMs can systematically translate textual knowledge into symbolic knowledge that can be plugged into NeSy predictors. To this end, we introduce auto-nesy-bench, a new benchmark for evaluating constraint formalization and its impact on downstream accuracy of NeSy predictors. Through an extensive evaluation across several domains, we find that LLMs can formalize constraints to a meaningful extent, generating formulas that are often similar to those provided by human experts. Moreover, when the generated formulas are syntactically valid, they can lead to high-quality downstream predictions. The code and benchmark are available at https://unitn-sml.github.io/auto-nesy-bench/.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Synthetic Neurosymbolic Task Generation with Controlled Constraint ComplexityarXiv · 2026
- Neuro-Symbolic Frameworks: Conceptual Characterization and Empirical Comparative AnalysisNeurosymbolic Artificial Intelligence · 2026
- Synergizing LLMs and Formal Methods for Neural-Symbolic ReasoningCommunications of the ACM · 2026
- Soft Ontology Priors over Latent Concept Posteriors for Weakly Supervised Neuro-Symbolic LearningarXiv · 2026
- SCOPE: Compiling Natural-Language Policies into Neurosymbolic Predicate ProgramsarXiv · 2026
- VERUS-LM: a Versatile Framework for Combining LLMs with Symbolic ReasoningElectronic Proceedings in Theoretical Computer Science · 2026