[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-llms-still-struggle-to-write-datalog-new-benchmark-finds":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},8624,"llms-still-struggle-to-write-datalog-new-benchmark-finds","LLMs Still Struggle to Write Datalog, New Benchmark Finds","A new preprint finds LLMs peak at 68.4% accuracy translating plain English into Datalog, rising to 83.8% only with coding agents.","Large language models can write working Datalog code about two-thirds of the time on their own, and only reach the low eighties even with help.\n\nA new paper, \"DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis\" (arXiv:2609.37233), tests six LLMs and four prompting setups on 136 tasks that ask a model to turn a plain-English question into a working Datalog program. Datalog is the logic-based language used for things like program analysis, and writing it by hand is notoriously fiddly. The paper's authors graded each generated program by actually running it against held-out inputs and comparing results to a verified oracle, not by eyeballing the code. Under straightforward prompting, exact-match accuracy topped out at 68.4%, and most failures happened before the code even ran, because models invented helper predicates they never declared. Note that this is an unreviewed preprint, not a peer-reviewed publication.\n\nThe bigger signal is what closes the gap and what doesn't. Two coding agents, which can iterate and check their own output, pushed accuracy to 83.8% and wiped out nearly all those compile-time errors, according to the paper's findings. But the errors that remained clustered in recursive tasks, suggesting today's models can pattern-match syntax without actually reasoning through recursive logic.\n\nThat's a familiar split for anyone watching AI coding tools: agents fix the sloppy mistakes, but the deep reasoning gaps stick around.","[\"ai\",\"benchmarks\",\"datalog\",\"research\"]","2026-09-30T04:00:00.000Z","2026-09-30T15:38:11.443Z","2026-09-30T15:38:17.964Z","published",null,[24],{"id":25,"reviewer":26,"round":27,"reason":28,"status":29},"editor-r1","editor",1,"Attribute the findings explicitly to the source paper (title 'DatalogBench: Evaluating Large Language Models on Text-to-Datalog Synthesis,' arXiv:2609.37233) and note it's an unreviewed preprint, rather than the vague 'researchers built DatalogBench.'","resolved","ai",[30,32,33,34],"benchmarks","datalog","research",[36],{"name":37,"url":38},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2609.37233",0,{"sections":41},[42,46,51,56,61,66,71,76,81,86,91,96,101,106],{"name":43,"slug":30,"count":44,"latest_published_at":45},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":47,"slug":48,"count":49,"latest_published_at":50},"Security","security",1141,"2026-11-15T17:15:13.000Z",{"name":52,"slug":53,"count":54,"latest_published_at":55},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":57,"slug":58,"count":59,"latest_published_at":60},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":62,"slug":63,"count":64,"latest_published_at":65},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":67,"slug":68,"count":69,"latest_published_at":70},"Hardware","hardware",347,"2026-11-16T13:28:40.000Z",{"name":72,"slug":73,"count":74,"latest_published_at":75},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":77,"slug":78,"count":79,"latest_published_at":80},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":82,"slug":83,"count":84,"latest_published_at":85},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":87,"slug":88,"count":89,"latest_published_at":90},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":92,"slug":93,"count":94,"latest_published_at":95},"Dev Tools","dev-tools",127,"2026-11-11T19:00:44.000Z",{"name":97,"slug":98,"count":99,"latest_published_at":100},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":102,"slug":103,"count":104,"latest_published_at":105},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":107,"slug":108,"count":109,"latest_published_at":110},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]