# Neural Logic Rule Layers

**Authors:** Jan Niclas Reimann, Andreas Schwung

arXiv: 1907.00878 · 2019-07-02

## TL;DR

This paper introduces neural logic rule layers (NLRL), enabling neural networks to model complex logical rules in a human-interpretable form, enhancing interpretability while maintaining learning capabilities.

## Contribution

The paper proposes NLRL, a novel neural layer that represents logical rules in normal forms, allowing end-to-end learning of interpretable logic rules from data.

## Key findings

- NLRL can model arbitrary complex logic rules.
- NLRL-enhanced networks perform arithmetic operations.
- NLRL improves interpretability of neural networks.

## Abstract

Despite their great success in recent years, deep neural networks (DNN) are mainly black boxes where the results obtained by running through the network are difficult to understand and interpret. Compared to e.g. decision trees or bayesian classifiers, DNN suffer from bad interpretability where we understand by interpretability, that a human can easily derive the relations modeled by the network. A reasonable way to provide interpretability for humans are logical rules. In this paper we propose neural logic rule layers (NLRL) which are able to represent arbitrary logic rules in terms of their conjunctive and disjunctive normal forms. Using various NLRL within one layer and correspondingly stacking various layers, we are able to represent arbitrary complex rules by the resulting neural network architecture. The NLRL are end-to-end trainable allowing to learn logic rules directly from available data sets. Experiments show that NLRL-enhanced neural networks can learn to model arbitrary complex logic and perform arithmetic operation over the input values.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.00878/full.md

## Figures

14 figures with captions in the complete paper: https://tomesphere.com/paper/1907.00878/full.md

## References

16 references — full list in the complete paper: https://tomesphere.com/paper/1907.00878/full.md

---
Source: https://tomesphere.com/paper/1907.00878