Dancing in Chains: Reconciling Instruction Following and Faithfulness in Language Models

Zhengxuan Wu, Yuhao Zhang, Peng Qi, Yumo Xu, Rujun Han +4 more
7/31/2024
cs.CL

No official code found. Best implementation: frankaging/dancing-in-chains (4 stars, Apache-2.0, last commit 2024-07-31).

Abstract

Modern language models (LMs) need to follow human instructions while being faithful; yet, they often fail to achieve both. Here, we provide concrete evidence of a trade-off between instruction following (i.e., follow open-ended instructions) and faithfulness (i.e., ground responses in given context) when training LMs with these objectives. For instance, fine-tuning LLaMA-7B on instruction following datasets renders it less faithful. Conversely, instruction-tuned Vicuna-7B shows degraded performance at following instructions when further optimized on tasks that require contextual grounding. One common remedy is multi-task learning (MTL) with data mixing, yet it remains far from achieving a synergic outcome. We propose a simple yet effective method that relies on Rejection Sampling for Continued Self-instruction Tuning (ReSet), which significantly outperforms vanilla MTL. Surprisingly, we find that less is more, as training ReSet with high-quality, yet substantially smaller data (three-fold less) yields superior results. Our findings offer a better understanding of objective discrepancies in alignment training of LMs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code and data for "Dancing in Chains: Reconciling Instruction Following and Faithfulness in Language Models"

40Jul 30, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{wu2024dancing,
  title  = {Dancing in Chains: Reconciling Instruction Following and Faithfulness in Language Models},
  author = {Zhengxuan Wu and Yuhao Zhang and Peng Qi and Yumo Xu and Rujun Han and Yian Zhang and Jifan Chen and Bonan Min and Zhiheng Huang},
  year   = {2024},
  eprint = {2407.21417},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.21417v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.21417.svg)](https://codeofpaper.com/paper/2407.21417)

Discussion