CASE STUDY
Processing 1000+ chemical patents in minutes
A multi-agent architecture for pharmaceutical R&D that turns weeks of manual patent screening into minutes of automated analysis - with 90% accuracy in extracting usable synthesis routes.

1000+
Patents processed per compound
90%
Synthesis extraction accuracy
80hrs→min
Screening time reduction
4
Specialized agent systems
THE PROBLEM
The patent screening problem no one talks about
Pharmaceutical R&D teams face a problem that costs them weeks per compound: patent overload.
When a researcher needs to synthesize a chemical compound, they start with a database query. The database returns every patent where the compound appears - mentioned in passing, listed in a table, or actually synthesized. For a single compound, that's often 1,000+ patents.
Most of those patents are noise. The compound might be mentioned once in a 50-page document. It might appear in a comparison table with 200 other molecules. Finding the 2-3 patents with actual, usable synthesis pathways means manually reviewing hundreds of documents. That's 40-80 hours of researcher time per compound.
Industry
Pharmaceutical R&D
Domain
Patent Analysis
Challenge
Chemical Synthesis
Scale
1000+ patents/compound
Stack
Multi-agent AI
Impact
80hrs → minutes
WHY TRADITIONAL PROCESSING FAILED
We tested every conventional approach. None worked at scale.
Rule-based parsers choked on patent PDFs. Chemical patents aren't standardized - formatting varies by jurisdiction, time period, and filing organization. Tables appear mid-paragraph. Chemical structures interrupt text flow.
Standard OCR systems failed on chemical diagrams. Chemical structures aren't text - they're complex visual representations with bonds, angles, stereochemistry, and annotations.
Single-model approaches for chemical structure recognition plateaued at 50% accuracy. Low resolution scans, hand-drawn structures from older patents, complex multi-step reactions, overlapping labels.
The problem required specialized intelligence at every stage. We needed a multi-agent architecture where each component solved a specific sub-problem, with validation at each step.
THE ARCHITECTURE
Four specialized agent systems, each solving a distinct processing challenge
Document Parsing
Google Document AI
Cloud-native PDF extraction trained on chemical patent structure. Handles multi-column layouts, embedded diagrams, cross-page tables, and chemical formula formatting. 94% text extraction accuracy versus 67-78% for generic parsers.
→ 94% extraction accuracy on chemical patents
Chemical Image Recognition
Multi-model consensus + DECIMER
Three specialized models run in parallel on each chemical diagram. Each generates a SMILES string, which is converted back to an image. A vision language model compares all three against the original to select the most accurate result. Accuracy improved from 50% to 65%.
→ 30% accuracy improvement via multi-model consensus
Intelligent Patent Screening
LLM-based relevance scoring
Scores every patent against synthesis criteria: does it describe synthesis of the target compound? Are step-by-step protocols provided? Are starting materials specified? Handles multiple naming conventions (IUPAC, CAS, SMILES, InChI, trade names) and understands synthesis context beyond keyword matching.
→ 1000+ patents reduced to 5-10 high-value documents
Synthesis Tree Generation
Pathway extraction + hierarchical mapping
Extracts synthesis steps from high-relevance patents - starting materials, intermediates, reaction conditions, yields, and alternative pathways. Builds a growing synthesis tree that connects related molecules and reveals patterns across chemical classes.
→ Reusable knowledge base that improves with each analysis
THE BREAKTHROUGH
Why one model wasn't enough - and how three models plus visual verification changed everything
No single image-to-SMILES model exceeded 50% accuracy on complex patent diagrams. Our solution: deploy three best-in-class models in parallel and use visual verification to select the correct output.
Each chemical image passes through three specialized models simultaneously. Each generates a SMILES string. All three outputs are converted back into chemical structure images. A vision language model then compares the three generated images against the original to identify the closest match.
Each model was trained on different datasets. Model A excelled at hand-drawn structures from older patents. Model B handled complex multi-step reactions. Model C performed best on high-resolution modern diagrams. By running all three and using visual verification, we increased accuracy from 50% to 65% - the difference between an interesting experiment and a production deployment.
Single models rarely solve complex domain problems. Multi-model consensus with validation closes the gap.
INTELLIGENT SCREENING
Understanding synthesis context, not just matching keywords
Chemical compounds have multiple names and notations: IUPAC systematic names, common names, CAS registry numbers, SMILES strings, InChI identifiers, proprietary trade names. Simple keyword matching missed patents using different naming conventions. Fuzzy matching produced too many false positives.
Worse: relevance isn't just about compound presence. A patent might synthesize the target compound (highly relevant), synthesize a structurally similar compound (relevant), mention it in a comparison table (low relevance), or reference it as prior art (not relevant).
We deployed an LLM to score every patent against defined synthesis criteria. It understood that “compound 7a” in one patent might be the same as “intermediate B” in another. It recognized that a patent focusing on a related compound might contain applicable synthesis routes. It distinguished between patents that mention a compound versus patents that synthesize it.
Output: a ranked list of patents sorted by synthesis relevance, typically reducing 1,000+ candidates to 5-10 high-value documents.
RESULTS
Scientists now spend time in the lab, not the library
Patent screening that took researchers 40-80 hours per compound now takes minutes. Automated screening, extraction, and report generation replaced manual review entirely.
Instead of searching for synthesis pathways, researchers receive curated reports with ranked options and comparative analysis. Multiple compounds process in parallel. As patent databases grow, processing scales horizontally without additional researcher time.
Every processed compound adds to the synthesis tree. The system gets smarter with each analysis, identifying patterns and connections across chemical space.
Synthesis pathway comparison
Three different routes to synthesize compound X, compared side-by-side for cost, yield, and complexity.
Price estimation
Starting materials mapped to commercially available compounds, enabling cost analysis before lab work begins.
Auto-generated reports
Patents, pathways, alternatives, and recommendations compiled into actionable documents.
Knowledge accumulation
Every analysis strengthens the synthesis tree, connecting related molecules and revealing patterns.
WHAT WE LEARNED
Three principles for production AI agents in specialized domains
Single models rarely solve complex domain problems.
Chemical image recognition couldn't reach production accuracy with one model. Multi-model consensus with validation closed the gap.
Agent specialization beats end-to-end black boxes.
Four specialized agents - each solving a clear sub-problem - produced better results than trying to build one system that did everything. Modular architecture meant we could optimize each component independently.
Domain expertise must be encoded at every stage.
Generic document parsers, standard OCR, and keyword search all failed because they lacked chemical domain knowledge. Success required specialized tools at each step.

GET STARTED
Ready to put AI to
work for your business?
Book a free consultation. We'll map out exactly where AI saves you time and money, and you'll walk away with a plan whether you work with us or not.