Distillation for rule lists is a post-hoc interpretability technique where a transparent student model is trained to output a decision set or rule list that faithfully approximates a complex teacher model. Unlike standard distillation that transfers knowledge to a compact neural network, this method extracts a symbolic, human-readable logic from the teacher's soft targets, producing a sparse set of if-then conditions that explain the model's global behavior.
Glossary
Distillation for Rule Lists

What is Distillation for Rule Lists?
Training a transparent student model to produce a stable, sparse set of if-then rules that mimics a black-box teacher's decision boundaries.
Algorithms like SIRUS (Stable and Interpretable RUle Set) achieve this by distilling the teacher's predictions into a stabilized rule list derived from random forest node paths, ensuring stability across data perturbations. The resulting student provides a globally interpretable approximation where each rule's coverage and prediction are explicit, enabling auditors to trace exact decision pathways without sacrificing the fidelity to the original black-box model's knowledge.
Key Characteristics of Rule List Distillation
Rule list distillation trains an interpretable student model to produce a sparse, stable set of if-then rules that faithfully approximate a black-box teacher's decision boundaries.
Stabilized Rule Extraction
Unlike standard decision trees, rule list distillation via algorithms like SIRUS enforces stability by restricting splits to a pre-defined set of empirical quantiles. This prevents minor data perturbations from generating wildly different rule sets, a critical requirement for regulatory auditability. The student model averages predictions from multiple shallow trees built from the same restricted feature space, yielding a compact, deterministic rule list.
Sparse If-Then Logic
The distilled output is a flat, unordered list of if-then rules that are applied sequentially or by voting. Each rule takes the form:
IF age ≤ 45 AND income > $80k THEN risk = lowIF age > 60 AND prior_claims ≥ 2 THEN risk = highThis sparsity makes the model's logic exhaustively auditable by human domain experts without requiring ML expertise.
Fidelity to the Teacher
The student rule list is trained to maximize fidelity—the percentage of predictions that match the black-box teacher—rather than ground-truth accuracy. High fidelity ensures the rules serve as a faithful post-hoc explanation of the teacher's behavior. A fidelity of 95%+ indicates the rule list captures the teacher's decision logic almost perfectly, even if the underlying rationale is complex.
Narrow vs. Wide Rules
Rule list distillation balances rule width (number of conditions per rule) against coverage. Narrow rules with 1-2 conditions are highly interpretable but may require many rules to achieve high fidelity. Wider rules with 3-4 conditions capture more complex interactions but reduce transparency. The SIRUS algorithm automatically prunes rules below a frequency threshold to maintain sparsity.
Global Surrogate Properties
As a global surrogate model, the distilled rule list approximates the teacher's entire decision boundary across the full input space. This contrasts with local methods like LIME that explain individual predictions. The rule list provides a complete, high-level map of the teacher's logic, making it suitable for model documentation and compliance with regulations like the EU AI Act.
Rule-Regularized Training
The distillation objective combines Kullback-Leibler divergence between teacher and student soft targets with a rule-regularization penalty. This penalty term explicitly encourages the student to form decision boundaries that are well-approximated by a small number of axis-aligned splits. The result is a student model whose logic is inherently extractable as a compact rule list without post-hoc simplification.
Frequently Asked Questions
Explore the technical mechanisms behind distilling opaque black-box models into transparent, stable rule lists using algorithms like SIRUS. These answers target the architectural decisions required to deploy auditable AI systems.
Distillation for rule lists is a post-hoc interpretability technique that trains a transparent student model—specifically one that outputs a decision set or rule list—to mimic a complex black-box teacher. The process begins by generating a synthetic dataset or using the original training data labeled with the teacher's soft targets. A stable rule-learning algorithm, such as SIRUS (Stable and Interpretable RUle Set), is then applied to this data. SIRUS extracts rules from a forest of shallow trees, but crucially stabilizes them by constraining splits and averaging paths, resulting in a compact, deterministic list of if-then statements that faithfully approximates the teacher's decision boundary while remaining fully auditable by human operators.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Explore the core concepts underpinning the extraction of stable, sparse rule lists from complex models. These techniques bridge the gap between black-box accuracy and human-auditable logic.
SIRUS Algorithm
A specific algorithm designed to extract stable and sparse rule lists from random forests. Unlike standard decision tree surrogates, SIRUS leverages the forest's structure to identify rules that are robust to data perturbations. It controls the number of rules by focusing on the most frequent paths, producing a distilled model that balances fidelity with high interpretability for regulatory compliance.
Decision Tree Surrogate
A globally interpretable tree-based model trained on the input-output pairs of a black-box model. It provides a high-level approximation of the teacher's decision logic. When used for distillation, the tree's paths are directly translatable into a rule list, offering a flowchart-like explanation. The key metric is fidelity, measuring how well the tree mimics the original model.
Rule-Regularized Distillation
A training method that adds a penalty term to the standard distillation loss. This penalty encourages the student model's decision boundaries to be simple and axis-aligned, making them highly amenable to extraction as a compact set of logical rules. It directly optimizes for the interpretability-accuracy tradeoff during the distillation process itself.
Fidelity-Evaluated Student
A student model whose quality is measured by its fidelity—the degree to which its predictions match those of the teacher on unseen data. For rule list distillation, high fidelity is crucial, as the rules must faithfully represent the teacher's logic, not just achieve high accuracy on the original ground-truth labels.
Global Surrogate Model
An inherently interpretable model trained to approximate the entire decision boundary of a black-box teacher. When the surrogate is a rule list, it provides a complete, if approximate, explanation of the teacher's behavior across the whole input space. This contrasts with local surrogates like LIME, which explain only a single prediction.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us