← Latest papers
🤖 AI

Agentic generation of verifiable rules for deterministic, self-expanding reaction classification

This paper presents a fully automated, multi-agent LLM framework that generates and verifies a self-expanding library of 14,073 deterministic reaction rules from US patent data, enabling high-accuracy, interpretable classification of unseen chemical reactions without human curation.

Original authors: Daniel Armstrong, Maarten Dobbelaere, Valentas Olikauskas, Helena Avila, Octavian Susanu, Jérôme Waser, Philippe Schwaller

Published 2026-07-02
📖 5 min read🧠 Deep dive

Original authors: Daniel Armstrong, Maarten Dobbelaere, Valentas Olikauskas, Helena Avila, Octavian Susanu, Jérôme Waser, Philippe Schwaller

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to organize a massive, chaotic library containing nearly 700,000 different chemical recipes (reactions) found in old patent documents. The problem is that chemistry is like a long tail: a few recipes are used millions of times (like baking bread), but thousands of others are used only once or twice (like a very specific, weird cake decoration).

Traditionally, scientists had to manually write a rulebook for every single recipe. This is like trying to write a dictionary for every word in a language that is constantly inventing new words. It's impossible to keep up, and the old rulebooks get stuck in the past, unable to recognize new types of cooking.

This paper introduces a smart, self-updating librarian built using Artificial Intelligence (specifically Large Language Models, or LLMs) that solves this problem. Here is how it works, broken down into simple concepts:

1. The "Team of Agents" (The Librarians)

Instead of one robot trying to read the whole library at once, the authors created a team of five specialized AI agents working together, similar to a high-end editorial board:

  • The Broad Strokes Agent: Looks at a group of similar recipes and gives them a general category (e.g., "Baking").
  • The Detail Agent: Zooms in to give a specific label (e.g., "Sourdough with Rosemary").
  • The Fact-Checker: Double-checks the work. If the label doesn't fit, it sends the recipe back.
  • The New Entry Writer: If the Fact-Checker finds a recipe that doesn't fit any existing category, this agent invents a new category name and adds it to the library's index on the spot.
  • The Organizer: Makes sure all the new categories fit neatly into the hierarchy without creating duplicates.

The Result: They started with a standard index of 68 categories and, without any human help, expanded it to 14,073 distinct categories. The system literally grew the library's organization system as it read the books.

2. The "Rulebook" (SMIRKS)

Once the AI decides what a reaction is, it needs to write a "rule" that a computer can understand to recognize that reaction in the future. In chemistry, these rules are called SMIRKS.

  • The Challenge: If the rule is too vague, it matches the wrong recipes (like a rule saying "add flour" that accidentally matches a recipe for concrete). If it's too specific, it misses valid variations.
  • The Solution: The AI writes a draft rule, tests it against thousands of recipes, and then iteratively refines it. It's like a sculptor chipping away stone: the AI starts with a broad shape and keeps chipping away the parts that don't fit until the rule is perfect. It does this automatically, creating a database of 4,964 highly precise rules.

3. The "Two-Layer Security System" (The Classifier)

To sort new recipes quickly and accurately, the system uses a two-step process:

  1. The Fast Gatekeeper (Neural Network): A lightweight AI looks at the chemical structure and makes a quick guess about the category. It acts like a bouncer at a club, saying, "You look like you belong in the 'Dessert' section."
  2. The Deterministic Check (The Rulebook): Once the bouncer points to a section, the system checks the specific, hard-coded rules (SMIRKS) for that section. If the rule matches perfectly, the recipe is sorted. If no rule matches, the system admits, "I don't know this one," rather than guessing wrong.

Why this matters: This combination is incredibly fast (milliseconds per recipe) and highly accurate (97.7% accuracy on unseen data). It matches the performance of expensive, proprietary tools owned by big chemical companies but is open and adaptable.

4. Handling the "Unknown" (The Fallback)

What happens when the system encounters a brand-new type of chemistry that has never been seen before (like a recipe from a 2025 academic paper)?

  • The "Fast Gatekeeper" might say, "I don't have a rule for this."
  • Instead of failing, the system passes the recipe to the AI Team.
  • The Team analyzes it, creates a new category, writes a new rule, and adds it to the library.
  • The Result: The system doesn't just classify what it knows; it learns and expands its own knowledge base in real-time. In tests, this allowed the system to classify 95.3% of new academic reactions, beating the best existing tools (which only managed 89.3%).

Summary

Think of this paper as building a living, breathing encyclopedia of chemistry.

  • Old way: Humans manually write rules for known chemistry. The book is static and gets outdated.
  • New way: A team of AI agents reads the chemistry, organizes it into a massive, detailed hierarchy, writes its own rules, and automatically adds new chapters whenever it finds something new.

The authors claim this creates a "living reactivity database" that is faster, more detailed, and more adaptable than anything currently available, turning generative AI into a reliable, self-expanding tool for organizing chemical knowledge.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →