AIBullisharXiv – CS AI · 18h ago6/10
🧠
Larch: Learned Query Optimization for Semantic Predicates
Larch is a new optimization framework that improves the efficiency of semantic SQL queries by reducing token usage and computational costs when processing unstructured data with Large Language Models. The framework uses two approaches—reinforcement learning and supervised learning—to optimize the order of filter evaluation, achieving 3x-19x token cost reductions compared to existing solutions.