Weak-to-Strong Reasoning

Yuqing Yang, Yan Ma, Pengfei Liu
7/18/2024
cs.CLcs.AI

Official code: GAIR-NLP/weak-to-strong-reasoning (59 stars, last commit 2024-09-02).

Abstract

When large language models (LLMs) exceed human-level capabilities, it becomes increasingly challenging to provide full-scale and accurate supervision for these models. Weak-to-strong learning, which leverages a less capable model to unlock the latent abilities of a stronger model, proves valuable in this context. Yet, the efficacy of this approach for complex reasoning tasks is still untested. Furthermore, tackling reasoning tasks under the weak-to-strong setting currently lacks efficient methods to avoid blindly imitating the weak supervisor including its errors. In this paper, we introduce a progressive learning framework that enables the strong model to autonomously refine its training data, without requiring input from either a more advanced model or human-annotated data. This framework begins with supervised fine-tuning on a selective small but high-quality dataset, followed by preference optimization on contrastive samples identified by the strong model itself. Extensive experiments on the GSM8K and MATH datasets demonstrate that our method significantly enhances the reasoning capabilities of Llama2-70b using three separate weak models. This method is further validated in a forward-looking experimental setup, where Llama3-8b-instruct effectively supervises Llama3-70b on the highly challenging OlympicArena dataset. This work paves the way for a more scalable and sophisticated strategy to enhance AI reasoning powers. All relevant code and resources are available in \url{https://github.com/GAIR-NLP/weak-to-strong-reasoning}.

View on arXivView PDF

Code Implementations(1)

594Shell, PythonJul 8, 20242 years ago

Similar Papers

Cite this paper

@article{yang2024weaktostrong,
  title  = {Weak-to-Strong Reasoning},
  author = {Yuqing Yang and Yan Ma and Pengfei Liu},
  year   = {2024},
  eprint = {2407.13647},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13647v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13647.svg)](https://codeofpaper.com/paper/2407.13647)

Discussion