arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17858cs.DB
收藏

多属性群体公平性在向量数据库上的k-NN查询

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

NJIT(新泽西理工学院)

Thinh On, Senjuti Basu Roy, Baruch Schieber

AI总结:

本文提出了一种多属性群体公平性框架,通过改进的LSH和整数线性规划算法,在向量数据库的k-NN查询中实现公平性与效率的平衡。

摘要:

我们首次研究了在向量数据库上进行k-近邻(k-NN)搜索中的多属性群体公平性。与之前优化效率或查询过滤的工作不同,公平性要求对由受保护属性定义的群体施加计数约束,以确保各群体的比例代表性。当公平性跨越多个属性时,这些约束必须同时满足,使问题在计算上变得困难。为了解决这个问题,我们提出了一种计算框架,能够生成高质量的近似最近邻,同时在搜索时间、内存/索引成本和召回率之间取得良好的平衡。我们适应局部敏感哈希(LSH)来加速候选生成,并在受保护属性值的笛卡尔积上构建一个轻量级索引。我们的框架会检索满足联合计数约束的候选,并通过后处理阶段构建公平的k-NN结果。对于两个属性,我们提出了一个精确的多项式时间流算法;对于三个或更多属性,我们提出了基于整数线性规划(ILP)的精确解法,但计算成本更高。我们提供了理论保证,识别了效率-公平性权衡,并通过实验表明现有的向量搜索方法不能直接用于公平性。实验评估展示了所提框架的通用性和可扩展性。

英文摘要:

We initiate the study of multi-attribute group fairness in $k$-nearest neighbor ($k$-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 $k$-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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑