arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.15841cs.CV
收藏

分割中的神经符号空间推理

Neuro-Symbolic Spatial Reasoning in Segmentation

Jiayi Lin, Jiabo Huang, Shaogang Gong

AI总结:

针对开放词汇语义分割缺乏空间关系理解的问题,提出神经符号空间推理方法RelateSeg,通过一阶逻辑约束像素的空间关系,实现端到端学习,在四个基准上取得最优性能。

摘要:

开放词汇语义分割(Open-Vocabulary Semantic Segmentation, OVSS)从开放类别集合中分配像素级标签,要求对未见过的和未标记的对象进行泛化。使用视觉-语言模型(VLMs)将局部图像块与潜在未见对象类别相关联的方法,缺乏对场景中对象空间关系的理解。为解决这一问题,我们在OVSS中引入了神经符号(NeSy)空间推理。与当代基于VLM相关性的方法不同,我们提出了关系分割器(RelateSeg),通过在一阶逻辑(FOL)中表述并在神经网络架构中实现,来施加显式的空间关系约束。这是首次在OVSS中探索NeSy空间推理的尝试。具体而言,RelateSeg自动提取空间关系,例如<猫,在...右侧,人>,并使用我们提出的伪类别将其编码为一阶逻辑公式。每个像素同时学习预测语义类别(如“猫”)和空间伪类别(如“人的右侧”),从而强制执行关系约束(例如,“猫”像素必须位于“人”的右侧)。最后,这些逻辑约束通过模糊逻辑松弛在深度网络架构中表述,实现了空间关系一致分割的端到端学习。RelateSeg在四个基准数据集上的平均mIoU方面达到了最先进的性能,并且在包含多个类别的图像上尤其显示出明显优势,而仅需引入一个辅助损失函数且不增加额外参数,验证了NeSy空间推理在OVSS中的有效性。

英文摘要:

Open-Vocabulary Semantic Segmentation (OVSS) assigns pixel-level labels from an open set of categories, requiring generalization to unseen and unlabelled objects. Using vision-language models (VLMs) to correlate local image patches with potential unseen object categories suffers from a lack of understanding of spatial relations of objects in a scene. To solve this problem, we introduce neuro-symbolic (NeSy) spatial reasoning in OVSS. In contrast to contemporary VLM correlation-based approaches, we propose Relational Segmentor (RelateSeg) to impose explicit spatial relational constraints by first order logic (FOL) formulated in a neural network architecture. This is the first attempt to explore NeSy spatial reasoning in OVSS. Specifically, RelateSeg automatically extracts spatial relations, e.g., <cat, to-right-of, person>, and encodes them as first-order logic formulas using our proposed pseudo categories. Each pixel learns to predict both a semantic category (e.g., "cat") and a spatial pseudo category (e.g., "right of person") simultaneously, enforcing relational constraints (e.g., a "cat" pixel must lie to the right of a "person"). Finally, these logic constraints are formulated in a deep network architecture by fuzzy logic relaxation, enabling end-to-end learning of spatial-relationally consistent segmentation. RelateSeg achieves state-of-the-art performance in terms of average mIoU across four benchmark datasets and particularly shows clear advantages on images containing multiple categories, with the cost of only introducing a single auxiliary loss function and no additional parameters, validating the effectiveness of NeSy spatial reasoning in OVSS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑