Skip to content
Glossary

Backward Chaining

An inference method that starts from the goal and works backward to deduce the required facts.
Definition

Backward chaining, or backward reasoning, is a logic-based inference method commonly used in artificial intelligence, particularly in expert systems and automated theorem provers. This method begins with a goal or conclusion and works backward through a set of rules to determine the facts or conditions that must be true to reach that goal. It contrasts with forward chaining, which starts with known facts and applies rules to derive conclusions.

Backward chaining is particularly effective in situations where there are many possible starting points but a specific goal to be achieved, as it can efficiently focus the search by working backward from the desired outcome. This approach is based on the modus tollens principle in logic, where the goal is used to infer the conditions that lead to it, making it a powerful technique for problem-solving and decision-making in AI systems.

Examples/Use Cases:

In a diagnostic expert system, backward chaining can be used to identify the cause of a problem, such as a malfunctioning machine. The system starts with a hypothesis about the problem (the goal), such as a specific type of failure, and then works backward through a knowledge base of rules to find evidence that supports or refutes the hypothesis.

For instance, if the goal is to determine why an engine is overheating, backward chaining might identify several possible causes (like coolant leak, faulty thermostat, or blocked radiator) and then check for evidence of each cause until it finds the one that explains the overheating.

Another application is in automated planning systems, where backward chaining can be used to plan a sequence of actions to achieve a specific goal. Starting with the final goal, the system uses backward chaining to determine the last action that must be performed to achieve that goal, then the penultimate action needed to set up the last action, and so on, until it reaches the current state.

This method ensures that every action in the plan directly contributes to achieving the goal, making the planning process more efficient and focused.

Related Terms
← Back to Glossary

Need human evaluators for your AI research? Scale annotation with expert AI Trainers.