Bag of Decisions Reranker
Recorded: Oct. 12, 2026, 10:10 a.m.
| Original | Summarized |
Bag of Decisions Reranker Don't fill this out if you're human: Subscribe Check your email to confirm your subscription Doug Turnbull Consulting · Home back home Bag of Decisions Reranker What if instead of search queries being interpreted as a “bag of terms” we could see them as a “bag of decisions”? Each of these can be turned into a noul question. P(yes) of each can be summed to score overall relevance: response = client.decide( Instead of a query being represented as a bag of terms, we have a bag of questions. Since Jev gives the probability of ‘yes’, we can simply sum the probability of each question being true as the rerank score: for question_id, answer in response.answers.items(): Now total_probability can be our reranker’s final score. We can add that to BM25, or just take it directly. In other words: How does it stack up? Jev reranking: i.e. “Is this document relevant for this query?” I then evaluated on two e-commerce datasets Wayfair WANDS and Amazon ESCI. How did it fair? Dataset WANDS WANDS WANDS ESCI ESCI ESCI Or graphically We’re essentially doing per-query feature creation. Use an LLM as inspiration of what’s important to consider for this query. Then use Jev to measure whether we’re covering that criteria. We might wonder how we might modify the LLM call to provide more incisive + diverse questions then the ones above (IMO some are repetitive) Starting in November: AI-Powered Search — Modern Retrieval for Humans & Agents Doug Turnbull © 2026 SoftwareDoug LLC |
The author proposes an alternative method for relevance reranking, shifting the paradigm from treating search queries as a bag of terms to viewing them as a bag of decisions. This approach seeks to enhance reranking quality by assessing relevance based on criteria generated by a language model rather than simple keyword matching. While Jev is noted as a frontier quality reranker that answers a direct relevance question for a query, the proposed method involves instructing a large language model to generate a structured rubric or set of yes/no questions that define what constitutes relevance for a specific query. This process involves prompting an LLM to generate criteria, such as "generate yes/no questions where the affirmative indicates relevance." For a specific query, this can result in a multi-faceted set of questions that collectively form the basis of the relevance assessment. For example, when assessing relevance for "desks for kids," the LLM might generate questions focusing on whether the document discusses child design, specific features like ergonomics or safety, inclusion of pricing, age ranges, or brand mentions. Each generated question can then be used to query a model like Jev to obtain a probability of 'yes'. The overall relevance score is calculated by summing the probabilities of each question being true, yielding a total probability that serves as the reranker's final score. The strategy leverages the ability of LLMs to perform per-query feature creation, inspiring the reranking process by defining the critical factors that should be considered for successful matching. The author suggests that this approach moves beyond the limitations of term-based methods by creating a richer, more nuanced feature set. The effectiveness of this "bag of decisions" strategy was tested through an experiment comparing it against standard methods, including BM25 and Jev reranking, across two e-commerce datasets, Wayfair WANDS and Amazon ESCI. The results demonstrated that the bag of decisions strategy performed strongly. In the WANDS dataset, the bag of decisions method achieved a mean Normalized Discounted Cumulative Gain (NDCG) of 0.610, significantly outperforming BM25 at 0.5407 and Jev reranking at 0.574. Similarly, on the ESCI dataset, the bag of decisions approach yielded a mean NDCG of 0.360, surpassing both BM25 and Jev reranking scores. This experimental comparison suggests that deriving relevance from a set of contextual decisions, rather than a linear bag of terms or a single relevance hypothesis, offers a promising framework for modern retrieval systems. The research concludes that this method is a valuable approach for training more sophisticated decision models, potentially allowing for the development of models specialized for particular domains. |