Evidence Diet: When Graph Evidence Helps LLMs Rank Competing Candidates

Yuchong Hu, Zhao Zhang, Ziyao Zhao, Haoyu Wang, Jing XiaoarXiv 2026

TL;DR

LLMs aren't just pattern-matching keywords when they rank recommendations; they actually "bind" specific pieces of collaborative graph evidence to individual candidates. This paper demonstrates that correctly attributing path and supporter counts to the right items significantly boosts ranking performance, and that presenting this evidence numerically is often more effective than using verbose text descriptions.

What Problem Does This Paper Address?

In modern recommendation systems, Large Language Models (LLMs) are frequently used as "rerankers." To help them make better decisions, researchers often feed them "collaborative evidence"—data derived from user-item graphs, such as how many other users bought a specific book or the number of paths connecting a user to a potential movie.

However, a fundamental question remained: Do LLMs actually understand which piece of evidence belongs to which candidate? If an LLM sees "5 paths" in a prompt, does it just boost the overall ranking of the target item, or does it correctly associate those 5 paths with the specific book they describe? This paper investigates this "attribution effect" and explores the optimal "diet" of evidence for LLM rankers.

Methods

The authors designed a series of rigorous experiments to probe how models like Qwen3 and GLM-4 process graph data. They utilized two primary protocols:

  • Suite I (Generative Full-Permutation): The model is asked to rank ten items by outputting a permutation of IDs (1–10).
  • Suite II (Decoupled Candidate-Logit): The model scores candidates individually based on their logits, allowing for a more granular look at how specific evidence affects the probability of an item being selected.

To test attribution, they performed "Evidence Diet" diagnostics:

  1. Swapping: They took the graph evidence (counts of supporters and paths) for the target item and swapped it with a rival item's evidence.
  2. Load Testing: They added "unrelated notes" or irrelevant text to the prompt to see how much "noise" the model could handle before its ranking ability degraded.
  3. Entity Binding Probes: They replaced item titles with semantic or popularity-matched substitutes to see if the model's performance relied on the title itself or the collaborative evidence attached to it.

Datasets

The study used two major benchmarks:

  • Amazon Books (2018): A large-scale dataset of book interactions.
  • Amazon MovieTV: A copy of the InstructRec dataset.
  • New User Cohorts: The authors also evaluated their findings on 274 previously unused Books users to confirm the "attribution effect" in a zero-shot setting.

Key Insights and Ideas

  • Evidence Binding is Real: LLMs are sensitive to the correct assignment of evidence. When the authors swapped evidence blocks between candidates, the ranking quality (NDCG@5) dropped significantly. This proves the models are performing a form of internal "entity-attribute binding."
  • Numerical > Textual: Interestingly, adding counts numerically (e.g., "support: 3, paths: 5") to the history outperformed presenting that same information as natural language text. LLMs seem to "digest" structured numerical evidence more efficiently for ranking tasks.
  • Robustness to Format, Sensitivity to Content: While adding unrelated text (the "load" test) lowered the absolute Hit@1 score, the models remained remarkably robust in terms of output validity—99.9% of the rankings were still formatted correctly even under heavy prompt load.
  • The "Aha" Moment on Degree Matching: By using degree-matched negatives (rival items with similar popularity to the target), the researchers showed that the model's reliance on graph evidence becomes even more critical when candidates look similar on the surface.

Key Results

The quantitative findings underscore the importance of accurate graph evidence:

  • Performance Boost: Adding candidate-level graph records to the user history improved NDCG@5 by 2.28 points on Books and 2.54 on MovieTV.
  • Attribution Impact: For count-trained rankers, correctly assigning counts (vs. swapping them) improved pairwise accuracy by 6.07 percentage points on new users.
  • Retrieval Sweeps: As shown in Figure 1, the choice of neighbor budget and co-occurrence thresholds significantly impacts the quality of the evidence provided to the LLM.
Figure 1: Books retrieval sweeps (H@5, %). (a) Unfiltered neighbor
  • Evidence Source Comparison: Table 1 highlights that "User self summary" and "User neighbors" are among the strongest signals for the model.
Table 1. Books ranking by evidence source

Limitations and Future Work

  • Reranking Focus: The study focuses on reranking a small pool of candidates (top-10). How these insights scale to larger candidate pools or initial retrieval stages remains to be seen.
  • Model Specificity: While the authors tested multiple scales of Qwen3 and GLM-4, the "evidence diet" might vary for other architectures like Llama or GPT-4.
  • Static vs. Dynamic Graphs: The evidence used is based on a static snapshot of the interaction graph. Future work could explore how LLMs handle real-time, streaming graph updates where evidence "counts" change rapidly.

Summary updated

Abstract

When several candidates have graph support, does it matter which candidate receives which supporter and path counts? We study how LLM rankers use collaborative evidence on Amazon Books and MovieTV. Swapping user-level evidence degrades ranking, while matched item substitutions have little effect. On fixed clean-trained checkpoints, unrelated catalog text lowers Hit@1 from 44.77% to 38.70%, with 99.9% of rankings still valid. Across all three paired seeds, the NDCG@5 difference between count and path prompts was larger after count training than after path training. Degree matching preserves target paths while giving more rivals support. Across the full degree-matched development pools, adding candidate-level graph records to history improves NDCG@5 by 2.28 points on Books and 2.54 on MovieTV. When the target and a rival both have support, path- and count-trained rankers benefit from retaining counts. On these development queries, adding counts numerically to history scores outperforms presenting them as text. For count-trained rankers, exchanging intact count pairs among supported candidates preserves support and token length, yet lowers NDCG@5 by 4.06 points on 141 Books queries and 3.26 on 104 MovieTV queries. A frozen evaluation on 274 previously unused Books users with supported targets and rivals confirms the attribution effect: correct assignment improves pairwise accuracy by 6.07 percentage points (95% CI [4.18, 8.00]).
BibTeX
@misc{hu2026evidence,
  author = {Yuchong Hu and Zhao Zhang and Ziyao Zhao and Haoyu Wang and Jing Xiao},
  title = {{Evidence Diet: When Graph Evidence Helps LLMs Rank Competing Candidates}},
  year = {2026},
  eprint = {2611.20837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20837},
}
Figure