cs.IRFeb 18, 2026

RankEvolve: Automating the Discovery of Retrieval Algorithms via LLM-Driven Evolution

Authors: Jinming Nian, Fangchen Li, Dae Hoon Park, Yi Fang

Organizations: Santa Clara University, Santa Clara, CA, USA · Independent Researcher, Bothell, WA, USA · Walmart Global Tech, Sunnyvale, CA, USA

Abstract

Retrieval algorithms like BM25 and query likelihood with Dirichlet smoothing remain strong and efficient first-stage rankers, yet improvements have mostly relied on parameter tuning and human intuition. We investigate whether a large language model, guided by an evaluator and evolutionary search, can automatically discover improved lexical retrieval algorithms. We introduce RankEvolve, a program evolution setup based on AlphaEvolve, in which candidate ranking algorithms are represented as executable code and iteratively mutated, recombined, and selected based on retrieval performance across 12 IR datasets from BEIR and BRIGHT. RankEvolve starts from two seed programs: BM25 and query likelihood with Dirichlet smoothing. The evolved algorithms are novel, effective, and show promising transfer to the full BEIR and BRIGHT benchmarks as well as TREC DL 19 and 20. Our results suggest that evaluator-guided LLM program evolution is a practical path towards automatic discovery of novel ranking algorithms.

Figures & tables

Explore similar work

CardsList
  1. EvoRank: LLM-Guided Evolution of Multi-Objective Learning-to-Rank Pipelines

    Aug 30, 2026Rayhan Patel, Shabaz PatelLearning to RankAutomated Algorithm Discovery

  2. Are LLMs Reliable Rankers? Rank Manipulation via Two-Stage Token Optimization

    Oct 8, 2025Tiancheng Xing, Jerry Li, Yixuan Du +1Adversarial Attacks on LLMsLLM Reranking