Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
162 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Query-Optimal Algorithm for Finding Counterfactuals (2207.07072v1)

Published 14 Jul 2022 in cs.DS and cs.LG

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

Citations (5)

Summary

We haven't generated a summary for this paper yet.