Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision
Auteurs : Zhiqing Sun, Yikang Shen, Qinhong Zhou, Hongxin Zhang, Zhenfang Chen, David Cox, Yiming Yang, Chuang Gan
Résumé scientifique
Recent AI-assistant agents, such as ChatGPT, predominantly rely on supervised fine-tuning (SFT) with human annotations and reinforcement learning from human feedback (RLHF) to align the output of large language models (LLMs) with human intentions, ensuring they are helpful, ethical, and reliable. However, this dependence can significantly constrain the true potential of AI-assistant agents due to the high cost of obtaining human supervision and the related issues on quality, reliability, diversity, self-consistency, and undesirable biases. To address these challenges, we propose a novel approach called SELF-ALIGN, which combines principle-driven reasoning and the generative power of LLMs for the self-alignment of AI agents with minimal human supervision. Our approach encompasses four stages: first, we use an LLM to generate synthetic prompts, and a topic-guided method to augment the prompt diversity; second, we use a small set of human-written principles for AI models to follow, and guide the LLM through in-context learning from demonstrations (of principles application) to produce helpful, ethical, and reliable responses to user's queries; third, we fine-tune the original LLM with the high-quality self-aligned responses so that the resulting model can generate desirable responses for each query directly without the principle set and the demonstrations anymore; and finally, we offer a refinement step to address the issues of overly-brief or indirect responses. Applying SELF-ALIGN to the LLaMA-65b base language model, we develop an AI assistant named Dromedary. With fewer than 300 lines of human annotations (including < 200 seed prompts, 16 generic principles, and 5 exemplars for in-context learning). Dromedary significantly surpasses the performance of several state-of-the-art AI systems, including Text-Davinci-003 and Alpaca, on benchmark datasets with various settings.
Les articles autour de lui, par date et par proximité
Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article
Les articles autour de celui-ci
Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.
Les articles les plus proches
-
Aligning Large Language Models from Self-Reference AI Feedback with one General PrincipleRong Bao, Rui Zheng, Shi-Han Dou et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 2 fois · Pas encore résumé
Self-Reference AI Feedback aligne les LLM avec un principe général et des retours générés par le modèle, comme SELF-ALIGN réduit la supervision humaine par des principes.
Résumé scientifique
In aligning large language models (LLMs), utilizing feedback from existing advanced AI rather than humans is an important method to scale supervisory signals. However, it is highly challenging for AI to understand human intentions and societal values, and provide accurate preference feedback based on these. Current AI feedback methods rely on powerful LLMs, carefully designed specific principles to describe human intentions, and are easily influenced by position bias. To address these issues, we propose a self-reference-based AI feedback framework that enables a 13B Llama2-Chat to provide high-quality feedback under simple and general principles such as ``best for humanity``. Specifically, w…
-
Aligning Large Language Models via Fully Self-Synthetic DataShang-Jian Yin, Zhepei Wei, Xin-Yu Zhu et al. · 2025 · Annual Meeting of the Association for Computational Linguistics · cité 5 fois · Pas encore résumé
Self-Alignment Optimization génère prompts, réponses et préférences avec le modèle pour aligner les LLM, tandis que SELF-ALIGN s’appuie sur des principes et des réponses synthétiques.
Résumé scientifique
Traditional reinforcement learning from human feedback (RLHF) for large language models (LLMs) relies on expensive human-annotated datasets, while Reinforcement Learning from AI Feedback (RLAIF) also incurs significant costs, requiring the collection of diverse prompts and corresponding responses, often necessitating external reward models or proprietary models like GPT-4 to annotate preference pairs. In this work, we introduce Self-Alignment Optimization (SAO), a fully self-synthetic framework for LLM alignment, where all training data, including prompts (i.e., user queries), responses, and preferences, are generated by the model itself. Specifically, SAO first instructs the LLM to engage i…
-
A General Language Assistant as a Laboratory for AlignmentAmanda Askell, Yuntao Bai, Anna Chen et al. · 2021 · arXiv.org · preprint, non relu par les pairs · cité 1 314 fois · Pas encore résumé
A General Language Assistant étudie des méthodes de base et des objectifs d’entraînement pour aligner un assistant, travaux que SELF-ALIGN cite.
Résumé scientifique
Given the broad capabilities of large language models, it should be possible to work towards a general-purpose, text-based assistant that is aligned with human values, meaning that it is helpful, honest, and harmless. As an initial foray in this direction we study simple baseline techniques and evaluations, such as prompting. We find that the benefits from modest interventions increase with model size, generalize to a variety of alignment evaluations, and do not compromise the performance of large models. Next we investigate scaling trends for several training objectives relevant to alignment, comparing imitation learning, binary discrimination, and ranked preference modeling. We find that r…
-
Agent Q: Advanced Reasoning and Learning for Autonomous AI AgentsPranav Putta, Edmund Mills, Naman Garg et al. · 2024 · Artificial Intelligence · preprint, non relu par les pairs · cité 236 fois · Résumé IA disponible
Agent Q entraîne des agents autonomes au raisonnement interactif en plusieurs étapes, plutôt que l’alignement général d’assistants visé par SELF-ALIGN.
Résumé scientifique
Large Language Models (LLMs) have shown remarkable capabilities in natural language tasks requiring complex reasoning, yet their application in agentic, multi-step reasoning within interactive environments remains a difficult challenge. Traditional supervised pre-training on static datasets falls short in enabling autonomous agent capabilities needed to perform complex decision-making in dynamic settings like web navigation. Previous attempts to bridge this ga-through supervised fine-tuning on curated expert demonstrations-often suffer from compounding errors and limited exploration data, resulting in sub-optimal policy outcomes. To overcome these challenges, we propose a framework that comb…
-
Self-Rewarding Language ModelsWeizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho et al. · 2024 · Computation and Language · cité 805 fois · Résumé IA disponible
Self-Rewarding Language Models utilisent le LLM comme juge de ses propres récompenses, tandis que SELF-ALIGN génère des réponses alignées avec peu d’annotations.
Résumé scientifique
We posit that to achieve superhuman agents, future models require superhuman feedback in order to provide an adequate training signal. Current approaches commonly train reward models from human preferences, which may then be bottlenecked by human performance level, and secondly these separate frozen reward models cannot then learn to improve during LLM training. In this work, we study Self-Rewarding Language Models, where the language model itself is used via LLM-as-a-Judge prompting to provide its own rewards during training. We show that during Iterative DPO training that not only does instruction following ability improve, but also the ability to provide high-quality rewards to itself. Fi…
-
Large Language Models Are Human-Level Prompt EngineersYongchao Zhou, Andrei Ioan Muresanu, Ziwen Han et al. · 2022 · Machine Learning · cité 1 707 fois · Résumé IA disponible
Automatic Prompt Engineer génère et sélectionne des instructions pour améliorer les performances, sans traiter directement l’alignement des réponses.
Résumé scientifique
By conditioning on natural language instructions, large language models (LLMs) have displayed impressive capabilities as general-purpose computers. However, task performance depends significantly on the quality of the prompt used to steer the model, and most effective prompts have been handcrafted by humans. Inspired by classical program synthesis and the human approach to prompt engineering, we propose Automatic Prompt Engineer (APE) for automatic instruction generation and selection. In our method, we treat the instruction as the "program," optimized by searching over a pool of instruction candidates proposed by an LLM in order to maximize a chosen score function. To evaluate the quality o…
-
LIMA: Less Is More for AlignmentChunting Zhou, Pengfei Liu, Puxin Xu et al. · 2023 · Computation and Language · cité 1 558 fois · Résumé IA disponible
LIMA aligne un LLaMA de 65 milliards de paramètres par fine-tuning supervisé sur des exemples soigneusement choisis, plutôt que par principes générant les réponses.
Résumé scientifique
Large language models are trained in two stages: (1) unsupervised pretraining from raw text, to learn general-purpose representations, and (2) large scale instruction tuning and reinforcement learning, to better align to end tasks and user preferences. We measure the relative importance of these two stages by training LIMA, a 65B parameter LLaMa language model fine-tuned with the standard supervised loss on only 1,000 carefully curated prompts and responses, without any reinforcement learning or human preference modeling. LIMA demonstrates remarkably strong performance, learning to follow specific response formats from only a handful of examples in the training data, including complex querie…
-
SPRI: Aligning Large Language Models with Context-Situated PrinciplesHongli Zhan, Muneeza Azmat, R. Horesh et al. · 2025 · International Conference on Machine Learning · cité 6 fois · Pas encore résumé
SPRI cite SELF-ALIGN et adapte des principes aux requêtes en générant des consignes situées en temps réel.
Résumé scientifique
Aligning Large Language Models to integrate and reflect human values, especially for tasks that demand intricate human oversight, is arduous since it is resource-intensive and time-consuming to depend on human expertise for context-specific guidance. Prior work has utilized predefined sets of rules or principles to steer the behavior of models (Bai et al., 2022; Sun et al., 2023). However, these principles tend to be generic, making it challenging to adapt them to each individual input query or context. In this work, we present Situated-PRInciples (SPRI), a framework requiring minimal or no human effort that is designed to automatically generate guiding principles in real-time for each input…
Les travaux antérieurs sur lesquels il s’appuie
-
Training a Helpful and Harmless Assistant with Reinforcement Learning from Human FeedbackYuntao Bai, Andy Jones, Kamal Ndousse et al. · 2022 · Computation and Language · preprint, non relu par les pairs · cité 4 483 fois · Résumé IA disponible
Cette étude entraîne des assistants utiles et inoffensifs par préférences humaines et RLHF, approche que SELF-ALIGN cherche à remplacer par une supervision minimale.
Résumé scientifique
We apply preference modeling and reinforcement learning from human feedback (RLHF) to finetune language models to act as helpful and harmless assistants. We find this alignment training improves performance on almost all NLP evaluations, and is fully compatible with training for specialized skills such as python coding and summarization. We explore an iterated online mode of training, where preference models and RL policies are updated on a weekly cadence with fresh human feedback data, efficiently improving our datasets and models. Finally, we investigate the robustness of RLHF training, and identify a roughly linear relation between the RL reward and the square root of the KL divergence be…
-
Constitutional AI: Harmlessness from AI FeedbackYuntao Bai, Saurav Kadavath, Sandipan Kundu et al. · 2022 · Computation and Language · preprint, non relu par les pairs · cité 3 974 fois · Résumé IA disponible
Constitutional AI entraîne un assistant inoffensif à partir de principes et de critiques générées, une approche que SELF-ALIGN cite et reprend sous une autre forme.
Résumé scientifique
As AI systems become more capable, we would like to enlist their help to supervise other AIs. We experiment with methods for training a harmless AI assistant through self-improvement, without any human labels identifying harmful outputs. The only human oversight is provided through a list of rules or principles, and so we refer to the method as 'Constitutional AI'. The process involves both a supervised learning and a reinforcement learning phase. In the supervised phase we sample from an initial model, then generate self-critiques and revisions, and then finetune the original model on revised responses. In the RL phase, we sample from the finetuned model, use a model to evaluate which of th…
-
Training language models to follow instructions with human feedbackLong Ouyang, Jeff Wu, Xu Jiang et al. · 2022 · Neural Information Processing Systems · cité 25 767 fois · Résumé IA disponible
Cette étude aligne GPT-3 avec des démonstrations et préférences humaines, approche dont SELF-ALIGN cherche à réduire le coût en annotations.
Résumé scientifique
Making language models bigger does not inherently make them better at following a user's intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outp…
-
LLaMA: Open and Efficient Foundation Language ModelsHugo Touvron, Thibaut Lavril, Gautier Izacard et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 22 536 fois · Résumé IA disponible
LLaMA présente les modèles de base, dont LLaMA-65B utilisé par SELF-ALIGN pour développer Dromedary.
Résumé scientifique
We introduce LLaMA, a collection of foundation language models ranging from 7B to 65B parameters. We train our models on trillions of tokens, and show that it is possible to train state-of-the-art models using publicly available datasets exclusively, without resorting to proprietary and inaccessible datasets. In particular, LLaMA-13B outperforms GPT-3 (175B) on most benchmarks, and LLaMA-65B is competitive with the best models, Chinchilla-70B and PaLM-540B. We release all our models to the research community.
-
Self-Instruct: Aligning Language Models with Self-Generated InstructionsYizhong Wang, Yeganeh Kordi, Swaroop Mishra et al. · 2022 · Annual Meeting of the Association for Computational Linguistics · cité 3 883 fois · Résumé IA disponible
Self-Instruct génère instructions et réponses pour affiner un modèle, pipeline cité par SELF-ALIGN pour réduire la dépendance aux données humaines.
Résumé scientifique
Large “instruction-tuned” language models (i.e., finetuned to respond to instructions) have demonstrated a remarkable ability to generalize zero-shot to new tasks. Nevertheless, they depend heavily on human-written instruction data that is often limited in quantity, diversity, and creativity, therefore hindering the generality of the tuned model. We introduce Self-Instruct, a framework for improving the instruction-following capabilities of pretrained language models by bootstrapping off their own generations. Our pipeline generates instructions, input, and output samples from a language model, then filters invalid or similar ones before using them to finetune the original model. Applying ou…
Les articles qui le citent
-
Dynamic Rewarding with Prompt Optimization Enables Tuning-free Self-Alignment of Language ModelsSomanshu Singla, Zhen Wang, Tianyang Liu et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cité 22 fois · Pas encore résumé
DRPO cite SELF-ALIGN et propose un auto-alignement sans entraînement, fondé sur l’optimisation de prompts et des récompenses dynamiques.
Résumé scientifique
Aligning Large Language Models (LLMs) traditionally relies on complex and costly training processes like supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF). To address the challenge of achieving alignment without these extensive tuning costs and expensive annotations, we present a novel, tuning-free approach for self-alignment called Dynamic Rewarding with Prompt Optimization (DRPO). Our approach enables self-alignment through a search-based prompt optimization framework, allowing the model to self-improve and generate optimized prompts without additional training or human supervision. The core of DRPO leverages a dynamic rewarding mechanism to identify and re…
-
Latent Principle Discovery for Language Model Self-ImprovementKeshav Ramji, Tahira Naseem, R. Astudillo · 2025 · Neural Information Processing Systems · cité 2 fois · Pas encore résumé
Latent Principle Discovery cite SELF-ALIGN et automatise la découverte de principes qui orientent l’auto-amélioration des générations.
Résumé scientifique
When language model (LM) users aim to improve the quality of its generations, it is crucial to specify concrete behavioral attributes that the model should strive to reflect. However, curating such principles across many domains, even non-exhaustively, requires a labor-intensive annotation process. To automate this process, we propose eliciting these latent attributes that guide model reasoning toward human-preferred responses by explicitly modeling them in a self-correction setting. Our approach mines new principles from the LM itself and compresses the discovered elements to an interpretable set via clustering. Specifically, we employ a form of posterior-regularized Monte Carlo Expectation…
-
Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with NothingZhangchen Xu, Fengqing Jiang, Luyao Niu et al. · 2024 · Computation and Language · cité 427 fois · Résumé IA disponible
Magpie cite SELF-ALIGN et synthétise des données d’alignement en sollicitant directement un LLM déjà aligné.
Résumé scientifique
High-quality instruction data is critical for aligning large language models (LLMs). Although some models, such as Llama-3-Instruct, have open weights, their alignment data remain private, which hinders the democratization of AI. High human labor costs and a limited, predefined scope for prompting prevent existing open-source data creation methods from scaling effectively, potentially limiting the diversity and quality of public alignment datasets. Is it possible to synthesize high-quality instruction data at scale by extracting it directly from an aligned LLM? We present a self-synthesis method for generating large-scale alignment data named Magpie. Our key observation is that aligned LLMs …
-
Aligning Large Language Models through Synthetic FeedbackSungdong Kim, Sanghwan Bae, Jamin Shin et al. · 2023 · Conference on Empirical Methods in Natural Language Processing (EMNLP) · cité 33 fois · Pas encore résumé
Synthetic Feedback entraîne des modèles d’alignement à partir de retours synthétiques, comme SELF-ALIGN réduit les annotations humaines avec des réponses générées.
Résumé scientifique
Aligning large language models (LLMs) to human values has become increasingly important as it enables sophisticated steering of LLMs.However, it requires significant human demonstrations and feedback or distillation from proprietary LLMs such as ChatGPT.In this work, we propose a novel alignment learning framework with synthetic feedback not dependent on extensive human annotations and proprietary LLMs.First, we perform reward modeling (RM) with synthetic feedback by contrasting responses from vanilla LLMs with various sizes and prompts.Then, we use the RM to simulate high-quality demonstrations to train a supervised policy and further optimize the model with reinforcement learning.Our resul…
-
Self-Distillation Bridges Distribution Gap in Language Model Fine-TuningZhaorui Yang, Qian Liu, Tianyu Pang et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cité 129 fois · Pas encore résumé
SDFT génère avec le modèle ses propres données de fine-tuning, méthode d’auto-distillation appliquée au maintien des capacités générales plutôt qu’à l’alignement par principes.
Résumé scientifique
The surge in Large Language Models (LLMs) has revolutionized natural language processing, but fine-tuning them for specific tasks often encounters challenges in balancing performance and preserving general instruction-following abilities. In this paper, we posit that the distribution gap between task datasets and the LLMs serves as the primary underlying cause. To address the problem, we introduce Self-Distillation Fine-Tuning (SDFT), a novel approach that bridges the distribution gap by guiding fine-tuning with a distilled dataset generated by the model itself to match its original distribution. Experimental results on the Llama-2-chat model across various benchmarks demonstrate that SDFT e…
Aller plus loin
Comment ces articles sont-ils trouvés ?
Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.
Mis à jour le 6 novembre 2026.