META-PAP: Meta-learning for Prompt-aware Preference Pairing in LLM Alignment
Pinlong Zhao, Shiyu Hu, Jing Zhang, Mengyang Li
NeurIPS page · OpenReview · Open on the map
Category: LLM Post-Training: RL & Distillation › Direct Preference Optimization · Type: new method · Keywords: LLM alignment, preference pairing, meta-learning, prompt-aware weighting, DPO, large language models
Areas: RL for LLMs & Agents › Language Model Alignment › Preference Optimization
Summary
META-PAP is a meta-learning framework that learns prompt-aware weighting of preference pairs to improve LLM alignment, achieving gains over vanilla DPO.
Explained to a 5-year-old
We want to teach a big computer program how to answer questions nicely. People give it examples of good and bad answers. The program looks at the question and decides which examples are most helpful. It learns to pick the right examples by practicing on a few examples. This helps the program get better at giving good answers.
Explained to a 5-year-old, longer
A big computer program, like a chatbot, tries to answer questions in a way people like. To teach it, we give it pairs of good and bad answers. Sometimes the questions are simple, and we want clear examples. Other times the questions are tricky, and we need different kinds of examples. The old way of teaching used the same examples for every question. But that wasn't always the best. The new idea is to look at each question and choose examples that match its difficulty. We do this by making many possible examples and picking the ones that seem most useful. A small helper program learns how to pick the best examples by trying them out. It gets better by practicing on a few examples and checking if they help. This way the big program learns faster and gives better answers. It also works even when we have very few examples to start with.
For a technical reader
The paper introduces META-PAP, a meta-learning framework that automatically weights preference pairs based on prompt characteristics. It generates diverse pairs via a grid over reward distributions, extracts prompt features, and trains a lightweight meta-network using bilevel optimization. The inner loop updates the policy with weighted DPO, while the outer loop validates on a clean meta-set. Experiments on Llama-3-8B, Mistral-7B, and Llama-2-7B show consistent gains of ~4 points on AlpacaEval 2.0 and ~3 points on Arena-Hard over baseline methods. The approach requires only a few hundred pairs for meta-training and tolerates noisy data, making it practical for real deployments.
Problem
Aligning large language models with human preferences often uses preference pairs, but existing methods treat all pairs uniformly despite varying prompt characteristics, leading to suboptimal alignment.
Method
The approach generates multiple diverse preference pairs per prompt via a structured grid over reward distributions, extracts prompt-aware features, and trains a lightweight meta-network through bilevel optimization to predict per-pair weights, where the inner loop performs weighted DPO and the outer loop evaluates a virtual policy on a clean meta-set.
Results
The approach achieves average gains of +3.9 points on AlpacaEval 2.0 and +3.2 points on Arena-Hard over baseline methods, and approaches an oracle that exhaustively searches per prompt.
Contributions
It identifies prompt-level heterogeneity in optimal pair selection, proposes a meta-learning algorithm to learn prompt-aware weighting, and demonstrates consistent improvements across multiple model families while requiring only a small number of pairs for meta-training.
Practical relevance
The method requires only a small number of preference pairs, tolerates noisy meta-data, and remains effective with as few as 32 on-policy samples per prompt, making it practical for real-world alignment.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction