Learning Interpretable Rules for Scalable Data Representation and Classification

Zhuo Wang, Wei Zhang, Ning Liu, Jianyong Wang
10/22/2023
cs.LGcs.AI

Official code: 12wang3/rrl (118 stars, MIT, last commit 2024-03-12).

Abstract

Rule-based models, e.g., decision trees, are widely used in scenarios demanding high model interpretability for their transparent inner structures and good model expressivity. However, rule-based models are hard to optimize, especially on large data sets, due to their discrete parameters and structures. Ensemble methods and fuzzy/soft rules are commonly used to improve performance, but they sacrifice the model interpretability. To obtain both good scalability and interpretability, we propose a new classifier, named Rule-based Representation Learner (RRL), that automatically learns interpretable non-fuzzy rules for data representation and classification. To train the non-differentiable RRL effectively, we project it to a continuous space and propose a novel training method, called Gradient Grafting, that can directly optimize the discrete model using gradient descent. A novel design of logical activation functions is also devised to increase the scalability of RRL and enable it to discretize the continuous features end-to-end. Exhaustive experiments on ten small and four large data sets show that RRL outperforms the competitive interpretable approaches and can be easily adjusted to obtain a trade-off between classification accuracy and model complexity for different scenarios. Our code is available at: https://github.com/12wang3/rrl.

View on arXivView PDF

Code Implementations(1)

12wang3/rrlOfficial100%
MIT

The code of NeurIPS 2021 paper "Scalable Rule-Based Representation Learning for Interpretable Classification" and TPAMI paper "Learning Interpretable Rules for Scalable Data Representation and Classification"

11840PythonSep 30, 20212 years agoMIT
explainabilityexplainable-aiexplainable-mlimlinterpretability+11 more

Similar Papers

Cite this paper

@article{wang2023learning,
  title  = {Learning Interpretable Rules for Scalable Data Representation and Classification},
  author = {Zhuo Wang and Wei Zhang and Ning Liu and Jianyong Wang},
  year   = {2023},
  eprint = {2310.14336},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.14336v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.14336.svg)](https://codeofpaper.com/paper/2310.14336)

Discussion