# Generalized Deletion Propagation on Counting Conjunctive Query Answers

**Authors:** Debmalya Panigrahi, Shweta Patwa, and Sudeepa Roy

arXiv: 1907.10125 · 2019-07-25

## TL;DR

This paper studies the complexity of minimally removing input tuples to eliminate a specified number of output tuples in conjunctive query results, providing a structural characterization of tractable cases and approximation algorithms for hard cases.

## Contribution

It offers a complexity dichotomy for deletion propagation in conjunctive queries, identifying structural conditions for polynomial solvability and developing approximation algorithms for NP-hard cases.

## Key findings

- Dichotomy theorem classifies full conjunctive queries as either polynomial-time solvable or NP-hard.
- Provides an exact algorithm for easy cases of the problem.
- Develops approximation algorithms for the hard cases.

## Abstract

We investigate the computational complexity of minimizing the source side-effect in order to remove a given number of tuples from the output of a conjunctive query. In particular, given a multi-relational database $D$, a conjunctive query $Q$, and a positive integer $k$ as input, the goal is to find a minimum subset of input tuples to remove from D that would eliminate at least $k$ output tuples from $Q(D)$. This problem generalizes the well-studied deletion propagation problem in databases. In addition, it encapsulates the notion of intervention for aggregate queries used in data analysis with applications to explaining interesting observations on the output. We show a dichotomy in the complexity of this problem for the class of full conjunctive queries without self-joins by giving a characterization on the structure of $Q$ that makes the problem either polynomial-time solvable or NP-hard. Our proof of this dichotomy result already gives an exact algorithm in the easy cases; we complement this by giving an approximation algorithm for the hard cases of the problem.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.10125/full.md

## Figures

44 figures with captions in the complete paper: https://tomesphere.com/paper/1907.10125/full.md

## References

25 references — full list in the complete paper: https://tomesphere.com/paper/1907.10125/full.md

---
Source: https://tomesphere.com/paper/1907.10125