atlas

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

The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 10 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.

Analyzes token distribution shift between base and aligned LLMs, then proposes URIAL, a tuning-free alignment method using a system prompt and three restyled constant in-context examples on base LLMs, evaluated on a new 1,000-instruction multi-aspect benchmark (Just-Eval-Instruct).

Problem

Alignment tuning (SFT and RLHF) is costly, and it is unclear how it transforms base LLMs; the paper asks whether base LLMs can be aligned without any weight tuning.

Approach

Token-level analysis shows alignment mainly shifts stylistic tokens, so a constant system prompt plus a few stylistically curated in-context examples can align base LLMs purely through ICL, matching or beating SFT/RLHF models built on strong bases.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace zero-shot templated prompting with URIAL using three restyled examples and a system promptLlama-2-7B · URIALaverage score: 2.90 -> 4.33Helped
Replace vanilla ICL with URIAL using three restyled examples and a system promptLlama-2-7B · URIALaverage score: 3.18 -> 4.33Helped
Replace retrieval ICL with URIAL using three restyled constant examples and a system promptLlama-2-7B · URIALaverage score: 3.72 -> 4.33Helped
Use URIAL instead of SFTMistral-7B · URIALaverage score: 4.44 -> 4.63Helped
Use URIAL instead of RLHFLlama-2-70B · URIALaverage score: 4.67 vs 4.74Helped
Increase URIAL examples from three to eight (ablation)Llama-2-7B · URIALsafety: 4.29 to 4.97Helped
Increase URIAL examples from three to eight (ablation)Llama-2-7B · URIALother aspectsHurt
Increase URIAL examples from three to eight (ablation)Mistral-7B · URIALsafetyHelped
Increase URIAL examples from three to eight (ablation)Mistral-7B · URIALengagementHelped
Increase URIAL examples from three to eight (ablation)Mistral-7B · URIALaverage score: 4.63 vs. 4.62No clear effect
Use one URIAL example instead of three (ablation)Llama-2-70B · URIALaverage score: 4.62No clear effect
Use a different set of three URIAL examples (ablation)Mistral-7B · URIALaverage score: 4.63 vs. 4.64No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: AlpacaEval MT-Bench LIMA HH-RLHF-redteam MaliciousInstruct open-instruct UltraChat

Benchmarks: Just-Eval-Instruct

Metrics: helpfulness score (1-5) clarity score factuality score depth score engagement score safety score average score response length

Baselines: Zero-shot templated prompting Vanilla ICL Retrieval ICL Vicuna-7b Llama2-7b-chat Mistral-7b-Instruct Llama2-70b-chat gpt-3.5-turbo gpt-4

Builds on: LIMA Retrieval ICL Llama-2-chat system prompt AlpacaEval MT-Bench

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