批量评估让大模型判断更准更快,还能更好利用自我一致性提升效果
Batched Self-Consistency Improves LLM Relevance Assessment and Ranking
- 把多个文本一起输入大模型判断,实现高效批量处理
- 使用15次自我一致性重复后,检索准确率从43.8%提升至51.3%
- 适合需要快速高精度排序的场景,如法律检索与信息查重
大模型进行查询-段落相关性评估通常采用逐个判断的点对点(PW)策略,每次只处理一个段落,不仅调用次数多,还无法共享段落间信息。本文提出批量点对点方法,即一次调用评估多个段落,既提升效率,又通过多段落联合观察改善判断质量。此外,批量处理天然支持提示多样化(如不同批次排列组合),更利于发挥自一致性(self-consistency)的测试时扩展优势。在三个段落检索数据集上,使用GPT-4o、Claude Sonnet 3和Amazon Nova Pro进行测试,结果表明:批量自一致性方法显著提升性能,且延迟降低一个数量级以上。例如在法律搜索任务中,批量方法使NDCG@10从43.8%提升至51.3%(15次自一致性调用),而逐个方法仅提升至46.8%,且慢15.3倍。
原文摘要 · Abstract (English)
LLM query-passage relevance assessment is typically studied using a one-by-one pointwise (PW) strategy where each LLM call judges one passage at a time. However, this strategy requires as many LLM calls as there are passages while also preventing information sharing between passages. We thus hypothesize that batched PW methods, which evaluate multiple passages per LLM call, can improve not only efficiency but also judgment quality -- by enabling content from multiple passages to be seen jointly. Moreover, batched PW methods may be better suited to harness the test-time scaling benefits of self-consistency -- the ensembling technique of repeating (potentially perturbed) LLM tasks in parallel and aggregating results -- since batching can naturally enable prompt diversification through varied batch permutations and compositions to create more robust ensembles. We evaluate several batched PW methods against one-by-one PW and listwise ranking baselines on LLM relevance assessment and ranking tasks, using three passage retrieval datasets and GPT-4o, Claude Sonnet 3, and Amazon Nova Pro. We show that batching can greatly amplify self-consistency benefits, making batched PW methods achieve the best performance while often reducing latency by an order of magnitude or more compared to one-by-one PW methods. For instance, on legal search, batched PW ranking with GPT-4o improves from 43.8% to 51.3% NDCG@10 when using 1 vs. 15 self-consistency calls, compared to one-by-one PW ranking improving from 44.9% to 46.8% and being 15.3x slower.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。