Computer Science, asked by likovishal4914, 1 year ago

Difference between forward chaining and backward chaining in artificial intelligence

Answers

Answered by IIMeghanaII
8

An AI cannot give proofs somehow thinking and assuming meanings of statements. So to get the proofs there are set of rules that are fixed for inference logic and within that fixed set of rules we have forward and backward chaining.

Forward chaining.

  • It is also known as data driven inference technique.
  • Forward chaining matches the set of conditions and infer results from these conditions. Basically, forward chaining starts from a new data and aims for any conclusion.
  • It is bottom up reasoning.
  • It is a breadth first search.
  • It continues until no more rules can be applied or some cycle limit is met.
  • For example: If it is cold then I will wear a sweater. Here “it is cold is the data” and “I will wear a sweater”is a decision. It was already known that it is cold that is why it was decided to wear a sweater, This process is forward chaining.
  • It is mostly used in commercial applications i.e event driven systems are common example of forward chaining.
  • It can create an infinite number of possible conclusions.

Backward chaining.

  • It is also called as goal driven inference technique.
  • It is a backward search from goal to the conditions used to get the goal. Basically it starts from possible conclusion or goal and aims for necessary data.
  • It is top down reasoning.
  • It is a depth first search.
  • It process operations in a backward direction from end to start, it will stop when the matching initial condition is met.
  • For example: If it is cold then I will wear a sweater. Here we have our possible conclusion “I will wear a sweater”. If I am wearing a sweater then it can be stated that it is cold that is why I am wearing a sweater. Hence it was derived in a backward direction so it is the process of backward chaining.
  • It is used in interrogative commercial applications i.e finding items that fulfill possible goals.
  • Number of possible final answers is reasonable.
Answered by homosapiens45
7

Forward chaining

  • It is also known as data driven interface technique
  • It is bottom up reasoning
  • It is a breadth first search
  • It is mostly used in commercial application.
  • It can create an infinite number of possible solution

Backward chaining

  • It is also called global driven interface technique
  • It is top down reasoning
  • It is depth first search
  • It is used in interrogative commercial applications
  • Number of possible final answer is reasonable.
Similar questions