about
FreshStack: Realistic benchmarks for evaluating retrieval on technical documents (arxiv.org)
4 points by fzliu on Aug 21, 2025 | hide | past | pdf | discuss on HN

In plain words: A tool builds retrieval test sets automatically from code and docs plus real community questions, checking each small fact against the documents it finds. Across five fast-changing niche topics, off-the-shelf search models fell well short of ideal performance, leaving lots of room to improve.

Abstract · FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documents

We introduce FreshStack, a holistic framework for automatically building information retrieval (IR) evaluation benchmarks by incorporating challenging questions and answers. FreshStack conducts the following steps: (1) automatic corpus collection from code and technical documentation, (2) nugget generation from community-asked questions and answers, and (3) nugget-level support, retrieving documents using a fusion of retrieval techniques and hybrid architectures. We use FreshStack to build five datasets on fast-growing, recent, and niche topics to ensure the tasks are sufficiently challenging. On FreshStack, existing retrieval models, when applied out-of-the-box, significantly underperform oracle approaches on all five topics, denoting plenty of headroom to improve IR quality. In addition, we identify cases where rerankers do not improve first-stage retrieval accuracy (two out of five topics) and oracle context helps an LLM generator generate a high-quality RAG answer. We hope FreshStack will facilitate future work toward constructing realistic, scalable, and uncontaminated IR and RAG evaluation benchmarks.

Nandan Thakur, Jimmy Lin, Sam Havens, Michael Carbin, Omar Khattab, Andrew Drozdov
arXiv:2504.13128 · cs.IR, cs.AI, cs.CL · submitted Apr 17, 2025 · updated Jun 13, 2025
abstract · pdf · html · 21 pages, 4 figures, 8 tables

add comment on HN
Also discussed: Aug 2025 (2 points, 0 comments)