Neurosymbolic AI

Neurosymbolic AI combines neural networks, which learn patterns from data, with symbolic methods such as logic and explicit rules, so that one system can both learn from examples and reason in steps that can be checked.

AI research has two old traditions. Neural networks learn from examples: they are good at perception and at messy, real-world data, but their reasoning is hard to inspect and they can make basic errors of logic. Symbolic AI represents knowledge as explicit symbols and rules and reasons step by step: its conclusions are exact and traceable, but someone has to write the knowledge down, and it copes badly with anything the rules did not foresee. Neurosymbolic AI puts the two in one design so each covers the other's weakness.

There are two broad ways to do it. Hybrid systems keep a neural component and a symbolic component separate and pass results between them. Integrated systems build logical reasoning into the network itself. In many hybrid systems the division of labour is that the neural part proposes and the symbolic part checks, constrains or explains.

Google DeepMind's AlphaGeometry, described in January 2024 and published in Nature, is a clear example. A symbolic deduction engine applies formal rules to a geometry diagram to see what follows. When it gets stuck, a neural language model suggests a new construction to add, such as an extra point, line or circle. The loop repeats until a proof is found. On a set of 30 olympiad geometry problems it solved 25 within competition time limits, against 10 for the previous best method and an average of 25.9 for human gold medallists. Because the final proof comes from the rule engine, every step can be checked. DeepMind's earlier Go program, AlphaGo, is often cited as a hybrid too: it combined a tree search with neural networks that judged board positions.

The idea is not new. Workshops on neural-symbolic learning have run since 2005. In December 2020 Artur d'Avila Garcez and Luis Lamb argued in Neurosymbolic AI: The 3rd Wave that concerns about trust, safety, interpretability and accountability call for combining neural learning with knowledge representation, logical reasoning and explainability. Researchers often borrow Daniel Kahneman's framing from Thinking, Fast and Slow (2011): neural networks resemble fast, intuitive System 1 thinking, and symbolic reasoning resembles slow, deliberate System 2.

In practice the label covers a wide range of systems, from research architectures to a language model wired to a database, a rule engine or a proof checker. The useful question is which part does the checking. Where a reliable symbolic checker exists, as in mathematical proofs, software or formal rules, errors from the neural side can be caught. Where it does not, the system still carries the neural model's mistakes, whatever it is called.

Common questions

What is neurosymbolic AI in simple terms?

It is AI that pairs a neural network, which learns from data, with symbolic reasoning, which follows explicit rules and logic. The neural part handles perception and pattern matching; the symbolic part handles exact reasoning and can show its steps. The aim is a system that learns like a neural network but reasons in ways people can check.

What is an example of neurosymbolic AI?

Google DeepMind's AlphaGeometry is a well-known one. A language model proposes constructions for a geometry problem and a symbolic deduction engine derives conclusions with formal rules, repeating until it finds a proof. It solved 25 of 30 olympiad geometry problems within time limits, close to the 25.9 average of human gold medallists.

Why is neurosymbolic AI called the third wave?

The phrase comes from the title of a 2020 paper by Artur d'Avila Garcez and Luis Lamb. They present the integration of neural learning with symbolic knowledge representation, logical reasoning and explainability as the key ingredient of the next wave of AI.

Is neurosymbolic AI better than large language models?

It is not a rival so much as a way of building around them. Many neurosymbolic systems use a neural model, sometimes a language model, as one component and add a symbolic part to check or constrain its output. That helps most in areas with formal rules, such as maths, code and logic, where an answer can be verified.

Finding more

Search for "neurosymbolic AI", "neural-symbolic computing" or "AlphaGeometry" to follow the research. The most reliable sources are papers on arXiv and in peer-reviewed venues, research blogs from the labs that built the systems, and encyclopedia entries that cite those papers. Treat product marketing that calls a system neurosymbolic with care, and look for a description of which component reasons and which one learns.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.