クエリと征服:実行ガイド型SQL生成
Query and Conquer: Execution-Guided SQL Generation
March 31, 2025
著者: Łukasz Borchmann, Marek Wydmuch
cs.AI
要旨
複雑な出力を生成するための新しいアプローチを提案し、テキストからSQLへの変換タスクにおいて精度を大幅に向上させます。本手法は、実行結果を活用して複数の候補から最も意味的に一貫性のあるクエリを選択し、計算集約的な推論手法(o1、o3-mini、DeepSeek R1など)を凌駕しながら、推論コストを最大30分の1に削減することを可能にします。既存のモデルとシームレスに統合可能で、最新のSQL生成技術への実用的かつスケーラブルな道筋を提供します。
English
We propose a novel approach for generating complex outputs that significantly
improves accuracy in text-to-SQL tasks. Our method leverages execution results
to select the most semantically consistent query from multiple candidates,
enabling smaller, cost-effective models to surpass computationally intensive
reasoning methods such as o1, o3-mini, and DeepSeek R1 while reducing inference
cost by as much as 30 times. It integrates effortlessly with existing models,
offering a practical and scalable pathway to state-of-the-art SQL generation.Summary
AI-Generated Summary