Towards Tractability of the Diversity of Query Answers: Ultrametrics to the Rescue
Marcelo Arenas, Timo Camillo Merkl, Reinhard Pichler, and Cristian, Riveros

TL;DR
This paper explores the use of ultrametrics to efficiently find diverse query answer subsets, overcoming previous intractability issues, and provides polynomial algorithms under certain conditions for practical query evaluation.
Contribution
It introduces sufficient conditions on diversity functions based on ultrametrics that enable polynomial-time algorithms for constructing diverse answer subsets.
Findings
Polynomial-time algorithms for diverse answer sets under ultrametric conditions
Conditions satisfied by all literature-diversity functions considered
Efficient algorithms for acyclic conjunctive query answer diversity
Abstract
The set of answers to a query may be very large, potentially overwhelming users when presented with the entire set. In such cases, presenting only a small subset of the answers to the user may be preferable. A natural requirement for this subset is that it should be as diverse as possible to reflect the variety of the entire population. To achieve this, the diversity of a subset is measured using a metric that determines how different two solutions are and a diversity function that extends this metric from pairs to sets. In the past, several studies have shown that finding a diverse subset from an explicitly given set is intractable even for simple metrics (like Hamming distance) and simple diversity functions (like summing all pairwise distances). This complexity barrier becomes even more challenging when trying to output a diverse subset from a set that is only implicitly given such…
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
TopicsAdvanced Database Systems and Queries
