NeSyCat: A Monad-Based Categorical Semantics of the Neurosymbolic ULLER Framework

arXiv cs.AI / 4/28/2026

📰 NewsDeveloper Stack & InfrastructureModels & Research

Key Points

  • The ULLER (Unified Language for LEarning and Reasoning) framework provides a unified first-order logic syntax meant to be reused directly across many neurosymbolic systems.
  • The paper argues that ULLER’s three original semantics—classical, fuzzy, and probabilistic—can be expressed within a single categorical semantics framework using monads.
  • Using the monad-based categorical view, the authors claim it becomes straightforward to add new semantics and to translate systematically between existing ones.
  • As a concrete example, they show how to extend Logic Tensor Networks (LTN) with generalized quantification over arbitrary (including infinite) domains by leveraging an extension of the Giry monad to probability spaces.
  • They also report modular implementations of ULLER in Python and Haskell, with initial GitHub releases referenced in the announcement.

Abstract

ULLER (Unified Language for LEarning and Reasoning) offers a unified first-order logic (FOL) syntax, enabling its knowledge bases to be used directly across a wide range of neurosymbolic systems. The original specification endows this syntax with three pairwise independent semantics: classical, fuzzy, and probabilistic, each accompanied by dedicated semantic rules. We show that these seemingly disparate semantics are all instances of one categorical framework based on monads, the very construct that models side effects in functional programming. This enables the modular addition of new semantics and systematic translations between them. As example, we outline the addition of generalised quantification in Logic Tensor Networks (LTN) to arbitrary (also infinite) domains by extending the Giry monad to probability spaces. In particular, our approach allows a modular implementation of ULLER in Python and Haskell, of which we have published initial versions on GitHub.