[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-new-framework-cuts-sql-errors-in-ai-text-to-sql-tools":10,"sections":35},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":30,"feedback":34,"feedback_at":22,"cost_usd":34,"total_tokens":34},5169,"new-framework-cuts-sql-errors-in-ai-text-to-sql-tools","New Framework Cuts SQL Errors in AI Text-to-SQL Tools","A tree-structured, backtracking correction method boosts SQL accuracy without new training data and is already running in a Volcano Engine production API.","Researchers have built a training-free system that catches and fixes SQL errors generated by large language models, and it is already running in production at Volcano Engine.\n\nThe framework, called ACTS-SQL, treats SQL correction as a tree-structured debugging problem rather than a single straight-line fix attempt. Instead of committing to one correction path and hoping it works, the system keeps multiple correction strategies alive at once and can backtrack when one path fails. It pairs this with execution-based verification and clause-level diagnostic tools to prune bad strategies early and pinpoint exactly where a query broke. On the BIRD-Critic benchmark, it beat the previous best method by 9.42%.\n\nText-to-SQL is one of the more practical, less flashy uses of LLMs: letting non-engineers query databases in plain English. But single-pass agentic correction tools are notoriously brittle - one bad early guess and the whole fix cascades into a worse query. Deployed in Volcano Engine's Torch Log Service, this system pushed execution accuracy on real user queries from 36.77% to 53.61% using GPT-5 as the backbone, a jump that matters more in a production log-query tool than any benchmark score.\n\nThat this needed no additional training data is the more interesting story than the accuracy number itself - it suggests better orchestration of an existing model can outperform throwing more fine-tuning data at the problem.","[\"text-to-sql\",\"large-language-models\",\"ai-agents\",\"database-tools\"]","2026-08-18T04:00:00.000Z","2026-08-18T08:01:47.338Z","2026-08-18T08:01:59.254Z","published",null,[],"ai",[26,27,28,29],"text-to-sql","large-language-models","ai-agents","database-tools",[31],{"name":32,"url":33},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2608.15145",0,{"sections":36},[37,41,45,50,55,60,65,70,75,79,84,89,94,99],{"name":38,"slug":24,"count":39,"latest_published_at":40},"AI",3293,"2026-08-20T04:00:00.000Z",{"name":42,"slug":43,"count":44,"latest_published_at":40},"Security","security",435,{"name":46,"slug":47,"count":48,"latest_published_at":49},"Policy","policy",210,"2026-08-19T09:32:27.000Z",{"name":51,"slug":52,"count":53,"latest_published_at":54},"Deals","deals",179,"2026-06-29T20:02:07.000Z",{"name":56,"slug":57,"count":58,"latest_published_at":59},"Hardware","hardware",140,"2026-08-19T18:25:42.000Z",{"name":61,"slug":62,"count":63,"latest_published_at":64},"Consumer Tech","consumer-tech",95,"2026-08-18T16:05:00.000Z",{"name":66,"slug":67,"count":68,"latest_published_at":69},"Science","science",90,"2026-08-19T18:41:02.000Z",{"name":71,"slug":72,"count":73,"latest_published_at":74},"Software","software",73,"2026-08-18T07:51:50.000Z",{"name":76,"slug":77,"count":78,"latest_published_at":18},"Dev Tools","dev-tools",69,{"name":80,"slug":81,"count":82,"latest_published_at":83},"Startups","startups",47,"2026-08-19T19:13:46.000Z",{"name":85,"slug":86,"count":87,"latest_published_at":88},"Gaming","gaming",41,"2026-07-09T04:00:00.000Z",{"name":90,"slug":91,"count":92,"latest_published_at":93},"General","general",33,"2026-08-18T22:18:13.000Z",{"name":95,"slug":96,"count":97,"latest_published_at":98},"Reviews","reviews",20,"2026-06-24T12:00:01.000Z",{"name":100,"slug":101,"count":102,"latest_published_at":103},"How-To","how-to",6,"2026-06-16T09:00:00.000Z"]