[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-a-grammar-trick-gives-chemistry-ai-100-valid-molecules":10,"sections":34},{"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":29,"feedback":33,"feedback_at":22,"cost_usd":33,"total_tokens":33},9792,"a-grammar-trick-gives-chemistry-ai-100-valid-molecules","A Grammar Trick Gives Chemistry AI 100% Valid Molecules","A new way to represent molecules as grammar rules lets AI generate only valid molecules while also besting rivals on seven standard chemistry benchmarks.","A new way to encode molecules lets AI chemistry models generate compounds that are always chemically valid, while also getting better at predicting molecular properties.\n\nResearchers built a representation called Higher-order Grammar Representation, or HGR, that turns a molecule's structure, including rings and repeating motifs, into a sequence of production rules, the same way a grammar generates valid sentences from a fixed set of rules. Because every output must follow those rules, the resulting molecules are chemically valid by construction, something standard sequence-based or graph-based models cannot guarantee. The team also built a new benchmark, RingDiv, with 1.18 million molecules and a curated 300,000-molecule subset, specifically to test ring diversity, since older benchmarks lean too heavily on simple ring systems. Across five generation benchmarks, HGR-based models hit 100% validity while also ranking first on FCD, a score for how closely generated molecules match real-world chemical distributions.\n\nMost generative chemistry models force a tradeoff between speed and chemical correctness, often producing molecules that look plausible but break basic valence rules. HGR's grammar-based approach avoids that tradeoff without the heavy computational cost of other higher-order representations that encode ring structure directly. The same representation also improved property prediction: HGR-FM lifted accuracy by 8.3 and 3.3 points on a standard accuracy score called AUC, depending on how much fine-tuning the model received, across seven MoleculeNet benchmarks.\n\nWhether a grammar tuned on known ring chemistry generalizes to the stranger molecules drug discovery is actually hunting for remains untested.","[\"ai\",\"chemistry\",\"generative-models\",\"research\"]","2026-10-02T04:00:00.000Z","2026-10-03T10:41:45.933Z","2026-10-03T10:41:51.134Z","published",null,[],"ai",[24,26,27,28],"chemistry","generative-models","research",[30],{"name":31,"url":32},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.02186",0,{"sections":35},[36,39,43,47,52,56,60,65,70,75,80,85,90,95],{"name":37,"slug":24,"count":38,"latest_published_at":18},"AI",6058,{"name":40,"slug":41,"count":42,"latest_published_at":18},"Security","security",848,{"name":44,"slug":45,"count":46,"latest_published_at":18},"Policy","policy",439,{"name":48,"slug":49,"count":50,"latest_published_at":51},"Deals","deals",317,"2026-10-01T22:00:00.000Z",{"name":53,"slug":54,"count":55,"latest_published_at":18},"Hardware","hardware",199,{"name":57,"slug":58,"count":59,"latest_published_at":18},"Science","science",176,{"name":61,"slug":62,"count":63,"latest_published_at":64},"Consumer Tech","consumer-tech",155,"2026-10-01T19:54:10.000Z",{"name":66,"slug":67,"count":68,"latest_published_at":69},"Dev Tools","dev-tools",96,"2026-10-01T16:57:03.000Z",{"name":71,"slug":72,"count":73,"latest_published_at":74},"Software","software",93,"2026-09-30T21:41:11.000Z",{"name":76,"slug":77,"count":78,"latest_published_at":79},"Startups","startups",90,"2026-10-01T21:55:22.000Z",{"name":81,"slug":82,"count":83,"latest_published_at":84},"Gaming","gaming",53,"2026-10-02T02:50:39.000Z",{"name":86,"slug":87,"count":88,"latest_published_at":89},"General","general",50,"2026-09-30T21:37:54.000Z",{"name":91,"slug":92,"count":93,"latest_published_at":94},"Reviews","reviews",31,"2026-09-28T14:31:34.000Z",{"name":96,"slug":97,"count":98,"latest_published_at":99},"How-To","how-to",7,"2026-10-01T09:00:00.000Z"]