Bag of Decisions Reranker

Hacker News Top Papers

Summary

一篇实验性博客文章提出「Bag of Decisions」重排方法:让 LLM 为每个查询生成一组是/否判准问题,再用 Jev 计算各问题为真的概率并求和作为相关性分数,在 Wayfair WANDS 和 Amazon ESCI 数据集上均优于 BM25 和单一问题重排。

No content available
Original Article
View Cached Full Text

Cached at: 10/12/26, 12:47 PM

# Bag of Decisions Reranker Source: [https://softwaredoug.com/blog/2026/10/08/bag-of-decisions.html](https://softwaredoug.com/blog/2026/10/08/bag-of-decisions.html) What if instead of search queries being interpreted as a “bag of terms” we could see them as a “bag of decisions”? We know Jev acts as[frontier quality reranker](https://hevmind.com/writing/jev-as-a-reranker/)\. As a fun experiment, I wanted to try another technique: Don’t just ask Jev “Is this relevant for \{query\}?”\. Instead, let an LLM generate the query’s criteria: a rubric to assess relevance for just this query\. We prompt an LLM with “generate yes / no question where the affirmative indicates relevance”\. For the query`desk for kids`it might produce: ``` 1 - Is the document about desks designed for children? 2 - Does the document offer products or information on kids’ desks? 3 - Does it mention child-sized or age-appropriate desk dimensions or ergonomics? 4 - Does it reference desks for homework, study, or activities for kids? 5 - Are features specific to children’s desks (e.g., height-adjustable for kids, safety/rounded edges, storage fo r school supplies) discussed? 6 - Does it include buying guides, reviews, or comparisons of kids’ desks? 7 - Does it provide pricing or availability for children’s desks? 8 - Does it mention desks for specific child age ranges (e.g., toddlers, elementary, teens) as kids’ desks? 9 - Are brands or models of children’s desks listed? 10 - Does it cover where to buy or how to choose a desk for kids? ``` Each of these can be turned into a`noul`question\.`P\(yes\)`of each can be summed to score overall relevance: ``` document = """ This adjustable study desk is perfect for kids ages 5–12. Its height grows with your child. """ response = client.decide( state=document, questions={ "question_1": Noul( instructions="Is this document about desks designed for children?" ), "question_2": Noul( instructions="Does the document offer products or information on kids’ desks?" ) ... }, ) ``` 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: ``` total_probability = 0.0 for question_id, answer in response.answers.items(): probability = answer.noul print(f"{question_id}: {probability:.2f}") total_probability += probability ``` Now`total\_probability`can be our reranker’s final score\. We can add that to BM25, or just take it directly\. In other words: ![](https://softwaredoug.com/assets/media/2026/bag-of-decisions/image2.png) ## How does it stack up? I ran an experiment comparing BM25 vs two variants \([gory details here](https://github.com/softwaredoug/search-experiments/blob/main/research/decisions/ecom.md)\): 1. Jev reranking: i\.e\. “Is this document relevant for this query?” 2. Bag of question reranking \- multi\-question flow described above\. I then evaluated on two e\-commerce datasets Wayfair WANDS and Amazon ESCI\. How did it fair? Does this work? It seems to\. Here’s some initial results: DatasetStrategy nameMean NDCGMedian NDCGWANDS`bm25`0\.54070\.475WANDS`jev\_reranker`0\.5740\.561WANDS`bag\_of\_decisions`0\.6100\.561ESCI`bm25`0\.2890\.171ESCI`jev\_reranker`0\.3140\.205ESCI`bag\_of\_decisions`0\.3600\.341Or graphically ![](https://softwaredoug.com/assets/media/2026/bag-of-decisions/image3.png) 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\) It’s a fun approach\. We seem to be able to train more and more decision models, possible even[ones focused on specific domains](https://x.com/MaziyarPanahi/status/2108180624372605186)\. At least in this one toy experiment, it seems to be a promising approach worth deeper study\. Enjoy\! Learn the latest AI search skills with the authors of*AI\-Powered Search*\. Join Doug Turnbull and Trey Grainger to explore modern retrieval for humans and agents\.[Explore the course on Maven\.](https://maven.com/search-school/ai-powered-search)

Similar Articles

Microsoft-Decision-1

Product Hunt

Microsoft 推出 Decision-1 决策打分模型,用于代理与工作流的路由、分类、验证和控制,单次推理即可输出各选项的校准概率。该模型基于 Qwen3.5-9B 后训练,据称中位延迟比 GPT-6 Sol 快约 35 倍,现已在 Microsoft Foundry 上线。

LEV: Thinking Fast and Deep with Looped Decision Models

Hugging Face Daily Papers

LEV 是一种“系统1.5”决策模型,通过循环运行主干网络并在每轮后对选项打分来延长思考,而无需生成思维链,单一检查点即可在任意推理深度作答。实验显示 Lev-2.6B 在 JevBench 上从单轮 63.2% 提升至四轮 76.2%,且一个轻量停止器可在几乎无精度损失的情况下节省 15-24% 的计算。

Diversity Combining for Multi-Path LLM Reasoning

arXiv cs.AI

本文将多路径 LLM 推理形式化为无线通信中的分集合并问题,分析路径正确性相关性对多数投票有效样本量的上限,并在 5 个模型和 12 个基准上验证提示模板分集可降低路径相关性,同时提出基于四路径试点的 Adaptive-K 规则来选择最优采样数。

vllm-sr/d3

Hugging Face Models Trending

vllm-sr/d3 是 Decision 3.0 的 27B 多模态基础决策模型,支持文本、JSON、图像与视频输入,可在一次调用中完成选择、是非与评分决策并输出概率,无需生成文本。它在 Jev Decision Index 上以 66.3 排名官方文本榜第一,较 Decision 2.0 提升 10.4,并在 AMD MI325X 上实现 27 req/s 的服务性能。

Equal Ranking Quality, Different Decisions: Measuring and Reducing Order Dependence in LLM Scorers

Hugging Face Daily Papers

This paper shows that LLM-based scorers producing equal ranking quality can still make different decisions when candidate order in the prompt changes, and introduces order-consistency SFT (OC-SFT) to penalize score disagreement across permutations. OC-SFT holds ranking quality while improving decision stability across reranking, response ranking, and multi-document QA tasks.