cs.LGDec 3, 2025

Modal Logic Neural Networks

Authors: Antonin Sulc, Noor Naddour

Organizations: Lawrence Berkeley National Laboratory, Berkeley, CA, USA · The University of Queensland, Brisbane, QLD, Australia

Abstract

Neural Networks are indispensable to natural sciences and society. Their impact extends from applications in public health to workforce productivity. Here, we introduce Modal Logic Neural Networks (MLNNs) -- an end-to-end differentiable logical neural network realisation of modal logic which evaluates a learnable truth function across possible-world semantics. This neural architecture handles para-consistency and inconsistency via a learnable world accessibility relation and valuation function. Because the modality is fixed by which frame axioms the relation satisfies rather than by the operator, one differentiable engine covers the epistemic, doxastic, deontic and temporal readings, with applications from verification of reactive and distributed systems to legal discourse and microeconomic utility models. In this paper, we introduce a model of differentiable Kripke semantics, and establish their soundness, convergence, and structural guarantees. We show four applications, in which the learned relation reads as a trust matrix, an operating-regime embedding with safety bounds, a temporal precedence order, and a recovered constraint graph.

Figures & tables

Explore similar work

CardsList
  1. Quantitative Linear Logic for Neuro-Symbolic Learning and Verification

    May 13, 2026Thomas Flinkow, Ekaterina Komendantskaya, Matteo Capucci +1Neuro-Symbolic FrameworkDifferentiable Logic Gate Networks

  2. Same Formulas, Different Semantics: Do Language Models Follow Modal Logic Specifications?

    Aug 5, 2026Réemi Andrieu, Damien SileoLogicReasoning Skills