The Complexity of the Shapley Value for Regular Path Queries
Majd Khalil, Benny Kimelfeld

TL;DR
This paper investigates the computational complexity of calculating the Shapley value for edges and vertices in regular path queries on graphs, revealing hardness results and conditions for tractability and approximation.
Contribution
It provides a comprehensive complexity analysis of the Shapley value in regular path queries, identifying when exact and approximate computations are feasible.
Findings
Exact Shapley value computation is #P-hard for certain query classes.
Tractability is characterized by the maximum length of words in the query.
Efficient approximation schemes exist for specific cases with finite languages.
Abstract
A path query extracts vertex tuples from a labeled graph, based on the words that are formed by the paths connecting the vertices. We study the computational complexity of measuring the contribution of edges and vertices to an answer to a path query, focusing on the class of conjunctive regular path queries. To measure this contribution, we adopt the traditional Shapley value from cooperative game theory. This value has been recently proposed and studied in the context of relational database queries and has uses in a plethora of other domains. We first study the contribution of edges and show that the exact Shapley value is almost always hard to compute. Specifically, it is #P-hard to calculate the contribution of an edge whenever at least one (non-redundant) conjunct allows for a word of length three or more. In the case of regular path queries (i.e., no conjunction), the problem is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Advanced Graph Theory Research · Logic, Reasoning, and Knowledge
