arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.06001cs.DBcs.DS
收藏

排序函数中参数的重要性

The Importance of Parameters in Ranking Functions

RWTH Aachen University(亚琛工业大学);UC Santa Cruz(加州大学圣克鲁兹分校);Northeastern University(东北大学);Technion(以色列理工学院);RelationalAI Inc.(RelationalAI公司)

Christoph Standke, Nikolaos Tziavelis, Wolfgang Gatterbauer, Benny Kimelfeld

AI总结:

研究探讨了排序函数中参数权重的重要性,通过分析SHAP分数的计算复杂性,揭示了不同排序和效果函数下精确计算的难度,以及Shapley值的扩展应用。

摘要:

在确定表中元组排序时,某一列的权重有多重要?为了回答关于排序函数的此类解释性问题,我们研究了计算SHAP分数以确定列权重的方法,采用Grohe等人[ICDT'24]最近提出的一个框架。该分数的确切定义依赖于三个关键组成部分:(1)所使用的排序函数,(2)量化使用替代权重对排序影响的效果函数,以及(3)底层的权重分布。我们分析了该框架不同实例的计算复杂性,针对一系列基本的排序和效果函数,重点研究了单个列的概率独立有限分布。对于排序函数,我们检查了字典序和由求和、最小值和最大值函数定义的分数排序。对于效果函数,我们考虑了全局、top-k和局部视角:全局度量量化扰动和原始排序之间的差异,top-k度量检查top-k答案集的变化,局部度量捕捉对感兴趣元组的影响。尽管所有情况都允许加性完全多项式时间随机近似方案(FPRAS),但我们确定了精确计算的复杂性,识别出哪些情况可以在多项式时间内解决,哪些是#P难的。我们进一步证明,所有复杂性结果、下界和上界都扩展到计算整个列的Shapley值(无论其权重)的相关任务。

英文摘要:

How important is the weight of a given column in determining the ranking of tuples in a table? To address such an explanation question about a ranking function, we investigate the computation of SHAP scores for column weights, adopting a recent framework by Grohe et al.[ICDT'24]. The exact definition of this score depends on three key components: (1) the ranking function in use, (2) an effect function that quantifies the impact of using alternative weights on the ranking, and (3) an underlying weight distribution. We analyze the computational complexity of different instantiations of this framework for a range of fundamental ranking and effect functions, focusing on probabilistically independent finite distributions for individual columns. For the ranking functions, we examine lexicographic orders and score-based orders defined by the summation, minimum, and maximum functions. For the effect functions, we consider global, top-k, and local perspectives: global measures quantify the divergence between the perturbed and original rankings, top-k measures inspect the change in the set of top-k answers, and local measures capture the impact on an individual tuple of interest. Although all cases admit an additive fully polynomial-time randomized approximation scheme (FPRAS), we establish the complexity of exact computation, identifying which cases are solvable in polynomial time and which are #P-hard. We further show that all complexity results, lower bounds and upper bounds, extend to a related task of computing the Shapley value of whole columns (regardless of their weight).

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

↑