LogicSeg: Parsing Visual Semantics with Neural Logic Learning and Reasoning

Liulei Li, Wenguan Wang, Yi Yang
2/14/2026

No official code found. Best implementation: lingorX/LogicSeg (24 stars, Apache-2.0, last commit 2024-04-11).

Abstract

Current high-performance semantic segmentation models are purely data-driven sub-symbolic approaches and blind to the structured nature of the visual world. This is in stark contrast to human cognition which abstracts visual perceptions at multiple levels and conducts symbolic reasoning with such structured abstraction. To fill these fundamental gaps, we devise LogicSeg, a holistic visual semantic parser that integrates neural inductive learning and logic reasoning with both rich data and symbolic knowledge. In particular, the semantic concepts of interest are structured as a hierarchy, from which a set of constraints are derived for describing the symbolic relations and formalized as first-order logic rules. After fuzzy logic-based continuous relaxation, logical formulae are grounded onto data and neural computational graphs, hence enabling logic-induced network training. During inference, logical constraints are packaged into an iterative process and injected into the network in a form of several matrix multiplications, so as to achieve hierarchy-coherent prediction with logic reasoning. These designs together make LogicSeg a general and compact neural-logic machine that is readily integrated into existing segmentation models. Extensive experiments over four datasets with various segmentation models and backbones verify the effectiveness and generality of LogicSeg.We believe this study opens a new avenue for visual semantic parsing.

View on arXivView PDF

Code Implementations(1)

lingorX/LogicSegCommunity66%
Apache-2.0

(ICCV23 Oral) LOGICSEG: Parsing Visual Semantics with Neural Logic Learning and Reasoning

242Shell, PythonJan 27, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2026logicseg,
  title  = {LogicSeg: Parsing Visual Semantics with Neural Logic Learning and Reasoning},
  author = {Liulei Li and Wenguan Wang and Yi Yang},
  year   = {2026},
  eprint = {2309.13556},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2309.13556},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.13556.svg)](https://codeofpaper.com/paper/2309.13556)

Discussion