Optimizing Language Model's Reasoning Abilities with Weak Supervision

Yongqi Tong, Sizhe Wang, Dawei Li, Yifan Wang, Simeng Han, Zi Lin, Chengsong Huang, Jiaxin Huang, Jingbo ShangarXiv 2024 · DOI

TL;DR

This paper introduces "self-reinforcement," a novel method to improve LLMs' reasoning abilities using weak supervision, by iteratively learning from the differences between a fine-tuned model and its base version on unlabeled data. To support this, they release PUZZLEBEN, a new benchmark with diverse reasoning tasks and a significant portion of unannotated questions, demonstrating that their method can achieve substantial accuracy gains with minimal human annotation.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown impressive reasoning capabilities, but improving these abilities often relies on massive, meticulously annotated datasets created by human experts. This reliance presents a significant scalability bottleneck, as the demand for data grows with model size and complexity. The authors aim to address this by developing a method that can enhance LLMs' reasoning with minimal human supervision, moving away from the need for extensive, fully-labeled rationales.

Methods

The core of the paper is the "self-reinforcement" methodology, a weak-to-strong learning framework. It operates in three main phases:

  1. Base Modeling: An initial Supervised Fine-Tuning (SFT) step is performed on a small, high-quality seed dataset. This creates a "stronger" model ($\pi_1$) from the base, unfinetuned model ($\pi_0$).
  2. Self-Filtering: The $\pi_1$ model is used to generate responses to unlabeled questions, alongside the base model $\pi_0$. A filtering mechanism then selects pairs of responses where $\pi_1$'s output is demonstrably better (more relevant, coherent, and with better rationales) than $\pi_0$'s. This curated set of high-quality examples forms a new, weakly annotated dataset.
  3. Self-Reinforcement: Direct Preference Optimization (DPO) is employed to train the model further, learning from the quality differences between the selected response pairs. This process iteratively refines the model, aiming to amplify its reasoning strengths. The authors also propose an iterative self-reinforcement process where the improved model from one cycle becomes the "stronger" model for the next, allowing continuous improvement.

Datasets

The paper introduces PUZZLEBEN, a new weakly supervised benchmark designed for reasoning tasks. It comprises:

  • 25,147 labeled questions: These include answers and human-generated rationales across various domains like brainteasers, puzzles, riddles, parajumbles, and critical reasoning.
  • 10,000 unannotated questions: This subset is crucial for enabling the weak-to-strong learning approach, allowing the model to learn from its own generated rationales without direct human annotation.

PUZZLEBEN is noted for its longer average question and rationale lengths compared to existing benchmarks, suggesting a higher degree of complexity.

Key Insights and Ideas

  • Weak supervision is powerful for reasoning: The core idea is that LLMs can significantly improve their reasoning abilities by learning from the relative quality of their own outputs, rather than solely relying on perfect human-annotated examples.
  • Self-improvement loop: The iterative nature of self-reinforcement allows models to bootstrap their own performance, with each iteration building upon the strengths of the previous one.
  • The value of unannotated data: The inclusion of a large unannotated set in PUZZLEBEN is key to demonstrating the effectiveness of weak supervision and self-reinforcement.
  • Dataset complexity matters: PUZZLEBEN's design, with longer questions and rationales, aims to push the boundaries of current LLM reasoning capabilities and better reflect real-world complexity.

Key Results

  • The proposed self-reinforcement method achieved significant accuracy improvements on the PUZZLEBEN dataset. Starting from a base accuracy of 10.38% (unfinetuned LLaMA2-13b), the model reached 37.82% accuracy by the second iteration ($t_2$) of self-reinforcement.
  • This performance surpassed traditional methods like simple SFT and a baseline called ReFT (which also uses model-decoded rationales but requires exact answers).
  • An ablation study highlighted the critical role of the "self-filtering" component, showing that its inclusion substantially boosted accuracy across iterations. For example, at iteration $t_1$, self-filtering improved accuracy from 18.32% to 28.11%.
  • The dataset analysis showed that LLaMA2-13b's accuracy on PUZZLEBEN generally decreased with increasing difficulty, mirroring human perception, suggesting the dataset effectively captures reasoning challenges.

Limitations and Future Work

  • Self-filtering refinement: The authors acknowledge that improvements in self-filtering (e.g., selecting more impactful positive/negative pairs) could further enhance DPO training.
  • Iteration stability: There's uncertainty about the model's stability with extensive iterations, specifically the risk of performance collapse or increased hallucination. They suggest incorporating a proportion of human-annotated data in each iteration as a potential mitigation.
  • Future directions:
    • Developing dynamic and adaptive self-filtering criteria.
  • Employing active learning strategies or collaborative human-in-the-loop interventions to better align models with human reasoning.
  • The ultimate goal is to create more autonomous, efficient, and robust reasoning models.

Summary updated

BibTeX
@misc{tong2024optimizing,
  author = {Yongqi Tong and Sizhe Wang and Dawei Li and Yifan Wang and Simeng Han and Zi Lin and Chengsong Huang and Jiaxin Huang and Jingbo Shang},
  title = {{Optimizing Language Model's Reasoning Abilities with Weak Supervision}},
  year = {2024},
  eprint = {2405.04086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.04086},
}
Figure