pith:J2ZP6W3C
Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing
Prompting aligned LLMs like Llama-3-Instruct with only left-side conversation templates produces millions of realistic user queries and responses for alignment training.
arxiv:2406.08464 v2 · 2024-06-12 · cs.CL · cs.AI
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{J2ZP6W3C32VB7BE6W7PY6LNXBR}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
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.
The generated user queries produced by prompting with left-side templates are sufficiently diverse, realistic, and representative of real user needs to support effective alignment after filtering.
Magpie synthesizes 300K high-quality alignment instructions from Llama-3-Instruct via auto-regressive prompting on partial templates, enabling fine-tuned models to match official instruct performance on AlpacaEval, ArenaHard, and WildBench.
References
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:48.765889Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
4eb2ff5b62deaa1f849eb7df8f2db70c4f63c4ea4d62d18b0ef415a91440864b
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/J2ZP6W3C32VB7BE6W7PY6LNXBR \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 4eb2ff5b62deaa1f849eb7df8f2db70c4f63c4ea4d62d18b0ef415a91440864b
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "aa7a052570c78eae2856548d7696d715493bb9648d3061b74e968934a92de08e",
"cross_cats_sorted": [
"cs.AI"
],
"license": "http://creativecommons.org/licenses/by/4.0/",
"primary_cat": "cs.CL",
"submitted_at": "2024-06-12T17:52:30Z",
"title_canon_sha256": "aa1bd039007ba2f07d8106782e79a7b8ca176dfec737130f7a637de5d9eec978"
},
"schema_version": "1.0",
"source": {
"id": "2406.08464",
"kind": "arxiv",
"version": 2
}
}