Forward Chaining AND Backward Chaining with properties

PHOTO EMBED

Tue Jan 16 2024 04:56:18 GMT+0000 (Coordinated Universal Time)

Saved by @nistha_jnn

Forward chaining is a form of reasoning which start with atomic sentences in the knowledge base and applies inference rules (Modus Ponens) in the forward direction to extract more data until a goal is reached.

The Forward-chaining algorithm starts from known facts, triggers all rules whose premises are satisfied, and add their conclusion to the known facts. This process repeats until the problem is solved.

Properties of Forward-Chaining:

It is a down-up approach, as it moves from bottom to top.

It is a process of making a conclusion based on known facts or data, by starting from the initial state and reaches the goal state.

Forward-chaining approach is also called as data-driven as we reach to the goal using available data.

Forward -chaining approach is commonly used in the expert system, such as CLIPS, business, and production rule systems.

For example, suppose that the goal is to conclude the colour of my pet 
Bruno given that he croaks and eats flies, and that the rule base contains 
the following two rules :  
If X croaks and eats flies - Then X is a frog. 
If X is a frog - Then X is red. 





Backward Chaining
A backward chaining algorithm is a form of reasoning, which starts with the goal and works backward, chaining through rules to find known facts that support the goal.

Properties of backward chaining-
  
It is known as a top-down approach.

Backward-chaining is based on modus ponens inference rule.

In backward chaining, the goal is broken into sub-goal or sub-goals to prove the facts true.

It is called a goal-driven approach, as a list of goals decides which rules are selected and used.

Backward -chaining algorithm is used in game theory, automated theorem proving tools, inference engines, proof assistants, and various AI applications.

e backward-chaining method mostly used a depth-first search strategy for proof.
content_copyCOPY