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/.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Bortolotti, S., Chen, W., Zhao, H., Passerini, A., Teso, S., & Vergari, A. (2026). Auto-Formalizing Neuro-Symbolic Predictors. https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors

MLA 9

Bortolotti, Samuele, et al. "Auto-Formalizing Neuro-Symbolic Predictors." https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors.

Chicago (author–date)

Bortolotti, Samuele, Weixin Chen, Han Zhao, Andrea Passerini, Stefano Teso, and Antonio Vergari. 2026. "Auto-Formalizing Neuro-Symbolic Predictors." https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors.

Harvard

Bortolotti, S., Chen, W., Zhao, H., Passerini, A., Teso, S. and Vergari, A. (2026) 'Auto-Formalizing Neuro-Symbolic Predictors', Available at: https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors.

Vancouver

Bortolotti S, Chen W, Zhao H, Passerini A, Teso S, Vergari A. Auto-Formalizing Neuro-Symbolic Predictors. https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors

IEEE

S. Bortolotti, W. Chen, H. Zhao, A. Passerini, S. Teso, and A. Vergari, "Auto-Formalizing Neuro-Symbolic Predictors," https://omanscience.com/en/articles/auto-formalizing-neuro-symbolic-predictors.