Efficient Formal Explanations for Monotonic Classifiers

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 116 papers22 conceptsfrozen 2026-10-04

In the field of Explainable AI (XAI), there is a persistent tension between speed and rigor. Heuristic methods like LIME or SHAP provide quick "feature importance" scores but offer no guarantees that the features they highlight actually determine the model's decision. Conversely, formal explanations—which identify the minimal set of features that logically guarantee a specific outcome—are mathematically rigorous but typically suffer from exponential computational complexity (NP-hardness).

A growing body of research suggests that this complexity barrier can be bypassed by enforcing a specific structural property: monotonicity. When a model is monotonic, adding more of a "positive" feature consistently increases (or maintains) the probability of a positive outcome. This simple constraint transforms the search for explanations from a needle-in-a-haystack problem into a tractable, polynomial-time task.

The Complexity Paradox of Explanations

To explain a decision formally, researchers often look for a Prime Implicant (PI): a minimal set of feature values such that any input sharing these values is guaranteed to receive the same classification. As Marcelo Arenas and Pablo Barcelo demonstrate in On Computing Probabilistic Explanations for Decision Trees, even for "interpretable" models like decision trees, finding the best probabilistic explanation is NP-hard.

The difficulty stems from the non-monotonic nature of most models. If a model's output can fluctuate wildly as features are added or removed, an algorithm must check every possible combination of features to ensure a subset is truly "sufficient." However, Shahaf Bassan and Guy Katz observe in Unifying Formal Explanations: A Complexity-Theoretic Perspective that global explanation functions often exhibit monotonic behavior, which allows simple greedy algorithms to succeed where exhaustive searches were previously required.

In a monotonic classifier, the relationship between inputs and outputs is unidirectional. If a set of features $S$ is sufficient to trigger a "Yes" decision, any superset of $S$ will also trigger a "Yes." This property collapses the search space.

João Marques-Silva 0001 and Alexey Ignatiev leverage this in Explanations for Monotonic Classifiers, showing that for monotonic models, formal "Why" and "Why Not" explanations can be computed in polynomial time. Instead of checking all combinations, a greedy algorithm can simply remove features one by one; if the decision holds, the feature was redundant. Because of monotonicity, we never have to worry that removing a feature might "accidentally" make the decision stronger or flip it in an unpredictable way.

Finding the Absolute Smallest Explanation

There is a distinction between a subset-minimal explanation (no feature can be removed) and a cardinality-minimal explanation (the absolute fewest number of features). Usually, finding the latter is much harder.

However, monotonicity bridges this gap. In A Symbolic Approach to Explaining Bayesian Network Classifiers, Andy Shih, Adnan Darwiche, and Arthur Choi show that in monotonic classifiers, the shortest prime-implicant is equivalent to the minimum-cardinality explanation. This means that by simply looking for a sufficient set of active features, you are guaranteed to find the most concise explanation possible.

This principle extends even to complex architectures like neural networks. Bernardo Cuenca Grau and Ian Horrocks demonstrate in Cardinality-Minimal Explanations for Monotonic Neural Networks that if a neural network is constrained to be monotonic and uses smooth activation functions (like ReLU), a greedy selection strategy can find the absolute smallest set of features to explain a prediction in polynomial time.

Robustness and Stability

Beyond efficiency, monotonicity provides structural stability. In the context of social choice and logical operations, Noam Lifshitz and Yuval Filmus show in AND testing and robust judgement aggregation that monotonicity prevents the emergence of complex, non-standard logical behaviors, forcing approximate solutions to collapse into simple, understandable structures.

This stability is crucial for "recursive" explainability. Emanuele La Malfa and Michael J. Wooldridge introduce the concept of Fixed Point Explainability in Fixed Point Explainability, arguing that an explanation is only trustworthy if re-explaining the explanation yields the same result. They find that monotonicity is a key ingredient in ensuring this process converges to a stable, minimal subset of features rather than oscillating indefinitely.

By constraining models to be monotonic, researchers are transforming XAI from a search for "best-guess" heuristics into a rigorous, efficient, and stable science of formal guarantees.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_efficient_formal_explanations_for_monoto_498852ef,
  title = {Efficient Formal Explanations for Monotonic Classifiers},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/efficient-formal-explanations-for-monotonic-classifiers/rdr_498852efd6b74d47adcc819c2082dafe},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_efficient_formal_explanations_for_monoto_498852ef_v1,
  title = {Efficient Formal Explanations for Monotonic Classifiers},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/efficient-formal-explanations-for-monotonic-classifiers/rdr_498852efd6b74d47adcc819c2082dafe/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}