feat(spatial): 悬空关系与未知槽位,让"缺哪一段"落到位置而不是计数
此前"少了一条接触"只是全局计数,模型只能说"我在猜";它无法区分"目标根本没支撑" 和"目标的那条支撑被挡住了"。现在: - Observation.dangling:一端可见、另一端不可见的关系,锚在可见那一端,不带身份。 它说的是无知挂在哪儿,不是答案是什么。 - 模型多一个未知槽位(位置 1),悬空边的远端指向它;有悬空关系的锚定实体与它 相距一跳。一条链走到它上面,就是一条链走进了问题。 - 悬空边不参与连通计算、不进入实体的入射边求和、边特征里带 dangling 标志。 - 新增 area.free 家族:T 的唯一接触连到一个自身悬空的块,什么也没藏、什么也不悬空, 所以"没有支撑"是事实而非缺口,正确答案是 false,弃权才是错的。 它与 area.sup2h 构成最小对:同样是一条接触,一个通到未知、一个通到死路。
This commit is contained in:
1 parent
68380900ce
commit
40f6bb52fa
8 files changed
+251
-141
No files matched your search
@@ -5,9 +5,9 @@
|
||||
"rounds": 2, "n_evidence": 4
|
||||
},
|
||||
"data": {
|
||||
"train_families": ["cond.p1", "cond.p3", "area.sup2", "area.sup3", "dof.c6", "dof.c6r", "cond.p1h"],
|
||||
"val_families": ["cond.p3h", "area.sup2h", "dof.c6h"],
|
||||
"test_families": ["cond.p3h", "area.sup2h", "dof.c6h"]
|
||||
"train_families": ["cond.p1", "cond.p3", "area.sup2", "area.sup3", "area.free", "dof.c6", "dof.c6r"],
|
||||
"val_families": ["cond.p1h", "area.sup2h", "dof.c6h"],
|
||||
"test_families": ["cond.p1h", "area.sup2h", "dof.c6h"]
|
||||
},
|
||||
"optim": { "lr": 0.003, "weight_decay": 0.01, "steps": 2400, "batch": 32, "log_every": 400 },
|
||||
"eval": { "n": 192 },
|
||||
|
||||
Reference in new issue
Block a user