[Paper Review] Generalizing Logic-based Explanations for Machine Learning Classifiers via Optimization
This paper proposes two optimization-based methods (Onestep and Twostep) to inflate logic-based abductive explanations for ML classifiers, improving coverage while managing computation time.
Machine learning models support decision-making, yet the reasons behind their predictions are opaque. Clear and reliable explanations help users make informed decisions and avoid blindly trusting model outputs. However, many existing explanation methods fail to guarantee correctness. Logic-based approaches ensure correctness but often offer overly constrained explanations, limiting coverage. Recent work addresses this by incrementally expanding explanations while maintaining correctness. This process is performed separately for each feature, adjusting both its upper and lower bounds. However, this approach faces a trade-off: smaller increments incur high computational costs, whereas larger ones may lead to explanations covering fewer instances. To overcome this, we propose two novel methods. Onestep builds upon this prior work, generating explanations in a single step for each feature and each bound, eliminating the overhead of an iterative process. extit{Twostep} takes a gradual approach, improving coverage. Experimental results show that Twostep significantly increases explanation coverage (by up to 72.60\% on average across datasets) compared to Onestep and, consequently, to prior work.
Motivation & Objective
- Improve the generalization of logic-based abductive explanations for ML classifiers.
- Develop methods that guarantee correctness while expanding explanation ranges.
- Balance coverage and computational efficiency in generating inflated explanations.
- Apply the methods to SVM and MLP classifiers and evaluate across multiple datasets.
Proposed method
- Represent classifiers (SVM and MLP) as first-order logic formulas and MILP/LP formulations to obtain correct abductive explanations.
- Introduce Onestep: use optimization to find maximal/minimal feature ranges in one step for each bound, avoiding iterative increments.
- Introduce Twostep: control expansion order to improve global explanation coverage and reduce over-constraining any single feature.
- Solve the abductive explanations by checking satisfiability via MILP/LP solvers, enabling polynomial-time verification for linear SVCs.
- Define P to capture the necessary prediction condition and derive E such that E ∪ D ⊨ P with E minimal.

Experimental results
Research questions
- RQ1How can logic-based explanations be inflated while preserving correctness for ML classifiers?
- RQ2Do optimization-based inflation methods improve the coverage of abductive explanations compared to incremental approaches?
- RQ3What is the trade-off between coverage gain and computation time when using Onestep and Twostep?
- RQ4Can the proposed methods be effectively applied to SVM and MLP models beyond the datasets tested?
- RQ5How does explanation generalization behave on synthetic versus real datasets?
Key findings
- Twostep increases explanation coverage by up to 72.60% on average across datasets compared to Onestep.
- Twostep incurs a 55.65% increase in computation time relative to Onestep.
- Onestep computes inflated explanations in a single optimization step per bound per feature, avoiding iterative range overshooting.
- Explanations are computed by solving MILP/LP formulations representing the classifiers and their domain constraints.
- Experiments evaluate four metrics: computation time, coverage on the original dataset, coverage on synthetic data, and range width across 12 datasets.

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.