Kemeny-Young — Optimal rank aggregation minimising Kendall τ disagreement

Decision Sciences
Introduced by
Kemeny, J. G.
Year
1959
Type
Rank aggregation (Kemeny consensus, NP-hard optimisation)
Family
AggregationOperator

What does it do?

KEMENY-YOUNG is a rank-aggregation method introduced by Kemeny, J. G. in 1959.

It combines several complete rankings of the same alternatives into one consensus ranking, choosing the ordering that has the fewest pairwise disagreements with the input rankings. Although it is grouped under multi-criteria decision-making, its input is a set of ordinal rankings rather than a decision matrix of scored criteria.

The intuition behind the method

Suppose several evaluators each rank the same set of alternatives. The method looks for the single ordering that, summed over all evaluators, has the fewest pairwise disagreements with their rankings. Each pair of alternatives is compared by order only, so the evaluators do not need to share a numerical scale. The result is one ranking, not scores for each alternative.

History

Kemeny-Young was introduced by Kemeny, J. G. in 1959, in the article Mathematics without numbers published in Daedalus. The method was developed to identify the most popular choices in an election. Krylovas et al. (2014) later applied the Kemeny median to ranked data for establishing criteria priorities and weights.

When to use it

Choose Kemeny-Young when you have several complete rankings of the same alternatives, you want one consensus order, and you are willing to treat the inputs as ordinal. It is a poor fit when your data are cardinal scores or criteria with weights that must be normalised, because the formula uses only pairwise order. It is also not suitable for large sets of alternatives without a heuristic, since exact search grows factorially with m. The method is Condorcet-consistent: if one alternative beats every other in pairwise majority, it is elected.

Limitations and considerations

  • Each input ranking carries no information about how far apart the alternatives are, so the output cannot distinguish a narrow preference from a wide one.
  • Equation f3 sums the K rankings with equal weight; the formula has no provision for giving some evaluators more influence than others.
  • f3 takes an argmin over all permutations. When several orderings share the smallest total disagreement, the formula does not choose between them, so a tie-break rule must be stated in advance or all minimisers must be reported.
  • The output is a single ordering with no per-alternative score and no measure of confidence or margin, so it cannot show how strongly the consensus supports each position.
  • The formulation in f2 assumes each input is a complete ranking of the same alternatives. Incomplete rankings or ties in the inputs fall outside it and require an explicit convention before the calculation.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Works directly on ordinal rankings, because d(σ, R_k) counts only pairwise order disagreements and never uses magnitudes.
  • The objective is a count of pairwise disagreements, so any proposed ordering can be checked by recomputing its total distance from the input rankings.
  • Condorcet-consistent: a pairwise majority winner, if one exists, is elected.

Applications

  • Combining complete ordered lists produced by several evaluators of the same alternatives into one consensus ordering.
  • Merging rankings of the same candidate set from different judges when the goal is a single agreed order rather than weighted scores.

How it works

How it works

1

Step 1: Collect K rankings R_k of the same m alternatives, one from each evaluator.

Formula
\mathcal{R} = \{R_{1}, \ldots, R_{K}\}
2

Step 2: For a candidate ordering σ, count the pairs of alternatives that σ places in one order while R_k places them in the opposite order. This count is the disagreement d(σ, R_k) for that ranking.

Formula
d(\sigma, R_{k}) = \#\{(i,l): \sigma_{i}<\sigma_{l}\ \text{but}\ R_{k,i}>R_{k,l}\}
3

Step 3: Search over all permutations σ of the m alternatives for the one with the smallest total disagreement, summed over the K rankings.

Formula
\sigma^{*} = \arg\min_{\sigma\in S_{m}} \sum_{k=1}^{K} d(\sigma, R_{k})
4

Step 4: Report the minimising permutation σ* as the consensus ranking. The formula returns an ordering, not per-alternative scores.

Formula
\text{ranking} = \sigma^{*}

Common pitfalls

  • Exact Kemeny consensus is an NP-hard optimisation, so exhaustive search over all permutations is feasible only for small m. For m = 8 there are 8! = 40320 orderings, and the count grows factorially with m. For larger sets, heuristics such as genetic algorithms or simulated annealing are often used, but they do not guarantee the true minimiser.
  • Per-alternative numbers are not part of the method. As a check, take three alternatives with rankings [1,2,3], [2,1,3] and [1,3,2]. The ordering A1 > A2 > A3 has total disagreement 2: one disagreement with the second ranking on the pair A1–A2 and one with the third ranking on the pair A2–A3. It is the only ordering that reaches this total.

Frequently asked questions

Does Kemeny-Young need numerical scores for each alternative?

No. The input is a set of rankings R_k, and the disagreement d(σ, R_k) counts pairs of alternatives whose order differs between σ and R_k. Only the order of each pair matters.

Can the result be non-unique?

Yes. f3 takes the minimiser over all permutations, so if more than one ordering reaches the smallest total disagreement, the formula does not select between them.

What happens if one alternative beats all others pairwise?

The method elects that alternative as the top of the consensus ranking, since it is Condorcet-consistent.

Sources

  1. Kemeny, J. G. (1959). Mathematics without numbers. Daedalus

    Open publication reference
  2. KEMIRA, p. 4