쿼리와 정복: 실행 지향 SQL 생성
Query and Conquer: Execution-Guided SQL Generation
March 31, 2025
저자: Łukasz Borchmann, Marek Wydmuch
cs.AI
초록
복잡한 출력을 생성하기 위한 새로운 접근 방식을 제안하며, 이는 텍스트-to-SQL 작업에서 정확도를 크게 향상시킵니다. 우리의 방법은 실행 결과를 활용하여 여러 후보 중에서 의미적으로 가장 일관된 쿼리를 선택함으로써, 더 작고 비용 효율적인 모델이 o1, o3-mini, DeepSeek R1과 같은 계산 집약적인 추론 방법을 능가할 수 있게 합니다. 동시에 추론 비용을 최대 30배까지 절감합니다. 이 방법은 기존 모델과 원활하게 통합되어, 최신 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