首页 理论 架构 工程 文档 白皮书 著作 研究 案例 下载 博客 关于 开始使用 →

第64章 人的感知工程模型

第64章 人的感知工程模型

前面第60—63章完成了:

Individual
 ↓
Cognitive Model
 ↓
State Machine
 ↓
Module
 ↓
Cognitive Engine

但是,一个 Cognitive Engine 要真正接近“个体认知”,首先必须解决一个更基础的问题:

个体如何从外部世界获得可以进入认知系统的信息?

这就是:

Perception —— 感知

因此第64章不讨论“人是如何思考的”,而是建立:

人的感知过程如何被抽象为可实现的数据、对象、状态、方法、模块和工程流程。

核心转换为:

External World
      ↓
Human Perception
      ↓
Perceptual Signal
      ↓
Perceptual Element
      ↓
Perceived Object
      ↓
Cognitive Processing

64.1 什么是感知

感知不是简单的“接收数据”。

人在现实世界中不断面对:

光
声音
气味
味道
压力
温度
空间
运动
语言
文字
事件

人的感知系统将这些外部变化转换成:

可识别的信息

因此可以定义:

感知是个体从外部环境或内部身体状态中获取变化信息,并将其转换为可进入认知系统的信息结构的过程。

工程表达:

World
 ↓
Signal
 ↓
Perception
 ↓
Information

64.2 感知不是认知

必须明确区分:

Perception
=
获取和形成感知信息

而:

Cognition
=
对感知信息进行组织、匹配、推理、判断和决策

例如看到:

一个红色物体

属于:

Perception

判断:

这是一个苹果

已经进入:

Recognition / Cognition

进一步判断:

这个苹果可以吃

属于:

Reasoning / Decision

因此:

Perception
 ↓
Recognition
 ↓
Reasoning
 ↓
Decision

不能把它们混为一层。


64.3 人的感知系统

从工程抽象角度,可以将人的感知系统划分为:

Visual Perception
Auditory Perception
Olfactory Perception
Gustatory Perception
Tactile Perception
Spatial Perception
Temporal Perception
Internal-State Perception

对应:

视觉
听觉
嗅觉
味觉
触觉
空间感知
时间感知
内部状态感知

这里的重点不是简单复制生理学分类,而是:

寻找能够被工程系统实现的感知输入类型。


64.4 感知工程的基本链条

人的感知可以抽象为:

External Stimulus
      ↓
Sensor
      ↓
Signal
      ↓
Signal Processing
      ↓
Perceptual Feature
      ↓
Perceptual Element
      ↓
Object Formation

例如视觉:

External Scene
      ↓
Eye
      ↓
Light Signal
      ↓
Visual Processing
      ↓
Color / Shape / Position
      ↓
Perceptual Elements
      ↓
Object

工程系统可以对应:

Camera
 ↓
Image
 ↓
Image Processing
 ↓
Features
 ↓
Elements
 ↓
Object

64.5 感知输入

感知模块的第一层是:

Input

输入可以来自:

Environment
Body
Device
Other System
Memory

但如果严格定义“感知”,主要是:

External Environment
+
Internal Physical State

例如:

视觉 → 光
听觉 → 声音
触觉 → 压力
温度 → 热变化

工程系统则可能是:

Camera
Microphone
Touch Sensor
Temperature Sensor

64.6 Signal

感知系统首先面对的不是“对象”,而是:

Signal

例如:

视觉:
Pixel Matrix

听觉:
Waveform

触觉:
Pressure Value

温度:
Temperature Value

所以:

World
 ↓
Signal

是感知工程的第一层转换。


64.7 Signal 与 Element

第前面章节已经建立:

Element

因此第64章需要解决:

感知信号如何进入 Element 模型。

例如视觉信号:

Image
 ↓
Pixel
 ↓
Color
 ↓
Edge
 ↓
Shape

最终形成:

Perceptual Elements

因此:

Signal
 ↓
Feature
 ↓
Element

64.8 Perceptual Element

可以定义:

Perceptual Element 是感知过程中从输入信号中提取出来、能够作为认知系统输入的最小可识别信息单元。

例如:

颜色
形状
大小
位置
方向
声音频率
声音强度
压力
温度
运动

它们都可以成为:

Perceptual Element

例如:

红色
圆形
位于左侧
正在移动

都是感知元素。


64.9 感知元素不是对象

这一点非常重要。

例如视觉输入:

红
圆
小
左侧
移动

这些是:

Elements

组合后:

红 + 圆 + 小 + 左侧

才可能形成:

Object

所以:

Signal
 ↓
Element
 ↓
Object

而不是:

Signal
 ↓
Object

这与 WSaiOS 前面的 EOM 理论保持一致。


64.10 感知对象

当多个感知元素形成稳定组合后,可以构成:

Perceived Object

例如:

Color = Red
Shape = Circle
Position = Left
Motion = Moving

组合:

Object

数据结构可以表示:

Object
{
    attributes,
    state,
    position,
    relations
}

因此:

Perception
 ↓
Element
 ↓
Object

成为人的基本认知入口。


64.11 感知 Attribute

感知到的对象通常首先表现为属性:

Color
Shape
Size
Position
Texture
Sound
Temperature
Motion

例如:

Object
 ├── Color = Red
 ├── Shape = Circle
 ├── Size = Small
 └── Position = Left

因此:

Perceptual Element
       ↓
Object Attribute

是一个重要的工程转换。


64.12 感知 State

人感知到的对象并不一定是静态的。

例如:

可能感知为:

Closed
Opening
Open
Closing

因此感知系统需要记录:

Object State

形成:

Object
 ├── Attribute
 └── State

例如:

Car
 ├── Color = White
 ├── Position = Road
 └── State = Moving

64.13 感知 Relation

人不仅看到对象,还会感知对象之间的关系。

例如:

A 在 B 左边
A 在 B 上面
A 靠近 B
A 属于 B
A 正在接触 B

因此:

Perception
 ↓
Object
 ↓
Relation

形成:

Object A
   ↓
Relation
   ↓
Object B

这使感知从单个对象进入环境结构。


64.14 感知 Context

同一个输入在不同环境中可能具有不同意义。

例如:

红色

单独只是:

Color = Red

但如果处于:

交通环境

可能同时感知:

Red Light

因此感知不能脱离:

Context

可以表示:

Perception
{
    input,
    elements,
    objects,
    relations,
    context,
    timestamp
}

64.15 感知不是一次性的

人的感知是持续运行的。

因此:

Perception

应该理解为:

Continuous Process

而不是:

Input → Output

一次性函数。

完整过程:

Environment
 ↓
Signal
 ↓
Perception
 ↓
Update
 ↓
New Signal
 ↓
Perception
 ↓
Update

形成:

Perception Loop

64.16 感知状态

结合第61章 State Machine:

Perception State Machine

可以定义:

Idle
 ↓
InputDetected
 ↓
Capturing
 ↓
Processing
 ↓
ElementExtraction
 ↓
ObjectFormation
 ↓
Completed

异常:

Processing
 ↓
Error

未知:

ObjectFormation
 ↓
Unknown

因此:

Perception

本身也是一个状态机。


64.17 感知 Method

第62章已经定义 Method。

因此感知可以拆成:

capture()
detectSignal()
filterSignal()
extractFeatures()
extractElements()
buildObject()
detectRelation()
updatePerception()

这些都是感知工程中的:

Methods

形成:

Perception Task
      ↓
Perception Methods
      ↓
Perception Module

64.18 Perception Module

于是可以建立:

PerceptionModule

结构:

PerceptionModule
├── Input
├── Signal Processor
├── Feature Extractor
├── Element Extractor
├── Object Builder
├── Context Processor
├── State
└── Output

输入:

Signal

输出:

Perceptual Model

64.19 Perceptual Model

感知模块最终不应该只输出原始数据。

应该输出:

Perceptual Model

例如:

{
    "elements": [],
    "objects": [],
    "relations": [],
    "context": {},
    "state": {},
    "timestamp": 0
}

这就是:

感知结果进入认知系统的数据接口。


64.20 感知与 Object Recognition

感知和识别需要严格分层。

例如:

Camera
 ↓
Image
 ↓
Perception
 ↓
Color = Red
Shape = Round
Size = Small

这是:

Perception

接下来:

Elements
 ↓
Matching
 ↓
Known Object

才是:

Recognition

因此:

Perception ≠ Recognition

而是:

Perception
 ↓
Recognition

64.21 感知与 Matching

第59章已经定义 Matching。

感知输出:

Perceptual Object

Matching 接收:

Perceptual Object
+
Known Objects

然后:

Matching
 ↓
Candidate
 ↓
Score

因此:

Perception Module
        ↓
Object
        ↓
Matching Module

形成模块连接。


64.22 感知与 Memory

当感知到一个对象后,可以查询记忆:

Perception
 ↓
Object
 ↓
Memory Retrieval
 ↓
Known Experience

例如:

当前感知对象

与:

过去经验

进行比较。

因此:

Perception
+
Memory

共同支持:

Recognition

64.23 感知与 Cognitive Engine

第63章建立:

Cognitive Engine

现在:

External World
 ↓
Perception Module
 ↓
Cognitive Engine

Engine 接收到:

Perceptual Model

然后继续:

Object
 ↓
Matching
 ↓
Reasoning
 ↓
Decision

因此:

Perception Module 是 Cognitive Engine 与外部世界之间的重要入口。


64.24 人的感知工程模型

现在可以建立完整模型:

                 External World
                       ↓
                    Stimulus
                       ↓
                     Signal
                       ↓
               Perception System
                       ↓
              Signal Processing
                       ↓
                Feature Extraction
                       ↓
              Perceptual Elements
                       ↓
                Object Formation
                       ↓
                 Relation Detection
                       ↓
                    Context
                       ↓
               Perceptual Model
                       ↓
              Cognitive Engine

这就是:

人的感知工程模型。


64.25 五感的工程映射

可以建立一个工程抽象:

人的感知 输入 感知元素 典型对象
视觉 颜色、形状、位置 物体
听觉 声音 音高、强度、节奏 声音源
嗅觉 化学刺激 气味特征 气味对象
味觉 化学刺激 甜、酸、苦等 食物特征
触觉 压力、温度等 硬度、温度、纹理 接触对象

但工程模型并不要求严格复制人体神经系统。

重点是:

Input Type
 ↓
Perceptual Feature
 ↓
Element
 ↓
Object

64.26 空间感知

人的感知还包括空间关系:

Left
Right
Above
Below
Near
Far
Inside
Outside
Front
Behind

这些最终可以表示为:

Relation

例如:

Object A
relation = left_of
Object B

因此空间感知可以直接进入:

Relation Model

64.27 时间感知

人还能够感知:

Before
After
During
Duration
Frequency
Change

因此时间也可以被工程化:

Temporal Element

以及:

Temporal Relation

例如:

Event A
   ↓
before
   ↓
Event B

这使感知系统能够形成事件序列。


64.28 变化感知

一个非常重要的感知对象不是“对象”,而是:

Change

例如:

灯亮了
门打开了
声音变大了
物体移动了
温度升高了

工程上可以表示:

State(t1)
      ↓
Change
      ↓
State(t2)

因此:

变化本身可以成为感知元素和事件。


64.29 Event Perception

变化进一步形成:

Event

例如:

Door
State = Closed

变成:

Door
State = Open

系统检测:

State Change

形成:

Event = DoorOpened

于是:

Perception
 ↓
Change
 ↓
Event
 ↓
State Machine

这与第61章直接连接。


64.30 感知 → Event → State

因此 Cognitive Engine 可以由感知事件驱动:

External World
 ↓
Perception
 ↓
Event
 ↓
State Machine
 ↓
Cognitive Engine

例如:

声音出现
 ↓
Audio Perception
 ↓
SoundDetected
 ↓
State Transition
 ↓
Reasoning

因此:

感知不仅产生对象,也产生驱动认知状态转换的事件。


64.31 感知的工程数据结构

可以定义:

Perception
{
    id,
    source,
    modality,
    timestamp,
    signal,
    elements,
    objects,
    relations,
    context,
    events,
    confidence
}

其中:

source

表示来源。

modality

表示感知类型。

signal

表示原始信号。

elements

表示感知元素。

objects

表示感知对象。

relations

表示对象关系。

events

表示检测到的变化。


64.32 Confidence

感知结果通常不是绝对确定的。

例如:

Object = Apple
confidence = 0.87

因此:

Perception

应该允许:

confidence

存在。

这并不意味着必须使用概率模型。

即使采用规则:

confidence = high
confidence = medium
confidence = low

也可以实现。

因此:

Confidence 是感知结果的不确定性描述,而不是感知本身。


64.33 感知错误

工程系统必须允许:

False Detection
Missed Detection
Incomplete Perception
Ambiguous Perception
Noise

因此:

Perception Result

不应被默认认为:

Truth

而应视为:

Evidence

这非常重要。

因此:

Perception
 ↓
Evidence
 ↓
Cognition

而不是:

Perception
 ↓
Truth

64.34 感知与知识的边界

感知:

看到:
Red
Round
Moving

知识:

Red + Round + Moving
可能对应某种对象

因此:

Perception
=
当前获得的信息
Knowledge
=
已经形成的可复用知识结构

二者通过:

Matching
Recognition
Reasoning

连接。


64.35 感知与记忆的边界

Memory 保存:

Past Perception
Past Events
Past Objects
Past Relations
Past Results

当前感知产生:

Current Perception

两者比较:

Current Perception
        +
Past Memory
        ↓
Recognition / Learning

因此:

Perception = Now
Memory = Past

这是一个非常重要的工程抽象。


64.36 感知与学习

人的感知能力并不是完全固定的。

经验可能改变:

Attention
Recognition
Feature Importance
Classification

因此:

Learning
 ↓
Perception Model Update

形成:

Experience
 ↓
Learning
 ↓
Perception Update

所以第64章最终也连接到第63章的:

Learning Module

64.37 Cognitive Engine 中的感知入口

最终:

             External World
                    ↓
             Perception Module
                    ↓
              Perceptual Model
                    ↓
             Cognitive Engine
                    ↓
        ┌───────────┼───────────┐
        ↓           ↓           ↓
     Matching    Memory     Knowledge
        ↓           ↓           ↓
        └───────────┼───────────┘
                    ↓
                 Reasoning
                    ↓
                 Decision
                    ↓
                  Action
                    ↓
                 Learning

这就是完整的:

Perception → Cognition → Action

工程闭环。


64.38 人的感知工程抽象

因此可以把人的感知压缩成七层:

Layer 1
External Stimulus

Layer 2
Signal

Layer 3
Feature

Layer 4
Element

Layer 5
Object

Layer 6
Relation / Event

Layer 7
Perceptual Model

即:

刺激
 ↓
信号
 ↓
特征
 ↓
元素
 ↓
对象
 ↓
关系 / 事件
 ↓
感知模型

64.39 与前面理论体系的连接

到第64章,之前的理论可以开始统一:

World
 ↓
Perception
 ↓
Element
 ↓
Object
 ↓
Class
 ↓
Relation
 ↓
Matching
 ↓
Knowledge
 ↓
Reasoning
 ↓
Decision
 ↓
Action
 ↓
Learning

对应工程实现:

Input
 ↓
Perception Module
 ↓
Object Module
 ↓
Class Module
 ↓
Relation Module
 ↓
Matching Module
 ↓
Knowledge Module
 ↓
Reasoning Module
 ↓
Decision Module
 ↓
Action Module
 ↓
Learning Module

而这些模块全部由:

Cognitive Engine

协调。


64.40 第64章最终模型

最终可以定义:

Human Perception
        ↓
External Stimulus
        ↓
Signal
        ↓
Feature
        ↓
Perceptual Element
        ↓
Perceived Object
        ↓
Relation
        ↓
Event
        ↓
Perceptual Context
        ↓
Perceptual Model
        ↓
Cognitive Engine

其中:

Element

解决:

感知到了什么基本信息。

Object

解决:

感知到了什么对象。

Relation

解决:

对象之间是什么关系。

Event

解决:

发生了什么变化。

Context

解决:

当前感知发生在什么环境中。

最终:

Perceptual Model

解决:

如何把当前感知结果交给认知系统。


64.41 第64章核心定义

感知 Perception

感知是个体从外部环境或内部状态中获取变化信息,并将其转换为可进入认知系统的信息结构的过程。

感知元素 Perceptual Element

感知元素是从感知信号中提取出来、能够作为认知输入的基本信息单元。

感知对象 Perceived Object

感知对象是由多个相关感知元素组织形成的、能够被认知系统进一步处理的对象结构。

感知事件 Perceptual Event

感知事件是感知系统检测到的对象、状态或环境变化。

感知模型 Perceptual Model

感知模型是对当前感知元素、对象、关系、事件和上下文进行结构化表示的数据模型。

感知模块 Perception Module

感知模块是将感知输入转换为结构化感知模型的工程功能模块。


64.42 第64章最终结论

第64章建立的是:

人的感知
    ↓
工程感知

其核心转换链为:

External World
      ↓
Stimulus
      ↓
Signal
      ↓
Feature
      ↓
Element
      ↓
Object
      ↓
Relation
      ↓
Event
      ↓
Context
      ↓
Perceptual Model
      ↓
Cognitive Engine

因此,在 WSaiOS 中:

Perception

不是简单的:

Input

而是:

把现实世界的连续变化转换成 Element、Object、Relation、Event 和 Context 等结构化认知输入的工程过程。

最终形成:

                 人 / 外部世界
                      ↓
                   感知输入
                      ↓
                 Perception
                      ↓
              ┌───────┼───────┐
              ↓       ↓       ↓
           Element  Object  Event
              ↓       ↓       ↓
              └─── Relation ──┘
                      ↓
                   Context
                      ↓
              Perceptual Model
                      ↓
              Cognitive Engine
                      ↓
          Matching / Reasoning
                      ↓
                 Decision
                      ↓
                   Action
                      ↓
                  Learning

这使第64章成为整个体系中的一个关键入口:

现实世界
   ↓
人的感知工程模型
   ↓
个体认知模型
   ↓
Cognitive Engine
   ↓
个体行为

也就是说:

如果第63章解决的是“认知系统如何运行”,那么第64章解决的就是“认知系统从哪里获得现实世界的信息”。

Leave a Reply

Your email address will not be published. Required fields are marked *