Quail blog: AI.SCORE scoring-and-sorting beats pairwise on Precision@25, 8.2x faster

sh_reya · x · 2026-11-24

Full blog from Full Stack Data Lab on semantic top-k in Quail, their open-source SQL engine with AI functions. Comparing embedding retrieval (good for relevance, poor at reasoning per LOTUS), rerankers, pairwise LLM comparisons, and the AI.SCORE pointwise extension: scoring-and-sorting matched or beat pairwise on Precision@25 across three tasks and was 8.2x faster per task (geometric mean). The project began as 'implement a pairwise top-k operator in Quail' — and flipped. Lead experimenter Jianhong Shi is a 3rd-year undergrad.

Original post →

More from Research

Research channel →