Neurosymbolic Language Reasoning as Satisfiability Modulo Theory
About
Natural language understanding requires interleaving textual and logical reasoning, yet large language models often fail to perform such reasoning reliably. Existing neurosymbolic systems combine LLMs with solvers but remain limited to fully formalizable tasks such as math or program synthesis, leaving natural documents with only partial logical structure unaddressed. We introduce Logitext, a neurosymbolic language that represents documents as natural language text constraints (NLTCs), making partial logical structure explicit. We develop an algorithm that integrates LLM-based constraint evaluation with satisfiability modulo theory (SMT) solving, enabling joint textual-logical reasoning. Experiments on a new content moderation benchmark, together with LegalBench and Super-Natural Instructions, show that Logitext improves both accuracy and coverage. This work is the first that treats LLM-based reasoning as an SMT theory, extending neurosymbolic methods beyond fully formalizable domains.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| TG task | LegalBench | Warranty Duration (CUAD)61 | 3 | |
| TG task | Natural Instructions task021_mctaco_grammatical_logical | Correctness0.5 | 3 | |
| TG task | Natural Instructions task022_cosmosqa_passage_inappropriate_binary | Correctness80 | 3 | |
| TG task | Natural Instructions task459_matres_static_classification | Correctness69 | 3 | |
| TG task | Natural Instructions task108_contextualabusedetection_classification | Correctness63 | 3 | |
| TG task | Natural Instructions task457_matres_conditional_classification | Correctness59 | 3 |