📅  最后修改于: 2021-04-16 06:15:31             🧑  作者: Mango
前向链接和后向链接是人工智能领域中的两个最重要的策略,它们位于AI的专家系统领域。
向前和向后链接是推理引擎在进行推论时所使用的策略。
推理机:
推理引擎是专家系统的组件,该组件将逻辑规则应用于知识库以推断新信息。它解释和评估知识库中的事实,以便提供答案。
知识库是有关系统域的事实的结构化集合。
正向链接:
在推断结果之前,推理引擎进行前向链接要经过所有事实,条件和推导,即,基于可用数据做出决策时,该过程称为前向链接,该过程从初始状态开始工作并达到目标(最终决定)。
Example:
A
A -> B
B
—————————–
He is running.
If he is running, he sweats.
He is sweating.
向后链接:
在这种情况下,推理系统知道最终决策或目标,该系统从目标开始并向后工作以确定必须断言哪些事实,以便可以实现目标,即,它从目标(最终决策)开始工作并达到初始目标状态。
Example:
B
A -> B
A
—————————–
He is sweating.
If he is running, he sweats.
He is running.
前向链接与后向链接之间的区别:
|
Forward Chaining |
Backward Chaining
1. |
When based on available data a decision is taken then the process is called as Forward chaining. |
Backward chaining starts from the goal and works backward to determine what facts must be asserted so that the goal can be achieved. |
2. |
Forward chaining is known as data-driven technique because we reaches to the goal using the available data. |
Backward chaining is known as goal-driven technique because we start from the goal and reaches the initial state in order to extract the facts. |
3. |
It is a bottom-up approach. |
It is a top-down approach. |
4. |
It applies the Breadth-First Strategy. |
It applies the Depth-First Strategy. |
5. |
Its goal is to get the conclusion. |
Its goal is to get the possible facts or the required data. |
6. |
Slow as it has to use all the rules. |
Fast as it has to use only a few rules. |
7. |
It operates in forward direction i.e it works from initial state to final decision. |
It operates in backward direction i.e it works from goal to reach initial state. |
8. |
Forward chaining is used for the planning, monitoring, control, and interpretation application. |
It is used in automated inference engines, theorem proofs, proof assistants and other artificial intelligence applications. |
|