English

Modeling Ranking Properties with In-Context Learning

Information Retrieval 2025-05-26 v1

Abstract

While standard IR models are mainly designed to optimize relevance, real-world search often needs to balance additional objectives such as diversity and fairness. These objectives depend on inter-document interactions and are commonly addressed using post-hoc heuristics or supervised learning methods, which require task-specific training for each ranking scenario and dataset. In this work, we propose an in-context learning (ICL) approach that eliminates the need for such training. Instead, our method relies on a small number of example rankings that demonstrate the desired trade-offs between objectives for past queries similar to the current input. We evaluate our approach on four IR test collections to investigate multiple auxiliary objectives: group fairness (TREC Fairness), polarity diversity (Touch\'e), and topical diversity (TREC Deep Learning 2019/2020). We empirically validate that our method enables control over ranking behavior through demonstration engineering, allowing nuanced behavioral adjustments without explicit optimization.

Keywords

Cite

@article{arxiv.2505.17736,
  title  = {Modeling Ranking Properties with In-Context Learning},
  author = {Nilanjan Sinhababu and Andrew Parry and Debasis Ganguly and Pabitra Mitra},
  journal= {arXiv preprint arXiv:2505.17736},
  year   = {2025}
}

Comments

9 pages, 3 tables, 2 figures

R2 v1 2026-07-01T02:33:36.352Z