English

Multi-Attribute Group Fairness in $k$-NN Queries on Vector Databases

Databases 2026-02-23 v1

Abstract

We initiate the study of multi-attribute group fairness in kk-nearest neighbor (kk-NN) search over vector databases. Unlike prior work that optimizes efficiency or query filtering, fairness imposes count constraints to ensure proportional representation across groups defined by protected attributes. When fairness spans multiple attributes, these constraints must be satisfied simultaneously, making the problem computationally hard. To address this, we propose a computational framework that produces high-quality approximate nearest neighbors with good trade-offs between search time, memory/indexing cost, and recall. We adapt locality-sensitive hashing (LSH) to accelerate candidate generation and build a lightweight index over the Cartesian product of protected attribute values. Our framework retrieves candidates satisfying joint count constraints and then applies a post-processing stage to construct fair kk-NN results across all attributes. For 2 attributes, we present an exact polynomial-time flow-based algorithm; for 3 or more, we formulate ILP-based exact solutions with higher computational cost. We provide theoretical guarantees, identify efficiency--fairness trade-offs, and empirically show that existing vector search methods cannot be directly adapted for fairness. Experimental evaluations demonstrate the generality of the proposed framework and scalability.

Keywords

Cite

@article{arxiv.2602.17858,
  title  = {Multi-Attribute Group Fairness in $k$-NN Queries on Vector Databases},
  author = {Thinh On and Senjuti Basu Roy and Baruch Schieber},
  journal= {arXiv preprint arXiv:2602.17858},
  year   = {2026}
}
R2 v1 2026-07-01T10:43:39.752Z