Skip to main content
QUICK REVIEW

[Paper Review] Improving the Robustness of Large Language Models via Consistency Alignment

Zhao Yukun, Yan Lingyong|arXiv (Cornell University)|Mar 21, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper proposes a two-stage training framework, Consistency Alignment Training (CAT), to improve the robustness of large language models (LLMs) by reducing inconsistent responses to semantically equivalent instructions. The method first uses instruction-augmented supervised fine-tuning to enhance generalization, followed by consistency alignment using self-rewards derived from the model’s own outputs, achieving significant improvements in response consistency and alignment without external human preference data.

ABSTRACT

Large language models (LLMs) have shown tremendous success in following user instructions and generating helpful responses. Nevertheless, their robustness is still far from optimal, as they may generate significantly inconsistent responses due to minor changes in the verbalized instructions. Recent literature has explored this inconsistency issue, highlighting the importance of continued improvement in the robustness of response generation. However, systematic analysis and solutions are still lacking. In this paper, we quantitatively define the inconsistency problem and propose a two-stage training framework consisting of instruction-augmented supervised fine-tuning and consistency alignment training. The first stage helps a model generalize on following instructions via similar instruction augmentations. In the second stage, we improve the diversity and help the model understand which responses are more aligned with human expectations by differentiating subtle differences in similar responses. The training process is accomplished by self-rewards inferred from the trained model at the first stage without referring to external human preference resources. We conduct extensive experiments on recent publicly available LLMs on instruction-following tasks and demonstrate the effectiveness of our training framework.

Motivation & Objective

  • To systematically analyze and quantify the inconsistency problem in current large language models (LLMs) when responding to semantically equivalent instructions.
  • To address the lack of systematic solutions for improving response robustness in instruction-tuned LLMs.
  • To develop a plug-in training framework that enhances LLM robustness without relying on external human preference annotations or reward models.
  • To improve model generalization and alignment with human expectations through self-supervised consistency learning.

Proposed method

  • Augment the supervised fine-tuning (SFT) dataset by paraphrasing original instructions and pairing each paraphrase with the original response to form new training samples.
  • Train the LLM on the augmented SFT dataset to improve its ability to generalize across instruction variations.
  • Generate candidate responses for paraphrased instructions using the fine-tuned model.
  • Compute consistency scores for each response to form <good, bad> response pairs based on relative consistency.
  • Optimize the model using an offline preference learning algorithm to align responses with higher consistency scores, using self-rewards derived from the model’s own outputs.
  • Apply the two-stage training process—SFT with instruction augmentation followed by consistency alignment training (CAT)—to enhance robustness.
Figure 1: GPT-4 generates inconsistent responses for the identical task.
Figure 1: GPT-4 generates inconsistent responses for the identical task.

Experimental results

Research questions

  • RQ1How can the inconsistency of LLMs in response generation be quantitatively measured across semantically equivalent instructions?
  • RQ2To what extent can instruction-augmented supervised fine-tuning improve generalization across instruction variations?
  • RQ3Can self-rewards derived from the model’s own outputs effectively guide consistency alignment without external human preference data?
  • RQ4How does consistency alignment training improve response quality and robustness compared to standard fine-tuning?
  • RQ5Does the two-stage training framework (SFT + CAT) lead to measurable improvements in response consistency and alignment with human expectations?

Key findings

  • The proposed CAT + SFT(IA) framework significantly improves response consistency across semantically equivalent instructions, with a 27% higher win ratio in human evaluation compared to SFT(IA) alone.
  • Human evaluation shows that 86% of responses generated by CAT + SFT(IA) are of expected answer type, compared to 56% for vanilla Vicuna-13B.
  • The method achieves a 44% ratio of responses scored as correct (score 2), compared to only 14% for the baseline, indicating improved factual and semantic alignment.
  • The framework improves generalization, as evidenced by a 48-win, 44-tie, 8-lose outcome in human evaluation against the vanilla model, with a 48% win rate.
  • The self-reward mechanism in CAT enables effective consistency alignment without requiring external human preference data or reward models.
  • The two-stage training process—SFT(IA) followed by CAT—produces consistent improvements over baseline SFT(IA), demonstrating the effectiveness of each component in isolation and in combination.
Figure 2: The consistency metrics of recent LLMs.
Figure 2: The consistency metrics of recent LLMs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.