FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documents
Thakur, Nandan, Lin, Jimmy, Havens, Sam, Carbin, Michael, Khattab, Omar, Drozdov, Andrew
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jun-16-2025
- Country:
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- Asia
- Europe
- Austria > Vienna (0.14)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Italy (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- North America
- Canada
- British Columbia (0.04)
- Ontario > Waterloo Region
- Waterloo (0.04)
- Mexico > Mexico City
- Mexico City (0.04)
- United States
- District of Columbia > Washington (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- Maryland
- Baltimore (0.04)
- Montgomery County > Gaithersburg (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- New Mexico > Bernalillo County
- Albuquerque (0.04)
- Washington > King County
- Seattle (0.04)
- Canada
- Africa > Ethiopia
- Genre:
- Research Report > New Finding (0.46)
- Technology: