第65章 人的认知工程模型
第64章建立了:
External World
↓
Perception
↓
Element
↓
Object
↓
Relation
↓
Event
↓
Perceptual Model
解决的是:
人如何把现实世界转换成可以进入认知系统的信息。
第65章进一步解决:
人如何利用这些信息形成认识、记忆、匹配、推理、判断、决策、行动和学习。
因此,本章建立:
Perceptual Model
↓
Cognitive Processing
↓
Cognitive Model
↓
Decision
↓
Action
↓
Learning
65.1 什么是人的认知
人的认知不是单一过程。
它是多个过程共同形成的系统:
Perception
↓
Recognition
↓
Memory
↓
Matching
↓
Classification
↓
Reasoning
↓
Evaluation
↓
Decision
↓
Action
↓
Learning
因此可以定义:
认知是个体对感知信息进行内部表示、组织、匹配、记忆、推理、评价、决策和学习的持续过程。
工程化之后:
Input
↓
Representation
↓
Processing
↓
Inference
↓
Decision
↓
Output
↓
Learning
65.2 感知与认知的边界
第64章:
Perception
主要回答:
我获得了什么信息?
第65章:
Cognition
主要回答:
这些信息意味着什么?它们之间有什么关系?我应该如何处理?
例如:
视觉输入
↓
红色
圆形
位于前方
这是:
Perception
进一步:
这些特征可能构成一个球
是:
Recognition
再进一步:
球正在向我移动
是:
State / Event Recognition
最后:
需要避开
是:
Decision
因此:
Perception
↓
Cognition
↓
Action
65.3 人的认知工程基本链条
可以建立:
Perceptual Input
↓
Element
↓
Object
↓
Class
↓
Relation
↓
Memory
↓
Matching
↓
Reasoning
↓
Evaluation
↓
Decision
↓
Action
↓
Learning
这条链是 WSaiOS 个体认知工程的核心运行链。
65.4 Cognitive Element
第64章的感知元素进入认知系统后,需要进一步形成:
Cognitive Element
可以定义:
Cognitive Element 是能够被个体认知系统进行表示、比较、关联、记忆和处理的基本信息单元。
因此:
Perceptual Element
↓
Cognitive Element
二者存在区别。
Perceptual Element
=
感知产生的元素
Cognitive Element
=
已经进入认知处理空间的元素
例如:
视觉感知:
Red
Round
Moving
进入认知系统后:
Color = Red
Shape = Round
State = Moving
成为结构化认知元素。
65.5 Cognitive Object
多个认知元素可以形成:
Cognitive Object
例如:
Color = Red
Shape = Round
Size = Small
Position = Front
组合:
Object
因此:
Element
↓
Object
仍然是认知系统最基本的结构形成过程。
65.6 Cognitive Class
当多个对象具有共同结构时,可以形成:
Class
例如:
Object A
Object B
Object C
共同具有:
Shape
Color
Function
可以形成:
Class
因此:
Object
↓
Classification
↓
Class
这也是人的认知从:
具体个体
进入:
抽象类别
的重要过程。
65.7 Individual Class 与 Group Class
延续第57章的认知类工程模型:
Class
├── Individual Class
└── Group Class
例如:
Apple
可以表示:
Individual:
Apple A
Group:
Apples
而:
Fruit
又可以成为更高层 Class。
形成:
Apple
↓
Fruit
↓
Food
因此认知系统可以建立层次化分类结构。
65.8 Inheritance
认知分类不仅是标签集合,还可以形成继承关系:
Fruit
↓
Apple
Apple 继承 Fruit 的某些属性:
Fruit
├── edible
├── biological
└── food
Apple
├── color
├── variety
└── taste
因此:
Class
↓
Inheritance
↓
SubClass
这使认知系统具有层次结构。
65.9 Composition
对象还可以由多个对象组成:
Car
├── Engine
├── Wheel
├── Door
└── Seat
形成:
Composition
因此人的认知不仅可以:
分类
还可以:
组合
形成复杂对象模型。
65.10 Cognitive Relation
认知对象之间存在关系:
Object A
↓
Relation
↓
Object B
例如:
A is part of B
A is near B
A causes B
A precedes B
A belongs to B
A depends on B
因此:
Cognitive Object
+
Relation
↓
Cognitive Structure
这一步非常重要。
因为:
认知不是孤立对象集合,而是对象与关系组成的结构。
65.11 Cognitive Context
同一个对象在不同上下文中可能具有不同意义。
例如:
Object:
"Apple"
在:
Food Context
可能表示:
水果
在:
Technology Context
可能表示:
Apple 公司 / 产品生态
因此认知对象不能完全脱离:
Context
认知模型可以表示:
Cognitive Context
{
objects,
relations,
states,
events,
goals,
time,
location
}
65.12 Memory
人的认知不能只处理当前输入。
必须存在:
Memory
Memory 保存:
Past Objects
Past Events
Past Relations
Past Experiences
Past Decisions
Past Results
因此:
Current Perception
+
Memory
↓
Cognition
这是人类认知区别于简单实时信号处理的重要地方。
65.13 Memory 的工程结构
可以将 Memory 分成:
Memory
├── Object Memory
├── Event Memory
├── Relation Memory
├── Experience Memory
├── Task Memory
├── Result Memory
└── Model Memory
例如:
Event Memory
保存:
Event
Timestamp
Context
Result
而:
Object Memory
保存:
Object
Attributes
State
Relations
65.14 当前认知与过去经验
人的认知经常发生:
Current Input
↓
Memory Retrieval
↓
Past Experience
↓
Comparison
↓
Recognition
因此:
当前
+
过去
=
认知判断基础
工程上:
Current Object
↓
Matching
↑
Memory
65.15 Matching 在认知中的位置
第59章已经建立 Matching。
在人的认知模型中:
Perception
↓
Object
↓
Matching
↑
Memory / Knowledge
Matching 用于:
识别
比较
归类
关联
检索
判断相似性
因此:
Matching 是连接当前感知与已有认知结构的核心机制。
65.16 Matching 不等于 Recognition
二者也必须区分。
Matching
=
比较两个或多个认知结构
而:
Recognition
=
根据匹配结果确定对象或状态
例如:
Current Object
↓
Matching
↓
Candidate A = 0.91
Candidate B = 0.43
↓
Recognition
↓
Object A
因此:
Matching
↓
Recognition
65.17 Knowledge
Memory 中积累的信息经过组织后,可以形成:
Knowledge
可以简单表示:
Experience
↓
Memory
↓
Relation
↓
Pattern
↓
Knowledge
知识不是简单的数据堆积。
它包含:
Objects
Classes
Attributes
Relations
Rules
Patterns
因此:
Knowledge
=
Structured Cognitive Information
65.18 Memory 与 Knowledge
二者不能混淆。
Memory
=
保存经历和信息
Knowledge
=
组织后的可复用认知结构
例如:
Memory:
昨天看到某辆车
知识可能是:
某种车辆具有某些特征
因此:
Experience
↓
Memory
↓
Knowledge
是一个重要的认知工程过程。
65.19 Pattern
人在认知中会发现重复结构:
A
B
C
A
B
C
逐渐形成:
Pattern
例如:
条件
↓
行为
↓
结果
反复出现后形成:
Pattern
Pattern 可以进一步支持:
Prediction
Reasoning
Decision
因此:
Experience
↓
Pattern
↓
Knowledge
65.20 Rule
知识进一步可以形成规则:
Condition
↓
Rule
↓
Conclusion / Action
例如:
If
temperature > threshold
Then
state = hot
因此:
Knowledge
↓
Rule
规则成为 Reasoning Engine 可以直接执行的认知结构。
65.21 Reasoning
推理是认知系统的重要过程。
输入:
Objects
Relations
Knowledge
Rules
Context
输出:
Conclusion
可以表示:
Knowledge
+
Rule
+
Context
↓
Reasoning
↓
Conclusion
因此:
Reasoning 是认知系统从已有结构产生新认知结果的过程。
65.22 Reasoning 不等于 Knowledge
知识:
系统已经拥有的结构
推理:
利用已有结构产生新结果
因此:
Knowledge
↓
Reasoning
↓
New Knowledge / Conclusion
例如:
A > B
B > C
通过推理:
A > C
这就是新产生的认知结果。
65.23 Evaluation
人的认知不仅推理,还需要评价。
例如:
方案 A
方案 B
方案 C
需要评价:
Cost
Risk
Benefit
Probability
Priority
形成:
Evaluation Result
因此:
Reasoning
↓
Evaluation
是从“得出结论”到“判断价值”的重要步骤。
65.24 Decision
Decision 是:
Evaluation
↓
Selection
例如:
Option A = 80
Option B = 60
Option C = 90
得到:
Decision = C
因此:
Reasoning
↓
Evaluation
↓
Decision
65.25 Goal
人的认知不是完全随机运行的。
通常围绕:
Goal
展开。
例如:
Goal:
Find supplier
认知过程可能是:
Perception
↓
Object Recognition
↓
Matching
↓
Knowledge Retrieval
↓
Reasoning
↓
Evaluation
↓
Decision
因此:
Goal 决定认知系统为什么执行某个认知过程。
65.26 Goal 与 Task
二者也需要区分:
Goal
=
希望达到什么结果
Task
=
为了达到目标需要完成什么具体任务
例如:
Goal:
Find reliable supplier
Task:
Search suppliers
Compare suppliers
Evaluate suppliers
因此:
Goal
↓
Task
↓
Cognitive Process
65.27 Attention
人的认知不会同时平等处理所有信息。
因此需要:
Attention
注意力决定:
哪些感知信息进入更深层认知处理。
例如:
Perception
↓
100 Elements
↓
Attention
↓
10 Relevant Elements
↓
Cognition
工程上可以表示为:
Element
{
relevance,
priority,
attention
}
65.28 Attention 与 Context
注意力不是完全独立的。
例如:
Goal
+
Context
+
Current State
共同影响:
Attention
形成:
Goal
↓
Attention
↑
Context
↑
State
因此:
注意力可以被理解为认知资源对当前任务相关信息的选择机制。
这里不要求复制人脑神经机制,而是建立可执行的工程抽象。
65.29 Cognitive State
第61章的 State 在这里得到具体化。
认知状态可能包括:
Idle
Perceiving
Recognizing
Retrieving
Matching
Reasoning
Evaluating
Deciding
Acting
Learning
Unknown
Error
因此:
Cognitive State Machine
可以驱动:
Cognitive Engine
65.30 Cognitive Process
将前面的结构统一:
Goal
↓
Task
↓
Perception
↓
Attention
↓
Representation
↓
Memory
↓
Matching
↓
Reasoning
↓
Evaluation
↓
Decision
↓
Action
↓
Learning
这就是:
人的认知工程过程模型。
65.31 Cognitive Representation
认知系统必须有内部表示。
否则:
Input
无法进入:
Memory
Matching
Reasoning
因此需要:
Representation
其基本结构可以是:
Representation
├── Element
├── Object
├── Class
├── Attribute
├── State
├── Relation
├── Event
├── Context
└── Goal
这与前面 WSaiOS 的核心对象模型完全连接。
65.32 Cognitive Model
因此:
Cognitive Representation
↓
Cognitive Model
可以定义:
Cognitive Model 是个体对对象、属性、状态、关系、事件、类别、知识、目标和经验进行结构化表示的内部模型。
例如:
Cognitive Model
├── Objects
├── Classes
├── Relations
├── Knowledge
├── Memory
├── Goals
├── Rules
└── Patterns
65.33 Cognitive Engine
第63章已经建立:
Cognitive Engine
现在它接收:
Perceptual Model
然后:
Perceptual Model
↓
Cognitive Engine
↓
Cognitive Model
↓
State Machine
↓
Modules
↓
Methods
↓
Result
因此:
Cognitive Engine 是认知模型的运行机制。
65.34 人的认知工程模块
可以将完整认知系统模块化:
Human Cognitive System
│
├── Perception Module
├── Attention Module
├── Representation Module
├── Object Module
├── Class Module
├── Relation Module
├── Memory Module
├── Matching Module
├── Knowledge Module
├── Pattern Module
├── Reasoning Module
├── Evaluation Module
├── Goal Module
├── Decision Module
├── Action Module
└── Learning Module
这些模块由:
Cognitive Engine
统一协调。
65.35 模块之间的数据流
完整数据流:
External World
↓
Perception
↓
Elements
↓
Attention
↓
Representation
↓
Objects
↓
Classes / Relations
↓
Memory
↓
Matching
↓
Knowledge
↓
Reasoning
↓
Evaluation
↓
Decision
↓
Action
↓
Experience
↓
Learning
↓
Memory / Knowledge / Model
这是人的认知工程闭环。
65.36 认知闭环
最终形成:
┌───────────────┐
│ External World│
└───────┬───────┘
↓
Perception
↓
Cognition
↓
Decision
↓
Action
↓
┌───────┴───────┐
↓ │
Environment │
↓
Learning
↓
Cognitive Model
│
└──────→ Next Cognition
因此人的认知不是:
Input → Output
而是:
Perception
↓
Cognition
↓
Action
↓
Experience
↓
Learning
↓
Updated Cognition
65.37 Cognitive Engine 中的完整运行结构
结合第63章:
Cognitive Engine
│
┌─────────────────┼─────────────────┐
↓ ↓ ↓
Task Context Goal
│ │ │
└─────────────────┼─────────────────┘
↓
State Machine
↓
Scheduler
↓
Cognitive Module
↓
Method
↓
Result
↓
Evaluation
↓
Decision
↓
Action
↓
Learning
↓
Model Update
65.38 人的认知工程数据结构
可以将一个认知过程抽象为:
CognitiveProcess
{
id,
individual_id,
goal,
task,
context,
perception,
attention,
representation,
memory,
knowledge,
state,
reasoning,
evaluation,
decision,
action,
result,
learning
}
这已经不是单纯的理论描述。
它可以直接成为:
Database Schema
或者:
Runtime Object
65.39 Cognitive Model 的运行对象
可以进一步定义:
CognitiveInstance
表示:
某一个具体认知过程在某一个时间点的运行实例。
例如:
CognitiveInstance
{
task_id: 1001,
state: "reasoning",
context: {...},
objects: [...],
relations: [...],
conclusions: [...]
}
因此:
Cognitive Model
=
长期结构
而:
Cognitive Instance
=
一次具体认知过程
这一区分对于后续工程实现非常重要。
65.40 Cognitive Model 与 Cognitive Instance
可以表示:
Cognitive Model
↓
Create
↓
Cognitive Instance
↓
Run
↓
Result
↓
Learning
↓
Model Update
这与面向对象系统中的:
Class
↓
Object
存在类似的工程关系,但不能简单等同。
65.41 认知过程中的 State Update
每一次认知操作都可能改变状态:
Perceiving
↓
Recognizing
↓
Matching
↓
Reasoning
↓
Decision
状态变化:
State(t)
↓
Method
↓
Result
↓
State(t+1)
因此:
认知过程本质上是认知状态不断变化的过程。
65.42 认知与时间
认知不是静态结构。
可以表示:
Cognitive State(t0)
↓
Experience
↓
Cognitive State(t1)
↓
Experience
↓
Cognitive State(t2)
因此:
Cognitive Model
虽然相对稳定,但:
Cognitive State
持续变化。
而:
Learning
会进一步改变:
Cognitive Model
65.43 认知学习闭环
完整模型:
Perception
↓
Representation
↓
Memory
↓
Matching
↓
Reasoning
↓
Decision
↓
Action
↓
Outcome
↓
Evaluation
↓
Learning
↓
Memory Update
↓
Knowledge Update
↓
Model Update
最终:
Updated Model
↓
Next Cognition
形成:
Cognition → Experience → Learning → Cognition
闭环。
65.44 人的认知工程总模型
到这里,可以建立第65章最核心的模型:
External World
↓
Perception
↓
Perceptual Model
↓
Attention
↓
Cognitive Elements
↓
Objects
↓
Classes / Relations
↓
Memory
↓
Matching
↓
Knowledge
↓
Pattern
↓
Reasoning
↓
Evaluation
↓
Goal
↓
Decision
↓
Action
↓
Outcome
↓
Learning
↓
┌────────────┴────────────┐
↓ ↓
Memory Cognitive Model
↑ ↑
└─────────────┬───────────┘
↓
Next Cognition
65.45 人的认知工程模型的层次
可以进一步压缩成八层:
第一层:感知层
Perception
第二层:表示层
Representation
第三层:记忆层
Memory
第四层:匹配层
Matching
第五层:知识层
Knowledge
第六层:推理层
Reasoning
第七层:决策层
Decision
第八层:学习层
Learning
即:
Perception
↓
Representation
↓
Memory
↓
Matching
↓
Knowledge
↓
Reasoning
↓
Decision
↓
Learning
这八层构成一个最小完整的个体认知工程模型。
65.46 与第64章的关系
第64章:
现实世界
↓
感知
↓
感知模型
第65章:
感知模型
↓
认知
↓
决策
↓
行动
↓
学习
因此:
第64章
World → Perception
第65章
Perception → Cognition
两章连接:
World
↓
Perception
↓
Cognition
↓
Action
↓
Learning
65.47 与第63章的关系
第63章建立:
Module
↓
Cognitive Engine
第65章则定义 Engine 到底运行什么:
Perception
Attention
Memory
Matching
Knowledge
Reasoning
Evaluation
Decision
Action
Learning
因此:
第63章
Engine = 如何运行
第65章
Cognition = 运行什么
最终:
Cognitive Model
↓
Cognitive Engine
↓
Cognitive Modules
↓
Cognitive Process
65.48 与 EOM 理论的关系
如果回到 WSaiOS 最基础的:
Element
Object
Method
那么人的认知工程可以进一步表示:
Perception
↓
Element
↓
Object
↓
Relation
↓
Method
↓
Result
其中:
Element
=
认知信息单元
Object
=
认知对象
Relation
=
认知结构
Method
=
认知操作
Result
=
认知结果
然后:
Result
↓
Memory
↓
Knowledge
↓
Learning
这使 EOM 不再只是静态对象模型,而成为动态认知工程基础。
65.49 人的认知工程最小单元
可以进一步提出一个重要抽象:
Cognitive Unit
最小结构:
Input
↓
Object
↓
Method
↓
Result
例如:
Object A
+
Object B
↓
Matching Method
↓
Match Result
再复杂一些:
Context
+
Objects
+
Knowledge
↓
Reasoning Method
↓
Conclusion
因此:
认知可以被工程化为一组连续的 Cognitive Units。
65.50 Cognitive Unit → Cognitive Process
多个 Cognitive Unit 组合:
Unit 1
↓
Unit 2
↓
Unit 3
↓
Unit 4
形成:
Cognitive Process
多个 Cognitive Process 在 Engine 中运行:
Cognitive Process
↓
Cognitive Engine
因此:
Cognitive Unit
↓
Cognitive Process
↓
Cognitive Engine
↓
Individual Cognitive System
65.51 第65章核心定义
Cognition
认知是个体对感知信息进行表示、组织、记忆、匹配、分类、推理、评价、决策和学习的持续过程。
Cognitive Element
Cognitive Element 是进入个体认知空间并能够被进一步处理的基本信息单元。
Cognitive Object
Cognitive Object 是由相关认知元素组织形成、可以参与关系、匹配、推理和决策的认知对象。
Cognitive Model
Cognitive Model 是个体对对象、类别、属性、状态、关系、事件、记忆、知识、目标和经验进行结构化组织的内部模型。
Cognitive Process
Cognitive Process 是个体在特定目标、任务和上下文中,通过一系列认知操作完成信息处理、判断和决策的动态过程。
Cognitive Engine
Cognitive Engine 是驱动 Cognitive Process 持续运行并协调各认知模块的工程执行系统。
65.52 第65章最终模型
最终:
HUMAN
↓
Perception
↓
Perceptual Model
↓
Cognition
↓
┌─────────────┼─────────────┐
↓ ↓ ↓
Representation Memory Attention
↓ ↓ ↓
└─────────────┼─────────────┘
↓
Matching
↓
Knowledge
↓
Reasoning
↓
Evaluation
↓
Goal
↓
Decision
↓
Action
↓
Outcome
↓
Learning
↓
Cognitive Model Update
↓
Next Cognition
因此,第65章真正建立的是:
人的认知
↓
认知结构
↓
认知过程
↓
认知状态
↓
认知模块
↓
Cognitive Engine
↓
可执行个体认知系统
65.53 第64章 → 第65章 → 后续体系
现在整个理论链已经进一步清晰:
第64章
人的感知工程模型
External World
↓
Perception
↓
Perceptual Model
第65章
人的认知工程模型
Perceptual Model
↓
Cognition
↓
Cognitive Model
↓
Decision
↓
Action
↓
Learning
再结合前面:
第63章
Cognitive Engine
Cognitive Model
↓
State Machine
↓
Modules
↓
Methods
↓
Execution
因此三章最终连接成:
External World
↓
Perception
↓
Perceptual Model
↓
Cognitive Model
↓
State Machine
↓
Cognitive Engine
↓
Modules
↓
Methods
↓
Decision
↓
Action
↓
Experience
↓
Learning
↓
Model Update
↓
New Cognition
这就形成了 WSaiOS 个体人工智能最核心的一条闭环:
感知现实 → 建立认知 → 执行行为 → 获得经验 → 更新模型 → 再次认知。
也就是说,第65章把前面的 Element、Object、Class、Relation、Matching、Method、State、Module、Cognitive Engine 全部第一次统一到了一个完整的人的认知工程模型中。