title: Query and Conquer: Execution-Guided SQL Generation
summary: 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.
paper_authors._id: 67eb6e6088a08fae617860f3
paper_authors.name: Łukasz Borchmann
paper_authors.status: extracted_confirmed
paper_authors.statusLastChangedAt: 2025-04-01T05:01:23.216Z
paper_authors._id: 600b381d3cc3b87db94bc0ce
paper_authors.avatarUrl: https://cdn-avatars.huggingface.co/v1/production/uploads/600b381d3cc3b87db94bc0ce/I3xpr4gzcG1uXawXBpWpD.jpeg
paper_authors.fullname: Łukasz Borchmann
paper_authors.type: user
paper_authors.user: Borchmann
paper_authors._id: 67eb6e6088a08fae617860f4
paper_authors.name: Marek Wydmuch
paper_authors.status: admin_assigned
paper_authors.statusLastChangedAt: 2025-04-01T08:01:57.075Z
paper_authors._id: 66c5e93e8f14c260be9d9f63
paper_authors.avatarUrl: /avatars/f4bf15e23923ef3256d3f01a3278d8bc.svg
paper_authors.fullname: Marek Wydmuch
paper_authors.type: user
paper_authors.user: sfc-mwydmuch
paper_title: Query and Conquer: Execution-Guided SQL Generation
paper_summary: 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.
paper_ai_summary: A novel approach selects semantically consistent SQL queries using execution results, outperforming complex reasoning methods with reduced computational cost.
paper_ai_keywords: text-to-SQL semantically consistent query DeepSeek inference cost