[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-small-ai-models-beat-gpt-5-at-security-query-translation":10,"sections":40},{"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":30,"tags":31,"sources":35,"feedback":39,"feedback_at":22,"cost_usd":39,"total_tokens":39},6955,"small-ai-models-beat-gpt-5-at-security-query-translation","Small AI Models Beat GPT-5 at Security Query Translation","A two-stage small-model pipeline for turning plain English into security queries outperforms GPT-5 on accuracy while costing a fraction as much.","Small language models just outperformed GPT-5 at one of the more tedious jobs in a security operations center: turning a plain-English question into a working database query.\n\nResearchers tested a system for converting natural-language questions into Kusto Query Language (KQL), the syntax analysts use to search Microsoft security telemetry. They tried three approaches: prompting a small model with a handful of mined tips about common parsing errors, fine-tuning a small model with chain-of-thought reasoning borrowed from a larger teacher model, and pairing a small model that drafts a query with a separate, cheap large model that checks and fixes it against the schema. That third, two-stage approach worked best. On Microsoft's own NL2KQL Defender evaluation set, it produced syntactically correct queries 98.7% of the time and semantically correct ones 90.6% of the time, topping every other setup the researchers tested, including pipelines built on GPT-4o (87.8%) and GPT-5 (86.1%).\n\nThe bigger news is cost. That two-stage small-model pipeline handled the researchers' 230-query test set for $0.213, versus $2.018 for the GPT-5 version and $2.998 for the GPT-4o version - a 9.5x to 14x reduction, while still beating both on schema accuracy. For security teams drowning in telemetry and short on analysts who can write KQL, a translator that is both cheaper and more accurate is a rare combination, not an incremental one.\n\nThe fine-tuning experiment, notably, went nowhere: teaching the small model to reason like a bigger one never beat prompting it well in the first place - a useful reminder that more training isn't always the fix vendors promise.","[\"ai\",\"security\",\"small-language-models\",\"threat-hunting\"]","2026-09-18T04:00:00.000Z","2026-09-19T00:23:04.244Z","2026-09-21T04:43:30.312Z","published",null,[24],{"id":25,"reviewer":26,"round":27,"reason":28,"status":29},"editor-r1","editor",1,"The dek says the small-model pipeline 'matches' GPT-5's accuracy, but the body and source show it actually exceeds the GPT-5 baseline (0.906 vs 0.861 schema-valid), which also contradicts the headline's 'Best' framing — reconcile the dek's language with the data and headline.","resolved","security",[32,30,33,34],"ai","small-language-models","threat-hunting",[36],{"name":37,"url":38},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2512.06660",0,{"sections":41},[42,46,50,55,60,65,70,75,80,85,90,95,100,105],{"name":43,"slug":32,"count":44,"latest_published_at":45},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":47,"slug":30,"count":48,"latest_published_at":49},"Security",1141,"2026-11-15T17:15:13.000Z",{"name":51,"slug":52,"count":53,"latest_published_at":54},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":56,"slug":57,"count":58,"latest_published_at":59},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":61,"slug":62,"count":63,"latest_published_at":64},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":66,"slug":67,"count":68,"latest_published_at":69},"Hardware","hardware",347,"2026-11-16T13:28:40.000Z",{"name":71,"slug":72,"count":73,"latest_published_at":74},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":76,"slug":77,"count":78,"latest_published_at":79},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":81,"slug":82,"count":83,"latest_published_at":84},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":86,"slug":87,"count":88,"latest_published_at":89},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":91,"slug":92,"count":93,"latest_published_at":94},"Dev Tools","dev-tools",127,"2026-11-11T19:00:44.000Z",{"name":96,"slug":97,"count":98,"latest_published_at":99},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":101,"slug":102,"count":103,"latest_published_at":104},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":106,"slug":107,"count":108,"latest_published_at":109},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]