atlas

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

Metacognitive Capabilities of LLMs: An Exploration in Mathematical Problem Solving

NeurIPS 2024 · Large language models › Agents, code and math · approach: Inductive and abstract reasoning evaluation · 6 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.

Shows that LLMs can name their own math skills (via GPT-4 labeling and clustering of training questions) and that presenting skill-matched exemplars improves in-context math solving on GSM8K and MATH.

Problem

Whether LLMs possess metacognitive knowledge, specifically the ability to name the skills needed for a task, and whether using such self-identified skills can improve math problem solving via in-context examples.

Approach

A powerful LLM (GPT-4-0613) labels each training question with a fine-grained skill, clusters these into coarser skills, and builds a skill exemplar repository; at test time the model selects a skill from the list and receives randomly chosen exemplars for that skill as few-shot examples.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace standard CoT examples with skill-matched exemplarsGPT-4-0613 · GSM8Kaccuracy: 93.00 -> 94.31Helped
Use random repository examples instead of skill-matched exemplars (ablation)GPT-4-0613 CoT · GSM8Kaccuracy: 93.00 -> 92.87Hurt
Add self-consistency with maj@5 to skill-based CoT (ablation)GPT-4-0613 CoT + Skill-Based · GSM8Kaccuracy: 94.31 -> 95.38Helped
Replace broad topic-selected examples with skill-matched exemplarsGPT-4-0613 CoT · MATHaccuracy: 50.31 -> 53.88Helped
Replace standard CoT examples with skill-matched exemplarsGPT-4-0613 · MATHaccuracy: 42.2 -> 53.88Helped
Use skill-based text exemplars with PALGPT-4-0613 PAL · MATHaccuracy: 52.0 -> 59.32Helped
Increase skill exemplars from 3 to 7 while retaining one code exemplar (ablation)GPT-4-0613 PAL + Skill-Based · MATHaccuracy: 59.32 -> 62.00Helped
Use GPT-4 skill annotations instead of GPT-3.5 annotations (ablation)GPT-4-0613 CoT + Skill-Based · MATHaccuracy: 51.9 -> 53.8Helped
Transfer GPT-4-labeled skill exemplars to MixtralMixtral 8 × 7B CoT · MATHaccuracy: 28.4 -> 28.44Helped
Replace topic-based exemplars with skill-based exemplarsMixtral 8 × 7B CoT · MATHaccuracy: 26.14 -> 28.44Helped
Add self-consistency (maj@4) to skill-based CoT (ablation)Mixtral 8 × 7B CoT + Skill-Based · MATHaccuracy: 28.44 -> 32.44Helped
Transfer GSM8K skill exemplars to other math word-problem datasetsGPT-4-0613 CoT · SVAMPaccuracy: 91.9 -> 92.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MATH SVAMP ASDIV MAWPS (SingleOP, SingleEQ, AddSub, MultiArith)

Benchmarks: GSM8K MATH SVAMP ASDIV SingleOP SingleEQ AddSub MultiArith

Metrics: accuracy

Baselines: CoT Complex CoT Topic-Based Random Retrieval-RSD PAL CoT + PAL

Builds on: chain-of-thought prompting program-aided language models ComplexCoT self-consistency

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