Evaluating Search Relevance Part 2: Using Phi-3 as a Relevance Judge (Elastic)
This forum post indexes a blog article from Elastic's Search Labs series on search relevance evaluation. The original article is available at:
https://www.elastic.co/search-labs/blog/evaluating-search-relevance-part-2
Key points
- Topic: Part 2 of Elastic's series on evaluating search relevance, focusing on using the Phi-3 LLM family (Microsoft's small language models) as an automated relevance judge for search result evaluation.
- Motivation: Manual relevance judgments are expensive and slow to produce at scale, while purely automatic metrics (e.g., nDCG against sparse labels) may not capture actual user-perceived relevance. An LLM judge offers a scalable way to generate relevance labels for query–document pairs.
- Use case: Feeding queries and retrieved documents to Phi-3 to obtain graded relevance assessments, which can then populate or extend evaluation datasets used to benchmark ranking pipelines (BM25, dense retrieval, rerankers).
- Practical caveats (per the forum poster's framing): LLM-as-judge scores should be cross-validated with human judgments; judgment quality, inference cost, and latency are the main engineering trade-offs when deploying a small model like Phi-3 for evaluation workloads.
- Offline IR metrics (nDCG@10, MRR, Recall@k)
- Human-labeled test collections
- Online interleaving / A/B experiments
- PDF Retrieval with Vision Language Models (ColPali)
- Investigating ChatGPT Search: insights from 80 million clickstream records
- Foundation models for personalized recommendation (Netflix, Mar 2025)
Context within the search stack
The forum post situates the article in the modern retrieval pipeline: query understanding → recall (sparse/dense hybrid) → reranking → generation (RAG) → evaluation. LLM-as-judge belongs to the evaluation layer, complementing:
Note on this forum post
Most sections of the forum post (methodology, experiments, ablations) are generic template text rather than a faithful summary of the Elastic article. For the actual prompt design, model setup, evaluation protocol, and quantitative comparisons against human judgments, consult the original Elastic Search Labs post linked above.