IBM/LNN

A `Neural = Symbolic` framework for sound and complete weighted real-value logic

What it solves

Logical Neural Networks (LNNs) address the gap between neural networks and symbolic logic. They provide a framework that combines the learning capabilities of neural networks with the formal reasoning and interpretability of symbolic logic, allowing models to handle inconsistent or incomplete knowledge more effectively than traditional AI.

How it works

LNNs treat every neuron as a component of a formula in a weighted real-valued logic. This creates a disentangled representation where each neuron has a specific meaning. The system is end-to-end differentiable, meaning it can be learned from data, and uses a specialized loss function to minimize logical contradictions. It supports omnidirectional inference, omnidirectional inference, meaning it can reason in multiple directions rather than just moving from input to a predefined target.

Who it’s for

Researchers and developers working in neuro-symbolic AI, first-order logic theorem proving, and those needing highly interpretable AI models that can reason logically.

Highlights

  • Neuro-Symbolic Integration: Combines learning and symbolic logic into a single framework.
  • Omnidirectional Inference: Supports reasoning that corresponds to logical theorem proving.
  • Interpretable Representations: Each neuron corresponds to a component of a logical formula.
  • Resilience to Inconsistency: Uses a loss function that captures logical contradiction to handle inconsistent knowledge.
  • Open-World Assumption: Maintains bounds on truth values to handle incomplete knowledge.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch