Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models Can Self-Improve

Jiaxin Huang, Shixiang Gu|arXiv (Cornell University)|Oct 20, 2022
Topic ModelingComputer Science24 citations
TL;DR

The paper shows that a 540B-parameter LLM can improve its reasoning by self-generating high-confidence CoT-based training data from unlabeled questions and fine-tuning, achieving state-of-the-art-like results without ground-truth labels.

ABSTRACT

Large Language Models (LLMs) have achieved excellent performances in various tasks. However, fine-tuning an LLM requires extensive supervision. Human, on the other hand, may improve their reasoning abilities by self-thinking without external inputs. In this work, we demonstrate that an LLM is also capable of self-improving with only unlabeled datasets. We use a pre-trained LLM to generate "high-confidence" rationale-augmented answers for unlabeled questions using Chain-of-Thought prompting and self-consistency, and fine-tune the LLM using those self-generated solutions as target outputs. We show that our approach improves the general reasoning ability of a 540B-parameter LLM (74.4%->82.1% on GSM8K, 78.2%->83.0% on DROP, 90.0%->94.4% on OpenBookQA, and 63.4%->67.9% on ANLI-A3) and achieves state-of-the-art-level performance, without any ground truth label. We conduct ablation studies and show that fine-tuning on reasoning is critical for self-improvement.

Motivation & Objective

  • Motivate reducing dependence on large curated supervised datasets by enabling self-improvement in LLMs.
  • Demonstrate that self-generated, high-confidence CoT reasoning can improve reasoning abilities across multiple tasks.
  • Investigate the impact of training with mixed prompting formats and self-consistency on final performance.
  • Assess in-domain and out-of-domain generalization after self-improvement.
  • Provide ablations and analyses to identify critical design choices for LMSI.

Proposed method

  • Use a pre-trained 540B LLM to generate m=32 CoT reasoning paths per question via temperature >0 sampling.
  • Apply majority voting (self-consistency) to select the most consistent answer and keep CoT paths leading to that answer.
  • Augment high-confidence CoT paths with mixed-format prompts to create self-training data for fine-tuning (LMSI).
  • Fine-tune the LLM on self-generated CoT data across multiple tasks to improve reasoning.
  • Conduct ablations on CoT formats, sampling temperature, and number of paths to identify key contributors to performance gains.
  • Explore self-generated questions and prompts to further reduce human effort and study few-shot CoT prompts.

Experimental results

Research questions

  • RQ1Can an LLM improve its reasoning abilities using only unlabeled data via self-generated chain-of-thought and self-consistency?
  • RQ2What are the critical design choices (CoT formats, prompting, sampling) that enable effective self-improvement?
  • RQ3How does LMSI perform on in-domain tasks and generalize to out-of-domain tasks without ground-truth labels?

Key findings

  • LMSI improves PaLM-540B performance across six benchmarks: GSM8K, DROP, ARC-c, OpenBookQA, ANLI-A2, and ANLI-A3.
  • LMSI with self-consistency achieves notable gains over non-self-improved baselines (e.g., GSM8K 74.4% to 82.1% with LMSI and Self-Consistency).
  • On several datasets LMSI matches or surpasses prior state-of-the-art results without using ground-truth labels.
  • Out-of-domain tasks (AQUA, SVAMP, StrategyQA, ANLI-A1, RTE, MNLI) show improved robustness after LMSI.
  • Training with Chain-of-Thought formats is crucial; removing CoT formats reduces gains significantly.
  • Few-shot prompts generated by the model can approach zero-shot state-of-the-art performance on GSM8K (74.2% under certain settings).
  • Distillation experiments show LMSI knowledge can improve smaller models (PaLM-62B and PaLM-8B) beyond their baseline sizes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.