# 凯梅尼–扬方法

**凯梅尼–扬方法**是一种投票与排名聚合规则，它选出的候选人排名，与选民提交的各排名之间的肯德尔–陶距离总和最小；所谓肯德尔–陶距离，是指两个排名对候选人两两相对次序的排列不同的对数<sup>[1](https://arxiv.org/abs/2607.25540)</sup>。该方法由约翰·G·凯梅尼（John G. Kemeny）在1959年发表于《代达罗斯》（*Daedalus*）的论文《没有数学的数学》（"Mathematics without Numbers"）中提出<sup>[2](https://www.cambridge.org/core/journals/american-political-science-review/article/abs/condorcets-theory-of-voting/ECA771E9F03D580843319566957ACC40)</sup>，又称凯梅尼规则、最大似然方法和中位关系<sup>[3](https://www.condorcet.vote/Condorcet_Methods)</sup>。

| 关键事实 | 详情 |
|---|---|
| 目标 | 找出与输入排名之间肯德尔–陶距离总和最小的排名，等价于最大化两两一致<sup>[1](https://arxiv.org/abs/2607.25540)</sup><sup> • </sup><sup>[4](https://citeseerx.ist.psu.edu/document?doi=b51a95065d7411cacaf7ec0a27fb53e23528fd33&repid=rep1&type=pdf)</sup> |
| 起源 | 约翰·G·凯梅尼，《没有数学的数学》，《代达罗斯》第88卷，1959年；凯梅尼与斯内尔的《社会科学中的数学模型》（1960年）发展了作为基础的这一距离<sup>[2](https://www.cambridge.org/core/journals/american-political-science-review/article/abs/condorcets-theory-of-voting/ECA771E9F03D580843319566957ACC40)</sup> |
| 公理化刻画 | 唯一同时满足中立性、强化性和孔多塞性的社会福利函数（扬与莱文格利克，1978年）<sup>[5](https://www.sciencedirect.com/science/article/pii/S0304397505005785)</sup> |
| 孔多塞行为 | 当孔多塞排名存在时返回该排名；满足孔多塞准则、史密斯准则和扩展孔多塞准则<sup>[6](https://www.mdpi.com/2227-7390/9/12/1380)</sup><sup> • </sup><sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup> |
| 统计学解读 | 在噪声选民模型下对真实排名的最大似然估计量<sup>[8](https://link.springer.com/article/10.1007/s11238-025-10120-5)</sup> |
| 计算状态 | 确定胜者是NP难的（巴索尔迪、托维与特里克，1989年），且对可通过并行访问NP求解的问题类是完全的（赫马斯帕安德拉、斯帕科夫斯基与福格尔，2005年）<sup>[5](https://www.sciencedirect.com/science/article/pii/S0304397505005785)</sup> |
| 实际规模 | 精确的分支定界算法可在数秒内求解多达约30–50个备选方案的实例<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S026322412100395X)</sup> |

## 规则如何运作

每位选民提交一份备选方案的排名，该方法对每一种可能的输出排名，按其与各投票的总分歧程度打分。形式化地说，给定一个排名剖面，某个候选排名的凯梅尼代价，是对所有选民求肯德尔–陶距离之和，即输出排名与每一票之间两两相对次序错位的数目；凯梅尼共识就是使该总和最小的任一排名<sup>[10](https://citeseerx.ist.psu.edu/document?doi=eb5fee142262111b996a94bb28a789c14e69e731&repid=rep1&type=pdf)</sup>。因此，该规则是肯德尔–陶度量下输入排名的中位数<sup>[1](https://arxiv.org/abs/2607.25540)</sup>。

该问题可以重新表述为两两比较网络上的线性排序问题：最小化肯德尔–陶距离总和，等价于寻找一个线性次序，使其有序对上的两两比较权重之和最大<sup>[11](https://www.kurims.kyoto-u.ac.jp/preprint/file/RIMS1994.pdf)</sup>。最大似然的解读可追溯至孔多塞，他认为如果选民有时判断有误，多数排名在统计上就是最可能正确的排名；扬证明了孔多塞为最可能排名提出的程序本质上就是凯梅尼规则<sup>[2](https://www.cambridge.org/core/journals/american-political-science-review/article/abs/condorcets-theory-of-voting/ECA771E9F03D580843319566957ACC40)</sup>。用现代术语说，凯梅尼规则是对正确排名的最大似然估计量，这使它非常适合认知社会选择，即假定存在真实基准的社会选择分支<sup>[8](https://link.springer.com/article/10.1007/s11238-025-10120-5)</sup>。

## 公理化地位

该规则的名声建立在一个刻画定理之上。扬与莱文格利克（1978年）证明，凯梅尼规则是唯一满足中立性——即重新命名候选人会对称地置换结果——和强化性——即规定结果如何在不相交的选民群体之间合并——的孔多塞一致社会福利函数<sup>[12](https://www.sciencedirect.com/science/article/am/pii/S030439752100414X)</sup>。其他文献将同一结果表述为：在满足中立性、一致性和孔多塞性的规则中是唯一的<sup>[5](https://www.sciencedirect.com/science/article/pii/S0304397505005785)</sup>。扬1988年对孔多塞理论的综述，将该规则描述为唯一满足无关备选方案独立性之变体以及若干其他标准性质的社会福利函数<sup>[2](https://www.cambridge.org/core/journals/american-political-science-review/article/abs/condorcets-theory-of-voting/ECA771E9F03D580843319566957ACC40)</sup>。

就行为表现而言，该规则在与多数原则有关的性质上表现很强。只要孔多塞排名存在，它总是返回该排名<sup>[6](https://www.mdpi.com/2227-7390/9/12/1380)</sup>；它满足史密斯准则——其胜者必须出自能以多数击败所有外部候选人的最小候选人集合——以及扩展孔多塞准则——只要第一组中每个成员都以多数击败第二组中每个成员，就对任意两组候选人排序<sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup>。它还满足3/4多数规则<sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup>。其显著的公理化弱点是克隆独立性：删除某个候选人的克隆，可能改变谁获胜<sup>[13](https://www.cs.purdue.edu/homes/dickeye/voting-atlas/docs/catalog.html)</sup>。

## 计算复杂度

该方法的主要缺点在于成本。巴索尔迪、托维与特里克在1989年证明，在凯梅尼系统中确定胜者是NP难的<sup>[5](https://www.sciencedirect.com/science/article/pii/S0304397505005785)</sup>，因此多项式时间算法不太可能存在<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S026322412100395X)</sup>。即使输入排名非常少，这种困难依然成立：该问题即使只有四票也是NP难的<sup>[14](https://www.sciencedirect.com/science/article/pii/S0165489611000989)</sup>；德沃克、库马尔、纳奥尔与[西瓦库马](https://www.edgepedia.org/zh/sivakumar)尔证明了，当完整列表的数量为任意不小于四的偶数时，该问题都是NP难的，并指出三个完整列表的情形在2001年尚属未决<sup>[15](https://archives.iw3c2.org/www10/cdrom/papers/577/)</sup>。近期工作进一步收紧了图景，证明了对三个选民以及三个两两等距排名也是NP难的<sup>[1](https://arxiv.org/abs/2607.25540)</sup><sup> • </sup><sup>[16](https://arxiv.org/abs/2607.28588)</sup>。

该判定问题的精确复杂度位于NP之上。赫马斯帕安德拉、斯帕科夫斯基与福格尔（2005年）给出了更强的下界和匹配的上界，证明确定凯梅尼胜者对于可通过并行访问NP求解的集合类是完全的，这意味着该问题捕捉了许多NP问题一次性回答的联合能力<sup>[5](https://www.sciencedirect.com/science/article/pii/S0304397505005785)</sup>。

## 实践中的算法

尽管有上述困难结果，对于数量适中的备选方案，精确计算仍然可行。分支定界算法枚举并剪枝搜索空间，对于规模直到n < 30至50个备选方案的问题，可在数秒内获得精确解；一个研究项目在规模n < 20时应用了该规则，并认为这足以满足其实际聚合任务<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S026322412100395X)</sup>。2022年的一项研究报告了带有新界的分支定界算法，利用成为胜者的一个必要条件来缩短执行时间<sup>[17](https://www.sciencedirect.com/science/article/pii/S0377221722005847)</sup>；基于多数规则的空间缩减技术进一步缩小搜索空间，而不增加时间复杂度<sup>[18](https://arxiv.org/abs/2506.15097)</sup>。

固定参数可解性提供了另一条路径：以选票间平均两两肯德尔–陶距离为参数时，凯梅尼得分的计算具有固定参数可解性，运行时间为16<sup>d_a</sup> · poly(n)；以候选人在各票中所处位置的最大范围为参数时，也具有固定参数可解性<sup>[19](https://www.ifaamas.org/Proceedings/aamas09/pdf/01_Full%20Papers/11_25_140_FP_0418.pdf)</sup>。在精确算法止步之处，近似与启发式方法接手。一项对104种算法及其组合的大型实验比较发现，在最受关注的区间内，精确整数规划形式、局部搜索，以及理论上精确的分支定界算法的近似版本，是最有力的竞争者<sup>[14](https://www.sciencedirect.com/science/article/pii/S0165489611000989)</sup>。

另一个微妙之处在于，一个剖面可能同时容许若干最优排名。一种提出的补救办法是在最优解集合上构建加权锦标赛矩阵，并应用一种卷积规则——以输出剖面上的[博尔达计数](https://www.edgepedia.org/zh/borda-count)加以验证——将它们合并为单一最终排名，其中可能包含并列<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S026322412100395X)</sup>。

## 应用与变体

使用凯梅尼规则的排名聚合远远超出选举，其应用在计算社会选择、机器学习、运筹学和生物学中均有描述<sup>[18](https://arxiv.org/abs/2506.15097)</sup>。德沃克、库马尔、纳奥尔与西瓦库马尔那篇有影响力的WWW10论文指出，凯梅尼方法对万维网尤其可取，因为它最小化输入排名之间的总分歧，并将其应用于元搜索引擎和反垃圾信息；由于最优凯梅尼聚合是NP难的，他们围绕扩展孔多塞准则以及一个他们称为局部凯梅尼化的过程构建了高效启发式方法<sup>[15](https://archives.iw3c2.org/www10/cdrom/papers/577/)</sup>。近期工作探索了量子优化，包括量子退火和量子近似优化算法，用于计算凯梅尼排名<sup>[20](https://onlinelibrary.wiley.com/doi/full/10.1002/mma.9489)</sup>。

经典规则有集合层面的推广。k元凯梅尼规则对k ≥ 2，通过至多k个候选人的子集的胜者而非仅两两来衡量分歧，在k = 2时恢复经典规则<sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup>。提出三元变体的部分原因是，真实选民只密切关注一小份偏好候选人名单，而该变体对频繁出现在前列的候选人赋予更大权重<sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup>。权衡是公理化的：三元规则不满足孔多塞准则，因此孔多塞胜者未必在三元共识中排名第一，尽管在每场两两对决中都拥有3/4多数的候选人保证排名第一<sup>[12](https://www.sciencedirect.com/science/article/am/pii/S030439752100414X)</sup><sup> • </sup><sup>[7](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)</sup>。凯梅尼本人1959年提出了两个变体：最小化总交换距离的中位数规则，以及最小化交换距离平方的平均数规则<sup>[21](https://arxiv.org/abs/2404.08474)</sup>。

## References

1. [Kemeny Rank Aggregation is NP-Hard for Three Voters, arXiv](https://arxiv.org/abs/2607.25540)
2. [H. P. Young (1988). Condorcet's Theory of Voting. American Political Science Review 82(4), 1231–1244](https://www.cambridge.org/core/journals/american-political-science-review/article/abs/condorcets-theory-of-voting/ECA771E9F03D580843319566957ACC40)
3. [The Condorcet methods, Condorcet.Vote](https://www.condorcet.vote/Condorcet_Methods)
4. [A Computational Study of the Kemeny Rule for Preference Aggregation](https://citeseerx.ist.psu.edu/document?doi=b51a95065d7411cacaf7ec0a27fb53e23528fd33&repid=rep1&type=pdf)
5. [Hemaspaandra, Spakowski, and Vogel (2005). The complexity of Kemeny elections. Theoretical Computer Science 349(3), 382–391](https://www.sciencedirect.com/science/article/pii/S0304397505005785)
6. [Reducing the Computational Time for the Kemeny Method by Exploiting Condorcet Properties, MDPI Mathematics](https://www.mdpi.com/2227-7390/9/12/1380)
7. [Phung and Hamel (2024). Optimal Majority Rules and Quantitative Condorcet Properties of Setwise Kemeny Voting Schemes, AAMAS 2024](https://www.ifaamas.org/Proceedings/aamas2024/pdfs/p2420.pdf)
8. [Rank aggregation using scoring rules, Theory and Decision](https://link.springer.com/article/10.1007/s11238-025-10120-5)
9. [Kemeny rule for preference aggregation: Reducing all exact solutions to a single one, Measurement](https://www.sciencedirect.com/science/article/abs/pii/S026322412100395X)
10. [Institut für Informatik manuscript on the Kemeny consensus](https://citeseerx.ist.psu.edu/document?doi=eb5fee142262111b996a94bb28a789c14e69e731&repid=rep1&type=pdf)
11. [RIMS Preprint on the Kemeny–Young method and the linear ordering problem](https://www.kurims.kyoto-u.ac.jp/preprint/file/RIMS1994.pdf)
12. [Gilbert, Portoleau, and Spanjaard. Beyond Pairwise Comparisons in Social Choice: A Setwise Kemeny Aggregation Problem, Theoretical Computer Science](https://www.sciencedirect.com/science/article/am/pii/S030439752100414X)
13. [Voting Atlas: Complete reference catalog, Purdue University](https://www.cs.purdue.edu/homes/dickeye/voting-atlas/docs/catalog.html)
14. [Experiments with Kemeny ranking: What works when? Information Processing Letters](https://www.sciencedirect.com/science/article/pii/S0165489611000989)
15. [Dwork, Kumar, Naor, and Sivakumar (2001). Rank Aggregation Methods for the Web, WWW10](https://archives.iw3c2.org/www10/cdrom/papers/577/)
16. [The Complexity of Kemeny Aggregation with Three Rankings, arXiv](https://arxiv.org/abs/2607.28588)
17. [Reducing the time required to find the Kemeny ranking by exploiting a necessary condition for being a winner, European Journal of Operational Research](https://www.sciencedirect.com/science/article/pii/S0377221722005847)
18. [Efficient space reduction techniques by optimized majority rules for the Kemeny aggregation problem, arXiv](https://arxiv.org/abs/2506.15097)
19. [Betzler, Fellows, Guo, Niedermeier, and Rosamond (2009). How Similarity Helps to Efficiently Compute Kemeny Rankings, AAMAS 2009](https://www.ifaamas.org/Proceedings/aamas09/pdf/01_Full%20Papers/11_25_140_FP_0418.pdf)
20. [Combarro et al. (2023). Solving the Kemeny ranking aggregation problem with quantum optimization algorithms, Mathematical Methods in the Applied Sciences](https://onlinelibrary.wiley.com/doi/full/10.1002/mma.9489)
21. [The Squared Kemeny Rule for Averaging Rankings, arXiv](https://arxiv.org/abs/2404.08474)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Sep 30, 2026; Oct 25, 2026 · Edited: Sep 19, 2026; Sep 30, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 社会与历史 › 政治与政府 › 政治制度与思想 › Electoral systems and voting methods › Positional and Condorcet methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/kemeny-young-method

English original: https://www.edgepedia.org/kemeny-young-method
