Relevance Feedback Inside the Search Engine
đș Watch: https://www.youtube.com/watch?v=7E6Ls1Gk0-g
Talk by Evgeniya Sukhodolskaya (Senior Developer Advocate, Qdrant) at Berlin Buzzwords 2026. The claim: every existing implementation of Relevance Feedback works around the search engine, because engines are black boxes. Qdrant owns its index, so it pushed feedback into the HNSW traversal itself â presented as the first vector-index-native relevance feedback API.
The mechanism shipped in Qdrant 1.17.0 (February 2026). The talk gives the intuition and skips the maths; the formula, training procedure and BEIR numbers are in her companion article Relevance Feedback in Qdrant, and the literature survey behind it is Relevance Feedback in Informational Retrieval.
Key Moments
| Time | Topic |
|---|---|
| 01:41 | Three reasons out-of-the-box results arenât relevant |
| 03:04 | Feedback loops as the intuitive fix â and 60 years of academia |
| 04:16 | Who provides the feedback? Humans are lazy |
| 04:45 | Move the loop inside the application; a model gives the feedback |
| 05:55 | Three components of search â and the one nobody adapts |
| 06:27 | Black boxes, and the literatureâs over-fetch-then-rerank workaround |
| 08:07 | HNSW traversal recap |
| 08:49 | Feedback inside the traversal: changing the hop function |
| 09:48 | Three parameters, ~150 training examples |
| 10:17 | Objective: distil the feedback model into the index |
| 10:42 | The relevance feedback query API |
| 11:41 | Tutorial, an agent skill, and a BEIR benchmark repo |
| 12:20 | Two modes: cheaper reranking, or complementary |
| 13:10 | Wrap-up: against black-box search engines |
| 14:36 | Q&A: results never shown can never earn feedback |
| 17:32 | Q&A: position bias |
| 18:46 | Q&A: graph topology and rebuilding the index |
The Setup
Results come back not-quite-relevant for one of three reasons: the query was poorly formulated (âwhich happens a lot in search, because you donât know what youâre searching forâ), the collection holds no good match, or the scoring function isnât calibrated for your queries and documents.
Feedback loops are the intuitive fix, and every search user already runs one by hand: issue a query, judge the results, adapt, repeat. Deep-research agents do the same. In IR this is Relevance Feedback â âa mechanism for the retrieval system to iteratively refine results in the direction of relevanceâ â dating to Rocchio, roughly sixty years old.
Humans wonât do it
The obvious feedback source is the user, and it doesnât scale: âpeople are lazy.â Google once shipped thumbs up/down on the results page and removed it â nobody pressed them.
So move the whole loop inside the application and let a model judge: an LLM, an agent, a smart reranker â anything that knows whatâs truly relevant. The user only ever sees the converged result set.
The Component Nobody Adapts
Split search into three parts: the query, the documents, and the function matching one to the other.
- Query â everyone adapts this. Coding agents and deep-research loops reformulate and expand (Query Expansion; see Query Understanding - Query Rewriting Overview).
- Documents â you wouldnât rewrite the corpus per query.
- The search algorithm â barely touched, because engines donât let you.
âSearch libraries, search engines are usually like black boxes. So you usually build around them. They donât allow you to access the index anyhow.â
The literatureâs workaround: pull as many candidates out of the black box as you can, rerank them with the feedback model, show the top. âIf they could they would rerank the whole storage of the documentsâ â but they canât. See Reranking.
Feedback Inside the HNSW Traversal
Vanilla HNSW search is greedy: at each hop, pick the neighbour most similar to the query vector by cosine, repeat until convergence.
The change is to the hop-selection function. Instead of cosine similarity alone, the next node is chosen by a combination of cosine similarity and the feedback from the previous loopâs results â so feedback bends the path through the graph rather than filtering its output. This is why the effect reaches the whole collection rather than a retrieved top-k.
Three trainable parameters trade off trust in the base retriever against trust in the feedback. In the companion article the score is
F = a · score + Σ_pairs confidence_p^b · c · delta_p
where score is the retrieverâs own similarity, and each feedback pair contributes a directional delta weighted by the feedback modelâs confidence. Roughly: a weights the original query direction, c how hard to pull toward relevant examples and push from irrelevant ones, b how sharply confidence is trusted.
Those parameters are trained once per (feedback model, collection, retriever) â not per query. In the talk she puts it at âlike 150 examples or soâ; the articleâs experiments use 50â6,000 domain queries depending on collection size, fitted by pairwise ranking loss. A framework ships the weights, so ânobody needs a machine learning degree to use a search engine.â
The objective is distillation
Train so that dense retrieval ranks the way the feedback model would â Knowledge Distillation straight into the index. The point is that the feedback model is one you could never afford to run over the whole collection. Anything that scores a query against a result qualifies: a Cross-Encoder, a custom Learning to Rank model, a late-interaction model like ColBERT, a bi-encoder, or an LLM.
Using It
The query carries the target query, the feedback examples with their relevance scores, and the trained parameters. Three entry points: a hand-written tutorial, a relevance feedback agent skill (part of Qdrantâs search-engineering skills for agents â she ran it end-to-end with Claude, training included), and a benchmark repository on BEIR.
Cost. The formula itself is about as cheap as plain dense search; what costs is calling the feedback model. That yields two modes:
- Cheaper alternative to reranking â collect a few feedback scores, distil, and let the index act as a ranker over a far larger candidate pool.
- Complementary to reranking â combine both; on her BEIR runs this surfaces more relevant results.
Reported gains on BEIR subsets (MS MARCO, SCIDOCS, Quora, FiQA-2018, NFCorpus), measured with a custom abovethreshold@10 relevance-recall metric, span â3.9% to +38.7% relative depending on the retriever/feedback pairing. Full table and the conditions that decide the sign in Relevance Feedback in Qdrant.
Q&A
Results never shown can never earn feedback. Charlieâs question: unreachable documents get no feedback by definition â is that a flaw? Yes, in the same way deep research has it: not enough human in the loop. It works if you trust the modelâs notion of relevance to match your usersâ. Her own boundary â not for very human-oriented domains like E-commerce Search, where you want a human in the loop; better for medical or scientific literature âwhere the humans donât have enough energy to stay in the loop.â Compare Presentation Bias.
Storing feedback across queries. Could feedback be persisted and reused at retrieval time to surface what earlier searches missed? Not currently â the loop just gathers results until the model says stop. She likes the idea (âiterative retrieval fixingâ) and ties it to Reinforcement Learning for Search over agentic loops. The API is a component; storage is the applicationâs call.
Position bias. Does the feedback account for it? Depends on the feedback model â some rankers are trained for it. But bias remains structurally: only top results are sent for feedback, because you canât afford latency or cost on more. See Position Bias.
Graph topology and rebuilds. Since the loop depends on graph structure, especially upper layers, should the index be rebuilt to absorb feedback? Itâs rebuilt anyway as data arrives, and full rebuilds are expensive â âHNSW is a precise structure but kind of heavyâ â so rebuilding for a couple of accuracy points likely isnât feasible. She is explicit the formula âis not set in stone.â
The Argument
âI donât like the idea that the search engines are black boxes that you have to build around. Search engines are here just to serve you a useful tooling and adapt to your needs and adapt to your users, be they humans or agents.â
Related
- Concept: Relevance Feedback â this talk adds the index-native variant alongside explicit / pseudo / implicit
- HNSW â the traversal being modified · Approximate Nearest Neighbor Search · Dense Vector Retrieval
- Reranking · Cross-Encoder â what the feedback model usually is, and what this partly replaces
- Knowledge Distillation â the training objective · Learning to Rank
- Position Bias · Presentation Bias â the standing limits on any feedback loop
- Articles: Relevance Feedback in Qdrant â the formula, training and benchmarks · Relevance Feedback in Informational Retrieval â the literature survey behind the argument
- Same speaker: Evgeniya Sukhodolskaya - Fine-Tuning Sparse Neural Retrievers for E-Commerce
- Qdrant · Qdrant Vector DB · qdrant-relevance-feedback · Berlin Buzzwords