[Paper Review] Distilling a Deep Neural Network into a Takagi-Sugeno-Kang Fuzzy Inference System
This paper proposes distilling knowledge from a deep neural network (DNN) into a Takagi-Sugeno-Kang (TSK) fuzzy inference system (FIS) to create a more interpretable, rule-based model for classification. By applying knowledge distillation with a modified KD approach and using PCA for feature extraction, the method achieves higher accuracy than baseline models while enabling transparent decision explanations through fuzzy rules.
Deep neural networks (DNNs) demonstrate great success in classification tasks. However, they act as black boxes and we don't know how they make decisions in a particular classification task. To this end, we propose to distill the knowledge from a DNN into a fuzzy inference system (FIS), which is Takagi-Sugeno-Kang (TSK)-type in this paper. The model has the capability to express the knowledge acquired by a DNN based on fuzzy rules, thus explaining a particular decision much easier. Knowledge distillation (KD) is applied to create a TSK-type FIS that generalizes better than one directly from the training data, which is guaranteed through experiments in this paper. To further improve the performances, we modify the baseline method of KD and obtain good results.
Motivation & Objective
- To address the lack of interpretability in deep neural networks (DNNs) by transforming them into rule-based, explainable models.
- To leverage knowledge distillation (KD) to transfer DNN knowledge into a TSK-type Fuzzy Inference System (FIS) for better generalization.
- To improve model interpretability by expressing DNN decisions through human-readable fuzzy rules.
- To enhance performance and generalization of the student FIS model through a modified KD method tailored to the TSK-FIS architecture.
- To validate the approach on benchmark datasets (MNIST, FashionMNIST) and compare it with existing interpretable models like decision trees and CNN+TSK hybrids.
Proposed method
- The method uses knowledge distillation to transfer knowledge from a pre-trained DNN (teacher) to a TSK-type FIS (student), where the student learns to mimic the DNN’s output probabilities.
- Input features are reduced via Principal Component Analysis (PCA) to improve interpretability and reduce dimensionality before feeding into the FIS.
- The student FIS is trained online on PCA-transformed features, while the teacher model is pre-trained on raw data, emulating cross-modality knowledge distillation.
- A modified knowledge distillation method is proposed to account for the generalization gap between teacher and student models, improving performance.
- Each fuzzy rule in the TSK-FIS has a premise (Gaussian membership functions) and a consequent (linear output), with rule firing strength computed via product T-norm and normalized.
- Final predictions are obtained by weighted averaging of rule outputs using normalized firing strengths, followed by a softmax transformation for probability output.
Experimental results
Research questions
- RQ1Can knowledge distillation effectively transfer decision-making knowledge from a DNN to a TSK-type FIS while preserving accuracy and improving interpretability?
- RQ2How does the performance of a TSK-FIS distilled from a DNN compare to that of a decision tree with knowledge distillation on standard benchmark datasets?
- RQ3To what extent does using PCA for input feature reduction enhance the interpretability and performance of the distilled TSK-FIS?
- RQ4Does the proposed modified knowledge distillation method improve the generalization and accuracy of the TSK-FIS compared to the baseline KD approach?
- RQ5Can the TSK-FIS model provide meaningful, human-understandable explanations for its classification decisions through rule-based reasoning?
Key findings
- The proposed method achieved 97.91% accuracy on MNIST and 88.49% on FashionMNIST, outperforming the DT+KD baseline (96.76%) and the CNN+TSK model (97.52% and 84.50%).
- The modified knowledge distillation method improved student model accuracy by 1.6% on MNIST and 1.5% on FashionMNIST compared to the baseline KD, which improved by 1.2% and 0.8% respectively.
- The TSK-FIS student model used only 12K trainable parameters, significantly fewer than the DNN teacher’s 120K (MNIST) and 1.694M (FashionMNIST), reducing storage and inference cost.
- The student model trained 16x faster than the teacher model on CPU (3.3s vs. 53s per epoch on MNIST), indicating superior training efficiency.
- The model provides transparent decision explanations: rule firing strengths and consequent scores reveal feature contributions and category similarities (e.g., sneaker, sandal, and ankle boot are closely related in rule outputs).
- Visualization of rule activations confirms that the model correctly identifies the most relevant features and rules, with the highest firing strength and score for the correct class (sneaker), validating the interpretability of the rule-based system.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.