Neuro symbolic AI is an approach that combines a neural network, which learns patterns from data, with a symbolic system, which reasons over explicit rules, logic or knowledge. The neural part handles messy input such as images and text, and the symbolic part handles steps that must be exact and checkable.
What neuro symbolic AI means
The two halves come from two old traditions in AI.
- Neural (connectionist) AI learns from examples. It is good at perception and language, and weak at guarantees: you cannot point to the rule that produced an answer.
- Symbolic AI works on explicit symbols and rules, such as logic formulas, knowledge bases, planners and theorem provers. Its results can be inspected and verified, but someone has to write the knowledge down, and it copes badly with noisy input.
Neuro symbolic systems (also written neurosymbolic or neural-symbolic) try to take the strength of each. In their survey "Neurosymbolic AI: The 3rd Wave", Artur d'Avila Garcez and Luis Lamb describe the goal as pairing strong neural learning with symbolic representations and reasoning. They argue this is needed for explainability, and they tie it to concerns about trust, safety, interpretability and accountability. They also note that neural-symbolic computing has been an active research area for many years, so the idea is not new even though the name is trending.
How the neural and symbolic parts fit together
There is no single architecture. The designs you will meet in practice fall into a few patterns:
| Pattern | What the neural part does | What the symbolic part does |
|---|---|---|
| Perception, then reasoning | Turns an image or sentence into objects, facts or a program | Runs the program or rules over those facts to get the answer |
| Neural guide for symbolic search | Suggests which step to try next | Applies exact deduction and checks every step |
| Language model plus tool | Translates a request into a call, query or formula | A calculator, database or solver returns an exact result |
| Knowledge as a constraint | Learns from data | Rules or logic restrict or shape what the network may output |
The first pattern is the clearest to study. The Neuro-Symbolic Concept Learner (NS-CL) by Mao and colleagues learns visual concepts, word meanings and sentence parsing from images paired with questions and answers, with no explicit labels for any of those. It builds an object-based representation of the scene, converts each question into a program, and a reasoning module executes that program on the scene. The program step is symbolic: it can be read, and a wrong answer can be traced to the step that went wrong.
A real example: AlphaGeometry
Google DeepMind's AlphaGeometry pairs a neural language model with a symbolic deduction engine to solve olympiad geometry problems. According to DeepMind's write-up, the loop works like this:
- The symbolic engine deduces new statements from the diagram.
- If it cannot reach the goal, the language model proposes one useful construct, such as a point, line or circle.
- That construct opens new deduction paths, and the loop repeats until a proof is found.
The division of labour matters. The symbolic engine is exact, so every step in the final proof is a valid deduction. The language model supplies the creative step that brute-force search handles poorly. DeepMind reports that AlphaGeometry solved 25 of 30 olympiad geometry problems within the competition time limit. The previous state of the art, a method called Wu's method, solved 10, and the average human gold medallist solved 25.9. The comparison is for that benchmark of 30 problems only and says nothing about other kinds of mathematics.
Its training data shows another symbolic role. The system generated one billion random geometric diagrams, derived the relationships in each, and worked backward to find which constructs the proofs needed. After filtering, 100 million unique examples remained, nine million of them with added constructs. DeepMind states that no human demonstrations were used, so the symbolic engine produced the training data as well as checking the proofs.
A minimal neuro symbolic pipeline in code
You can use the same split in everyday programs. The neural model only extracts structure. Plain code then does the exact part. Below is an illustrative sketch, not a library API. The function extract_facts stands in for a call to whatever language model you use, and its return value is hard-coded here so the example runs on its own.
def extract_facts(text: str) -> dict:
"""Stand-in for a neural step: a model would parse the text."""
# Real use: ask a model for JSON like this and validate it.
return {"price": 19.99, "quantity": 3, "tax_rate": 0.2}
def total_with_tax(facts: dict) -> float:
"""Symbolic step: exact, deterministic, testable."""
subtotal = facts["price"] * facts["quantity"]
return round(subtotal * (1 + facts["tax_rate"]), 2)
facts = extract_facts("Three items at 19.99 each, 20% tax")
print(total_with_tax(facts))
Example output:
71.96
The arithmetic here is not left to a model. If the extraction is wrong, you can see exactly which fact was wrong, and you can write unit tests for the symbolic function. This is the same reasoning behind tool use in language models, covered in LLM function calling explained. Many people would not call a calculator tool "neuro symbolic AI", but the structure is the same: a learned component feeds a rule-based one.
What neuro symbolic AI is good at
- Exactness where it counts. Arithmetic, logic, scheduling and proofs come from a procedure that is correct by construction, not from a model's best guess.
- Inspectable steps. A program or proof can be read and audited. This is the explainability argument Garcez and Lamb make.
- Using stored knowledge. Facts kept in a structured form, such as a knowledge graph, can be queried and reasoned over instead of being recalled from a model's weights.
- Fewer unsupported answers. Checking a model's output against rules can catch some of the errors described in why AI hallucinates. It only catches errors the rules can express.
Limits and open problems
Neuro symbolic systems are not a free upgrade. Some limits are structural:
- The interface is the hard part. Symbols are discrete and neural networks are continuous. If the neural step misreads the input, the symbolic step reasons perfectly over wrong facts.
- Someone must supply the symbols. You need a rule set, ontology or solver for the domain. Geometry has a mature formal language. Many everyday domains do not.
- Coverage is narrow. A strong result on one benchmark, such as the 30 geometry problems above, does not transfer to a different field without new symbolic machinery.
- Few off-the-shelf tools. Most systems are research code built for one task, so expect to assemble your own pipeline.
The NS-CL abstract claims accuracy and efficiency and easy generalisation to new attributes, compositions and questions. The abstract gives no numbers, so check the full paper before relying on those claims for your own use.
When to use the pattern
Reach for it when part of your task has a single correct answer that you can compute or check, and part of it is fuzzy input. Typical splits: parse an invoice with a model and compute totals in code, translate a question into a database query and run the query, or generate candidate solutions with a model and verify each with a test suite or a solver. If the whole task is open-ended writing, a symbolic layer adds little.
Frequently asked questions
- Is a large language model neuro symbolic AI?
- Not by itself. A plain language model is a neural network that predicts text. It becomes part of a neuro symbolic system when it is connected to a symbolic component, such as a theorem prover, a database query engine, a rule set or a code interpreter, and that component does the exact reasoning or checking.
- What is the difference between symbolic AI and neuro symbolic AI?
- Symbolic AI uses only explicit rules, logic and knowledge bases written by people. Neuro symbolic AI adds a neural network, usually to handle messy input such as images or natural language, or to guide the search a symbolic system would otherwise do blindly.
- Why do researchers want neuro symbolic AI?
- Garcez and Lamb argue that combining knowledge representation and reasoning with deep learning is needed for sound explainability, and they link the field to concerns about trust, safety, interpretability and accountability in current machine learning.
- Can I build a neuro symbolic system without special libraries?
- Yes. The simplest version is a pipeline: a neural model turns raw input into structured facts, and ordinary code, a rule engine or a solver reasons over those facts. Research frameworks exist, but the pattern does not require one.