ACL 2024findings9 citations

SoFA: Shielded On-the-fly Alignment via Priority Rule Following

Xinyu Lu, Bowen Yu, Yaojie Lu, Hongyu Lin, Haiyang Yu, Le Sun, Xianpei Han, Yongbin Li

Abstract

The alignment problem in Large Language Models (LLMs) involves adapting them to the broad spectrum of human values. This requirement challenges existing alignment methods due to diversity of preferences and regulatory standards. This paper introduces a novel alignment paradigm, priority rule following, which defines rules as the primary control mechanism in each dialog, prioritizing them over user instructions. Our preliminary analysis reveals that even the advanced LLMs, such as GPT-4, exhibit shortcomings in understanding and prioritizing the rules. Therefore, we present PriorityDistill, a semi-automated approach for distilling priority following signals from LLM simulations to ensure robust rule integration and adherence. Our experiments show that this method not only effectively minimizes misalignments utilizing only one general rule but also adapts smoothly to various unseen rules, ensuring they are shielded from hijacking and that the model responds appropriately.

BibTeX
@inproceedings{lu-etal-2024-sofa,
    title = "{S}o{FA}: Shielded On-the-fly Alignment via Priority Rule Following",
    author = "Lu, Xinyu  and
      Yu, Bowen  and
      Lu, Yaojie  and
      Lin, Hongyu  and
      Yu, Haiyang  and
      Sun, Le  and
      Han, Xianpei  and
      Li, Yongbin",
    editor = "Ku, Lun-Wei  and
      Martins, Andre  and
      Srikumar, Vivek",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-acl.424/",
    doi = "10.18653/v1/2024.findings-acl.424",
    pages = "7108--7136"
}
SoFA: Shielded On-the-fly Alignment via Priority Rule Following · ACL 2024