A Query-Optimal Algorithm for Finding Counterfactuals
International Conference on Machine Learning (ICML), 2022
Abstract
We design an algorithm for finding counterfactuals with strong theoretical guarantees on its performance. For any monotone model and instance , our algorithm makes \[ {S(f)^{O(\Delta_f(x^\star))}\cdot \log d}\] queries to and returns {an {\sl optimal}} counterfactual for : a nearest instance to for which . Here is the sensitivity of , a discrete analogue of the Lipschitz constant, and is the distance from to its nearest counterfactuals. The previous best known query complexity was , achievable by brute-force local search. We further prove a lower bound of on the query complexity of any algorithm, thereby showing that the guarantees of our algorithm are essentially optimal.
View on arXivComments on this paper
