A Query-Optimal Algorithm for Finding Counterfactuals

07/14/2022
by   Guy Blanc, et al.
0

We design an algorithm for finding counterfactuals with strong theoretical guarantees on its performance. For any monotone model f : X^d →{0,1} and instance x^⋆, our algorithm makes S(f)^O(Δ_f(x^⋆))·log d queries to f and returns an optimal counterfactual for x^⋆: a nearest instance x' to x^⋆ for which f(x') f(x^⋆). Here S(f) is the sensitivity of f, a discrete analogue of the Lipschitz constant, and Δ_f(x^⋆) is the distance from x^⋆ to its nearest counterfactuals. The previous best known query complexity was d^ O(Δ_f(x^⋆)), achievable by brute-force local search. We further prove a lower bound of S(f)^Ω(Δ_f(x^⋆)) + Ω(log d) on the query complexity of any algorithm, thereby showing that the guarantees of our algorithm are essentially optimal.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/19/2022

The Query Complexity of Certification

We study the problem of certification: given queries to a function f : {...
research
11/04/2019

Optimal Adaptive Detection of Monotone Patterns

We investigate adaptive sublinear algorithms for detecting monotone patt...
research
10/03/2019

Finding monotone patterns in sublinear time

We study the problem of finding monotone subsequences in an array from t...
research
04/04/2022

An Optimal Algorithm for Certifying Monotone Functions

Given query access to a monotone function f{0,1}^n→{0,1} with certificat...
research
07/10/2018

On the complexity of the (approximate) nearest colored node problem

Given a graph G=(V,E) where each vertex is assigned a color from the set...
research
06/10/2021

An Instance-optimal Algorithm for Bichromatic Rectangular Visibility

Afshani, Barbay and Chan (2017) introduced the notion of instance-optima...
research
05/15/2020

Efficient Distributed Algorithms for the K-Nearest Neighbors Problem

The K-nearest neighbors is a basic problem in machine learning with nume...

Please sign up or login with your details

Forgot password? Click here to reset