paper-with-me

Papers

Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing

2024-06-12 · Zhangchen Xu, Fengqing Jiang, Luyao Niu, Yuntian Deng, Radha Poovendran, Yejin Choi, Bill Yuchen Lin

High-quality instruction data is critical for aligning large language models (LLMs). Although some models, such as Llama-3-Instruct, have open weights, their alignment data remain private, which hinders the democratization of AI. High human labor costs and a limited, predefined scope for prompting prevent existing open-source data creation methods from scaling effectively, potentially limiting the diversity and quality of public alignment datasets. Is it possible to synthesize high-quality instruction data at scale by extracting it directly from an aligned LLM? We present a self-synthesis method for generating large-scale alignment data named Magpie. Our key observation is that aligned LLMs like Llama-3-Instruct can generate a user query when we input only the left-side templates up to the position reserved for user messages, thanks to their auto-regressive nature. We use this method to prompt Llama-3-Instruct and generate 4 million instructions along with their corresponding responses. We perform a comprehensive analysis of the extracted data and select 300K high-quality instances. To compare Magpie data with other public instruction datasets, we fine-tune Llama-3-8B-Base with each dataset and evaluate the performance of the fine-tuned models. Our results indicate that in some tasks, models fine-tuned with Magpie perform comparably to the official Llama-3-8B-Instruct, despite the latter being enhanced with 10 million data points through supervised fine-tuning (SFT) and subsequent feedback learning. We also show that using Magpie solely for SFT can surpass the performance of previous public datasets utilized for both SFT and preference optimization, such as direct preference optimization with UltraFeedback. This advantage is evident on alignment benchmarks such as AlpacaEval, ArenaHard, and WildBench.

📄 PDF Abstract BibTeX arXiv:2406.08464

Code (2)

magpie-align/magpie 공식 구현 pytorch
kyle8581/wma-agents

Methods 이 논문이 사용한 방법론

SFT Shrink and Fine-Tune, or SFT, is a type of distillation that avoids explicit distillation by copying parameters to a student student model and then fine-tuning.…

Similar Papers 제목 키워드 기반

LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions

2025-05-22 · Chaochen Gao, Xing Wu, Zijia Lin, Debing Zhang 외

High-quality long-context instruction data is essential for aligning long-context large language models (LLMs). Despite the public release of models like Qwen and Llama, their long-context instruction data remains propri…

Diversity

MagpieTTS-LF: Inference-Time Long-Form Speech Generation Without Training on Long-Form data

2026-06-16 · Subhankar Ghosh, Jason Li, Paarth Neekhara, Shehzeen Hussain 외 arxiv

Neural Text-to-Speech (TTS) systems achieve remarkable quality on short utterances but long-form speech generation shows prosodic drift, speaker inconsistencies and sentence boundary artifacts. Existing approaches either…

PIKA: Expert-Level Synthetic Datasets for Post-Training Alignment from Scratch

2025-10-08 · Shangjian Yin, Shining Liang, Wenbiao Ding, Yuli Qian 외 arxiv

High-quality instruction data is critical for LLM alignment, yet existing open-source datasets often lack efficiency, requiring hundreds of thousands of examples to approach proprietary performance. In this work, we find…

MAGPIE: Multi-Task Media-Bias Analysis Generalization for Pre-Trained Identification of Expressions

2024-02-27 · Tomáš Horych, Martin Wessel, Jan Philip Wahle, Terry Ruas 외

Media bias detection poses a complex, multifaceted problem traditionally tackled using single-task models and small in-domain datasets, consequently lacking generalizability. To address this, we introduce MAGPIE, the fir…

Bias DetectionFake News Detection

Medical Image Synthesis via Fine-Grained Image-Text Alignment and Anatomy-Pathology Prompting

2024-03-11 · WenTing Chen, Pengyu Wang, Hui Ren, Lichao Sun 외

Data scarcity and privacy concerns limit the availability of high-quality medical images for public use, which can be mitigated through medical image synthesis. However, current medical image synthesis methods often stru…

AnatomyDescriptiveImage Generation