ALMA: Alignment with Minimal Annotation

Michihiro Yasunaga, Leonid Shamis, Chunting Zhou, Andrew Cohen, Jason Weston, Luke Zettlemoyer, Marjan GhazvininejadarXiv 2024 · DOI

Introduction

Modern Large Language Model (LLM) alignment typically relies on massive industrial efforts involving millions of human-annotated prompts, responses, and preference rankings. Alternatively, researchers often resort to "distilling" knowledge from proprietary giants like GPT-4. ALMA (Alignment with Minimal Annotation) challenges this paradigm by asking: Can a base model align itself? The researchers demonstrate that the knowledge required for instruction-following is already latent within the base model; the goal is to surface it using minimal, high-quality human guidance.

The ALMA Alignment Recipe

ALMA utilizes a multi-round, iterative framework designed to maximize the utility of a small seed dataset (9,000 labels). The process is built on four key pillars that allow the model to bootstrap its own performance.

Overview of the ALMA alignment recipe, showing the transition from a base model and minimal data to a high-performance aligned model.

1. Diverse Prompt Synthesis

To avoid the "common query" trap, ALMA uses the base model to generate 100 million unique prompts via few-shot learning. Diversity is ensured by applying k-means clustering to the model's hidden representations, allowing for the sampling of a "long-tail" set of instructions rather than repetitive tasks.

2. Multi-Checkpoint Response Synthesis

For each prompt, the system generates 200 responses. By sampling from a mix of initial Supervised Fine-Tuning (SFT) checkpoints and the current iteration, the model avoids becoming an "echo chamber," maintaining factual accuracy while improving helpfulness.

3. Enhanced LLM-as-a-Judge

The researchers finetune the base model to act as a reward model using only 4,000 human labels. A critical innovation here is real-value scoring. Instead of simple integers, the judge's score is a probability-weighted average of all possible score tokens, providing the granularity needed to break ties between high-quality responses.

4. Iterative 10-Round Training

While most self-alignment methods plateau after three rounds, ALMA scales to ten. Each round re-initializes training from the base model using cumulative synthetic data, preventing the model from overfitting to its own previous errors and breaking the typical "performance ceiling."

Key Results and Insights

The final ALMA model (11th round) achieved a GPT-4o average score of 8.22, nearly identical to the official Llama3-8B-Instruct score of 8.25. On AlpacaEval 2.0, ALMA's length-controlled win rate was 22.8%, matching Llama3-Instruct's 22.9%.

These results suggest that the alignment phase is less about teaching new information and more about teaching the model a specific style or format to unlock its pre-existing knowledge. Furthermore, the study found that the quality of "best-of-n" selection continues to improve significantly up to $N=200$, suggesting that more candidates increase the likelihood of the model generating a near-perfect response.

Limitations and Future Work

While ALMA significantly reduces human labeling costs, the data synthesis phase is compute-heavy. Additionally, the current research focuses on general helpfulness; safety alignment—handling adversarial prompts or harmful content—may still require specialized human intervention or distinct synthetic strategies. Future work will investigate which specific types of human labels are most critical for the initial bootstrapping phase.

Summary updated

BibTeX
@misc{yasunaga2024alma,
  author = {Michihiro Yasunaga and Leonid Shamis and Chunting Zhou and Andrew Cohen and Jason Weston and Luke Zettlemoyer and Marjan Ghazvininejad},
  title = {{ALMA: Alignment with Minimal Annotation}},
  year = {2024},
  eprint = {2412.04305},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.04305},
}
Figure