Tie Handling Is Part of the Evaluation Protocol: An Order-Invariance Audit for Tie-Heavy Recommender Scores

arXiv:2609.26977 · cs.IR · Submitted 2026-09-22 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.

Tom: We're looking at the paper: "Tie Handling Is Part of the Evaluation Protocol".

Paper summary: Tom: So, wrapping up the "Tie Handling Is Part of the Evaluation Protocol: An Order-Invariance Audit for Tie-Heavy Recommender Scores." The core finding is that exact-score ties leave part of the ranking unresolved, and how you resolve that ambiguity through tie-breaking—whether you use input order or a deterministic hash—changes the ranking significantly.

Jane: It’s important to understand that this audit shows exactly what happens when we hold candidates and scores fixed and only change the tie-breaking rule, which is a way of testing if the evaluator is truly row-order invariant. This means we can now expect different performance outcomes based on how we implement those ties in our actual systems.

Lu: The paper's contribution is formalizing that row-order invariance and deriving the expected Hit Rate and NDCG when the relevant item is uniformly placed within an exact-score tie, which gives us a solid mathematical foundation for understanding the impact of tie resolution.

Meng: For those of us shipping models, this means we need to be very deliberate about our tie-breaking choices because they aren't just aesthetic; they are measurable performance levers that can cause large swings in metrics like NDCG@ten <ref:2609.26977#pg1>.

Lalam: I see this as confirming what my internal analysis suggests: deterministic hash ordering provides the repeatability we need, while input order tie-breaking introduces too much noise unless you have a very strong reason to trust the original input sequence.

Tom: So, the implication is that we shouldn't just pick one way to handle ties and assume it’s fine; we need a protocol that tests for its invariance and measures exactly how much performance we gain or lose by changing that rule.

Jane: It shifts our focus from just optimizing the score calculation itself to being rigorous about the entire pipeline, including how those exact-score situations are resolved before you ever rank them.

Conclusion: Tom: So, this paper is all about how we handle those exact ties in recommender scores—it looks at whether the way you break those ties actually matters for the final ranking, which is what they call row-order invariance.

Jane: I think it's really interesting because it takes something that seems like a small technical detail, like picking one tie-breaking rule over another, and shows that it can swing your results around pretty dramatically.

Lu: They formalize this concept by looking at the expected Hit Rate and NDCG when the relevant item is in a perfect tie with thirty negatives. They compare using input order versus using a deterministic hash function to break those ties.

Meng: From my side, I’m focused on what it costs to run this stuff; if switching tie-breaking rules changes your production metrics by nearly a dollar every hundred thousand users, that's something we have to worry about deploying.

Lalam: I've reviewed the results; they show that for some scores, like the Amazon weighted attribute overlap score, switching from input order to a deterministic hash actually drops the NDCG score quite a bit.

Tom: That drop is significant, coming down from something around zero point eight four seven four to about zero point one seven zero two. It shows that input order tie-breaking isn't always the best choice when you have those exact ties happening all over the place.

Jane: So, the main point here is that you can't just pick a tie-breaking method and assume it’s fine; you have to test it to see if it keeps your ranking stable when things get messy.

Lu: Exactly. They show that deterministic hash ordering gives you repeatability, while analytic or repeated random methods describe the average outcome across all possible unresolved orders.

Meng: What this means for deployment is that we need a robust protocol before we commit to one method; just picking the easiest one isn't enough when those tie-heavy scores are common.

Lalam: It really highlights how much ambiguity can hide in those exact-score situations, and this audit provides the necessary structure to measure that hidden uncertainty.

Tom: It’s a clear call for better evaluation protocols, showing exactly how much performance you lose or gain depending on your choice of tie-breaking.

Jane: And that leads us to thinking about how often these ties actually show up in the real world across different recommender systems.

Independent Researcher

cs.IR

Submitted: 2026-09-22

Updated: 2026-12-02

Comments: 8 pages, 3 tables. Accepted at FRAME'26: Methodology First - Rethinking Research Assessment in RecSys Workshop, co-located with ACM RecSys 2026

Journal ref: FRAME 2026, CEUR Workshop Proceedings, Vol. 4341, paper 2 (2026)

Code: https://github.com/Guoo123/tie-evaluation-audit

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 87/100

The gist: Offline top-k evaluation often ranks one held-out relevant item together with sampled negatives.<ref:2609.26977#pg1…

Key concepts

Row-Order Invariance
This concept checks if changing the order of candidate items in a list affects the final ranking when their scores are identical. If a ranking is row-order invariant, it means permuting candidates without changing their identities or scores does not alter the resulting rank. The paper formalizes this to understand how tie-breaking impacts evaluation.
Tie Prevalence
This refers to how often exact score ties occur within the candidate sets being evaluated. The audit examines whether these ties are common or rare across different recommender scores. High tie prevalence suggests that the chosen tie-breaking mechanism will have a significant impact on the final ranking, as many items are competing equally for a spot.
Deterministic Hash Tie-Breaking
This method resolves exact score ties by using a reproducible key derived from a disclosed seed, user ID, and item ID. It ensures that the same tie is broken in the same way every time the system runs. This provides repeatability in evaluation results, contrasting with random or input-order methods.
Exact Expectation Under Uniform Random Tie-Breaking
This calculates the expected performance metric when ties are broken randomly across all possible positions for the relevant item within a tie block. It serves as an analytic measure describing the average outcome of using uniform random tie-breaking, providing a theoretical benchmark for comparison against practical methods.

Terminology

Summary

Offline top-k evaluation often ranks one held-out relevant item together with sampled negatives. p. 0

Where the paper says it

Tie Handling Is Part of the Evaluation Protocol: An Order-Invariance Audit for Tie-Heavy Recommender Scores Chengkun Guo1 , Han Chen2,* , Yilin Zhu3 and Yingrui Li2 1 Independent Researcher, Bethlehem, Pennsylvania, USA 2 Independent Researcher, Washington, DC, USA 3 Independent Researcher, Seattle, Washington, USA Abstract Offline top-𝑘 evaluation often ranks one held-out relevant item together with sampled negatives. When several candidates receive exactly the same score, the tie-breaking rule becomes part of the ranking.

<ref:2609.26977#pg1, a common implementation stores the relevant item first and then applies a stable sort, which preserves input order among equal scores; the relevant item therefore wins every tie >. p. 0
Where the paper says it

When several candidates receive exactly the same score, the tie-breaking rule becomes part of the ranking. A common implementation stores the relevant item first and then applies a stable sort, which preserves input order among equal scores; the relevant item therefore wins every tie.

The paper audits this property by holding candidates and scores fixed and changing only the tie-breaking rule. p. 0
Where the paper says it

We call an evaluator row-order invariant when permuting the input candidates without changing their identities, labels, or scores leaves the final ranking unchanged. We audit this property by holding candidates and scores fixed and changing only the tie-breaking rule.

<ref:2609.26977#pg1, we call an evaluator row-order invariant when permuting the input candidates without changing their identities, labels, or scores leaves the final ranking unchanged >. p. 0
Where the paper says it

A common implementation stores the relevant item first and then applies a stable sort, which preserves input order among equal scores; the relevant item therefore wins every tie. We call an evaluator row-order invariant when permuting the input candidates without changing their identities, labels, or scores leaves the final ranking unchanged.

Formalizing Row-Order Invariance

The authors formalize row-order invariance and derive the expected Hit Rate and NDCG when the relevant item is uniformly placed within an exact-score tie.<ref:2609.26977#pg2, they compare input-order and deterministic hash tie-breaking in both domains; for Amazon, it also reports the exact expected metric under uniform random tie-breaking and results from 100 independent hash seeds >. p. 1

Where the paper says it

First, it formalizes row-order invariance and derives the expected Hit Rate and NDCG when the relevant item is uniformly placed within an exact-score tie. Second, it compares input-order and deterministic hash tie-breaking in both domains; for Amazon, it also reports the exact expected metric under uniform random tie-breaking and results from 100 independent hash seeds.

They provide a six-part reporting checklist covering the candidate set, candidate order before sorting, tie prevalence, tie-breaking, permutation tests, and sensitivity analysis. p. 1
Where the paper says it

Second, it compares input-order and deterministic hash tie-breaking in both domains; for Amazon, it also reports the exact expected metric under uniform random tie-breaking and results from 100 independent hash seeds. Third, it gives a six-part reporting checklist covering the candidate set, candidate order before sorting, tie prevalence, tie-breaking, permutation tests, and sensitivity analysis.

<ref:2609.26977#pg2>

Expected Metrics Under Uniform Random Tie-Breaking

When the relevant item is first in the input row and there are 30 negatives all tied with one relevant item per row, uniform random tie-breaking gives expected Hit@10 = 10/31 = 0.3226 and expected NDCG@10 = 0. p. 2

Where the paper says it

Uniform random tie-breaking gives expected Hit@10 = 10/31 = 0. 3226 and expected NDCG@10 = 0.

1466.<ref:2609.26977#pg3>. The paper notes that uniformly permuting the complete candidate row independently of relevance before applying a stable sort is equivalent, in expectation, to uniform random ordering within each tie block. p. 2
Where the paper says it

The difference follows mechanically from the tie block; it is not evidence that the score identified the relevant item. Uniformly permuting the complete candidate row independently of relevance before applying a stable sort is equivalent, in expectation, to uniform random ordering within each tie block.

<ref:2609.26977#pg3>

Practical Tie-Breaking Choices

The authors compare four ways to handle exact ties:

  1. Input-order tie-breaking uses the original candidate order when scores are equal. p. 2

    Where the paper says it

    Input-order tie-breaking. Sort by score and keep the original candidate order when scores are equal.

    <ref:2609.26977#pg5>

  2. Deterministic hash tie-breaking sorts equal-score candidates by a reproducible key computed from a disclosed seed, user ID, and item ID. p. 1

    Where the paper says it

    A stable sort by score alone is not row-order invariant because equal-score candidates retain their input positions. A deterministic hash tie-break is row-order invariant when it sorts equal-score candidates by a reproducible key computed from a disclosed seed, user ID, and item ID, using item ID as the final fallback if two candidates receive the same key.

    <ref:2609.26977#pg3>

  3. Repeated random tie-breaking breaks ties with different random seeds and reports the metric’s mean and variation across runs. p. 2

    Where the paper says it

    Repeated random tie-breaking. Break ties with different random seeds and report the metric’s mean and variation across runs.

    <ref:2609.26977#pg5>

  4. Exact expectation under uniform random tie-breaking computes the average metric over all possible positions of the relevant item within its tie block. p. 2

    Where the paper says it

    Exact expectation under uniform random tie-breaking. Compute the average metric over all possible positions of the relevant item within its tie block.

    <ref:2609.26977#pg3>

Audit Design and Results

The audits cover two public datasets, rows with one relevant item, and 30 sampled negatives.<ref:2609.26977#pg4>. For the Amazon weighted attribute-overlap score, NDCG@10 falls from 0. p. 0

Where the paper says it

We audit this property by holding candidates and scores fixed and changing only the tie-breaking rule. On 30,000 Amazon Beauty & Personal Care rows, NDCG@10 for a rating-weighted attribute-overlap score is 0.

8474 to 0.1702 under input-order and deterministic hash tie-breaking. p. 0
Where the paper says it

85 under input-order tie-breaking. A deterministic hash tie-break based on user and item IDs lowers it to 0.

<ref:2609.26977#pg5>. The residualized attribute score has an exact tie in only 0. p. 0
Where the paper says it

A deterministic hash tie-break based on user and item IDs lowers it to 0. The exact expectation under uniform random tie-breaking closely matches the mean over 100 independent hash seeds, while a residualized attribute score with few exact ties is nearly unchanged.

39% of rows and changes by 0. p. 1
Where the paper says it

When Tie-Breaking Changes the Metric 3. Candidate rows and exact-score ties For a user 𝑢, let 𝐶𝑢 = (𝑖1, .

0004 in NDCG@10. p. 4
Where the paper says it

39% of rows and changes by 0. 0004 in NDCG@10.

<ref:2609.26977#pg5>

Conclusion on Tie Handling

Exact-score ties leave part of a ranking unresolved.<ref:2609.26977#pg8>. Deterministic hash ordering provides repeatability; analytic or repeated random tie-breaking describes the average over unresolved orders. p. 6

Where the paper says it

68 NDCG@10 under deterministic hash tie-breaking, while the residualized Amazon score and MovieLens popularity are nearly unchanged. Deterministic hash ordering provides repeatability; analytic or repeated random tie-breaking describes the average over unresolved orders.

<ref:2609.26977#pg8>. Reporting candidate construction, tie prevalence, tie-breaking, and a permutation check makes the evaluated quantity clear and reproducible. p. 6
Where the paper says it

Deterministic hash ordering provides repeatability; analytic or repeated random tie-breaking describes the average over unresolved orders. Reporting candidate construction, tie prevalence, tie-breaking, and a permutation check makes the evaluated quantity clear and reproducible.

<ref:2609.26977#pg8>. The paper demonstrates that tie-heavy Amazon and MovieLens scores change by roughly 0. p. 6
Where the paper says it

If an evaluator resolves them with candidate input order, row construction can enter the metric as an undeclared ranking feature. Holding candidates and scores fixed reveals the effect directly: tie-heavy Amazon and MovieLens scores change by roughly 0.

55–0.68 NDCG@10 under deterministic hash tie-breaking, while the residualized Amazon score and MovieLens popularity are nearly unchanged. p. 6
Where the paper says it

Holding candidates and scores fixed reveals the effect directly: tie-heavy Amazon and MovieLens scores change by roughly 0. 68 NDCG@10 under deterministic hash tie-breaking, while the residualized Amazon score and MovieLens popularity are nearly unchanged.

<ref:2609.26977#pg8>. The authors declare that the research questions, methodology, experimental decisions, result interpretation, and conclusions were determined by the authors. p. 6
Where the paper says it

Declaration on Generative AI During the preparation of this work, the authors used OpenAI ChatGPT and Anthropic Claude for grammar and spelling checks, paraphrasing, structural suggestions, LaTeX and CEURART formatting, and implementation assistance in drafting, debugging, and documenting portions of the experimental and analysis code. The research questions, methodology, experimental decisions, result interpretation, and conclusions were determined by the authors.

<ref:2609.26977#pg8>

Limitations

The empirical audits cover two public datasets, rows with one relevant item, and 30 sampled negatives.<ref:2609.26977#pg4>. They demonstrate the mechanism and its magnitude for discrete attribute-based scores, but they do not estimate how often the problem occurs across recommender benchmarks or production systems. p. 5

Where the paper says it

Limitations The empirical audits cover two public datasets, rows with one relevant item, and 30 sampled negatives. They demonstrate the mechanism and its magnitude for discrete attribute-based scores, but they do not estimate how often the problem occurs across recommender benchmarks or production systems.

<ref:2609.26977#pg4>. Continuous rankers may have few exact ties, while quantization, coarse features, fallback scores, or count-based components may create many. p. 5
Where the paper says it

They demonstrate the mechanism and its magnitude for discrete attribute-based scores, but they do not estimate how often the problem occurs across recommender benchmarks or production systems. Continuous rankers may have few exact ties, while quantization, coarse features, fallback scores, or count-based components may create many.

<ref:2609.26977#pg8>. The paper notes that the Amazon attributes are lexical metadata proxies and the score families are evaluated as components rather than as complete production recommenders. p. 5
Where the paper says it

Continuous rankers may have few exact ties, while quantization, coarse features, fallback scores, or count-based components may create many. The Amazon attributes are lexical metadata proxies, and the score families are evaluated as components rather than as complete production recommenders.

<ref:2609.26977#pg8>. The full-catalog evaluation is not examined empirically here. p. 6
Where the paper says it

They serve this comparison purpose but are constructed differently. Full-catalog evaluation is not examined empirically here.

<ref:2609.26977#pg8>. The MovieLens results are limited to the aggregate comparison reported in the accepted version because the corresponding row-level candidate and score arrays were not retained. p. 6
Where the paper says it

In a fixed full catalog, equal scores still require an explicit ordering or averaging rule. The MovieLens results are limited to the aggregate comparison reported in the accepted version because the corresponding row-level candidate and score arrays were not retained.

<ref:2609.26977#pg8>. The accompanying artifact provides the evaluator, reconstructed Amazon rows and scores, tests, configurations, and provenance records. p. 4
Where the paper says it

The paired aggregate result file was retained, but the row-level candidate and score arrays were not, so the additional row-level analyses are reported only for Amazon. The accompanying artifact provides the evaluator, reconstructed Amazon rows and scores, tests, configurations, and provenance records: github.

<ref:2609.26977#pg5>. The paper was prepared with assistance from OpenAI ChatGPT and Anthropic Claude for grammar and spelling checks. p. 6
Where the paper says it

Reporting candidate construction, tie prevalence, tie-breaking, and a permutation check makes the evaluated quantity clear and reproducible. Declaration on Generative AI During the preparation of this work, the authors used OpenAI ChatGPT and Anthropic Claude for grammar and spelling checks, paraphrasing, structural suggestions, LaTeX and CEURART formatting, and implementation assistance in drafting, debugging, and documenting portions of the experimental and analysis code.

<ref:2609.26977#pg8>. The research questions, methodology, experimental decisions, result interpretation, and conclusions were determined by the authors. p. 6
Where the paper says it

Declaration on Generative AI During the preparation of this work, the authors used OpenAI ChatGPT and Anthropic Claude for grammar and spelling checks, paraphrasing, structural suggestions, LaTeX and CEURART formatting, and implementation assistance in drafting, debugging, and documenting portions of the experimental and analysis code. The research questions, methodology, experimental decisions, result interpretation, and conclusions were determined by the authors.

<ref:2609.26977#pg8>. The authors reviewed and edited all affected material. p. 6
Where the paper says it

The research questions, methodology, experimental decisions, result interpretation, and conclusions were determined by the authors. The authors reviewed and edited all affected material, ran and inspected the experiments, verified the text, calculations, citations, tables, and code, and take full responsibility for the publication’s content.

<ref:2609.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Add a tie handling protocol to offline top-k evaluation that is row-order invariant by using a deterministic hash tie-break based on user and item IDs with an item ID fallback to ensure reproducibility regardless of input order. This allows for a repeatable ranking independent of input order while achieving results close to the analytic expectation under uniform random tie-breaking.

  2. Implement a systematic reporting checklist covering candidate set construction, candidate order before sorting, tie prevalence across different scores, the specific tie-breaking rule used (input order, deterministic hash ordering, repeated random ordering, or expected metrics), and permutation tests to verify independence from input position. This ensures that the evaluated quantity is clear and reproducible.

  3. Develop a method to estimate Hit Rate and NDCG at cutoff k when the relevant item is randomly ordered among candidates with the same score by computing Exact expectation under uniform random tie-breaking, which provides an unbiased estimate of the metric under random tie orders in a one-relevant-item setting. This analytic approach is preferred over repeated random tie-breaking for a clearer summary.

  4. For Amazon beauty and personal care scores, utilize the residualized attribute score when it has few exact ties to provide a stability check when the primary score already determines the order, as it has few exact ties and therefore provides a stability check when the primary score already determines the order. This helps distinguish between tie-breaking effects and actual relevance identification.

Abstract

Offline top-k evaluation often ranks one held-out relevant item together with sampled negatives. When several candidates receive exactly the same score, the tie-breaking rule becomes part of the ranking. A common implementation stores the relevant item first and then applies a stable sort, which preserves input order among equal scores; the relevant item therefore wins every tie. We call an evaluator row-order invariant when permuting the input candidates without changing their identities, labels, or scores leaves the final ranking unchanged. We audit this property by holding candidates and scores fixed and changing only the tie-breaking rule. On 30,000 Amazon Beauty & Personal Care rows, NDCG@10 for a rating-weighted attribute-overlap score is 0.85 under input-order tie-breaking. A deterministic hash tie-break based on user and item IDs lowers it to 0.17. The exact expectation under uniform random tie-breaking closely matches the mean over 100 independent hash seeds, while a residualized attribute score with few exact ties is nearly unchanged. MovieLens Tag Genome shows the same pattern for an attribute-overlap score, whereas item popularity is nearly unchanged. We derive expected Hit Rate and NDCG at cutoff k when the relevant item is randomly ordered among candidates with the same score, and we provide a practical reporting checklist. The same issue can occur in sampled or full-catalog evaluation whenever exact ties affect top-k membership or rank.

Sources

Related papers