第140章 Cognitive Similarity
认知相似性
第139章建立了 Cognitive Matching(认知匹配):
Current Scene
+
Historical Cognitive Structure
↓
Cognitive Matching
↓
Correspondence
但匹配之后还存在一个更基础的问题:
两个认知结构究竟“有多相似”?
因此,本章不再把:
Similarity
理解为简单的:
名称相同
外观相同
数据接近
而是建立:
Scene Similarity
↓
Structural Similarity
即:
认知相似性不是寻找完全相同的对象,而是寻找不同对象、不同场景之间共享的认知结构。
140.1 Scene Similarity 的局限
传统意义上的场景相似,容易表现为:
Scene A
≈
Scene B
例如:
Egg on Table
与:
Glass on Table
看起来可能不同。
如果机器只比较:
Object Identity
那么:
Egg ≠ Glass
于是:
Similarity = Low
但从认知角度看,两者可能具有:
Fragility
+
Contact
+
Force
+
Stability
+
Damage Risk
等共同结构。
因此:
Object Identity
不能决定:
Cognitive Similarity
140.2 从对象相似到结构相似
可以建立:
Object A
↓
Attributes
Relations
State
Dynamics
↓
Cognitive Structure
然后:
Cognitive Structure A
↕
Cognitive Structure B
进行比较。
例如:
Egg
├── Fragility
├── Contact
├── Force
├── Stability
└── Damage Risk
与:
Glass
├── Fragility
├── Contact
├── Force
├── Stability
└── Damage Risk
虽然:
Egg ≠ Glass
但:
Structure(Egg)
≈
Structure(Glass)
因此:
Cognitive Similarity
=
High
140.3 Cognitive Similarity 的定义
可以定义:
Cognitive Similarity 是两个认知对象、认知结构或场景在元素、属性、关系、状态、动态变化以及上下文组织方式上的结构相似程度。
形式:
A
+
B
↓
Structure Comparison
↓
Cognitive Similarity
其中:
A ≠ B
仍然可以:
Similarity(A,B) > 0
甚至:
Similarity(A,B) = High
140.4 Similarity ≠ Identity
这是本章必须首先建立的原则:
Identity
≠
Similarity
例如:
Egg
和:
Glass
身份不同:
Egg ≠ Glass
但:
Fragility
+
Breakability
+
Damage Risk
可能高度相似。
因此:
Identity
回答:
“它是不是同一个对象?”
而:
Similarity
回答:
“它们在认知结构上有多少共同点?”
140.5 Similarity ≠ Exact Equality
同样:
Similarity
≠
Equality
例如:
Position = 10
与:
Position = 11
可能不是:
Equal
但可以:
Similar
同样:
Velocity = 1.0
与:
Velocity = 1.2
可以属于:
Similar Dynamic State
因此认知系统需要允许:
Equal
Similar
Different
Conflict
Unknown
同时存在。
140.6 Similarity 的多维结构
认知相似性不能只使用一个维度。
可以建立:
Cognitive Similarity
├── Element Similarity
├── Object Similarity
├── Attribute Similarity
├── Relation Similarity
├── State Similarity
├── Temporal Similarity
├── Spatial Similarity
├── Dynamic Similarity
└── Context Similarity
因此两个对象可能:
Visual Similarity = Low
但:
Structural Similarity = High
也可能:
Attribute Similarity = High
但:
Relation Similarity = Low
这就是认知相似性与普通相似性的区别。
140.7 Element Similarity
最底层:
Element A
↔
Element B
例如:
Pressure
与:
Pressure
属于:
Element Type Similarity
但如果:
Pressure A = 5N
Pressure B = 50N
则:
Type Similarity = High
Value Similarity = Low
所以:
Element Similarity
需要区分:
Type
Value
Range
Context
140.8 Attribute Similarity
例如:
Egg
├── Fragility = High
└── Stability = Medium
Glass
├── Fragility = High
└── Stability = Medium
可以形成:
Fragility Similarity = High
Stability Similarity = High
而:
Material
可能:
Similarity = Low
因此对象整体相似性并不是:
All Attributes Equal
而是:
Common Attributes
+
Attribute Compatibility
140.9 Relation Similarity
关系是非常重要的相似性来源。
例如:
Egg
↓
SupportedBy
↓
Table
与:
Glass
↓
SupportedBy
↓
Table
对象不同。
但:
Relation = SupportedBy
一致。
因此:
Relation Similarity = High
进一步:
Cup
↓
Near
↓
Plate
与:
Box
↓
Near
↓
Wall
也可能共享:
Near Structure
所以:
关系结构可以产生跨对象的认知相似性。
140.10 State Similarity
例如:
Egg → Stable
与:
Glass → Stable
可以具有:
State Similarity = High
而:
Egg → Falling
与:
Glass → Stable
则:
State Similarity = Low
即使:
Object Similarity
很高。
因此:
Cognitive Similarity
必须允许不同维度产生不同结果。
140.11 Dynamic Similarity
动态场景中:
Scene(t)
→
Scene(t+1)
比单个状态更重要。
例如:
Object Stable
↓
Contact Lost
↓
Object Falling
另一个对象:
Object Stable
↓
Contact Lost
↓
Object Falling
虽然:
Objects ≠
但:
Transition Pattern
高度相似。
于是:
Dynamic Similarity = High
因此认知相似性不仅比较:
State
还需要比较:
State Change
140.12 Temporal Similarity
两个场景可能当前状态不同:
Scene A:
Stable
Scene B:
Falling
如果历史过程为:
Stable
↓
Released
↓
Falling
而另一个:
Stable
↓
Released
↓
Falling
则:
Temporal Structure
高度相似。
因此:
Current State
不一定能够决定:
Cognitive Similarity
还需要观察:
History
+
Transition
140.13 Structural Similarity
最终可以建立:
Structural Similarity
其核心不是:
Same Object
而是:
Same Organization
例如:
A
├── Attribute X
├── Relation R
└── State S
与:
B
├── Attribute X
├── Relation R
└── State S
形成:
Structure(A)
≈
Structure(B)
即使:
A ≠ B
140.14 Structural Similarity Matrix
可以把结构相似性表示为:
Historical
A B C
Current A 1.00 0.82 0.31
Current B 0.82 1.00 0.67
Current C 0.31 0.67 1.00
但这里的数字不是最终认知。
它只是:
Similarity Score
真正有意义的是:
Why Similar?
所以系统还需要保存:
Similarity Evidence
例如:
A ↔ B
├── Fragility
├── SupportedBy
├── Stable
└── Damage Risk
140.15 Similarity Evidence
因此:
Similarity
应该能够解释。
例如:
Similarity = 0.86
同时:
Evidence:
├── Attribute Match: 0.90
├── Relation Match: 1.00
├── State Match: 0.80
├── Dynamic Match: 0.75
└── Context Match: 0.85
于是:
Similarity Score
不是黑箱数字,而是:
Structured Evidence
的综合结果。
140.16 Weighted Similarity
不同认知任务中,不同结构的重要程度不同。
例如:
Fragility
可能比:
Color
更加重要。
因此:
Similarity
可以表示为:
S =
w₁E
+
w₂A
+
w₃R
+
w₄St
+
w₅D
+
w₆C
其中:
E = Element Similarity
A = Attribute Similarity
R = Relation Similarity
St = State Similarity
D = Dynamic Similarity
C = Context Similarity
而:
w₁ ... w₆
表示不同结构的重要程度。
140.17 Task-Dependent Similarity
因此不存在一个永远固定的:
Similarity Function
例如研究:
Damage Risk
时:
Fragility
Force
Contact
Stability
权重可能较高。
研究:
Navigation
时:
Position
Distance
Obstacle
Velocity
Direction
可能更加重要。
所以:
认知相似性具有任务相关性。
形式:
Similarity
=
Structure
+
Context
+
Task
140.18 Context-Dependent Similarity
相同两个对象,在不同上下文中,相似性可能不同。
例如:
Egg
与:
Glass
在:
Fragility Analysis
中可能:
High Similarity
但在:
Shape Recognition
中:
Low Similarity
因此:
Similarity(Egg, Glass)
不能脱离:
Task
Context
独立解释。
140.19 Similarity 与 Difference 同时存在
一个非常重要的原则:
Similarity
+
Difference
可以同时成立。
例如:
Egg
vs
Glass
可能:
Similar:
Fragility
Damage Risk
Contact
Stability
同时:
Different:
Material
Shape
Weight
Identity
因此不能因为:
Difference
存在,就认为:
Similarity = 0
同样也不能因为:
Similarity = High
就忽略:
Difference
140.20 Similarity Vector
因此可以把认知相似性表示成向量:
S(A,B)
=
[
Element,
Attribute,
Relation,
State,
Dynamic,
Spatial,
Temporal,
Context
]
例如:
S(Egg, Glass)
=
[
0.80,
0.92,
0.95,
0.88,
0.76,
0.71,
0.68,
0.84
]
这比单独:
Similarity = 0.84
保留更多认知信息。
最终系统可以根据任务计算:
Task-Specific Similarity
140.21 Similarity ≠ Applicability
这一点必须严格区分。
两个对象:
Similarity = High
不意味着:
Historical Structure
一定:
Applicable
例如:
Egg
和:
Glass
可能都具有:
Fragility
但某个历史结构可能依赖:
Specific Geometry
这时:
Similarity = High
而:
Applicability = Low
因此:
Similarity
≠
Applicability
140.22 Similarity ≠ Causality
同样:
A
和:
B
结构相似,不代表:
A causes B
例如:
Egg
Glass
都可能:
Fragile
但:
Fragility
只是共同属性。
不能直接建立:
Egg → Glass
或者:
Fragility → Falling
等因果关系。
因此:
Similarity
只能说明:
Structural Correspondence
不能直接说明:
Causality
140.23 Similarity 与 Matching
第139章:
Matching
建立:
Correspondence
第140章:
Similarity
衡量:
Degree of Structural Commonality
两者关系:
Current Structure
↓
Matching
↓
Correspondence
↓
Similarity
↓
Similarity Evaluation
例如:
Current Egg
↕
Historical Glass
Matching 得到:
Fragility ↔ Fragility
Contact ↔ Contact
Support ↔ Support
Similarity 再计算:
How Similar?
因此:
Matching
=
找对应关系
Similarity
=
衡量共同程度
140.24 Similarity 与 Reusable Structure
第138章:
Reusable Cognitive Structure
第139章:
Cognitive Matching
第140章:
Cognitive Similarity
形成完整链条:
Historical Structure
↓
Reusable Structure
↓
Matching
↓
Correspondence
↓
Similarity
于是机器可以知道:
Which Structure Corresponds?
以及:
How Similar Is It?
140.25 Similarity 与 Non-Repeating Scene
第137章:
Scene A
≠
Scene B
≠
Scene C
并不意味着:
Similarity = 0
相反:
Scene A
\
→ Shared Structure
/
Scene B
可以形成:
Structural Similarity
所以:
非重复世界并不意味着不可比较。
这是本章非常重要的理论结论。
140.26 Non-Repetition + Similarity
可以形成:
Non-Repeating Scenes
↓
Structural Comparison
↓
Partial Similarity
↓
Cognitive Generalization
也就是说:
World
=
Unique Instances
+
Recurring Structures
这正是机器能够形成一般性认知的基础。
140.27 Similarity 的层级
认知相似性可以形成:
Level 1
Element Similarity
Level 2
Attribute Similarity
Level 3
Object Structural Similarity
Level 4
Relation Similarity
Level 5
State Similarity
Level 6
Dynamic Similarity
Level 7
Scene Structural Similarity
因此:
Similarity
不是单层指标,而是一棵:
Similarity Hierarchy
140.28 Similarity Composition
多个局部相似可以组合:
Fragility
+
Contact
+
Force
+
Stability
+
Damage Risk
形成:
Risk-Related Structural Similarity
例如:
Egg
↕
Glass
单个属性:
Fragility
只能产生部分相似。
但多个结构同时对应:
Fragility
+
Contact
+
Force
+
Stability
+
Damage Risk
就可以形成:
High Structural Similarity
因此:
认知相似性通常来自结构组合,而不是来自单个特征。
140.29 Similarity Pattern
可以进一步定义:
Similarity Pattern
例如:
Object
├── Fragile
├── In Contact
├── Force Applied
└── Stability Decreasing
如果另一个对象也出现:
Object
├── Fragile
├── In Contact
├── Force Applied
└── Stability Decreasing
那么:
Similarity Pattern
成立。
它比:
Object Name
更加抽象。
140.30 Cognitive Similarity Graph
可以建立:
Cognitive Similarity Graph
例如:
Egg ───── 0.88 ───── Glass
│ │
0.72 0.81
│ │
Ceramic ─── 0.91 ─── FragileObject
但图中的边不应该只保存:
0.88
还应该保存:
Shared Structures
例如:
Egg
↕
Glass
Shared:
Fragility
Damage Risk
Contact Sensitivity
于是:
Similarity Edge
本身也是认知结构。
140.31 Similarity Memory
机器可以保存:
Similarity Memory
结构:
Structure A
↕
Structure B
↓
Similarity Evidence
↓
Similarity Level
↓
Historical Outcomes
这样以后出现:
Structure A'
时,可以寻找:
A'
≈
A
再进一步寻找:
B
但仍然必须重新进行:
Matching
+
Context Validation
而不能直接继承历史结论。
140.32 Similarity Learning
随着经验积累:
Scene₁
Scene₂
Scene₃
Scene₄
系统可以发现:
Repeated Structures
形成:
Similarity Cluster
例如:
Fragile Objects
├── Egg
├── Glass
├── Ceramic
└── Thin Shell Object
这不是说:
Egg = Glass = Ceramic
而是:
Structural Similarity Cluster
140.33 Similarity Cluster
可以定义:
Cognitive Similarity Cluster
例如:
Cluster: Fragile Object
│
├── Egg
├── Glass
├── Ceramic
└── Thin Shell Object
共同结构:
Fragility
+
Damage Risk
+
Force Sensitivity
差异:
Material
Shape
Weight
Geometry
因此一个认知类别可以不是:
Name
而是:
Shared Structure
140.34 从分类到结构聚类
传统分类:
Egg
Glass
Ceramic
分别属于:
Category A
Category B
Category C
认知结构方式:
Egg
Glass
Ceramic
↓
Shared Cognitive Structure
↓
Fragile-Object Pattern
所以:
认知分类可以由名称分类逐渐转向结构分类。
这对非重复场景的认知非常重要。
140.35 Similarity 与 Generalization
结构相似性最终支持:
Generalization
过程:
Multiple Objects
↓
Shared Structure
↓
Similarity
↓
Generalized Pattern
例如:
Egg
Glass
Ceramic
形成:
Fragile Object Structure
然后:
New Object
出现时:
New Object
↓
Structure Extraction
↓
Similarity Matching
↓
Fragile Object Pattern?
于是系统可以形成:
Structural Generalization
140.36 但 Generalization 不是绝对归类
必须注意:
Similarity
不意味着:
Permanent Category
例如:
New Object
可能:
Fragility = Medium
而不是:
Fragility = High
因此:
Similarity
应该是:
Degree
而不是:
Binary Category
即:
Similar / Not Similar
应逐渐变成:
Similarity Degree
+
Similarity Evidence
+
Difference
140.37 Similarity 的动态更新
相似性也可以随着新数据改变。
例如初始:
A ↔ B
Similarity = 0.85
后来发现:
Relation Difference
则:
Similarity = 0.71
继续获得信息:
Dynamic Structure Match
则:
Similarity = 0.79
因此:
Similarity(t)
可以随着:
New Evidence
变化。
140.38 Similarity 是认知状态的一部分
因此当前认知状态可以包含:
Current Cognitive State
├── Perception
├── Elements
├── Objects
├── Relations
├── States
├── Matches
├── Similarities
└── Differences
机器不是简单地:
See Object
而是:
See
↓
Represent
↓
Match
↓
Compare
↓
Estimate Similarity
140.39 Cognitive Similarity Pipeline
完整流程可以建立为:
Current Scene
↓
Structure Extraction
↓
Historical Structure Retrieval
↓
Cognitive Matching
↓
Correspondence Map
↓
Element Comparison
↓
Attribute Comparison
↓
Relation Comparison
↓
State Comparison
↓
Dynamic Comparison
↓
Context Comparison
↓
Similarity Vector
↓
Similarity Score
↓
Similarity Evidence
最终形成:
Cognitive Similarity Result
140.40 Formal Model
可以定义:
Similarity(C,H)
其中:
C = Current Cognitive Structure
H = Historical Cognitive Structure
输出:
Similarity(C,H)
=
{
SimilarityVector,
SharedStructures,
Differences,
Context,
Confidence
}
例如:
Similarity(Egg, Glass)
=
{
Fragility: High,
Contact: High,
Force: High,
Stability: High,
DamageRisk: High,
Material: Low,
Shape: Medium
}
最终:
Structural Similarity = High
但:
Identity = Different
140.41 本章核心原则
可以正式提出:
Cognitive Similarity Principle
认知相似性不是判断两个对象或场景是否完全相同,而是比较它们在元素、属性、关系、状态、动态变化及上下文组织上的共同结构与差异,并以结构对应程度表示相似性。
进一步:
Different Identity
↓
Shared Structure
↓
Structural Similarity
因此:
Same
≠
Similar
以及:
Different
≠
Unrelated
140.42 第140章最终理论模型
整个第140章可以压缩成:
Current Scene
│
↓
Cognitive Structure
│
│
↕
Historical Structure
│
↓
Cognitive Matching
│
↓
Correspondence
│
┌─────────┴─────────┐
↓ ↓
Shared Structure Difference
│
↓
Structural Similarity
│
↓
Similarity Evidence
│
↓
Similarity Evaluation
例如:
Egg
↕
Glass
↓
┌──────────────────────┐
│ Fragility │
│ Contact │
│ Force │
│ Stability │
│ Damage Risk │
└──────────────────────┘
↓
Structural Similarity
但同时:
Material
Shape
Weight
Identity
仍然可能不同。
所以最终认知表示应该是:
Similarity
+
Difference
+
Context
而不是:
Similarity Only
140.43 与前面章节形成完整理论链
现在:
137 Non-Repeating Scene
↓
138 Reusable Cognitive Structure
↓
139 Cognitive Matching
↓
140 Cognitive Similarity
形成:
World
↓
Unique Scene
↓
Extract Structure
↓
Store Reusable Structure
↓
Match Current Structure
↓
Measure Structural Similarity
于是机器获得了一种非常重要的能力:
即使当前世界从未以完全相同的形式出现过,机器仍然可以通过共享结构发现“这个新情况与过去哪些认知经验相似”。
这一步非常关键,因为下一阶段已经可以从:
Similarity
继续进入:
Similarity
+
Difference
↓
Cognitive Classification
↓
Cognitive Category
也就是研究:
当大量不同对象因为共享认知结构而表现出相似性时,机器如何形成动态、结构性的认知类别,而不是依赖固定名称进行分类。