Towards a General-Purpose Model for the Chemistry Discovery Workflow

Laura Mismetti, Mariana Alves, Carlo Baldassari, Rhyan Barrett, Sarah de Ruiter, Serafina Di Gioia, Mara Graziani, Flavia Iovane, Anna Kelmanson, Rémi Schlama, Federico Zipoli, Uros Zivanovic, Andreas Krause, Rui Moreira, Cecilia M. P. Rodrigues, Philippe Schwaller, Tiago Rodrigues, Teodoro Laino, Jannis Born, Marvin Alberts

TL;DR

GraniteChem is an 8-billion-parameter language model that handles the entire chemistry discovery cycle—from designing a drug-like molecule and planning how to synthesise it, to interpreting its NMR spectrum and answering general chemistry questions—all through a single natural-language interface. Trained with reinforcement learning using custom, chemistry-aware reward functions, it matches or beats specialist models on their own turf and even designed a novel, experimentally validated compound that protects cells from necroptotic death.

What Problem Does This Paper Address?

A typical chemical discovery project moves through a tight loop: Design a molecule that binds a target, Make it via a viable synthesis route, Test what you actually made using analytical spectra, and Analyse the results.

Today, the computational tools supporting this loop are fragmented. A generative model might propose a molecule, but it has no idea how to synthesise it; a retrosynthesis model can plan a route, but it cannot read an NMR spectrum. Meanwhile, general-purpose LLMs can chat about chemistry concepts, but they fail when asked to manipulate molecules or interpret spectral data. The authors set out to build a single, unified model capable of spanning all stages of this workflow—and to prove it works not just on benchmarks, but in a real wet lab.

Methods

Built on Granite-3.3-8B and trained on over 85 billion tokens, GraniteChem uses a four-stage pipeline:

  1. Broad Supervised Fine-Tuning (SFT): Instills general reasoning alongside chemistry data (reactions, molecular design, and simulated NMR).
  2. Experimental NMR Fine-Tuning: Adapts the model to real, experimental 1H and 13C NMR spectra.
  3. Chemistry GRPO (Group Relative Policy Optimisation): A reinforcement learning stage where the model generates multiple candidate answers and learns from shaped chemistry rewards rather than simple binary right/wrong signals.
  4. Text GRPO: A final adaptation stage to sharpen performance on multiple-choice chemistry Q&A.
GraniteChem across the discovery cycle and its four-stage training pipeline

What is genuinely new here is how the authors design the shaped rewards in Stage 3:

  • Molecular Design: Because predicted binding affinity is noisy, the reward gates it—the model only gets credit for affinity after it satisfies verifiable structural constraints (molecular weight, functional groups, scaffold fragments, and synthesisability).
  • Retrosynthesis: Correctness is measured via round-trip accuracy (can a frozen forward-reaction model regenerate the target from the proposed precursors?), paired with a diversity bonus that rewards proposing distinct chemical disconnections.
  • NMR Elucidation: A fast HOSE-code lookup predicts the 13C spectrum of a candidate structure and scores how well it explains the observed peaks, paired with an anti-hack penalty if a structure fits the peaks while being structurally dissimilar to the target.

(Note: Forward reaction prediction was not optimised with GRPO because the authors found no partial-correctness metric that improved exact-match accuracy.)

Datasets

  • Training: Protein–binder pairs from BindingDB; chemical reactions from Pistachio; experimental 1H and 13C NMR spectra from NMRGym; plus general reasoning and simulated NMR data.
  • Evaluation: Held-out prompts from BindingDB (10,000 prompts for molecular design); Toniato et al., USPTO-50k, and Orderly (retrosynthesis); the NMRGym scaffold-split test set (de novo NMR elucidation); and MMLU, MMLU-Pro, and ChemBench (chemistry Q&A).

Key Insights and Ideas

  • Shaped rewards unlock learning where exact-match fails: Under standard exact-match rewards, if all rollouts in a group are wrong (or all are right), the model gets zero learning signal. Shaped rewards—like spectral agreement for NMR or gated constraints for design—create a smooth gradient that guides the model toward chemically sensible answers.
  • Tanimoto similarity is a poor compass for NMR: In NMR elucidation, rewarding candidates based on Tanimoto fingerprint similarity to the ground truth produced zero learning. Most incorrect rollouts sit below 0.2 similarity (where fingerprints carry little chemical meaning), and NMR shifts depend on local electronic environments rather than global fingerprint similarity. Adding a spectral agreement term is what makes the task learnable.
  • One model, real-world wet-lab validation: Prompted with the protein sequence of RIPK3 (a target in metabolic dysfunction-associated steatotic liver disease, or MASLD) and medicinal-chemistry constraints, GraniteChem generated candidates and planned their syntheses. Two structurally novel compounds (SWAI1 and SWAI3) were synthesised in one and two steps, respectively.

Key Results

GraniteChem is the only model evaluated that performs competitively across all five tasks:

Performance of GraniteChem across all five chemistry tasks
  • Molecular Design: Achieves a 7.6% joint success rate (satisfying all ~4.4 constraints per prompt simultaneously). Every other general-purpose and chemistry LLM evaluated scored 0%.
  • Retrosynthesis: Matches the specialist Molecular Transformer on round-trip consensus (74.0% RT@1) while proposing 1.5× as many distinct valid routes (route diversity of 7.0 vs. 4.1).
  • Forward Reaction Prediction: Reaches 53.8% pass@1 (from SFT).
  • NMR Elucidation: Achieves 9.6% top-1 exact-match accuracy on de novo 1H+13C elucidation—comparable to the specialist NMRMind (12%–15.5%)—while all other LLMs scored 0%.
  • Chemistry Q&A: Reaches a 48.7% mean across MMLU (69%), MMLU-Pro (34%), and ChemBench (43%).
  • Wet-Lab Case Study: SWAI3 showed dose-dependent anti-necroptotic activity in both mouse L929 ($\text{EC}_{50} = 11.6\ \mu\text{M}$) and human HT29 ($\text{EC}_{50} = 12.7\ \mu\text{M}$) cells, with follow-up biochemical profiling consistent with non-ATP-competitive, allosteric RIPK3 modulation.

Limitations and Future Work

  • The multi-task tax: Combining all tasks into a single model has a measurable cost—joint training reduces molecular design success from 10.6% to 9.7%, and the final text-adaptation stage brings it down to 7.6%.
  • Hit, not yet a lead: The authors note that SWAI3's double-digit micromolar potency leaves clear room for further medicinal-chemistry optimisation.
  • Forward prediction: Finding a partial-correctness reward that improves forward reaction prediction under RL remains an open challenge.

Summary updated

BibTeX
@inproceedings{mismetti2026towards,
  author = {Laura Mismetti and Mariana Alves and Carlo Baldassari and Rhyan Barrett and Sarah de Ruiter and Serafina Di Gioia and Mara Graziani and Flavia Iovane and Anna Kelmanson and Rémi Schlama and Federico Zipoli and Uros Zivanovic and Andreas Krause and Rui Moreira and Cecilia M. P. Rodrigues and Philippe Schwaller and Tiago Rodrigues and Teodoro Laino and Jannis Born and Marvin Alberts},
  title = {{Towards a General-Purpose Model for the Chemistry Discovery Workflow}},
  booktitle = {AI4Mat @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=5gjvtlqmMn},
}
Figure