AlpaGasus: Training a Better Alpaca with Fewer Data
Lichang Chen, Shiyang Li, Jun Yan, Hai Wang, Kalpa Gunaratna, Vikas Yadav, Zheng Tang, Vijay Srinivasan, Tianyi Zhou, Heng Huang, Hongxia Jin
Abstract
Large language models (LLMs) strengthen instruction-following capability through instruction-finetuning (IFT) on supervised instruction/response data. However, widely used IFT datasets (e.g., ALPACA's 52k data) surprisingly contain many lowquality instances with incorrect or irrelevant responses, which are misleading and detrimental to IFT. In this paper, we propose a simple and effective data selection strategy that automatically identifies and filters out low-quality data using a strong LLM (e.g., ChatGPT). To this end, we introduce ALPAGASUS, which is finetuned on only 9k high-quality data filtered from the 52k ALPACA data. ALPAGASUS significantly outperforms the original ALPACA as evaluated by GPT-4 on multiple test sets and the controlled human evaluation. Its 13B variant matches > 90% performance of its teacher LLM (i.e., Text-Davinci-003 generating the 52k data) on test tasks. It also provides 5.7x faster training, reducing the training time for a 7B variant from 80 minutes (for ALPACA) to 14 minutes 1 . Moreover, the experiments prove the efficacy of our method across diverse datasets, base models, and LLM filters. Overall, ALPAGASUS demonstrates a novel data-centric IFT paradigm that can be generally applied to instruction-tuning data, leading to faster training and better instruction-following models. Our project page is available at: https://lichang-chen.github.io/AlpaGasus/ .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
112 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Measuring Massive Multitask Language Understanding cites PIQA: Reasoning about Physical Commonsense in Natural Language
- Scaling Laws for Reward Model Overoptimization cites Training language models to follow instructions with human feedback
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback cites Scaling Laws for Reward Model Overoptimization
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback cites Training language models to follow instructions with human feedback
- Evaluating Large Language Models at Evaluating Instruction Following cites Measuring Massive Multitask Language Understanding
- Evaluating Large Language Models at Evaluating Instruction Following cites AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Evaluating Large Language Models at Evaluating Instruction Following cites Training language models to follow instructions with human feedback
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites Measuring Massive Multitask Language Understanding
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning cites Training language models to follow instructions with human feedback
- Reinforcement Learning for Reasoning in Large Language Models with One Training Example cites Training language models to follow instructions with human feedback
- Self-Rewarding Language Models cites PIQA: Reasoning about Physical Commonsense in Natural Language
- Self-Rewarding Language Models cites Measuring Massive Multitask Language Understanding
- Self-Rewarding Language Models cites AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedback
- Self-Rewarding Language Models cites Training language models to follow instructions with human feedback
- SimPO: Simple Preference Optimization with a Reference-Free Reward cites Measuring Massive Multitask Language Understanding
- SimPO: Simple Preference Optimization with a Reference-Free Reward cites Scaling Laws for Reward Model Overoptimization
- SimPO: Simple Preference Optimization with a Reference-Free Reward cites Self-Rewarding Language Models
- SimPO: Simple Preference Optimization with a Reference-Free Reward cites Training language models to follow instructions with human feedback
Cited by top-tier papers112
- SimPO: Simple Preference Optimization with a Reference-Free RewardYu Meng, Mengzhou Xia, Danqi ChenNeurIPS 2024 · 1,203 citations
- Self-Rewarding Language ModelsWeizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Xian Li et al.ICML 2024 · 569 citations
- What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction TuningWei Liu, Weihao Zeng, Keqing He, Yong Jiang et al.ICLR 2024 · 369 citations
- Reinforcement Learning for Reasoning in Large Language Models with One Training ExampleYiping Wang, Qing Yang, Zhiyuan Zeng, Liliang Ren et al.NeurIPS 2025 · 314 citations
- Evaluating Large Language Models at Evaluating Instruction FollowingZhiyuan Zeng, Jiatong Yu, Tianyu Gao, Yu Meng et al.ICLR 2024 · 299 citations
Builds on11
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao et al.AAAI 2020 · 2,916 citations
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 citations
- AlpacaFarm: A Simulation Framework for Methods that Learn from Human FeedbackYann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang et al.NeurIPS 2023 · 948 citations
Related papers
- Long Is More for Alignment: A Simple but Tough-to-Beat Baseline for Instruction Fine-TuningHao Zhao, Maksym Andriushchenko, Francesco Croce, Nicolas FlammarionICML 2024 · 96 citations
- SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-ReflectionLiangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li et al.NeurIPS 2024 · 49 citations
- CPQS-Tuning: A Model Self-Perception-Based Data Filtering Algorithm for Efficient Instruction Fine-TuningYI Ren, Yanhui Li, Tianyi Zhang, Diandong LiuICLR 2026
- From Selection to Refinement: Iterative Optimization for Instruction DataHang Hu, Ziyan Liu, Rujie Wen, Ruihui Hou et al.ACL 2026
- Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-TuningMing Li, Lichang Chen, Jiuhai Chen, Shwai He et al.ACL Findings 2024 · 16 citations
