logLTN: Differentiable Fuzzy Logic in the Logarithm Space

06/26/2023
by   Samy Badreddine, et al.
0

The AI community is increasingly focused on merging logic with deep learning to create Neuro-Symbolic (NeSy) paradigms and assist neural approaches with symbolic knowledge. A significant trend in the literature involves integrating axioms and facts in loss functions by grounding logical symbols with neural networks and operators with fuzzy semantics. Logic Tensor Networks (LTN) is one of the main representatives in this category, known for its simplicity, efficiency, and versatility. However, it has been previously shown that not all fuzzy operators perform equally when applied in a differentiable setting. Researchers have proposed several configurations of operators, trading off between effectiveness, numerical stability, and generalization to different formulas. This paper presents a configuration of fuzzy operators for grounding formulas end-to-end in the logarithm space. Our goal is to develop a configuration that is more effective than previous proposals, able to handle any formula, and numerically stable. To achieve this, we propose semantics that are best suited for the logarithm space and introduce novel simplifications and improvements that are crucial for optimization via gradient-descent. We use LTN as the framework for our experiments, but the conclusions of our work apply to any similar NeSy framework. Our findings, both formal and empirical, show that the proposed configuration outperforms the state-of-the-art and that each of our modifications is essential in achieving these results.

READ FULL TEXT

page 8

page 15

research
02/14/2020

Analyzing Differentiable Fuzzy Logic Operators

In recent years there has been a push to integrate symbolic AI and deep ...
research
06/04/2020

Analyzing Differentiable Fuzzy Implications

Combining symbolic and neural approaches has gained considerable attenti...
research
08/14/2022

Reduced Implication-bias Logic Loss for Neuro-Symbolic Learning

Integrating logical reasoning and machine learning by approximating logi...
research
11/22/2022

Differentiable Fuzzy 𝒜ℒ𝒞: A Neural-Symbolic Representation Language for Symbol Grounding

Neural-symbolic computing aims at integrating robust neural learning and...
research
05/31/2017

End-to-End Differentiable Proving

We introduce neural networks for end-to-end differentiable proving of qu...
research
04/28/2022

Learning First-Order Rules with Differentiable Logic Program Semantics

Learning first-order logic programs (LPs) from relational facts which yi...
research
07/28/2021

Evaluating Relaxations of Logic for Neural Networks: A Comprehensive Study

Symbolic knowledge can provide crucial inductive bias for training neura...

Please sign up or login with your details

Forgot password? Click here to reset