Abstract
Faithful explanations are essential for machine learning models in high-stakes applications. Inherently interpretable models are well-suited for these applications because they naturally provide faithful explanations by revealing their decision logic. However, model designers often need to keep these models proprietary to maintain their value. This creates a tension: we need models that are interpretable—allowing human decision-makers to understand and justify predictions, but not transparent, so that the model's decision boundary is not easily replicated by attackers. Shielding the model's decision boundary is particularly challenging alongside the requirement of completely faithful explanations, since such explanations reveal the true logic of the model for an entire subspace around each query point. This work provides an approach, FaithfulDefense, that creates model explanations for logical models that are completely faithful, yet reveal as little as possible about the decision boundary. FaithfulDefense is based on a maximum set cover formulation, and we provide multiple formulations for it, taking advantage of submodularity.
Introduction
In high-stakes domains such as finance and healthcare, the demand for transparency is often codified in law (e.g., GDPR in the EU, ECOA in the US). While inherently interpretable models like decision trees or decision sets are ideal for providing "faithful" explanations—where the explanation accurately reflects the model's internal logic—they are uniquely vulnerable to model extraction attacks. In such attacks, an adversary queries the model to build a surrogate that mimics the original's behavior. If each query is accompanied by a faithful explanation, the attacker can reconstruct the proprietary decision boundary with significantly fewer queries. This paper introduces FaithfulDefense, a framework designed to provide 100% faithful explanations while minimizing the information leaked to potential attackers.
The FaithfulDefense Framework
The core insight of FaithfulDefense is that a faithful explanation does not need to be exhaustive. For logical models (e.g., OR-of-ANDs), an explanation is faithful if it is a sufficient condition for the prediction. By selecting a more specific subset of the true rule or by appending additional valid conditions, the defender can "narrow" the subspace covered by the explanation.
The problem is formulated as a maximum set cover optimization: find the smallest explanation that covers the minimum number of other positive samples in the training set. This minimizes the "support coverage," a proxy for information leakage. The authors propose three implementation variants:
- FaithfulDefense Greedy: Leverages submodular optimization for near-instantaneous generation (typically < 0.1s).
- FaithfulDefense IP: Uses Integer Programming for an exact optimal solution.
- FaithfulDefense IP-RA: An IP-based approach that randomly appends extra conditions to further restrict the explanation's coverage within a given length budget.
Experimental Evaluation
The method was evaluated on three tabular datasets: FICO Credit Risk, German Credit, and Kaggle Loan Prediction. The researchers simulated three attacker strategies: random queries, active learning queries, and perturbation-based queries.
Information Leakage and Security
The effectiveness of the defense is measured by the support coverage of the explanations and the resulting error rate of the attacker's surrogate model.
As shown in Figure 1, FaithfulDefense significantly reduces the percentage of positive samples covered by explanations compared to baseline methods. By "cloaking" the broader logic, the method forces attackers to make more queries to achieve the same level of accuracy.
Figure 3 demonstrates that FaithfulDefense (particularly the IP-RA variant) consistently maintains a higher error rate for the attacker's surrogate model across various query budgets. In several scenarios, the security provided by FaithfulDefense is comparable to providing no explanation at all, while still fulfilling the requirement for 100% faithfulness.
Results and Discussion
A critical advantage of FaithfulDefense over post-hoc explainers like LIME is its guaranteed faithfulness. While LIME often exhibits a non-zero False Positive Rate (FPR)—meaning it may provide an explanation that does not actually trigger the model's decision—FaithfulDefense maintains a 0% FPR across all tests. Furthermore, the greedy implementation is highly efficient, making it suitable for real-time production environments where explanations must be generated instantly.
Conclusion
FaithfulDefense resolves the conflict between the legal right to explanation and the commercial need for model secrecy. By framing explanation generation as a constrained optimization problem, it provides a path for organizations to deploy interpretable models without surrendering their intellectual property. Future work includes extending this framework to non-logical models and addressing multi-class classification problems.
Summary updated