第22章 知识驱动认知
22.1 知识驱动认知的定义
第20章定义了 Cognition:
认知是人工个体对对象、状态、关系、场景及其变化进行结构化计算,并形成能够驱动能力、方法、行为和行动的内部结果。
第21章进一步建立了 Scene Cognition:
Scene
↓
Scene Parsing
↓
Object
↓
Attribute
↓
Relation
↓
State
↓
Scene Cognition
但是,仅仅拥有当前场景结构,仍然不足以形成完整认知。
例如系统感知到:
Object A
Position = X
Temperature = 80℃
这些只是当前数据。
系统还必须知道:
80℃意味着什么?
这个温度是否正常?
这个对象是什么?
当前状态意味着什么?
以前是否出现过类似情况?
当前有什么能力可以处理?
这些问题都需要知识参与。
因此:
知识驱动认知,是人工个体利用当前知识、历史知识、场景知识和能力知识,对当前场景、对象、状态和目标进行结构化计算,并形成当前认知状态的过程。
核心关系:
Knowledge
↓
Cognitive Computation
↓
Cognition
更完整地表示为:
Current Scene
+
Current Knowledge
+
Historical Knowledge
+
Scene Knowledge
+
Capability Knowledge
↓
Cognitive Computation
↓
Cognitive State
22.2 为什么知识能够驱动认知
如果没有知识,系统只能获得数据。
例如:
Sensor
↓
Temperature = 80℃
这只是感知结果。
加入知识:
Temperature = 80℃
+
Safe Temperature < 60℃
系统可以计算:
80 > 60
↓
Temperature Abnormal
进一步:
Temperature Abnormal
↓
Overheating Risk
再进一步:
Overheating Risk
↓
Cooling Capability Required
因此:
Data
↓
Knowledge
↓
Computation
↓
Meaning
↓
Cognition
知识并不是简单地告诉系统答案。
知识提供的是:
认知计算所需要的结构、规则、关系、经验和能力依据。
22.3 当前知识
22.3.1 Current Knowledge 的定义
当前知识是人工个体在当前认知时刻能够直接参与认知计算的知识。
它可能来自:
Learning
Memory
Previous Cognition
Current Perception
Experience
External Knowledge
当前知识具有明显的时间属性:
Knowledge(t)
它不是永久固定不变的。
例如:
Knowledge(t1)
可能认为:
Object A = Available
而经过新的反馈:
Knowledge(t2)
可能变成:
Object A = Unavailable
因此:
Current Knowledge
=
Knowledge Available at Current Time
22.4 当前知识与当前场景
当前知识必须与当前场景结合。
Current Scene
+
Current Knowledge
↓
Current Cognition
例如:
Scene:
Cup on Table
当前知识:
Cup is graspable
Table supports Cup
Hand can grasp Cup
组合之后:
Scene
+
Knowledge
↓
Cup is reachable
↓
Grasp Capability Available
所以当前知识的作用不是独立存在,而是:
为当前场景提供可计算的认知依据。
22.5 当前知识的动态性
当前知识会随着认知循环发生变化。
Knowledge₁
↓
Cognition₁
↓
Action
↓
Feedback
↓
Knowledge Update
↓
Knowledge₂
↓
Cognition₂
例如:
旧知识:
Door is openable
执行后发现:
Door is locked
于是:
Experience
↓
Knowledge Update
↓
Door requires unlocking method
下一次认知就不再完全依赖旧知识。
因此:
当前知识是动态认知系统中的实时知识状态。
22.6 历史知识
22.6.1 Historical Knowledge 的定义
历史知识是人工个体过去学习、经历、认知和执行过程中形成并保留下来的知识。
它包括:
Past Learned Knowledge
Past Experiences
Past Scenes
Past Cognitions
Past Actions
Past Results
Past Failures
Past Successes
可以表示为:
History
↓
Knowledge Accumulation
↓
Historical Knowledge
历史知识回答:
以前发生过什么,以及以前对此形成了什么认识。
22.7 历史知识与当前认知
历史知识并不等于历史记录。
它必须能够参与当前认知。
例如:
Previous Scene:
Door Locked
当前场景:
Door Appears Closed
如果系统调用历史知识:
Historical Knowledge
+
Current Scene
↓
Cognition
就可能形成:
Door may still be locked
因此:
Past
↓
Historical Knowledge
↓
Current Cognition
历史知识使认知具有时间连续性。
22.8 历史知识不是简单记忆
必须区分:
Memory
与:
Historical Knowledge
记忆可以保存:
Event happened
而历史知识可以形成:
Event
↓
Pattern
↓
Meaning
↓
Reusable Knowledge
例如:
第一次:
Door → Locked
只是记忆。
经过多次:
Door → Locked
Door → Locked
Door → Locked
系统可能形成:
This Door often remains locked.
于是:
Repeated Experience
↓
Pattern
↓
Historical Knowledge
历史知识因此具有一定的结构化和可复用性。
22.9 场景知识
22.9.1 Scene Knowledge 的定义
场景知识是与特定场景、场景类型、环境结构和场景变化相关的知识。
例如:
Kitchen Knowledge
Office Knowledge
Factory Knowledge
Road Knowledge
Warehouse Knowledge
场景知识包括:
Typical Objects
Typical Relations
Typical States
Typical Events
Typical Actions
Typical Risks
Typical Methods
例如:
Kitchen
├── Table
├── Cup
├── Plate
├── Stove
└── Refrigerator
这只是场景结构。
场景知识则进一步包含:
Stove
↓
Can produce heat
Cup
↓
Can contain liquid
Table
↓
Can support objects
因此:
Scene
+
Scene Knowledge
↓
Scene Cognition
22.10 场景知识的作用
场景知识可以降低认知的不确定性。
例如看到:
Stove
Pan
Food
如果没有场景知识,只能分别识别:
Stove
Pan
Food
如果拥有厨房场景知识:
Stove
+
Pan
+
Food
↓
Cooking Context
进一步:
Cooking Context
↓
Cooking Capability
因此:
场景知识使对象识别进一步进入情境认知。
22.11 场景知识与场景认知
两者关系为:
Scene Knowledge
+
Current Scene
↓
Scene Cognition
而不是:
Scene Knowledge = Scene Cognition
场景知识描述:
某类场景通常是什么结构。
场景认知描述:
当前这个具体场景现在是什么情况。
例如:
Scene Knowledge:
Kitchen contains cooking equipment.
当前场景:
Current Kitchen:
Stove = ON
Pan = ON Stove
Temperature = High
认知结果:
Cooking Activity
+
High Temperature
+
Potential Risk
因此:
Scene Knowledge
= Generalized Scene Structure
Scene Cognition
= Current Scene Computation
22.12 能力知识
22.12.1 Capability Knowledge 的定义
第14—19章已经建立能力体系。
能力知识就是个体关于“能够做什么、在什么条件下能够做、需要什么参数、使用什么方法”的结构化知识。
例如:
Capability:
Grasp Object
相关能力知识:
Input
Object
Parameters
Position
Force
Direction
Constraints
Reachable
Stable
Accessible
Methods
Approach
Contact
Grip
Output
Object Held
因此:
Capability Knowledge
=
Knowledge about Capability Structure
22.13 能力知识驱动认知
能力知识不仅用于执行。
它还可以反向影响认知。
例如系统看到:
Cup
Table
Hand
如果拥有:
Grasp Capability Knowledge
系统可以进一步认知:
Cup
+
Hand
+
Distance
↓
Potentially Graspable
因此:
Scene
+
Capability Knowledge
↓
Affordance Cognition
也就是说:
能力知识使个体能够从“对象是什么”进一步认知“对象可以做什么”。
22.14 能力知识与场景知识
两者存在明显区别。
场景知识:
What is happening in this environment?
能力知识:
What can the individual do in this environment?
例如:
Scene Knowledge:
Cup is on Table.
能力知识:
Individual can grasp Cup.
组合:
Scene Knowledge
+
Capability Knowledge
↓
Action Possibility
于是:
Cup on Table
↓
Cup reachable
↓
Grasp Capability Available
这正是认知连接能力系统的重要机制。
22.15 四类知识共同驱动认知
本章的四类知识可以形成:
Knowledge
│
┌────────────┼────────────┐
↓ ↓ ↓
Current Knowledge Historical Scene Knowledge
Knowledge
│ │ │
└────────────┼────────────┘
↓
Cognitive Computation
↑
│
Capability Knowledge
│
↓
Cognition
更完整:
Current Knowledge
+
Historical Knowledge
+
Scene Knowledge
+
Capability Knowledge
+
Current Scene
+
Current Goal
↓
Cognitive Computation
↓
Cognitive State
22.16 认知状态
22.16.1 Cognitive State 的定义
认知状态是人工个体在某一时刻经过认知计算后形成的当前内部认知结构。
它回答:
个体现在认知到了什么?
例如:
Cognitive State
├── Recognized Objects
├── Recognized Attributes
├── Recognized Relations
├── Current States
├── Scene Meaning
├── Current Goal
├── Goal Gap
├── Available Capabilities
├── Risks
├── Predictions
└── Confidence
因此:
Cognitive State
=
Current Cognitive Result
22.17 认知状态不是世界状态
这是 ICAI 中必须严格区分的概念。
World State
描述:
世界实际是什么状态。
而:
Cognitive State
描述:
个体当前认为世界是什么状态。
例如真实世界:
Door = Locked
但个体尚未识别:
Cognitive State:
Door = Unknown
因此:
World State ≠ Cognitive State
只有经过感知和认知计算:
World
↓
Perception
↓
Cognition
↓
Cognitive State
两者才逐渐建立对应关系。
22.18 认知状态的不确定性
认知不一定是绝对确定的。
例如:
Object = Unknown
经过部分识别:
Object = Cup
Confidence = 0.72
进一步获得信息:
Object = Cup
Confidence = 0.96
因此:
Cognitive State
├── Result
├── Confidence
└── Evidence
认知状态可以是:
Unknown
↓
Possible
↓
Probable
↓
Confirmed
也可以因为新信息而发生:
Confirmed
↓
Contradicted
↓
Revised
因此认知状态具有动态性。
22.19 知识如何进入认知状态
可以建立一个完整过程:
Perception
↓
Current Scene
↓
Knowledge Retrieval
↓
Knowledge Matching
↓
Knowledge Integration
↓
Cognitive Computation
↓
Cognitive State
其中知识检索并不是简单搜索。
系统需要判断:
Which Knowledge?
Why Relevant?
Is It Current?
Does It Match Scene?
Does It Conflict?
Can It Support Capability?
因此:
Knowledge
↓
Selection
↓
Matching
↓
Validation
↓
Integration
↓
Cognition
22.20 知识冲突与认知
不同知识来源可能产生冲突。
例如:
Historical Knowledge:
Door usually open
而当前场景:
Current State:
Door locked
此时不能简单选择其中一个。
需要:
Historical Knowledge
+
Current Evidence
↓
Conflict Detection
↓
Knowledge Evaluation
↓
Current Cognition
通常:
Current Evidence
>
Old Historical Knowledge
因为认知必须优先解释当前世界。
因此:
历史知识提供先验,当前场景提供当前证据。
二者共同形成当前认知。
22.21 知识的时间层次
知识可以按照时间划分:
Past Knowledge
↓
Historical Knowledge
↓
Current Knowledge
↓
Current Cognition
↓
New Experience
↓
Knowledge Update
进一步:
Knowledge(t-2)
↓
Knowledge(t-1)
↓
Knowledge(t)
↓
Knowledge(t+1)
因此知识本身具有生命周期。
22.22 知识驱动认知的完整模型
可以建立:
KNOWLEDGE
│
┌─────────────────┼─────────────────┐
↓ ↓ ↓
Current Knowledge Historical Knowledge Scene Knowledge
│ │ │
└─────────────────┼─────────────────┘
↓
Knowledge Integration
↑
│
Capability Knowledge
│
↓
Current Perception → Current Scene
│
↓
Cognitive Computation
│
↓
Cognitive State
│
┌─────────────┼─────────────┐
↓ ↓ ↓
Judgment Prediction Capability
│ │
└─────────────┬─────────────┘
↓
Behavior
↓
Action
↓
Feedback
↓
Knowledge Update
│
└────→ Re-Cognition
这就是本章的核心结构。
22.23 知识驱动认知不是知识查询
需要特别强调:
Knowledge Query
≠
Knowledge-Driven Cognition
知识查询:
Question
↓
Knowledge
↓
Answer
知识驱动认知:
Scene
+
State
+
Goal
+
Knowledge
↓
Computation
↓
Cognitive State
↓
Capability
↓
Action
因此:
知识查询主要获得知识,知识驱动认知则利用知识改变个体对当前世界的内部状态。
这是 Knowledge System 与 Cognitive System 的重要边界。
22.24 知识驱动认知的递归性
认知结果又可能成为新的知识。
Knowledge
↓
Cognition
↓
Experience
↓
Learning
↓
New Knowledge
↓
Cognition
例如:
已有知识:
Door can be opened.
实际执行:
Open Door
↓
Failure
反馈:
Door Locked
学习:
New Knowledge:
This Door requires Unlock Method.
下一次:
Scene
+
New Knowledge
↓
New Cognition
于是形成:
Knowledge
↓
Cognition
↓
Action
↓
Experience
↓
Learning
↓
Knowledge Update
↺
这构成了个体知识与认知之间的长期演化关系。
22.25 认知状态的更新
认知状态不是永久保存的固定结果。
每次重要信息变化,都可能触发:
Cognitive State₁
↓
New Perception
↓
New Evidence
↓
Re-Computation
↓
Cognitive State₂
例如:
Cognitive State₁:
Cup is stable.
发生事件:
Hand contacts Cup.
重新认知:
Cognitive State₂:
Cup is being held.
因此:
Cognitive State(t)
→
Cognitive State(t+1)
这与第20章的 Continuous Cognition 和第21章的 Dynamic Scene Cognition 形成统一。
22.26 从知识到认知状态
可以将整个第22章压缩为:
Knowledge
│
├── Current Knowledge
├── Historical Knowledge
├── Scene Knowledge
└── Capability Knowledge
│
↓
Knowledge Integration
│
↓
Current Scene
│
↓
Cognitive Computation
│
↓
Recognition
↓
Interpretation
↓
Judgment
↓
Prediction
↓
Capability Requirement
│
↓
Cognitive State
其中:
Knowledge
回答:
我知道什么?
而:
Cognition
回答:
根据我知道的东西以及当前看到的世界,我现在认知到了什么?
最终:
Cognitive State
回答:
我现在处于什么认知状态?
22.27 知识驱动认知与能力驱动行为
第22章与前面的能力体系可以形成完整连接:
Knowledge
↓
Cognition
↓
Capability
↓
Method
↓
Behavior
↓
Action
↓
Execution
这里存在两个不同的驱动关系:
Knowledge
↓
Cognition
是:
知识驱动认知
而:
Capability
↓
Behavior
↓
Action
是:
能力驱动行为
因此:
Knowledge → Cognition
Cognition → Capability
Capability → Behavior
Behavior → Action
Action → Execution
这形成 WSaiOS-ICAI 的基本智能链。
22.28 知识驱动认知的核心公式
可以进一步形式化:
Cognition(t)
=
F(
Scene(t),
CurrentKnowledge(t),
HistoricalKnowledge,
SceneKnowledge,
CapabilityKnowledge,
Goal(t),
Experience
)
认知状态:
CognitiveState(t)
=
Compute(
Cognition(t)
)
知识更新:
Knowledge(t+1)
=
Update(
Knowledge(t),
Experience(t),
Feedback(t)
)
因此整个系统:
Knowledge(t)
↓
Cognition(t)
↓
Action(t)
↓
Feedback(t)
↓
Experience(t)
↓
Knowledge(t+1)
↓
Cognition(t+1)
形成持续循环。
22.29 第20—22章的理论关系
三章可以形成非常清晰的认知基础体系:
第20章
Cognition
↓
认知是什么
第21章
Scene Cognition
↓
如何认知当前场景
第22章
Knowledge-Driven Cognition
↓
知识如何驱动场景认知
形成:
Knowledge
↓
│
↓
Current Scene
↓
Scene Cognition
↓
Cognitive State
↓
Capability
↓
Action
因此:
第20章定义认知,第21章建立场景认知,第22章建立认知的知识驱动机制。
22.30 第22章的完整认知模型
最终可以建立:
WORLD
│
↓
PERCEPTION
│
↓
CURRENT SCENE
│
↓
┌───────────────────┐
│ KNOWLEDGE │
│ │
│ Current │
│ Historical │
│ Scene │
│ Capability │
└─────────┬─────────┘
│
↓
KNOWLEDGE INTEGRATION
│
↓
COGNITIVE COMPUTATION
│
┌────────────────┼────────────────┐
↓ ↓ ↓
Recognition Judgment Prediction
│ │ │
└────────────────┼────────────────┘
↓
COGNITIVE STATE
│
↓
CAPABILITY
│
↓
METHOD
│
↓
BEHAVIOR
│
↓
ACTION
│
↓
EXECUTION
│
↓
FEEDBACK
│
↓
EXPERIENCE
│
↓
KNOWLEDGE UPDATE
│
└────────→ RE-COGNITION
这个结构意味着:
知识不是认知系统外部的静态资源,而是参与 Cognition 计算的内部结构。
核心结论
第22章可以最终归纳为:
知识驱动认知,是人工个体利用当前知识、历史知识、场景知识和能力知识,对当前场景中的对象、属性、关系、状态和目标进行结构化计算,并形成动态认知状态的过程。
五个核心概念可以压缩为:
当前知识
↓
解释“现在已知什么”
历史知识
↓
提供“过去知道什么、发生过什么”
场景知识
↓
解释“当前环境通常意味着什么”
能力知识
↓
判断“当前情况下能够做什么”
认知状态
↓
形成“我现在认知到了什么”
最终形成:
Current Knowledge
+
Historical Knowledge
+
Scene Knowledge
+
Capability Knowledge
+
Current Scene
+
Goal
↓
Cognitive Computation
↓
Cognitive State
↓
Capability
↓
Behavior
↓
Action
↓
Feedback
↓
Experience
↓
Knowledge Update
↓
Re-Cognition
因此,WSaiOS-ICAI 的知识与认知关系可以用一句话定义:
知识提供认知计算的结构依据,场景提供当前对象与状态,认知将二者结合形成当前认知状态,而认知产生的行动与反馈又不断更新知识,使个体形成持续的知识—认知—行动—学习闭环。