atlas

Research map / Large language models / Retrieval and knowledge

FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documents

NeurIPS 2025 · Large language models › Retrieval and knowledge · approach: Retrieval-augmented reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds FreshStack, an automatic pipeline that turns recent Stack Overflow Q&A plus GitHub technical docs into nugget-level IR/RAG benchmarks across five niche topics, and evaluates retrievers, rerankers, and RAG generators on them.

Problem

Existing IR and RAG benchmarks are outdated, artificially easy, and not specialized, and they risk LLM contamination and overfitting. Realistic evaluation of retrieval over technical documents is needed.

Approach

Automatically build benchmarks from community-asked Stack Overflow questions with accepted answers, decompose answers into GPT-4o nuggets, pool documents from a multi-repository GitHub corpus using inference and oracle retrieval plus fusion, and judge nugget-level document support with GPT-4o.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace an individual retriever with Fusion (4 models)Document retrieval using only the Stack Overflow question · FreshStack topicsα-nDCG@10Helped
Add Voyage AI rerank-2 after BM25BM25 document retrieval · FreshStack topicsα-nDCG@10Helped
Add Voyage AI rerank-2 after the dense retrieverBGE (Gemma-2), Voyage-large-2, and Fusion · Laravel 10 & 11 and Angular 16, 17 & 18α-nDCG@10Hurt
Add Voyage AI rerank-2 after dense retrievalDense retrievers · LangChain, Yolo v7 & v8, and Godot4α-nDCG@10Helped
Use Stack Overflow nuggets instead of the question for retrievalFusion (4 models) · FreshStack topicsα-nDCG@10Helped
Use GPT-4o sub-questions instead of a closed-book answer for inference poolingInference-setting retrieval · LangChain, Laravel 10 & 11, Angular 16, 17 & 18, and Godot4α-nDCG@10Helped
Use GPT-4o nuggets instead of the answer for oracle poolingOracle-setting retrieval · LangChain, Yolo v7 & v8, Angular 16, 17 & 18, and Godot4α-nDCG@10Helped
Use GPT-4.1 instead of GPT-4o as the answer generatorRAG generation · FreshStack topicsAll Strict (A_strict)Helped
Use oracle retrieved context instead of inference-setting contextRAG generation · FreshStack topics except Yolo v7 & v8All Strict (A_strict)Helped

Surprising findings

Limitations

Experimental setup

Datasets: Stack Overflow XML data archive (Oct 2024) GitHub repositories for technical documents

Benchmarks: FreshStack (LangChain, Yolo v7 & v8, Laravel 10 & 11, Angular 16/17/18, Godot4)

Metrics: alpha-nDCG@10 Coverage@20 Recall@50 All Strict (A_strict) nugget recall

Baselines: BM25 BGE (Gemma-2) E5 Mistral (7B) Voyage-large-2 Fusion (4 models) Voyage rerank-2

Builds on: BEIR HyDE TREC RAG 2024 nugget evaluation Cranfield paradigm

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy