Transparent Classification with Multilayer Logical Perceptrons and Random Binarization

Zhuo Wang, Wei Zhang, Ning Liu, Jianyong Wang

Abstract

This paper introduces Concept Rule Sets (CRS), a hierarchical, rule-based classification model designed to bridge the gap between the interpretability of decision trees and the predictive power of deep neural networks. By utilizing a differentiable proxy called a Multilayer Logical Perceptron (MLLP) and a novel training technique termed Random Binarization (RB), the authors enable the use of gradient descent to learn complex logical structures. Experimental results across 12 public datasets demonstrate that CRS achieves superior accuracy compared to traditional transparent models while maintaining a human-readable level of complexity.

Introduction

In high-stakes domains such as healthcare, finance, and law, the "black-box" nature of deep neural networks poses significant risks. While transparent models like decision trees offer interpretability, they often suffer from lower accuracy due to greedy, heuristic-based training. This "interpretability-performance gap" stems from the discrete, non-differentiable nature of logical rules, which prevents the application of modern optimization techniques like backpropagation. This research aims to create a model that is trained like a neural network but functions as a set of logical rules.

Methodology

The proposed framework consists of four core components:

  1. Concept Rule Sets (CRS): A transparent model composed of alternating layers of AND (conjunction) and OR (disjunction) gates. This hierarchical structure allows for the representation of complex non-linear logic in a compact, readable format.
  2. Multilayer Logical Perceptron (MLLP): To facilitate training via gradient descent, the authors developed MLLP, a continuous and differentiable version of CRS. MLLP employs logical activation functions that approximate Boolean operations using values in the range [0, 1].
  3. Random Binarization (RB): To prevent the continuous MLLP from deviating too far from the discrete CRS during training, RB randomly forces a subset of weights to be binary (0 or 1). This acts as both a regularizer and a mechanism to ensure the final extracted rules remain accurate.
  4. Simplification: Post-training, the model undergoes pruning through "Dead Node Detection" and "Redundant Rule Elimination" to ensure the final rule set is as concise as possible.
Architecture of the Concept Rule Set (CRS) and its differentiable counterpart, the Multilayer Logical Perceptron (MLLP).

Experimental Results

The model was evaluated on 12 UCI datasets, covering diverse domains from income prediction (Adult) to game outcomes (Chess, Tic-tac-toe). CRS achieved an average F1 score of 86.98%, outperforming standard transparent models like C4.5 (84.48%) and CART (84.44%). Notably, CRS performed comparably to ensemble methods like Random Forest (100 trees), which are typically much harder to interpret.

Furthermore, the complexity of the learned CRS models—measured by the number of edges—remained significantly lower than that of complex ensembles and close to simple decision trees, as shown in the comparison across datasets. This demonstrates that CRS can achieve high performance without sacrificing human readability.

Comparison of model complexity (log number of edges) across various datasets.

Key Insights

  • Gradient Descent for Logic: The most significant insight is that we don't have to choose between "neural" and "symbolic." By carefully designing activation functions, we can use backpropagation to "discover" logical rules.
  • The Consistency Gap: Simply binarizing a trained continuous model usually results in a massive drop in accuracy. The Random Binarization technique solves this by "teaching" the model to be robust to binarization during the training phase.
  • Interpretability as a Constraint: Instead of training a black box and trying to explain it later, this method builds interpretability into the architecture itself.

Limitations and Future Work

While the current approach represents a significant step toward high-performance, transparent AI, it currently requires feature discretization and focuses primarily on tabular data. Future work will explore applications to unstructured data, such as raw images or text, and further optimization for extremely high-dimensional feature spaces.

Summary updated

BibTeX
@inproceedings{wang2020transparent,
  author = {Zhuo Wang and Wei Zhang and Ning Liu and Jianyong Wang},
  title = {{Transparent Classification with Multilayer Logical Perceptrons and Random Binarization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6102},
}
Figure