Data Mining for Co-Crystal Synthesis Design Powered by Large Language Models

Nina Gubina, Bagramian Anita, Kadochnikova Margarita Sergeevna, Nikita A. Vasilev, Ivan Yu. Chernyshov, Andrei DmitrenkoAI4Science @ ICML 2026

TL;DR

The COSYN framework uses Large Language Models (LLMs) to transform thousands of unstructured scientific papers into a structured database of over 20,000 co-crystal synthesis records. By combining this data with agentic reasoning, the system can recommend specific experimental conditions—like solvent choice and mixing time—moving AI for chemistry beyond simple molecular screening toward practical laboratory execution.

What Problem Does This Paper Address?

Pharmaceutical co-crystals are a "best of both worlds" solid form: they combine an active drug (API) with another molecule (coformer) to improve properties like solubility or stability without changing the drug's chemical structure. However, actually making them is notoriously difficult.

While AI has become quite good at predicting which two molecules will form a co-crystal, it has largely ignored how to synthesize them. Experimental "recipes" are currently buried in the text of thousands of heterogeneous research papers. Because there is no standardized way to report these experiments, researchers often resort to empirical "trial and error" screening in the lab. This paper addresses the lack of structured, method-aware synthesis data and the difficulty of recommending specific experimental parameters for new molecular pairs.

Methods

The authors introduce COSYN, a modular framework consisting of three main parts:

  1. Hierarchical Extraction Pipeline: Instead of a single "black box" prompt, the authors use a three-stage LLM process:
  2. Stage 1 (Detection): Does this paper actually contain a synthesis procedure?
  3. Stage 2 (Classification): Which of the 12 defined methods (e.g., grinding, slurry, solution crystallization) is being used?
  4. Stage 3 (Extraction): Extract specific parameters (amounts, temperatures, solvents) based on a schema tailored to that specific method.
  5. Condition Prediction: Using the extracted database, the system employs a "few-shot" approach. When asked how to make a new pair, it retrieves the $k$ most chemically similar examples from the database and uses them as context for an LLM to predict the new recipe.
  6. Agentic Assistant: The researchers built "Single-Agent" and "Multi-Agent" architectures where an LLM (like GPT-4o-mini) acts as an orchestrator, using tools to search the database, analyze articles, and predict procedures to answer complex user queries.

Datasets

  • COSYN-DB: The primary output, containing 20,783 synthesis records extracted from nearly 4,000 full-text PDFs linked to the Cambridge Structural Database (CSD).
  • Validation Sets: Three hand-annotated datasets used to benchmark the extraction pipeline's accuracy at each stage.
  • COSYN-BENCH: A new, expert-curated benchmark of 30 complex questions (e.g., "Predict the grinding method for X and compare its apparatus to the most common one in the database") designed to test the reasoning capabilities of chemical AI agents.

Key Insights and Ideas

  • The "Method-Aware" Necessity: A generic extraction approach fails because a "grinding" experiment needs different data fields (frequency, time) than a "solution" experiment (evaporation rate, solvent volume). COSYN’s taxonomy-driven approach is what makes the data high-quality.
  • The $k=3$ Sweet Spot: In few-shot prediction, providing exactly three similar examples yielded the best results. Interestingly, adding more examples ($k > 3$) actually decreased performance for numerical values, as the "signal" from the most relevant precedents became diluted by less relevant ones.
  • Agents vs. Context: Simply giving an LLM a big block of text (Context-Augmented) barely improved its performance on complex tasks. However, giving the LLM tools to interact with the data (Agentic) nearly doubled its score on the COSYN-BENCH. This proves that synthesis design requires iterative reasoning, not just information access.
  • Literature Imbalance: The data mining revealed a massive "long tail" in research: 98.7% of all reported co-crystal syntheses use just three methods (solution, grinding, and slurry), leaving other specialized techniques like "hot-melt extrusion" severely under-documented.

Key Results

  • Extraction Performance: Gemini-2.5-Flash emerged as the top performer for data extraction, achieving an F1-score of 0.97 for procedure detection and 0.81 for method classification.
  • Prediction Accuracy: For the difficult task of predicting the correct solvent, LLMs improved the F1-score from a baseline of 0.17 to as high as 0.44 by using retrieved precedents.
  • System-Level Reasoning: On the COSYN-BENCH, the agentic systems achieved an overall score of ~3.58/5.0, compared to just 1.88/5.0 for a standard LLM. This highlights the power of "tool-augmented" chemistry assistants.

Limitations and Future Work

  • Reporting Bias: COSYN-DB is only as good as the literature it draws from. If scientists don't report the temperature or mixing speed in their papers, the database remains "sparse."
  • Scope: The current version focuses on the process but doesn't yet link it to the outcome (e.g., did the synthesis yield 100% pure co-crystal?).
  • Retrospective vs. Prospective: The study is currently retrospective (testing against known papers). The "natural next step" is prospective validation—actually running COSYN's predicted recipes in a wet lab to see if they work.
  • Negative Data: Scientific literature rarely publishes failed experiments. Future work aims to incorporate "negative" results to help the AI learn what not to do.

Summary updated

BibTeX
@inproceedings{gubina2026data,
  author = {Nina Gubina and Bagramian Anita and Kadochnikova Margarita Sergeevna and Nikita A. Vasilev and Ivan Yu. Chernyshov and Andrei Dmitrenko},
  title = {{Data Mining for Co-Crystal Synthesis Design Powered by Large Language Models}},
  booktitle = {AI4Science @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=Ciew5Vsq23},
}
Figure