第60章 从个体认知到个体模型
前面的章节逐步建立了:
Element
↓
Object
↓
Class
↓
Relation
↓
Method
↓
Matching
↓
Data Structure
↓
Algorithm
这些内容解决的是:
认知对象如何被表示,以及认知过程如何被工程化。
第60章进一步解决一个更高层的问题:
如果认知属于一个具体个体,那么如何把这个个体本身建模为一个可运行的认知系统?
因此:
个体认知
↓
个体结构
↓
个体模型
↓
个体认知系统
60.1 什么是个体认知
个体认知不是一个抽象的“智能”。
它属于一个具体的认知主体。
可以表示为:
Individual
↓
Perception
↓
Memory
↓
Knowledge
↓
Reasoning
↓
Decision
↓
Action
例如一个个体面对:
electric toothbrush supplier
并不是简单地读取字符串。
而是经过:
输入
↓
识别
↓
元素提取
↓
对象形成
↓
类别判断
↓
关系建立
↓
记忆匹配
↓
知识调用
↓
判断
↓
输出
因此:
个体认知是一个连续的内部信息处理过程。
60.2 个体是认知的主体
在传统数据模型中:
Object
是系统处理的对象。
而在个体认知模型中,还需要:
Individual
作为认知主体。
于是出现两个不同概念:
Cognitive Subject
↓
Individual
↓
Cognitive Object
例如:
Individual:
Shawn
Object:
Electric Toothbrush
个体:
Shawn
是认知主体。
而:
Electric Toothbrush
是认知对象。
因此:
Subject ≠ Object
这是个体认知模型的重要基础。
60.3 个体模型
个体模型不是简单保存一个人的基本资料。
它描述的是:
一个个体如何形成、保存、处理和使用自己的认知结构。
可以定义为:
Individual Model
├── Identity
├── Perception
├── Elements
├── Objects
├── Classes
├── Relations
├── Memory
├── Knowledge
├── Methods
├── Matching
├── Reasoning
├── Decision
└── Action
因此:
Individual Model
=
Individual
+
Cognitive Structure
+
Cognitive Process
+
Cognitive State
60.4 个体身份
任何个体模型首先必须能够识别:
Who is the cognitive subject?
因此需要:
Identity
例如:
Individual ID
Individual Type
Individual State
Individual Context
工程上可以形成:
Individual
{
id,
type,
state,
context
}
其中 id 用来确定:
这是哪个个体的认知系统。
60.5 个体认知空间
个体不会直接拥有整个世界的知识。
它拥有的是:
属于自身的认知空间。
可以表示为:
World
↓
Perception
↓
Individual Cognitive Space
个体认知空间可以包含:
Elements
Objects
Classes
Relations
States
Methods
Memory
Knowledge
因此:
Individual
↓
Cognitive Space
↓
Cognitive Objects
不同个体可能面对同一个外部对象,但形成不同的内部认知结构。
60.6 个体认知空间不是现实世界
这是个体模型中的一个重要区别。
Reality
是外部世界。
而:
Cognitive Space
是个体对外部世界形成的内部表示。
因此:
Reality
↓
Perception
↓
Cognitive Representation
不能简单认为:
Cognitive Representation = Reality
更准确地说:
Cognitive Representation
=
Individual
对
Reality
的内部结构化表示
60.7 个体模型中的 Object
在个体模型中:
Object
不再只是数据库记录。
它是:
个体认知空间中被识别、描述、关联和操作的认知对象。
例如:
Object:
Electric Toothbrush
它可以具有:
Attributes
State
Relations
Class
Memory
Context
于是对象成为:
Individual
↓
Cognitive Space
↓
Object
60.8 个体模型中的 Memory
个体认知不能没有 Memory。
因为当前认知过程需要调用过去形成的结构。
基本过程:
Current Input
↓
Perception
↓
Matching
↓
Memory Retrieval
↓
Knowledge
↓
Reasoning
因此 Memory 不是简单的数据仓库。
它承担:
保存
检索
关联
更新
强化
失效
等认知功能。
60.9 Memory 与 Knowledge
两者需要区分。
Memory
=
保存过什么
而:
Knowledge
=
已经形成了什么可使用的认知结构
例如:
Memory
曾经遇到:
electric toothbrush supplier
经过多次认知处理以后,可以形成:
Knowledge
electric toothbrush
↓
product
以及:
supplier
↓
business role
因此:
Experience
↓
Memory
↓
Processing
↓
Knowledge
60.10 个体模型中的 Learning
个体模型必须能够发生变化。
否则它只是静态数据库。
因此:
Input
↓
Cognition
↓
Result
↓
Memory Update
↓
Knowledge Update
↓
Model Update
这就是:
Learning
学习的本质不是“增加文字”。
而是:
个体内部认知结构发生可持续变化。
例如:
Before:
Object A
↓
unknown relation
经过学习:
After:
Object A
↓
Relation
↓
Object B
模型因此发生变化。
60.11 个体模型中的 State
个体模型本身也具有状态。
例如:
Individual State
可以描述:
idle
perceiving
processing
matching
reasoning
deciding
acting
learning
于是个体认知可以表现为:
Idle
↓
Perception
↓
Processing
↓
Matching
↓
Reasoning
↓
Decision
↓
Action
↓
Learning
↓
Idle
这实际上开始形成:
个体认知状态机。
60.12 个体模型中的 Method
前面第59章已经定义:
Method
是认知任务的工程实现。
在个体模型中,Method 不再孤立存在。
它属于:
Individual
↓
Cognitive Process
↓
Method
例如:
extractElement()
identifyObject()
classifyObject()
matchObject()
retrieveMemory()
inferRelation()
makeDecision()
updateMemory()
这些方法共同构成:
Individual Cognitive Methods
60.13 个体认知循环
将前面的结构组合起来,可以形成一个基本认知循环:
┌──────────────┐
│ External │
│ Input │
└──────┬───────┘
↓
┌──────────────┐
│ Perception │
└──────┬───────┘
↓
┌──────────────┐
│ Elements │
└──────┬───────┘
↓
┌──────────────┐
│ Object │
└──────┬───────┘
↓
┌──────────────┐
│ Matching │
└──────┬───────┘
↓
┌──────────────┐
│ Memory │
└──────┬───────┘
↓
┌──────────────┐
│ Reasoning │
└──────┬───────┘
↓
┌──────────────┐
│ Decision │
└──────┬───────┘
↓
┌──────────────┐
│ Action │
└──────┬───────┘
↓
┌──────────────┐
│ Learning │
└──────┬───────┘
│
└──────────→ Memory
这个循环才构成完整的:
Individual Cognition
60.14 从认知过程到个体模型
可以进一步把认知过程转换为模型结构:
认知过程
↓
Perception
↓
Memory
↓
Knowledge
↓
Reasoning
↓
Decision
↓
Action
转换为:
个体模型
├── Perception Model
├── Memory Model
├── Knowledge Model
├── Reasoning Model
├── Decision Model
└── Action Model
因此:
个体模型不是单一模型,而是多个认知子模型组成的整体模型。
60.15 个体模型的数据结构
结合第58章的数据结构,可以进一步形成:
Individual
{
id,
state,
context,
elements,
objects,
classes,
relations,
memory,
knowledge,
methods,
rules,
cognition_state,
decision_state
}
这意味着:
Individual
本身也成为一个一级数据对象。
也就是说:
Object
可以被建模。
而:
Individual
同样可以被建模。
60.16 Individual 与 Object 的关系
这里需要特别区分:
Individual
与:
Object
之间的层级关系。
可以表示为:
Individual
│
├── perceives → Object
├── remembers → Object
├── knows → Object
├── matches → Object
├── reasons about → Object
└── acts on → Object
因此:
Individual
是认知主体。
Object
是认知对象。
Method
是认知过程。
Memory
是认知历史。
Knowledge
是认知结构。
60.17 个体模型的核心关系
可以形成一个核心五元结构:
Individual
↓
Perceives
↓
Object
↓
Matches
↓
Knowledge
↓
Reasoning
↓
Decision
同时:
Experience
↓
Memory
↓
Learning
↓
Knowledge
于是:
Individual
├── Object
├── Memory
├── Knowledge
├── Method
└── Decision
构成个体认知的核心。
60.18 个体模型不是人格模型
这里还必须做一个理论边界。
本章的:
Individual Model
不是心理学意义上的完整人格模型。
它主要描述:
认知结构
认知状态
认知过程
认知记忆
认知知识
认知决策
也就是说:
Individual Model
=
Computable Cognitive Model
而不是:
Individual Model
=
Human Personality Model
这是为了保持 WSaiOS 的工程化边界。
60.19 个体模型的工程闭环
到这里,可以形成:
Individual
↓
Perception
↓
Element
↓
Object
↓
Class
↓
Relation
↓
Matching
↓
Memory
↓
Knowledge
↓
Reasoning
↓
Decision
↓
Action
↓
Learning
↓
Individual Model Update
最后:
Individual Model Update
↓
新的认知结构
↓
下一次认知
因此个体模型是一个动态模型。
60.20 从个体认知到个体人工智能
当:
Individual
+
Cognitive Model
+
Memory
+
Knowledge
+
Method
+
Learning
+
Decision
形成一个能够持续运行的工程系统以后,就从:
个体认知
进入:
个体人工智能
其核心不是:
一个更大的模型
而是:
一个属于特定个体的
可持续运行的认知系统
因此可以定义:
个体人工智能,是以个体为认知主体,以个体认知空间为基础,以对象、关系、记忆、知识、方法、推理、决策和学习为核心结构,并能够持续运行和更新的人工智能系统。
60.21 第60章核心模型
最终,第60章可以压缩成:
Individual
↓
Cognitive Space
↓
┌─────────────────────┐
│ Element │
│ Object │
│ Class │
│ Relation │
│ State │
│ Memory │
│ Knowledge │
│ Method │
│ Matching │
│ Reasoning │
│ Decision │
└─────────────────────┘
↓
Learning
↓
Model Update
↓
Individual
最终形成完整闭环:
┌───────────────────┐
│ Individual │
└─────────┬─────────┘
↓
┌───────────────────┐
│ Cognitive Space │
└─────────┬─────────┘
↓
Perception → Object
↓
Matching
↓
Memory / Knowledge
↓
Reasoning
↓
Decision
↓
Action
↓
Learning
↓
Cognitive Update
│
└────────→ Individual
因此,第60章最核心的理论转换是:
个体
↓
个体认知
↓
个体认知空间
↓
个体认知模型
↓
可计算个体模型
↓
可运行个体智能系统
这一步意味着前面建立的 Element → Object → Class → Relation → Method → Matching → Data 不再只是独立的理论组件,而开始统一到一个更高层的 Individual Cognitive Model 中。