atlas

Research map / Large language models / Agents, code and math

Structured Chemistry Reasoning with Large Language Models

ICML 2024 · Large language models › Agents, code and math · approach: LLMs for scientific discovery · 8 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 StructChem, a three-phase prompting strategy (formulae generation, step-by-step program-aided reasoning, confidence-based review-and-refinement) that substantially boosts GPT-4 and GPT-3.5 on complex SciBench chemistry problems, and fine-tuned Llama-2-13B/Vicuna-13B on its outputs.

Problem

LLMs struggle with complex, multi-step chemistry problems requiring domain formulae, precise calculation, and compositional reasoning, and their errors often stem from missing reasoning structure rather than missing knowledge.

Approach

Decompose chemistry reasoning into formulae recall, grounded step-by-step reasoning (with PoT Python code), and a confidence-scored iterative review-and-refine loop that only accepts higher-confidence revisions, so correct answers are not swayed by unfaithful feedback.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use StructChem instead of the strongest listed baselineGPT-4 · quan, zero-shotaccuracy: 8.82 -> 20.59Helped
Use StructChem instead of the strongest listed baselineGPT-4 · chemmc, zero-shotaccuracy: 43.59 -> 38.46Hurt
Use StructChem instead of the strongest listed baselineGPT-4 · atkins, zero-shotaccuracy: 28.04 -> 31.78Helped
Use StructChem instead of the strongest listed baselineGPT-4 · matter, zero-shotaccuracy: 22.45 -> 24.49Helped
Use StructChem instead of the strongest listed baselineGPT-4 · quan, few-shotaccuracy: 38.24 -> 41.18Helped
Use StructChem instead of the strongest listed baselineGPT-4 · chemmc, few-shotaccuracy: 46.15 -> 58.97Helped
Use StructChem instead of the strongest listed baselineGPT-4 · atkins, few-shotaccuracy: 21.05 -> 59.81Helped
Use StructChem instead of the strongest listed baselineGPT-4 · matter, few-shotaccuracy: 28.57 -> 30.67Helped
Add formulae review to structured instruction (ablation)StructChem · SciBench four-dataset average, zero-shotaccuracy: 29.26 -> 30.87Helped
Add formulae review to structured instruction (ablation)StructChem · SciBench four-dataset average, few-shotaccuracy: 41.37 -> 41.56Helped
Add reasoning review to structured instruction (ablation)StructChem · SciBench four-dataset average, zero-shotaccuracy: 29.26 -> 32.03Helped
Add confidence scoring to review (ablation)StructChem · SciBench four-dataset average, few-shotaccuracy: 42.93 -> 45.20Helped

Surprising findings

Limitations

Experimental setup

Datasets: SciBench quan SciBench chemmc SciBench atkins SciBench matter GPT-4-generated chemistry problems (1,000)

Benchmarks: SciBench quan SciBench chemmc SciBench atkins SciBench matter

Metrics: accuracy error proportion

Baselines: Direct reasoning System instruction CoT PoT

Builds on: chain-of-thought program-of-thoughts self-consistency LoRA SciBench

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