atlas

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

SciInstruct: a Self-Reflective Instruction Annotated Dataset for Training Scientific Language Models

NeurIPS 2024 · Large language models › Agents, code and math · approach: LLMs for scientific discovery · 4 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.

Introduces SciInstruct, a 254k-instruction scientific dataset (physics, chemistry, math, Lean proofs) built via a self-reflective GPT-4 chain-of-thought annotation pipeline, and fine-tunes ChatGLM3, Llama3-8B-Instruct and MetaMath-7B into SciGLM and related models.

Problem

LLMs struggle with college-level scientific reasoning, and high-quality instruction data with step-by-step reasoning for science is scarce because most available scientific QA pairs lack reasoning chains.

Approach

A self-reflective annotation pipeline in which GPT-4 generates CoT solutions for QA pairs, filters by answer correctness, and then iteratively critiques and revises failed solutions (with the reference answer as a hint in the final stage), followed by a trained instruction-quality classifier to filter noisy data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune ChatGLM3-6B-Base on SciInstructChatGLM3-6B-Base · Scientific reasoning (weighted average)accuracy: 38.12 -> 41.40Helped
Fine-tune ChatGLM3-32B-Base on SciInstructChatGLM3-32B-Base · Scientific reasoning (weighted average)accuracy: 43.74 -> 45.48Helped
Fine-tune ChatGLM3-6B-Base on SciInstructChatGLM3-6B-Base · Mathematical reasoning (weighted average)accuracy: 42.56 -> 49.24Helped
Fine-tune ChatGLM3-32B-Base on SciInstructChatGLM3-32B-Base · Mathematical reasoning (weighted average)accuracy: 53.49 -> 57.46Helped
Fine-tune Llama3-8B-Instruct on SciInstructLlama3-8B-Instruct · Scientific reasoning (weighted average)accuracy: 34.66 -> 34.54No clear effect
Fine-tune Llama3-8B-Instruct on SciInstructLlama3-8B-Instruct · Mathematical reasoning (weighted average)accuracy: 41.18 -> 37.55Hurt
Fine-tune Mistral-7B: MetaMATH on SciInstructMistral-7B: MetaMATH · Scientific reasoning (weighted average)accuracy: 28.76 -> 34.81Helped
Fine-tune Mistral-7B: MetaMATH on SciInstructMistral-7B: MetaMATH · Mathematical reasoning (weighted average)accuracy: 39.09 -> 41.02Helped
Fine-tune ChatGLM3-6B-Base on SciInstructChatGLM3-6B-Base · General language and coding tasksaccuracy: 61.40 -> 57.85Hurt
Fine-tune ChatGLM3-32B-Base on SciInstructChatGLM3-32B-Base · General language and coding tasksaccuracy: 69.06 -> 68.78No clear effect
Exclude the lowest 10% of samples using the filter step (ablation)SciInstruct-trained SciGLM-6B · Filter-step evaluation (Ave. Sci)weighted accuracy: 43.57 -> 43.85Helped
Exclude the lowest 10% of samples using the filter step (ablation)SciInstruct-trained SciGLM-6B · Filter-step evaluation (Ave. Math)weighted accuracy: 48.50 -> 49.24Helped

Surprising findings

Limitations

Experimental setup

Datasets: SciInstruct LeanDojo MetaMath MAmmoTH

Benchmarks: CEval-Hard CEval-Sci MMLU-Sci SciEval SciBench GPQA Diamond GSM8K MATH Mathematics SAT-Math MMLU-Math CEval-Math

Metrics: accuracy pass@1 pass@K weighted average accuracy

Baselines: GPT-4 GPT-3.5-turbo Claude-v1.3 Galactica LLaMA-2 ChatGLM3-Base MAmmoTH WizardMath MetaMath-7B

Builds on: chain-of-thought prompting MetaMath LeanDojo DeepSpeed

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