HomeAI & Machine LearningNeurosymbolic Constraint Solver 2D: Loss Landscape & Logic Graph

Neurosymbolic Constraint Solver 2D: Loss Landscape & Logic Graph

A 2D companion to the neurosymbolic reasoner: drag directly on the A/B loss-landscape heatmap or use the sliders to set three neural confidence values, pick a product or Łukasiewicz t-norm, and watch gradient descent carve a trajectory toward the nearest logically consistent point while a live graph diagram shows each rule's satisfaction.

AI & Machine Learning2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-ai-topic-53 ↗ Open standalone

A 2D reworking of the neurosymbolic reasoner that makes the optimization itself visible rather than orbiting a 3D scene: a node-graph diagram shows the three neural confidence leaves feeding three symbolic rules, while a second panel renders the actual loss landscape L(A,B) as a heatmap you can drag on directly. Switch between the product (Reichenbach) and Łukasiewicz differentiable-logic families to see how the same rules reshape the landscape and change where gradient descent settles — the same mechanism used by Logic Tensor Networks and semantic-loss training to keep a neural network's raw outputs logically consistent, computed independently here in plain 2D canvas.

⚙ Under the hood

A 2D companion to the neurosymbolic reasoner: drag directly on the A/B loss-landscape heatmap or use the sliders to set three neural confidence values, pick a product or Łukasiewicz t-norm, and watch gradient descent carve a trajectory toward the nearest logically consistent point while a live graph diagram shows each rule's satisfaction.

neurosymbolic AIdifferentiable logiclogic tensor networksgradient descentsemantic lossloss landscapeknowledge representation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)