atlas

Research map / Large language models / Language, safety and interpretability

ReactGPT: Understanding of Chemical Reactions via In-Context Tuning

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Data and evaluation methodology · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ReactGPT, which adapts LLaMA3-8B-Instruct to chemical reaction captioning via fingerprint-based retrieval of context examples, domain-specific prompts, in-context tuning, and DPO-based structure preference alignment.

Problem

Aligning chemical reactions with natural language descriptions (reaction captioning and experimental procedure prediction) remains underexplored, since prior work focused on single molecules and metrics like BLEU poorly capture valid reaction descriptions.

Approach

Retrieve similar reactions using rxnfp reaction fingerprints as in-context examples, fine-tune an LLM with in-context tuning, then apply DPO with rule-based structure-discriminator preference pairs to improve caption structure.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use fingerprint-based retrieval of similar reaction-caption examples rather than random context examples (ablation)ReactGPT · Reaction Captioning (OpenExp test)BLEU-4: 33.91 -> 36.41Helped
Use fingerprint-based retrieval of similar reaction-caption examples rather than random context examples (ablation)ReactGPT · Reaction Captioning (OpenExp test)Structure Succ.: 80.56 -> 89.53Helped
Add In-Context Tuning (ablation)ReactGPT · Reaction Captioning (OpenExp test)BLEU-4: 32.23 -> 36.41Helped
Add In-Context Tuning (ablation)ReactGPT · Reaction Captioning (OpenExp test)Structure Succ.: 76.56 -> 89.53Helped
Apply ReactGPT instead of naive SFT LLaMA3-8B-InstructLLaMA3-8B-Instruct · Reaction Captioning (OpenExp test)BLEU-4: 32.23 -> 36.41Helped
Apply ReactGPT instead of LLaMA3-8B-InstructLLaMA3-8B-Instruct · Experimental Procedure Prediction (OpenExp test)BLEU-4: 39.28 -> 43.73Mixed

Surprising findings

Limitations

Experimental setup

Datasets: OpenExp USPTO-Applications ORD

Benchmarks: OpenExp reaction captioning test split OpenExp experimental procedure prediction test split

Metrics: BLEU-2 BLEU-4 ROUGE-1 ROUGE-2 ROUGE-L METEOR structure success rate 100%LEV 90%LEV 75%LEV

Baselines: Nearest Neighbor MolT5-Base MolT5-Large GPT-4o-mini Galactica ChemDFM LLaMA3 ReactXT MolCA

Builds on: in-context tuning direct preference optimization MolReGPT ICMA ReactXT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy