RedLectern topic

Symbolic and neuro-symbolic AI

Rules · search · planning · expert systems · combinations with learned models.

For: Learners · developers.

After this page you can: Recognize when explicit rules or search suit a problem.

Page reviewed

Part of: Artificial Intelligence › AI foundations

About Symbolic and neuro-symbolic AI

Symbolic AI represents knowledge in explicit forms, such as symbols and rules, and manipulates those representations to reason or act. Expert systems apply encoded domain knowledge to specific problems. Search explores possible paths toward a goal; planning represents actions and their effects so a system can find a sequence that reaches a goal. These approaches are useful to recognize when a problem has stated rules, goals or constraints that can be represented directly.

The important question is what the problem gives you and what it requires. If the domain has clear conditions and decisions that specialists can encode, rules may make the decision process inspectable. If there are many possible action sequences, search can compare candidate paths, with a heuristic helping direct exploration. When perception or pattern recognition is also needed, neuro-symbolic approaches combine neural and symbolic methods. That combination does not remove the need to check whether the representations, rules and search procedure fit the task.

Start here

Learn the foundations

1.Rules and expert systemsSymbolic AI uses explicit representations of knowledge and manipulates them through rules or other algorithms.

Symbolic AI uses explicit representations of knowledge and manipulates them through rules or other algorithms. An expert system applies facts and logical rules to a specific domain; its knowledge is programmed rather than learned from data. This makes the rules available for inspection, while limiting the system to the domain and knowledge that have been encoded.

Use this approach when the relevant conditions and decisions can be stated clearly. For example, a troubleshooting aid could apply a specialist-authored rule such as “if the indicator is off and the device has power, check the connection.” The rule is useful only if it represents the actual domain and the system has the facts it needs.

Symbolic AI

AI that represents relevant knowledge explicitly with symbols and manipulates those representations using rules or other procedures.

Expert system

A system that applies encoded specialist knowledge, represented as facts and rules, to draw conclusions in a specific domain.

Heuristic

A practical estimate or shortcut used to guide search or choice; it does not by itself guarantee the best answer.

Neuro-symbolic AI

Approaches that combine neural methods with symbolic approaches to computing and reasoning.

Try it

Write one if-then rule for a simple troubleshooting aid. State what fact must be known before the rule can fire.

Example: If the device has power and its status light is off, check whether the display cable is connected. The system must know that the device has power and that the light is off.

2.Search and planningSearch is a way to explore paths through a problem representation, such as a graph of possible states.

Search is a way to explore paths through a problem representation, such as a graph of possible states. A heuristic estimates which options look promising and can guide which path is explored next; depending on the method and the heuristic, a search may fail to find a solution or an optimal one. Planning represents goals and actions, including the conditions under which an action is possible and the state it produces. A planner can then search for a sequence of actions that reaches a goal.

Explicit search or planning is a good fit when a problem can be represented with useful states, transitions and goals. Try it on a route or delivery task: state what counts as a location, which moves are allowed, and what destination is the goal. If you cannot specify those elements, the search procedure has no usable problem to solve.

Try it

For a delivery robot, name a state, one action with a precondition and effect, and a goal. What would a planner search for?

A state could record the robot’s location and whether it carries the parcel. An action could be “deliver” with the precondition that the robot is at the destination and carries the parcel; its effect is that the parcel is delivered. The goal is delivery, and the planner searches for an action sequence that reaches it.

3.Combining learned and symbolic methodsNeuro-symbolic AI combines neural and symbolic approaches.

Neuro-symbolic AI combines neural and symbolic approaches. The two parts can contribute different kinds of computation: a learned model can provide a pattern-based representation, while explicit symbols, rules or search can express structured relations and reason over them. The exact division of work varies by system, so the name alone does not tell you how a particular system is built or whether its reasoning is dependable.

When assessing a proposed combination, ask what the learned part predicts, what the symbolic part represents, and how information passes between them. Then check what happens when an input is uncertain or a rule does not cover the case. These questions help distinguish a system that actually combines learning and explicit reasoning from one that merely uses symbolic language to describe its output.

Try it

Sketch a two-part system for sorting photos into categories: which job could a learned component do, and which job could an explicit rule do?

A learned component could identify objects in a photo. An explicit rule could assign a category when identified objects satisfy a stated condition, such as placing an image in “outdoor scene” when it contains both a tree and sky. The sketch should specify how the object predictions reach the rule.

Latest

No recent updates are available.

See the sources list

Books

Glossary

4 terms on this page.

Browse the AI glossary

Questions and comments