Abstract
Neural networks are often criticized for their "black box" nature, making their decision-making processes opaque to human users. This paper proposes a method for acquiring human-readable fuzzy If-Then rules from trained multi-layer perceptrons using fuzzy number operations. By inputting linguistic labels (e.g., "small," "medium," "large") into a pre-trained network and processing the outputs via fuzzy arithmetic, the system extracts rules with associated certainty factors (CF). The effectiveness of this approach is demonstrated through a synthetic 2D pattern recognition problem and the classic Fisher’s Iris dataset, where the extracted rules achieved high fidelity to the original network's decision boundaries.
Introduction
While multi-layer perceptrons excel at pattern recognition, understanding why a network classifies a specific input is nearly impossible by inspecting weight parameters alone. This research aims to bridge the gap between the high performance of neural networks and the interpretability of fuzzy logic. The proposed method extracts knowledge from networks that have already been trained, allowing practitioners to verify if a model's logic aligns with expert domain knowledge without requiring specialized architectures.
Methodology
The core innovation lies in treating the neural network as a processor for fuzzy numbers rather than crisp real numbers. The process follows three main steps:
- Fuzzy Input Mapping: Input features are mapped to linguistic terms represented as fuzzy sets. These typically include labels like Small (S), Medium (M), and Large (L).
- Fuzzy Propagation: Using the Extension Principle of fuzzy sets, these linguistic inputs are propagated through the network's weights and sigmoid activation functions. This involves interval arithmetic at different $\alpha$-cuts to determine the shape of the output fuzzy sets.
- Rule Generation and Pruning: The class assigned to a rule is determined by the output unit producing the largest fuzzy set. A Certainty Factor (CF) is then calculated based on the overlap between the winning class and others. Redundant rules are pruned, particularly those covered by more general "Don't Care" conditions.
Experiments and Results
The authors evaluated the approach on two benchmarks: a synthetic 3-class 2D dataset and the Fisher’s Iris dataset.
Key Findings
- Boundary Fidelity: In the 2D simulation, the decision boundaries generated by the extracted fuzzy rules were almost identical to the complex, non-linear boundaries of the original neural network.
- High Accuracy: On the Iris dataset, the extracted rules achieved an average accuracy of 96.7% to 97.4%. This confirms that the fuzzy rules successfully captured the "essence" of the neural network's learned knowledge.
- Interpretability: The system reduced a complex network into a small, verifiable table of rules. The inclusion of "Don't Care" labels proved essential for identifying irrelevant features and simplifying the resulting rule set.
Discussion and Conclusion
This method serves as both a classifier and a diagnostic tool. If extracted rules contradict expert knowledge, it indicates potential biases in the training data or insufficient learning. While the approach faces the "curse of dimensionality"—where the number of potential rules grows exponentially with input features—it provides a robust framework for making neural networks explainable. Future work will focus on more sophisticated rule search algorithms to handle higher-dimensional data more efficiently.
Summary updated