第20章 认知的定义
20.1 Cognition 的重新定义
传统人工智能中,Cognition(认知)通常被理解为对信息进行理解、判断、推理和决策的过程。
但对于 WSaiOS-ICAI 而言,这一定义仍然过于接近人类认知心理学,也容易把认知理解成一种抽象的“思考过程”。
在个体人工智能系统中,认知首先不是语言理解,也不是单纯的信息处理。
认知是人工个体对其所处世界中的对象、属性、关系、状态、事件和场景进行结构化表示、计算、匹配、判断、预测和更新,并形成能够影响后续能力、方法、行为和行动的内部结果的过程。
因此:
Perception
感知
↓
Element
元素
↓
Object
对象
↓
Relation
关系
↓
State
状态
↓
Scene
场景
↓
Cognition
认知
↓
Capability
能力
↓
Method
方法
↓
Behavior
行为
↓
Action
行动
↓
Execution
执行
↓
Feedback
反馈
↓
Re-Cognition
再认知
认知不是这条链上的某一个静态数据。
认知是对这条结构化信息链进行计算,并产生当前个体内部判断结果的过程。
20.2 认知的基本定义
可以将 ICAI 中的认知定义为:
Cognition = Individual 对当前对象、状态、关系、场景及其变化进行结构化计算,并形成可用于能力选择、方法选择、行为生成和行动执行的内部结果。
进一步形式化:
Cognition
=
Perceived Data
+
Knowledge
+
State
+
Relation
+
Scene
+
Experience
+
Goal
+
Computation
因此,认知不是单一输入产生的。
它至少需要多个结构共同参与:
Knowledge
│
↓
Perception → State → Cognition ← Relation
↑
│
Scene
↑
│
Goal
↑
│
Experience
认知的最终结果也不是简单的“知道了”。
而是:
Cognition
↓
Recognition
↓
Understanding
↓
Judgment
↓
Prediction
↓
Capability Selection
↓
Method Selection
↓
Behavior Generation
因此,认知是从“世界状态”向“个体可行动状态”转换的核心机制。
20.3 感知与认知
感知和认知必须严格区分。
20.3.1 感知是什么
Perception 是人工个体获得外部或内部数据的过程。
例如:
Camera
Sensor
Microphone
Network
Database
User Input
System Event
Internal State
都可以成为感知来源。
感知回答:
发生了什么数据变化?
例如:
Camera
↓
检测到一个圆形物体
这属于感知。
但是:
这是一个杯子
已经进入认知阶段。
进一步:
杯子在桌子上
属于对象与关系认知。
再进一步:
杯子可以被抓取
属于能力认知。
因此:
感知
↓
数据获得
↓
对象识别
↓
关系识别
↓
状态形成
↓
场景形成
↓
认知
20.4 感知不是认知
如果:
Sensor → Data
那么只能说明系统获得了数据。
例如传感器得到:
Temperature = 38℃
这只是感知结果。
如果系统进一步判断:
当前温度高于正常工作范围
那么产生了状态认知。
如果继续判断:
当前设备可能处于过热状态
则形成了场景认知。
如果进一步产生:
需要降低设备负载
则进入行为与能力层。
因此:
Perception
↓
Data
Cognition
↓
Meaning
+
State
+
Relation
+
Context
+
Judgment
+
Prediction
感知是认知的输入来源之一。
感知提供数据,认知计算数据。
20.5 知识与认知
知识与认知同样不能等同。
Knowledge 是个体已经获得、保存和组织的结构化信息。
Cognition 是个体利用这些知识对当前对象、状态和场景进行计算。
因此:
Knowledge ≠ Cognition
知识可以长期存在。
认知则具有明显的动态性。
例如系统已经拥有:
Knowledge:
杯子是容器
杯子通常可以被抓取
杯子通常放置在桌面
当当前场景出现:
Cup
+
Table
+
Hand
+
Current Position
系统需要把已有知识与当前状态结合:
Knowledge
+
Current Scene
+
Current State
↓
Cognition
最终得到:
Cup
↓
Located on Table
↓
Accessible
↓
Graspable
↓
Can be moved
这才是认知结果。
因此可以概括为:
知识是认知的结构基础,认知是知识针对当前状态和场景的动态计算。
20.6 知识不是认知结果本身
知识系统可以保存:
Object
Attribute
Relation
Method
Rule
Experience
但是保存这些内容并不意味着个体正在认知。
例如数据库中保存:
Object: Cup
Material: Ceramic
Weight: 300g
这只是知识。
当当前场景出现:
Cup
Position = (10,20)
State = Stable
Target = Move to (50,80)
系统计算:
Cup
+
Current State
+
Target
+
Knowledge
↓
Cognition
↓
Movement Capability Required
认知由此产生。
因此:
Knowledge
↓
Current State
↓
Context
↓
Computation
↓
Cognition
认知具有当前性、上下文性和计算性。
20.7 状态与认知
State 是认知的重要基础,但 State 本身不是 Cognition。
状态描述:
对象、系统或环境当前是什么情况。
例如:
Object State:
Position = A
Velocity = 0
Temperature = 38
Status = Stable
这些属于状态。
认知则需要对状态进行解释和计算:
State
↓
Comparison
↓
Context
↓
Knowledge
↓
Cognition
例如:
Temperature = 38℃
是状态。
而:
Temperature > SafeThreshold
是状态判断。
进一步:
Device may overheat
属于认知。
再进一步:
Cooling Capability Required
则进入能力层。
因此:
State
↓
State Recognition
↓
State Interpretation
↓
Cognition
↓
Capability
20.8 状态变化是认知的重要触发器
ICAI 的认知不是只发生一次。
世界不断变化,状态不断变化,因此认知也必须不断重新计算。
State₁
↓
Cognition₁
↓
Action
↓
State₂
↓
Cognition₂
↓
Action
↓
State₃
↓
Cognition₃
这形成:
Continuous Cognition(连续认知)
因此,认知不能被理解成一个静态结果。
它更接近:
Cognition(t)
=
f(
State(t),
Scene(t),
Knowledge(t),
Experience(t),
Goal(t)
)
当任何重要变量发生变化:
State(t+1) ≠ State(t)
就可能导致:
Cognition(t+1) ≠ Cognition(t)
因此,ICAI 的认知具有时间维度。
20.9 认知与场景
单独理解对象往往不足以产生完整认知。
同一个对象,在不同场景中可能具有不同意义。
例如:
Cup
在不同场景中:
Kitchen
Office
Restaurant
Moving Vehicle
Broken Environment
其可执行能力、风险和行为可能完全不同。
因此:
Object
+
State
+
Relation
+
Environment
+
Event
↓
Scene
↓
Cognition
认知实际上是场景级计算。
例如:
Cup
+
Table
+
Hand
+
Distance
+
Obstacle
+
Goal
↓
Scene Cognition
系统由此判断:
Cup is reachable
或者:
Cup is blocked
或者:
Cup is unstable
因此,认知不是脱离场景的对象识别。
认知是对象在场景中的结构化计算。
20.10 认知的计算性
这是 ICAI 对 Cognition 重新定义的核心。
传统意义上的“认知”容易被描述成:
理解
思考
判断
推理
这些概念比较抽象。
ICAI 则要求:
认知必须能够被表示、被计算、被比较、被更新。
因此:
Cognition
=
Structured Computation
认知至少包含以下计算类型。
20.10.1 匹配计算
Current State
+
Knowledge
↓
Pattern Matching
↓
Recognized Structure
例如:
Current Object
↓
Match
↓
Known Object Type
20.10.2 状态计算
Previous State
+
Current Data
↓
Current State
例如:
Position₁
+
Velocity
+
Time
↓
Position₂
20.10.3 关系计算
Object A
+
Object B
+
Spatial Data
↓
Relation
例如:
Cup
↓
on
↓
Table
20.10.4 场景计算
Objects
+
Relations
+
States
+
Environment
+
Events
↓
Scene
20.10.5 目标差距计算
Current State
+
Target State
↓
State-Goal Gap
例如:
Current Position = A
Target Position = B
↓
Movement Required
20.10.6 能力计算
Current State
+
Goal
+
Available Knowledge
+
Available Capability
↓
Capability Matching
这与第17章的能力匹配直接连接。
20.10.7 方法计算
Capability
+
Current Parameters
+
Constraints
↓
Method Selection
因此:
Cognition
↓
Capability
↓
Method
认知最终必须能够产生对行动有意义的计算结果。
20.11 认知不是单一计算
Cognition 并不是一个简单函数。
它实际上是多个计算过程的组合:
┌─ Recognition
│
├─ State Calculation
│
├─ Relation Calculation
Input Data ───┼─ Scene Calculation
│
├─ Matching
│
├─ Prediction
│
├─ Goal Comparison
│
└─ Capability Evaluation
↓
Cognition
因此可以把 Cognition 理解成一个:
Cognitive Computation Process
即:
认知计算过程。
20.12 认知的输入与输出
认知具有明确的输入和输出。
输入
Perception
Knowledge
State
Relation
Scene
Experience
Goal
History
输出
Recognition
Understanding
State Judgment
Prediction
Risk
Goal Gap
Capability Requirement
Method Requirement
Action Requirement
因此:
Perception
Knowledge
State
Scene
Experience
Goal
↓
Cognition
↓
Recognition
Judgment
Prediction
Capability
Method
Behavior
Action
这使认知成为整个 ICAI 系统中的核心转换层。
20.13 认知与能力的关系
前面的第14—19章已经建立了能力体系:
Knowledge
↓
Parameter
↓
Capability
↓
Capability Structure
↓
Capability Matching
↓
Capability Instance
↓
Capability Composition
第20章进一步回答:
是谁决定当前需要什么能力?
答案就是:
Cognition。
因此:
Scene
↓
Cognition
↓
Goal Analysis
↓
Capability Requirement
↓
Capability Matching
↓
Capability Instance
能力本身不是认知。
能力是认知计算之后可以被调用的执行性质。
所以:
Cognition = 判断“现在是什么、需要什么”
Capability = 判断“我能不能完成”
Method = 判断“应该怎么完成”
Behavior = “具体表现”
Action = “具体行动”
Execution = “实际执行”
20.14 认知与行为
认知不是行为。
行为是认知之后的外部表现之一。
Cognition
↓
Decision
↓
Behavior
↓
Action
↓
Execution
例如:
Cognition:
杯子在桌面上并且可以抓取
↓
Capability:
Grasp Capability
↓
Method:
Approach → Contact → Grip
↓
Behavior:
Reach and Grasp
↓
Action:
Move Hand
↓
Execution:
Device Movement
因此:
认知决定行为的内部依据,行为是认知结果进入行动系统后的动态表现。
20.15 认知的动态性
ICAI 中的 Cognition 必须是动态的。
因为:
World changes
↓
State changes
↓
Scene changes
↓
Cognition changes
同时:
Knowledge changes
↓
Cognition changes
Experience changes
↓
Cognition changes
Goal changes
↓
Cognition changes
因此:
Cognition
=
f(
World State,
Knowledge,
Experience,
Goal,
History
)
认知本身也可以形成历史:
Cognition₁
↓
Cognition₂
↓
Cognition₃
↓
Cognition₄
这些历史可以参与下一次认知。
于是形成:
Current Cognition
+
Historical Cognition
↓
New Cognition
这与前面的 Historical Cognitive Structure 直接连接。
20.16 再认知
认知不是终点。
执行之后,环境会发生变化,系统必须重新认知。
完整循环:
Perception
↓
Cognition
↓
Capability
↓
Method
↓
Behavior
↓
Action
↓
Execution
↓
Feedback
↓
State Update
↓
Perception
↓
Re-Cognition
因此:
Re-Cognition 是 ICAI 连续认知的重要机制。
例如:
认知:
目标在前方
↓
行动:
向目标移动
↓
反馈:
目标距离缩短
↓
状态更新:
位置发生变化
↓
再认知:
目标仍未到达
↓
继续行动
如果:
目标消失
那么:
Re-Cognition
↓
Scene Changed
↓
Capability Re-Matching
如果:
道路被阻挡
则:
Re-Cognition
↓
Original Method Invalid
↓
New Method Selection
因此,认知不是“一次判断”。
而是一个持续循环。
20.17 认知的完整结构
综合本章,可以建立 ICAI 的 Cognition 结构:
Cognition
│
┌─────────────┼─────────────┐
↓ ↓ ↓
Recognition State Relation
│ Analysis │
└─────────────┼─────────────┘
↓
Scene
↓
Context Analysis
↓
Knowledge
↓
Experience
↓
Goal Analysis
↓
State-Goal Gap
↓
Capability Need
↓
Capability Match
↓
Method Selection
↓
Behavior Generation
↓
Action Selection
因此,Cognition 是一个中间计算层,同时也是整个个体智能的核心控制认知层。
20.18 Cognition 的工程抽象
从面向对象的角度,可以把 Cognition 看成一个独立的认知对象:
Cognition
├── Cognition Identity
├── Cognition Type
├── Input
├── Perception
├── Objects
├── Relations
├── States
├── Scene
├── Knowledge
├── Experience
├── Goal
├── Context
├── Computation
├── Judgment
├── Prediction
├── Capability Requirement
├── Method Requirement
├── Behavior Requirement
├── Confidence
├── Cognition State
└── Timestamp
其中:
Input
↓
Cognitive Processing
↓
Cognitive Result
认知结果可以成为下一层系统的输入:
Cognition Result
↓
Capability Matching
↓
Method Selection
↓
Behavior
也可以重新进入认知:
Cognition
↓
Action
↓
Feedback
↓
New Cognition
20.19 Cognition State
认知本身也可以具有状态。
例如:
Unknown
↓
Receiving
↓
Recognizing
↓
Computing
↓
Evaluating
↓
Judging
↓
Predicting
↓
Completed
当信息不足时:
Incomplete Cognition
当信息冲突时:
Conflicted Cognition
当环境变化时:
Invalid Cognition
当重新计算后:
Updated Cognition
因此:
Cognition State
=
Current Cognitive Validity
认知不是永远正确的。
它可能:
形成
→
有效
→
失效
→
重新计算
→
更新
这也是 ICAI 与静态知识系统的重要区别。
20.20 Cognition、Knowledge、State、Capability 的关系
四者可以形成一个完整结构:
Knowledge
│
│ provides structure
↓
Cognition
↑
│ computes
│
State + Scene + Perception
│
↓
Capability Requirement
↓
Capability
↓
Method
↓
Behavior
↓
Action
可以进一步概括为:
Knowledge
= What is known
State
= What is now
Perception
= What is detected
Cognition
= What is computed
Capability
= What can be done
Method
= How it can be done
Behavior
= How it is manifested
Action
= What is actually performed
这组定义构成 ICAI 的基本认知—行动语义链。
20.21 认知的核心公式
可以将本章最终抽象为:
Cognition(t)
=
Compute(
Perception(t),
Knowledge(t),
State(t),
Relation(t),
Scene(t),
Experience(t),
Goal(t),
History(t)
)
认知结果:
Cognition(t)
↓
Recognition
+
Judgment
+
Prediction
+
Goal Gap
+
Capability Requirement
+
Method Requirement
然后进入:
Capability
↓
Method
↓
Behavior
↓
Action
↓
Execution
执行产生:
Feedback
↓
State(t+1)
↓
Cognition(t+1)
于是形成完整的动态闭环:
┌──────────────────────────────┐
│ ↓
Perception → Cognition → Capability → Method
↑ ↓
│ Behavior
│ ↓
Feedback ← Execution ← Action
│
↓
State Update
│
└────────→ Re-Cognition
20.22 第20章与前面章节的关系
第14—19章建立的是:
Capability System
能力体系
而第20章开始进入:
Cognition System
认知体系
两者关系为:
第14章
能力定义
↓
第15章
知识到能力
↓
第16章
能力结构
↓
第17章
能力匹配
↓
第18章
能力实例化
↓
第19章
能力组合
↓
第20章
认知定义
因此,第20章实际上承担一个重要的理论转换:
Knowledge
↓
Cognition
↓
Capability
↓
Action
前面研究的是:
个体具有什么能力,以及能力如何形成、匹配、实例化和组合。
从第20章开始,核心问题变成:
个体如何对世界进行认知,并通过认知驱动能力。
20.23 Cognition 的最终定义
综合本章,可以重新定义 ICAI 中的 Cognition:
Cognition 是人工个体基于感知数据、知识、状态、关系、场景、经验和目标,对当前世界结构及其变化进行持续结构化计算,并形成识别、判断、预测、能力需求和行动依据的内部动态过程。
因此:
感知不是认知
知识不是认知
状态不是认知
能力不是认知
行为不是认知
行动不是认知
而是:
感知
+
知识
+
状态
+
关系
+
场景
+
经验
+
目标
↓
认知计算
↓
Cognition
↓
能力
↓
方法
↓
行为
↓
行动
核心结论
第20章最核心的定义可以归纳为一句话:
认知不是“知道”,而是人工个体把感知、知识、状态、关系、场景、经验与目标进行结构化计算,并持续形成能够驱动能力、方法、行为和行动的内部结果。
进一步压缩为:
Perception = 获取
Knowledge = 已知
State = 当前
Scene = 环境结构
Cognition = 计算
Capability = 能做
Method = 怎么做
Behavior = 如何表现
Action = 实际行动
Feedback = 结果反馈
因此,WSaiOS-ICAI 的认知核心不是:
Input → Thinking → Output
而是:
World
↓
Perception
↓
Structure
↓
State
↓
Scene
↓
Cognitive Computation
↓
Cognition
↓
Capability
↓
Method
↓
Behavior
↓
Action
↓
Execution
↓
Feedback
↓
State Update
↓
Re-Cognition
认知由此从一个抽象的“思维概念”,转化为一个能够被结构化表示、计算、更新、验证,并持续连接世界状态与个体行动的核心人工智能机制。