[Paper Review] Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Models
This paper proposes ReST EM, a self-training method that uses model-generated synthetic data and binary feedback to improve language models on problem-solving tasks. By iteratively generating solutions, filtering them via correctness feedback, and fine-tuning on high-quality outputs, ReST EM significantly boosts performance on MATH and APPS benchmarks—surpassing human-data fine-tuning, especially at scale, with minimal computational cost and no degradation on held-out tasks.
Fine-tuning language models~(LMs) on human-generated data remains a prevalent practice. However, the performance of such models is often limited by the quantity and diversity of high-quality human data. In this paper, we explore whether we can go beyond human data on tasks where we have access to scalar feedback, for example, on math problems where one can verify correctness. To do so, we investigate a simple self-training method based on expectation-maximization, which we call ReST$^{EM}$, where we (1) generate samples from the model and filter them using binary feedback, (2) fine-tune the model on these samples, and (3) repeat this process a few times. Testing on advanced MATH reasoning and APPS coding benchmarks using PaLM-2 models, we find that ReST$^{EM}$ scales favorably with model size and significantly surpasses fine-tuning only on human data. Overall, our findings suggest self-training with feedback can substantially reduce dependence on human-generated data.
Motivation & Objective
- To investigate whether language models can surpass human-data fine-tuning by leveraging model-generated synthetic data with scalar feedback.
- To evaluate the scalability and effectiveness of self-training via ReST EM on complex problem-solving benchmarks like MATH and APPS.
- To determine whether synthetic data from larger models can improve smaller models more effectively than human data.
- To assess the impact of ReST EM on generalization, including performance on held-out benchmarks and reasoning capabilities.
- To identify limitations such as overfitting and the need for manually designed reward functions, and to explore ways to mitigate them.
Proposed method
- ReST EM alternates between two steps: (1) Generate—sampling multiple outputs from the model for each input and filtering them using a binary correctness reward.
- The filtered outputs form a training dataset used to fine-tune the model in the (2) Improve step, which is then used in the next iteration.
- The method is theoretically grounded in expectation-maximization for reinforcement learning, treating the feedback as a reward signal.
- The approach is applied to PaLM-2 models across multiple sizes, using feedback from automated verifiers on MATH and APPS datasets.
- The process is repeated for a few iterations, with ablation studies varying the number of generated samples, training problems, and iterations.
- Performance is evaluated using standard metrics like pass@1, pass@5, pass@10, and majority voting, as well as on held-out benchmarks like GSM8K, Hungarian HS finals, and Big-Bench Hard.

Experimental results
Research questions
- RQ1Can self-training with model-generated data and binary feedback outperform fine-tuning on human-annotated data for problem-solving tasks?
- RQ2How does ReST EM scale with increasing model size on MATH and APPS benchmarks?
- RQ3Does ReST EM improve generalization to out-of-distribution benchmarks like GSM8K, Hungarian HS finals, and Big-Bench Hard?
- RQ4What are the effects of hyperparameters such as number of generated samples, number of training problems, and number of ReST EM iterations?
- RQ5Can ReST EM fine-tuned models generalize to other tasks without performance degradation, and how do they compare to GPT-4 on real-world exams?
Key findings
- ReST EM significantly outperforms human-data fine-tuning on both MATH and APPS benchmarks, especially as model size increases.
- The PaLM-2-L model fine-tuned with ReST EM on MATH surpassed all prior models except GPT-4 on the 2023 Hungarian high school final exam, achieving strong manual grading results.
- Models fine-tuned with ReST EM showed improved pass@1, pass@5, and pass@10 scores on APPS and MATH, with gains exceeding those from human-data fine-tuning.
- Performance gains were observed on held-out benchmarks, including GSM8K, Hungarian HS finals, and Big-Bench Hard, indicating strong generalization.
- Beyond a few iterations, performance gains diminished, suggesting a risk of overfitting on small training problem sets.
- ReST EM did not degrade performance on unrelated tasks, and models fine-tuned on synthetic data from larger models improved smaller models more effectively than human data.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.