English

MetaAlign: Align Large Language Models with Diverse Preferences during Inference Time

Computation and Language 2024-10-21 v1

Abstract

Large Language Models (LLMs) acquire extensive knowledge and remarkable abilities from extensive text corpora, making them powerful tools for various applications. To make LLMs more usable, aligning them with human preferences is essential. Existing alignment techniques, such as Reinforcement Learning from Human Feedback (RLHF) and Direct Preference Optimization (DPO), typically embed predefined preferences directly within the model's parameters. These methods, however, often result in a static alignment that can not account for the diversity of human preferences in practical applications. In response to this challenge, we propose an effective method, \textbf{MetaAlign}, which aims to help LLMs dynamically align with various explicit or implicit preferences specified at inference time. Experimental results show that LLMs optimized on our meticulously constructed MetaAlign Dataset can effectively align with any preferences specified at the inference stage, validating the feasibility of MetaAlign. We hope that our work can provide some insights into the alignment of language models.

Keywords

Cite

@article{arxiv.2410.14184,
  title  = {MetaAlign: Align Large Language Models with Diverse Preferences during Inference Time},
  author = {Mozhi Zhang and Pengyu Wang and Chenkun Tan and Mianqiu Huang and Dong Zhang and Yaqian Zhou and Xipeng Qiu},
  journal= {arXiv preprint arXiv:2410.14184},
  year   = {2024}
}

Comments

19 pages, 6 figures

R2 v1 2026-06-28T19:26:51.493Z