TL;DR
LBS3 (Let’s Be Self-generated via Step-by-Step) is a new prompting strategy that allows Large Language Models (LLMs) to "teach themselves" complex reasoning by creating a mini-curriculum. By generating and solving simpler versions of a problem first, the model builds a high-quality set of few-shot examples that significantly improve its performance on the final, difficult target query.
What Problem Does This Paper Address?
Chain-of-Thought (CoT) prompting has revolutionized how LLMs handle reasoning, but it has a "data bottleneck." Few-Shot CoT requires humans to manually write out step-by-step solutions, which is slow and expensive. Zero-Shot CoT (using the famous "Let’s think step by step" prompt) is convenient but often less accurate.
Recent "self-generation" methods try to bridge this gap by asking the LLM to come up with its own examples. However, these methods often fail because the model generates "proxy" problems that are just as hard as the original. If the model can't solve the original problem, it likely can't solve a similarly difficult proxy, leading to a "garbage in, garbage out" cycle where incorrect self-generated examples mislead the model during the final reasoning step.
As illustrated above, previous methods like Self-ICL or Analogical Prompting often generate incorrect reasoning paths for complex problems. LBS3 circumvents this by starting with easier, solvable problems to build a reliable foundation.
Methods: The LBS3 Curriculum
The authors introduce LBS3, which applies the principles of Curriculum Learning—the idea that humans (and machines) learn better when starting with simple concepts before moving to complex ones.
The framework is modular, utilizing three key components: SPG (Simple Problem Generation), APG (Analogous Problem Generation), and RAG (Rationale and Answer Generation). The process follows three main stages:
- Two-Stage Proxy Generation: Instead of generating random examples, LBS3 specifically asks the model to generate $n_1$ "easy" problems (simpler than the target) and $n_2$ "hard" problems (analogous to the target).
- Progressive Solving:
- The model solves the easy problems first using Zero-Shot CoT. Because they are simple, the accuracy is high.
- These solved easy problems are then used as few-shot exemplars to help the model solve the hard problems. This "bootstrapping" ensures the hard proxy solutions are higher quality than if solved from scratch.
- Final Reasoning: The model uses the entire collection of self-generated, verified triplets (Query, Rationale, Answer) as few-shot examples to tackle the original, complex target query.
Datasets and Evaluation
The researchers evaluated LBS3 across eight diverse reasoning benchmarks:
- Mathematical Reasoning: GSM8K, MATH, and SVAMP.
- Commonsense Reasoning: StrategyQA (SQA) and CommonsenseQA (CQA).
- Logical Reasoning (from Big-Bench Hard): Logical deduction (BBH-ldfo), reasoning about colored objects (BBH-raco), and temporal sequences (BBH-ts).
The study tested these against a variety of models, including open-source (Qwen1.5-14B/72B, Llama3-70B) and closed-source (GPT-3.5-turbo, GPT-4.0-turbo) LLMs.
Key Insights and Results
- The Power of Simplicity: The most striking finding is that "easy" examples are more than just filler. They provide a "weaker" performance boost on their own, but their primary utility is in stabilizing the model's reasoning for harder examples.
- Mitigating Error Accumulation: By solving easy problems first, the model avoids the "ab initio" (from the beginning) reasoning errors that plague other self-generation methods. It builds a foundation of correct logic before attempting the "analogous" hard problems.
- Curriculum Synergy: Ablation studies showed that using both easy and hard proxies is superior to using just one type. The easy ones provide correctness, while the hard ones provide the necessary complexity and task-relevance.
- State-of-the-Art (SOTA) Performance: LBS3 consistently outperformed all baselines, including standard Few-Shot CoT and other self-generation methods. On average, LBS3 improved accuracy by 2.49% to 4.30% over the second-best performing baseline across different models. On the challenging MATH benchmark, LBS3 pushed GPT-4.0-turbo's accuracy to 64.2%, a significant jump over standard prompting methods.
Limitations and Future Work
- Computational Overhead: LBS3 requires multiple calls to the LLM (to generate proxies, solve easy ones, solve hard ones, and finally solve the target). The authors note it takes roughly 1.1x the time of simpler self-generation methods.
- Defining "Difficulty": Currently, the model relies on its own internal understanding of what makes a problem "easier." The authors suggest that more formal criteria for dividing difficulty could further refine the curriculum.
- Future Direction: The authors plan to investigate how to automate the selection of the optimal number of easy vs. hard proxies ($n_1$ and $n_2$) dynamically based on the query's complexity.
Summary updated