atlas

Research map / Large language models / Instruction and fine-tuning

Long Is More for Alignment: A Simple but Tough-to-Beat Baseline for Instruction Fine-Tuning

ICML 2024 · Large language models › Instruction and fine-tuning · approach: Instruction data selection · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that simply selecting the 1,000 longest-response instructions from Alpaca-52k or Evol-Instruct-70k for SFT beats LIMA-1k and AlpaGasus-1k as judged by GPT-4 and PaLM-2, and that a GPT-3.5-refined version with NEFTune reaches 7.88% on AlpacaEval 2.0 with Llama-2-7B.

Problem

Instruction fine-tuning of LLMs is assumed to need high-quality curated data, but it is unclear which features make demonstrations high quality; existing selection methods (AlpaGasus, LIMA) rely on proprietary LLM scoring or costly manual curation.

Approach

Select the 1,000 training examples with the longest responses as a simple heuristic for IFT data, optionally refine them via GPT-3.5-Turbo introspection prompting, and combine with NEFTune noise; longer responses are argued to carry more learnable information and be harder to overfit.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Select the 1,000 Alpaca examples with longest responses instead of using Alpaca-52kLlama-2-7B instruction fine-tuning · AlpacaEval 2.0win rate: 2.74 -> 3.16Helped
Refine Alpaca-1k-longest using introspectionLlama-2-7B · AlpacaEval 2.0win rate: 3.16 -> 6.00Helped
Add NEFTune during fine-tuning (ablation)Refined-Alpaca-1k-longest on Llama-2-7B · AlpacaEval 2.0win rate: 6.00 -> 7.88Helped
Increase maximum generation from 2048 to 4096 (ablation)Refined-Alpaca-1k-longest + NEFTune on Llama-2-7B · AlpacaEval 2.0win rate: 7.88 -> 7.83Hurt
Increase maximum generation from 2048 to 4096 (ablation)Alpaca-1k-longest on Llama-2-7B · AlpacaEval 2.0win rate: 3.16 -> 3.11Hurt
Refine Alpaca-1k-longest using introspectionLlama-2-7B · MT-Benchscore: 3.96 -> 4.18Helped
Add NEFTune during fine-tuning (ablation)Refined-Alpaca-1k-longest · MT-Benchscore: 4.18 -> 4.28; 6.09 -> 5.98; 6.00 -> 6.18Mixed
Select the 1,000 Alpaca examples with longest responses instead of 1k-shortest (ablation)Llama-2-7B · Alpaca-52k evaluation promptsGPT-4 win rate: 97.0Helped
Select the 1,000 Alpaca examples with longest responses instead of 1k-random (ablation)Llama-2-7B · Alpaca-52k evaluation promptsGPT-4 win rate: 72.1Helped
Select the 1,000 Evol-Instruct examples with longest responses instead of 1k-random (ablation)Llama-2-7B · Evol-Instruct-70k evaluation promptsGPT-4 win rate: 39.7 wins; 31.2 losesMixed
Refine Alpaca-1k-longest using introspectionMistral-7B-v0.1 · AlpacaEval 2.0win rate: 7.13 -> 11.74Helped
Refine Alpaca-1k-longest using introspectionLlama-2-13B · MT-Benchscore: 5.32 -> 6.09Helped

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca-52k Evol-Instruct-70k LIMA-1k AlpaGasus-1k Open-Hermes-1M

Benchmarks: AlpacaEval 2.0 MT-Bench Open LLM Leaderboard (ARC, MMLU, TruthfulQA, Winogrande) LIMA test set Vicuna test set Koala test set WizardLM test set Self-Instruct test set SCROLLS (GovReport, SummScreen, QMSum)

Metrics: win rate average response length MT-Bench score accuracy ROUGE

Baselines: AlpaGasus-1k LIMA-1k Alpaca-52k Evol-Instruct-70k Evol-Instruct-AlpaGasus-1k Llama-2-Chat-7B Tulu-2-DPO-7B Vicuna-7B

Builds on: LIMA AlpaGasus NEFTune Alpaca Evol-Instruct

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy