Saved in:
Bibliographic Details
Main Author: Butcher, Bradley
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.09566
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910302479581184
author Butcher, Bradley
author_facet Butcher, Bradley
contents Advancements in large language models (LLMs) have demonstrated remarkable capabilities across a diverse range of applications. These models excel in generating text completions that are contextually coherent and cover an extensive array of subjects. However, the vast datasets required for their training make aligning response styles during the pretraining and instruction tuning phases challenging. Consequently, an additional alignment phase is typically employed, wherein the model is further trained with human preference data to better align its outputs with human expectations. While this process doesn't introduce new capabilities per se, it does accentuate generation styles innate to the model. This paper explores the utilization of counterfactual prompting within the framework of Direct Preference Optimization (DPO) to align the model's style without relying on human intervention. We demonstrate that this method effectively instils desirable behaviour, mitigates undesirable ones, and encourages the model to disregard inappropriate instructions. Our findings suggest that counterfactual prompting with DPO presents a low-resource way to fine-tune LLMs to meet the demands for responsible and ethically aligned AI systems.
format Preprint
id arxiv_https___arxiv_org_abs_2401_09566
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Aligning Large Language Models with Counterfactual DPO
Butcher, Bradley
Computation and Language
Artificial Intelligence
Advancements in large language models (LLMs) have demonstrated remarkable capabilities across a diverse range of applications. These models excel in generating text completions that are contextually coherent and cover an extensive array of subjects. However, the vast datasets required for their training make aligning response styles during the pretraining and instruction tuning phases challenging. Consequently, an additional alignment phase is typically employed, wherein the model is further trained with human preference data to better align its outputs with human expectations. While this process doesn't introduce new capabilities per se, it does accentuate generation styles innate to the model. This paper explores the utilization of counterfactual prompting within the framework of Direct Preference Optimization (DPO) to align the model's style without relying on human intervention. We demonstrate that this method effectively instils desirable behaviour, mitigates undesirable ones, and encourages the model to disregard inappropriate instructions. Our findings suggest that counterfactual prompting with DPO presents a low-resource way to fine-tune LLMs to meet the demands for responsible and ethically aligned AI systems.
title Aligning Large Language Models with Counterfactual DPO
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.09566