atlas

Research map / Large language models / Alignment and preferences

Alignment at Pre-training! Towards Native Alignment for Arabic LLMs

NeurIPS 2024 · Large language models › Alignment and preferences · approach: Steering and correcting LLM behavior · 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.

Proposes "native alignment," rewriting pre-training data with alignment workers during continued pre-training of Llama-3 to build Arabic LLMs (LLaMA3-Tamed-8B/70B) that are safer and more helpful.

Problem

Alignment of LLMs is usually applied after pre-training (instruction tuning/RLHF), which is costly and unstable; the paper asks whether aligning pre-training data itself (for Arabic) can improve alignment and performance.

Approach

Rewrite a portion of raw pre-training data with a code of conduct (format, fair values, content moderation, knowledge preservation) using alignment workers distilled from GPT-4 annotations, then continue pre-training on the rewritten data alongside original data ("native alignment").

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
rewrite Arabic pre-training data using native alignmentArabic data (8k) · Toxicity detection: harassmentOpenAI Moderation score: 0.0293 -> 0.0232Helped
rewrite Arabic pre-training data using native alignmentArabic data (8k) · Toxicity detection: hateOpenAI Moderation score: 0.0067 -> 0.0049Helped
rewrite Arabic pre-training data using native alignmentArabic data (8k) · Toxicity detection: sexualOpenAI Moderation score: 0.0022 -> 0.0015Helped
rewrite Arabic pre-training data using native alignmentArabic data (8k) · Toxicity detection: violenceOpenAI Moderation score: 0.0127 -> 0.0106Helped
add native alignment during pre-trainingLlama-3-8B · ArabicMMLUscore: 45.78 -> 50.17Helped
add native alignment during pre-trainingLlama-3-70B · ACVA cleanscore: 83.70 -> 82.58Hurt
combine original unaligned pre-training data with alignment data, rather than train on alignment data alone (ablation)Llama-3-8B · BeaverTailshelpfulnessHelped
add native-alignment data to conventional pre-training (ablation)Llama-3-8B · BeaverTailsharmlessness: 10.4%Helped
add native-alignment data to conventional pre-training (ablation)Llama-3-8B · BeaverTailshelpfulness: 4.8%Helped
increase the volume of native-alignment data (ablation)Llama-3-8B · BeaverTailshelpfulnessHelped
increase the volume of native-alignment data (ablation)Llama-3-8B · BeaverTailsharmlessnessHelped
use native-aligned data instead of RefinedWeb data cleaning alone (ablation)Qwen-1.5-0.5B · MMLU Avg.score: 27.71 -> 30.73Helped

Surprising findings

Limitations

Experimental setup

Datasets: ArabicText2022 SlimPajama MAP-CC Wikipedia Proof-Pile-2 Alpaca-Arabic-GPT4 BeaverTails RefinedWeb ArabicMMLU EXAMS ACVA AraTrust

Benchmarks: ArabicMMLU EXAMS ACVA AraTrust BeaverTails MMLU

Metrics: accuracy harmlessness win-rate helpfulness win-rate perplexity OpenAI Moderation scores toxicity scores

Baselines: Llama3-8B Qwen1.5-7B Jais-30B-v3 Qwen1.5-32B Qwen1.5-72B Llama3-70B ChatGPT 3.5 Turbo GPT-4 AceGPT Jais

Builds on: Llama-3 Qwen1.5 superficial alignment hypothesis DPO Aligner

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