ML//neurosymbolic AI
Neurosymbolic AI is the family of systems that combine a neural component, which learns statistical patterns and proposes candidates, with a symbolic component, which manipulates explicit rules, programs or logic to check, derive or constrain, and it is used where flexibility and guarantees are both needed: generating code that must compile and pass tests, plans that must respect capacities, proofs that must be valid. Each half covers the other's blind spot. The network handles messy inputs and vast spaces of possibilities but offers no guarantee; the symbolic engine guarantees what it checks but cannot invent.
Neurosymbolic AI is the family of systems that combine a neural component, which learns statistical patterns and proposes candidates, with a symbolic component, which manipulates explicit rules, programs or logic to check, derive or constrain, and it is used where flexibility and guarantees are both needed: generating code that must compile and pass tests, plans that must respect capacities, proofs that must be valid. Each half covers the other's blind spot. The network handles messy inputs and vast spaces of possibilities but offers no guarantee; the symbolic engine guarantees what it checks but cannot invent.
The commonest pattern is generate and check. A model writes a candidate (a function, a delivery schedule, a proof step), a verifier runs it against the rules (a compiler, a test suite, a constraint checker, a proof assistant), and the result decides: accept, reject and try again, or feed the error back so the next candidate is better. AlphaCode illustrates it with brute generation and filtering by executed tests; AlphaProof pairs a language model with the Lean proof checker so that only formally valid proofs count. The same shape appears in test-time compute, where a checker is what makes extra samples worth drawing, and in training, where the checker's verdict becomes a reward.
A route planner shows the division of labour. Asked to plan deliveries with truck capacities, a language model proposes code or routes quickly; a checker confirms that no truck is overloaded and that every stop is served. What the checker cannot confirm is that the routes are the shortest possible, because checking validity is easy and proving optimality is hard (NP-hardness).
Delegating arithmetic is a narrow case. A model that sends an expression to a calculator or a code interpreter (tool use) uses a deterministic engine for the step it is bad at; that makes its numbers right, without making the system reason symbolically about anything else.
Structure can also flow the other way: a knowledge graph or a set of rules constrains what the network may propose, instead of only judging it afterwards.
The limit is the formalization. The symbolic side guarantees only what someone wrote down as a rule; a test suite that misses a case lets a wrong program through, and a requirement no one formalized is not checked at all.