auto-nesy-bench: Auto-Formalizing Neuro-Symbolic Predictors
DIMACS, NAT, PySAT, CPMpy or SymPy formalization. Every output is converted to DIMACS, compiled into a circuit, and used by a NeSy predictor, so that its output satisfies the constraint by design. The five boxes show equivalent encodings of (green β§ clear) β forward.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.
Downloads
Non-redistributable datasets: download_external_datasets.sh (CIFAR-10, CIFAR-100, SUSHI3)
Codebase and data: GitHub
Paper: coming soon
Built on: rsbench (data, code)
Most datasets are shipped with the benchmark archive. CIFAR-10, CIFAR-100 and SUSHI3 cannot be redistributed, so the script above fetches them from their original sources:
# all three datasets into ./data
bash download_external_datasets.sh ./data
# or only some of them
bash download_external_datasets.sh ./data cifar10 sushi
Overview
Why auto-formalization? NeSy predictors guarantee that their predictions satisfy a constraint , but they assume is handed to them as a well-formed formula. Writing it requires a domain expert. What if an end user wants to deploy a NeSy predictor and no expert is available? We use LLMs as the expert, and translate a textual description of the domain knowledge into a CNF formula.
Our goal. We do not aim to replace domain experts, but to support them. LLM-generated formulas remain interpretable, so a user can inspect and correct them before plugging them into a NeSy predictor. Auto-formalization lowers the barrier to adopting NeSy AI, while keeping a human in control of the knowledge the model relies on.
What does the benchmark provide?
-
18 NeSy tasks adapted from established datasets, ranging from 9 to 102 variables and from 17 to about 130k clauses, spanning arithmetic, puzzles, ranking, path finding, vision, text and autonomous driving.
-
Two levels of description: every task comes with a detailed and a non-detailed natural-language description, to measure how much auto-formalization depends on the userβs expertise.
-
Grounded variables: every task lists its Boolean variables with their name and meaning, so the benchmark measures constraint formalization rather than symbol identification.
-
Annotated data: every task ships input-output annotations, so generated formulas can be evaluated end to end, from constraint extraction to downstream NeSy prediction. Existing SAT and CP formalization benchmarks do not provide this.
-
Formula-level metrics based on model counting, which compare the sets of solutions admitted by the generated and ground-truth formulas rather than only their satisfiability.
-
Reference ground truth: each ground-truth CNF was compiled with
PySATand checked against a Python oracle, exhaustively whenever the task has at most assignments.
We also repurpose two existing benchmarks for auto-formalization: satbench (1,041 satisfiable instances, Wei et al., EMNLP 2025) and dcpbench (85 discrete, non-optimization instances, Michailidis et al., 2026).
| Dataset | Problems | Variables (min / max / mean) | Clauses (min / max / mean) | NeSy-ready |
|---|---|---|---|---|
satbench |
1,041 | 5 / 90 / 36 | 4 / 50 / 20 | β |
dcpbench |
85 | 8 / 1,102,080 / 58,673 | 20 / 7,095,776 / 394,204 | β |
auto-nesy-bench |
18 | 9 / 102 / 32 | 17 / 129,648 / 7,966 | β |
Tasks
Every task is adapted from an established dataset. Follow the links in the Source column to see the original datasets, and please cite them (see Source datasets) if you use the corresponding tasks.
| Task | Source | Variables | Clauses | Constraint |
|---|---|---|---|---|
chx |
ChestX-Rays | 9 | 27 | Severity code determined by the number of findings |
fashion |
Fashion-MNIST | 10 | 46 | Exactly one class |
bdd-oia-2 |
BDD-OIA | 11 | 17 | Driving rules for move_forward and stop |
cle4evr |
CLEVR (rsbench) |
12 | 28 | Two objects share shape and color |
cifar10 |
CIFAR-10 | 15 | 157 | Class determined by 7 semantic attributes |
mn-add-bin |
MNIST | 13 | 512 | Binary-encoded digit addition |
mn-mul-bin |
MNIST (rsbench) |
15 | 712 | Binary-encoded digit multiplication |
sushi |
SUSHI3 | 16 | 56 | 4 Γ 4 permutation matrix (ranking) |
kand-logic-2 |
Kandinsky patterns (rsbench) |
24 | 1,328 | Two images share a shape or color pattern (2 primitives) |
warcraft |
Warcraft shortest path | 24 | 289 | A single simple path on a 4 Γ 4 grid |
bdd-oia |
BDD-OIA | 25 | 31 | Driving rules for forward, stop, left and right |
cebab |
CEBaB | 25 | 1,070 | Majority-vote sentiment aggregation |
kand-logic |
Kandinsky patterns (rsbench) |
36 | 129,648 | Two images share a shape or color pattern (3 primitives) |
mn-add |
MNIST | 39 | 364 | One-hot digit addition |
road-r |
ROAD-R | 41 | 243 | Hand-written requirements over agents, actions and locations |
sudoku |
Visual Sudoku | 64 | 400 | Valid 4 Γ 4 Sudoku solution |
cifar100 |
CIFAR-100 | 100 | 4,951 | Exactly one class |
mn-mul |
MNIST (rsbench) |
102 | 3,514 | One-hot digit multiplication |
Examples
mn-add, mn-mul: two MNIST digits (here 7 and 3). The label is their sum (10) or product (21), in one-hot or binary (-bin) encoding.
sudoku: a 4 Γ 4 grid of MNIST digits 1 to 4. It is valid iff every row, column and 2 Γ 2 box contains each digit exactly once.
warcraft: a 4 Γ 4 map of Warcraft II terrain tiles, each with a traversal cost. The label is the set of grid edges on the cheapest simple path from the top-left to the bottom-right cell.
kand-logic-2: two images with two primitives each. The pair is positive iff both images show the same shape pattern or the same color pattern (same or different).
kand-logic: as above, with three primitives per image, so a pattern is same, pair or different.
cle4evr: a CLEVR scene with two objects. It is valid iff both objects have the same shape and the same color.
chx: a chest X-ray annotated with four findings. Their number sets one of five severity codes, from healthy to red.
cifar10: a CIFAR-10 image (a cat). Seven semantic attributes, such as animal, hairy and snout, determine the class.
fashion: a Fashion-MNIST ankle boot. The item belongs to exactly one of 10 classes.
cifar100: a CIFAR-100 image. The object belongs to exactly one of 100 classes.
cebab: a restaurant review. The sentiments toward food, service, noise and ambiance, plus the overall rating, vote on the final label (positive, negative, neutral, unknown or conflict).Source datasets
auto-nesy-bench would not exist without the datasets it builds on. If you use a task, please also cite the dataset it comes from.
| Dataset | Task(s) | Reference |
|---|---|---|
| MNIST | mn-add(-bin), mn-mul(-bin), sudoku |
LeCun, 1998 |
| MNIST addition | mn-add(-bin) |
Manhaeve et al., NeurIPS 2018 |
| Visual Sudoku | sudoku |
Augustine et al., NeSy 2022 |
| Fashion-MNIST | fashion |
Xiao et al., 2017 |
| CIFAR-10 / CIFAR-100 | cifar10, cifar100 |
Krizhevsky, 2009 |
| BDD-OIA | bdd-oia(-2) |
Xu et al., CVPR 2020 |
| ROAD-R | road-r |
Giunchiglia et al., Machine Learning 2023 |
| SUSHI3 | sushi |
Kamishima, KDD 2003 |
| CEBaB | cebab |
Abraham et al., NeurIPS 2022 |
| ChestX-Rays | chx |
Cohen et al., MIDL 2022 |
| Warcraft shortest path | warcraft |
Vlastelica PoganΔiΔ et al., ICLR 2020 |
| Kandinsky patterns | kand-logic(-2) |
MΓΌller and Holzinger, AIJ 2021 |
| CLEVR | cle4evr |
Johnson et al., CVPR 2017 |
rsbench |
mn-mul(-bin), kand-logic(-2), cle4evr, bdd-oia(-2) |
Bortolotti et al., NeurIPS 2024 |
BibTeX for the source datasets
@article{lecun1998mnist,
title = {The {MNIST} database of handwritten digits},
author = {LeCun, Yann},
url = {http://yann.lecun.com/exdb/mnist/},
year = {1998}
}
@inproceedings{manhaeve2018deepproblog,
title = {{DeepProbLog}: Neural Probabilistic Logic Programming},
author = {Manhaeve, Robin and Dumancic, Sebastijan and Kimmig, Angelika and
Demeester, Thomas and De Raedt, Luc},
booktitle = {Advances in Neural Information Processing Systems},
year = {2018}
}
@inproceedings{augustine2022visual,
title = {Visual Sudoku Puzzle Classification: A Suite of Collective Neuro-Symbolic Tasks},
author = {Augustine, Eriq and Pryor, Connor and Dickens, Charles and
Pujara, Jay and Wang, William and Getoor, Lise},
booktitle = {International Workshop on Neural-Symbolic Learning and Reasoning (NeSy)},
year = {2022}
}
@article{xiao2017fashion,
title = {{Fashion-MNIST}: a Novel Image Dataset for Benchmarking Machine Learning Algorithms},
author = {Xiao, Han and Rasul, Kashif and Vollgraf, Roland},
journal = {arXiv preprint arXiv:1708.07747},
year = {2017}
}
@techreport{krizhevsky2009learning,
title = {Learning Multiple Layers of Features from Tiny Images},
author = {Krizhevsky, Alex and Hinton, Geoffrey},
institution = {University of Toronto},
year = {2009}
}
@inproceedings{xu2020explainable,
title = {Explainable Object-Induced Action Decision for Autonomous Vehicles},
author = {Xu, Yiran and Yang, Xiaoyin and Gong, Lihang and Lin, Hsuan-Chu and
Wu, Tz-Ying and Li, Yunsheng and Vasconcelos, Nuno},
booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2020}
}
@article{giunchiglia2023roadr,
title = {{ROAD-R}: The Autonomous Driving Dataset with Logical Requirements},
author = {Giunchiglia, Eleonora and Stoian, Mihaela C{\u{a}}t{\u{a}}lina and
Khan, Salman and Cuzzolin, Fabio and Lukasiewicz, Thomas},
journal = {Machine Learning},
volume = {112},
number = {9},
pages = {3261--3291},
year = {2023}
}
@inproceedings{kamishima2003nantonac,
title = {Nantonac Collaborative Filtering: Recommendation Based on Order Responses},
author = {Kamishima, Toshihiro},
booktitle = {Proceedings of the Ninth ACM SIGKDD International Conference on
Knowledge Discovery and Data Mining},
pages = {583--588},
year = {2003}
}
@inproceedings{abraham2022cebab,
title = {{CEBaB}: Estimating the Causal Effects of Real-World Concepts on {NLP} Model Behavior},
author = {Abraham, Eldar D and D'Oosterlinck, Karel and Feder, Amir and Gat, Yair and
Geiger, Atticus and Potts, Christopher and Reichart, Roi and Wu, Zhengxuan},
booktitle = {Advances in Neural Information Processing Systems},
volume = {35},
pages = {17582--17596},
year = {2022}
}
@inproceedings{cohen2022torchxrayvision,
title = {{TorchXRayVision}: A library of chest {X}-ray datasets and models},
author = {Cohen, Joseph Paul and Viviano, Joseph D. and Bertin, Paul and
Morrison, Paul and Torabian, Parsa and Guarrera, Matteo and
Lungren, Matthew P and Chaudhari, Akshay and Brooks, Rupert and
Hashir, Mohammad and Bertrand, Hadrien},
booktitle = {Proceedings of the 5th International Conference on Medical Imaging with Deep Learning},
series = {Proceedings of Machine Learning Research},
volume = {172},
pages = {231--249},
year = {2022}
}
@inproceedings{vlastelica2020differentiation,
title = {Differentiation of Blackbox Combinatorial Solvers},
author = {Vlastelica Pogan{\v{c}}i{\'c}, Marin and Paulus, Anselm and Musil, Vit and
Martius, Georg and Rolinek, Michal},
booktitle = {International Conference on Learning Representations},
year = {2020}
}
@article{muller2021kandinsky,
title = {Kandinsky Patterns},
author = {M{\"u}ller, Heimo and Holzinger, Andreas},
journal = {Artificial Intelligence},
volume = {300},
pages = {103546},
year = {2021}
}
@inproceedings{johnson2017clevr,
title = {{CLEVR}: A Diagnostic Dataset for Compositional Language and
Elementary Visual Reasoning},
author = {Johnson, Justin and Hariharan, Bharath and van der Maaten, Laurens and
Fei-Fei, Li and Zitnick, C Lawrence and Girshick, Ross},
booktitle = {IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2017}
}
Detailed vs. non-detailed descriptions
Each task description comes in two variants. The detailed variant spells out every rule and lists the background facts that should not be encoded; the non-detailed variant describes the same task in ordinary prose and leaves more of the rule decomposition to the model. Two authors wrote both variants independently, one acting as an expert and one as a non-expert, and then reconciled them clause by clause. Only the constraint description changes between the two conditions: the prompt template and variable list are byte-identical. For example, for sushi:
[DETAILED]
- Each sushi item must be assigned to exactly one preference rank.
- Every rank must be assigned to exactly one sushi item.
- Each sushi item cannot be assigned to more than one rank.
- No two sushi items can share the same rank.
[NOT DETAILED]
- Encode a valid permutation matrix representing a complete ranking of the
four sushi items.
Evaluation
What are NeSy predictors?
NeSy predictors are classifiers designed for reliability. Given an input , they predict a (multi-)label while leveraging prior knowledge , usually structural or safety requirements over the outputs. The model produces a predictive distribution that assigns lower, or even provably zero, probability to outputs that violate :
For example, a self-driving car deciding whether to move forward from an image of the road can be given the constraint . The neural network alone may put mass on ; a NeSy predictor rules that combination out and renormalizes over the assignments that satisfy . This only works if is correct, which is why we evaluate both the generated formulas and the predictors built on them.
bdd-oia. Pedestrians are on the crosswalk, so clear = 0. A neural network may still predict forward = 1; a NeSy predictor that enforces K only outputs actions consistent with the rules that relate the observed concepts to the actions.Formula quality
Existing benchmarks check whether a generated formula has the right satisfiability status. A NeSy predictor needs more than that: it needs to know which assignments the formula admits, because it assigns probability mass only to those. We therefore compare the generated formula with the ground truth over variables through model counting ():
Counts are exact for tasks with at most 20 variables and use ApproxMC otherwise. Auxiliary (Tseitin) variables are projected out before any negation or conjunction. From these counts we derive
Recall matters most: a formula that wrongly excludes a valid assignment makes that output impossible to predict. We also report the syntax error rate over the generated formulas, after self-verification:
Downstream NeSy predictors
We train each predictor with the generated formula and compare it with the same backbone trained on the ground-truth formula, using F1, precision, recall and accuracy on a held-out test set, plus three metrics tailored to our setting.
Consistency (Con): the fraction of the test predictions that satisfy the ground-truth formula,
A consistency below 1 means that some predictions violate the constraints, which can be harmful in the downstream application.
Formula relationship (Rel): we test the two subset relations exactly,
and assign each generated formula one of four relations:
| Relation | Condition | Meaning |
|---|---|---|
equal () |
and | Same satisfying assignments |
permissive () |
and | Admits every valid assignment plus some invalid ones |
strict () |
and | Excludes some valid assignments |
incomparable () |
otherwise | Both kinds of error |
Model-count ratio (MC-R): how many more (or fewer) assignments the generated formula admits,
For example, a permissive formula with MC-R = 1.75 admits 75% more assignments than the ground truth.
Evaluation pipeline
In the paper, we use auto-nesy-bench to evaluate an end-to-end pipeline: an LLM formalizes the constraint, and the resulting formula is plugged into a NeSy predictor used for learning and inference (see the figure at the top of the page).
Auto-formalization
Prompting. Each prompt frames the LLM as an expert in SAT solving and constraint modeling, gives the grounded variables and the constraint description, and asks for the formula inside a <cnf>...</cnf> block in one of five formats: raw DIMACS, natural-language Boolean operators (NAT), or Python programs using PySAT, CPMpy or SymPy. The LLM may introduce auxiliary variables, provided they are defined in terms of the given ones.
Self-verification. When the output has a syntax error, the LLM receives the erroneous formula and the error message, and answers either [[OK]] or [[FIXED]] followed by a corrected formula, for up to five rounds. Formatting issues that need no reasoning, such as a wrong DIMACS header or a missing Python import, are fixed automatically.
Compilation. Every output is converted to DIMACS and compiled into a sentential decision diagram with PySDD. Auxiliary variables are existentially quantified, so the circuit is defined over the same variables as the ground truth.
NeSy predictors: SPL and SL
Semantic probabilistic layer (SPL, hard constraint). SPL sits on top of a neural network and combines its unconstrained distribution with a constraint circuit , which is non-zero only if :
The partition function is computed exactly on the circuit. SPL is trained by maximum likelihood, , and predicts , so every prediction satisfies by construction. We implement it with cirkit.
Semantic loss (SL, soft constraint). SL keeps a standard classifier with independent outputs and penalizes the probability mass it places outside :
The sum is the weighted model count of , computed on the same circuit with KLay; we use . At test time, SL predicts , with no guarantee of consistency.
The formula therefore matters in different ways: in SPL an incorrect formula rules out valid predictions or allows invalid ones, while in SL it only biases training.
Evaluated models
We evaluate eleven open-weight LLMs, from 8.2B to 117B parameters: qwen3-8b, qwen3-32b, qwen3-coder-next, mistral-nemo, phi4-reasoning-plus, gemma3-27b, gemma4-31b, olmo3-32b-think, deepseek-r1-llama-70b, gpt-oss-20b and gpt-oss-120b. Each model is run with zero-shot (ZS) and zero-shot chain-of-thought (ZS-CoT) prompts, across the five output formats, with a budget of five self-verification steps. For the downstream experiments, we train SPL and SL with the formulas that gpt-oss-120b, olmo3-32b-think and qwen3-8b generate with CPMpy and a detailed ZS-CoT prompt, over five seeds.
Key findings
-
LLMs can formalize NeSy constraints, but not perfectly. Averaged over formats and prompts,
gpt-oss-120breaches an F1 of 0.786 andgemma4-31b0.706 onauto-nesy-bench. With their best configuration (ZS-CoT andCPMpy), both exceed 0.98 F1. Weaker models such asgemma3-27bandmistral-nemofail to produce parsable formulas more than half of the time. -
Detail matters. Detailed descriptions raise average F1 from 0.330 to 0.455, and chain-of-thought improves F1 on all three benchmarks.
-
Code beats raw CNF.
CPMpy(0.575 F1) andSymPy(0.549) outperform directDIMACS(0.364) andNAT(0.331) generation onauto-nesy-bench. Onsatbench,NATis best. -
Generated formulas work downstream. With detailed prompts,
SPLmodels trained on LLM-generated formulas differ from those trained on expert formulas by less than 0.03 F1 on average, and most formulas are exactly equivalent to the ground truth. Overlystrictformulas are the most harmful, whilepermissiveones have little effect. -
SLis more forgiving thanSPL. Used as a soft constraint, an imperfect formula does not prevent training, although formulas that conflict with the ground truth still lower consistency. -
auto-nesy-benchsits between existing benchmarks. The best models nearly solvesatbench(0.963 F1), whiledcpbenchremains hard (0.324).auto-nesy-benchis challenging but tractable.
Results on auto-nesy-bench. Each row is averaged over models and over the factors it does not fix; for example, prompting rows average over output formats. Output-format rows use only the detailed description. Mean Β± standard deviation; the best value in each group is in bold.
| Variant | Configuration | F1 (β) | Precision (β) | Recall (β) | Syntax error (β) |
|---|---|---|---|---|---|
| Description | Non-detailed | 0.330 Β± 0.206 | 0.357 Β± 0.218 | 0.464 Β± 0.221 | 25.3% Β± 24.9% |
| Β | Detailed | 0.455 Β± 0.277 | 0.478 Β± 0.279 | 0.532 Β± 0.263 | 28.9% Β± 25.7% |
| Prompting | ZS | 0.437 Β± 0.262 | 0.463 Β± 0.268 | 0.515 Β± 0.243 | 28.2% Β± 24.7% |
| Β | ZS-CoT | 0.472 Β± 0.290 | 0.494 Β± 0.289 | 0.548 Β± 0.281 | 29.6% Β± 26.6% |
| Output format | DIMACS |
0.364 Β± 0.223 | 0.394 Β± 0.231 | 0.467 Β± 0.227 | 20.5% Β± 18.8% |
| Β | NAT |
0.331 Β± 0.173 | 0.361 Β± 0.178 | 0.457 Β± 0.199 | 31.8% Β± 22.5% |
| Β | PySAT |
0.453 Β± 0.300 | 0.500 Β± 0.310 | 0.498 Β± 0.284 | 31.1% Β± 26.3% |
| Β | CPMpy |
0.575 Β± 0.299 | 0.586 Β± 0.303 | 0.622 Β± 0.280 | 30.3% Β± 28.2% |
| Β | SymPy |
0.549 Β± 0.280 | 0.550 Β± 0.281 | 0.614 Β± 0.265 | 30.8% Β± 29.4% |
Results per LLM on auto-nesy-bench. Each row is averaged over the five output formats and both prompting strategies, using the detailed description. Models are ordered by size. Best value in bold, second best underlined.
| Model | Parameters | F1 (β) | Precision (β) | Recall (β) | Syntax error (β) |
|---|---|---|---|---|---|
qwen3-8b |
8.2B | 0.372 Β± 0.202 | 0.402 Β± 0.192 | 0.423 Β± 0.200 | 30.6% Β± 25.5% |
mistral-nemo |
12B | 0.053 Β± 0.074 | 0.051 Β± 0.073 | 0.154 Β± 0.093 | 62.8% Β± 22.9% |
phi4-reasoning-plus |
14B | 0.423 Β± 0.177 | 0.438 Β± 0.167 | 0.440 Β± 0.191 | 49.4% Β± 16.9% |
gpt-oss-20b |
21B | 0.505 Β± 0.163 | 0.564 Β± 0.124 | 0.556 Β± 0.149 | 30.0% Β± 10.9% |
gemma3-27b |
27B | 0.040 Β± 0.040 | 0.048 Β± 0.053 | 0.164 Β± 0.134 | 55.6% Β± 29.7% |
gemma4-31b |
31B | 0.706 Β± 0.233 | 0.732 Β± 0.203 | 0.782 Β± 0.197 | 3.9% Β± 2.5% |
olmo3-32b-think |
32B | 0.569 Β± 0.126 | 0.609 Β± 0.105 | 0.677 Β± 0.110 | 15.0% Β± 9.0% |
qwen3-32b |
32.8B | 0.655 Β± 0.138 | 0.678 Β± 0.127 | 0.712 Β± 0.132 | 14.4% Β± 11.2% |
deepseek-r1-llama-70b |
70B | 0.412 Β± 0.148 | 0.435 Β± 0.164 | 0.527 Β± 0.159 | 28.3% Β± 22.7% |
qwen3-coder-next |
80B | 0.478 Β± 0.192 | 0.507 Β± 0.218 | 0.576 Β± 0.147 | 20.0% Β± 13.2% |
gpt-oss-120b |
117B | 0.786 Β± 0.137 | 0.796 Β± 0.137 | 0.838 Β± 0.101 | 7.8% Β± 7.1% |
License
Code: distributed under the BSD 3-Clause license.
Data: labels, CNF targets and any bundled images or features are distributed under the CC BY-NC-SA 4.0 license. This is the most restrictive license among the bundled datasets, inherited from ROAD-R; all other bundled datasets use licenses that are equally or more permissive.
| Dataset | Task(s) | License | Redistributed |
|---|---|---|---|
| MNIST | mn-add(-bin), mn-mul(-bin), sudoku |
Unrestricted (NIST-derived) | β |
| Fashion-MNIST | fashion |
MIT | β |
| CIFAR-10 / CIFAR-100 | cifar10, cifar100 |
No explicit license | β |
| BDD-OIA | bdd-oia(-2) |
See rsbench |
β |
| ROAD-R | road-r |
CC BY-NC-SA 4.0 | β |
| SUSHI3 | sushi |
Research use permitted; redistribution forbidden | β |
| CEBaB | cebab |
CC BY 4.0 | β |
| ChestX-Rays | chx |
Unrestricted (NIH), attribution requested | β |
| Warcraft tiles | warcraft |
MIT | β |
Kandinsky / CLEVR (rsbench) |
kand-logic(-2), cle4evr |
BSD 3-Clause | β |
Datasets not redistributed. SUSHI3 must be downloaded from Kamishimaβs archive, whose license explicitly forbids redistribution. CIFAR-10 and CIFAR-100 have no explicit license or redistribution grant, so they are downloaded from the original page (or via torchvision). The download_external_datasets.sh script does both. By running it, you agree to each datasetβs terms of use.
Citation
If you use auto-nesy-bench, please cite:
@misc{bortolotti2026autoformalizing,
title={Auto-Formalizing Neuro-Symbolic Predictors},
author={Samuele Bortolotti and Weixin Chen and Han Zhao and Andrea Passerini and Stefano Teso and Antonio Vergari},
year={2026},
eprint={2610.01519},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2610.01519},
}
auto-nesy-bench extends rsbench:
@inproceedings{bortolotti2024benchmark,
title = {A Neuro-Symbolic Benchmark Suite for Concept Quality and Reasoning Shortcuts},
author = {Bortolotti, Samuele and Marconato, Emanuele and Carraro, Tommaso and
Morettin, Paolo and van Krieken, Emile and Vergari, Antonio and
Teso, Stefano and Passerini, Andrea},
booktitle = {Advances in Neural Information Processing Systems},
volume = {37},
pages = {115861--115905},
year = {2024}
}
Acknowledgments
Funded by the European Union, Grant Agreement no. 101120763 (TANGO). Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the European Health and Digital Executive Agency (HaDEA); neither can be held responsible for them. Antonio Vergari is supported by the βUNREAL: Unified Reasoning Layer for Trustworthy MLβ project (EP/Y023838/1), selected by the ERC and funded by UKRI EPSRC. Stefano Teso was partially supported by the Flemish research foundation (FWO) project βNeurosymbolic AI for Constraint Learningβ (G047124N). Weixin Chen and Han Zhao are partially supported by an NSF grant #2504555.