English

The Computational Complexity of Understanding Network Decisions

Computational Complexity 2019-06-19 v2

Abstract

For a Boolean function Φ ⁣:{0,1}d{0,1}\Phi\colon\{0,1\}^d\to\{0,1\} and an assignment to its variables x=(x1,x2,,xd)\mathbf{x}=(x_1, x_2, \dots, x_d) we consider the problem of finding the subsets of the variables that are sufficient to determine the function value with a given probability δ\delta. This is motivated by the task of interpreting predictions of binary classifiers described as Boolean circuits (which can be seen as special cases of neural networks). We show that the problem of deciding whether such subsets of relevant variables of limited size kdk\leq d exist is complete for the complexity class NPPP\mathsf{NP}^{\mathsf{PP}} and thus generally unfeasible to solve. We introduce a variant where it suffices to check whether a subset determines the function value with probability at least δ\delta or at most δγ\delta-\gamma for 0<γ<δ0<\gamma<\delta. This reduces the complexity to the class NPBPP\mathsf{NP}^{\mathsf{BPP}}. Finally, we show that finding the minimal set of relevant variables can not be reasonably approximated, i.e. with an approximation factor d1αd^{1-\alpha} for α>0\alpha > 0, by a polynomial time algorithm unless P=NP\mathsf{P} = \mathsf{NP} (this holds even with the probability gap).

Keywords

Cite

@article{arxiv.1905.09163,
  title  = {The Computational Complexity of Understanding Network Decisions},
  author = {Stephan Wäldchen and Jan Macdonald and Sascha Hauch and Gitta Kutyniok},
  journal= {arXiv preprint arXiv:1905.09163},
  year   = {2019}
}

Comments

added acknowledgements, added a reference

R2 v1 2026-06-23T09:17:41.496Z