Shreya Shankar 团队研究指出,在非结构化文本复杂语义 top-k 查询中,小型 LLM 逐项打分的 Pointwise 方法准确率不输 Pairwise 成对比较,且速度最高提升 13 倍。常规做法多采用成对比较来弥补通用嵌入向量难以识别细致标准的缺陷,但开销较大。实验显示,逐项打分在销售、合同与药品安全等业务任务中显著降低了单次查询成本,各任务几何平均速度提高 8.2 倍。
New lab blog post! How do you run complex semantic top-k queries on your unstructured text, accurately and at scale? E.g., "which sales calls most clearly show a customer committing to buy?"
Common convention is to (1) use pairwise LLM comparisons for accuracy (e.g., "does call A show more commitment to buy than call B?"), since cosine similarity on off-the-shelf embeddings misses nuanced criteria, and (2) use small LLMs, so it's cheap at scale.
Surprisingly, we find that just asking the small LLM to score each record and sorting (a "pointwise" approach) is just as accurate (if not more) on a few business-oriented top-k tasks, and up to 13x faster in our experiments.
来源:Shreya Shankar · x.com