Instruction-following Evaluation through Verbalizer Manipulation

Shiyang Li, Jun Yan, Hai Wang, Zheng Tang, Xiang Ren, Vijay Srinivasan, Hongxia Jin

TL;DR

Current benchmarks evaluate large language models (LLMs) on instructions that align with their training priors, masking whether they truly understand instructions or are just relying on memorization. This paper introduces verbalizer manipulation—systematically changing output label mappings to be neutral or completely opposite to standard labels—revealing that even advanced models like GPT-4 struggle significantly to follow instructions when they contradict prior knowledge.

What Problem Does This Paper Address?

Instruction-tuned LLMs excel at standard NLP tasks, but existing benchmarks primarily test them on common instructions that align perfectly with what they saw during pre-training and fine-tuning. This makes it difficult to distinguish true instruction-following capability from mere memorization or reliance on strong semantic priors.

To truly evaluate instruction following, we need to test if a model can follow an instruction that forces it to override its internal priors. For example, if a model is told to output the word "negative" when it detects a positive sentiment review, can it successfully ignore its pre-trained bias and follow the rule?

Methods

The authors propose a novel evaluation framework called verbalizer manipulation. A verbalizer is simply the mapping from ground-truth task labels to target output tokens. They categorize instructions into three levels of alignment with model priors:

  1. Natural: Labels align with standard expectations (e.g., outputting "positive"/"negative" or "1"/"0" for sentiment analysis).
  2. Neutral: Labels are mapped to semantically irrelevant words (e.g., outputting "foo"/"bar").
  3. Unnatural: Labels directly contradict prior knowledge (e.g., outputting "negative" for positive sentiment and vice versa).

By systematically varying these mappings without changing the underlying task data, the framework isolates and evaluates how well a model actually adheres to prompt constraints versus how much it relies on pre-trained biases.

Verbalizer manipulation framework showing natural, neutral, and unnatural instruction variants.

Datasets

The method was evaluated across 9 binary classification datasets spanning four distinct task types:

  • Sentiment Classification: SST-2 (movie reviews), FP (financial phrases), EMOTION (tweets).
  • Natural Language Inference (NLI): SNLI, SICK, RTE.
  • Paraphrase Identification: QQP, MRPC.
  • Subjectivity Classification: SUBJ.

For each dataset and verbalizer mapping, 100 examples were sampled to construct the evaluation sets.

Key Insights and Ideas

  • Scaling fixes neutral, but fails on unnatural instructions: As models grow in size, the performance gap between natural and neutral instructions shrinks to almost zero. However, scaling does not consistently fix performance on unnatural instructions, showing that raw parameter scale isn't enough to overcome contradictory priors.
  • Task type heavily dictates success: Models surprisingly retain high performance on sentiment classification even with flipped (unnatural) labels, but their performance completely collapses on Natural Language Inference (NLI) tasks. The authors hypothesize that NLI requires deeper reasoning, making label-flipping much harder for the model to track.
  • Zero-Shot Chain-of-Thought (CoT) is a double-edged sword: Adding "Let's think step by step" significantly improves performance on reasoning-heavy NLI tasks with flipped labels, but actually hurts performance on simpler sentiment tasks.

Key Results

  • Across all evaluated model families (Flan-T5, GPT-series, Vicuna, OPT-IML), performance on unnatural instructions is vastly inferior to natural ones.
  • For some model families like Flan-T5 and OPT-IML, scaling actually led to worse-than-random performance on unnatural instructions, exhibiting inverse scaling or U-shaped curves.
  • Even the most powerful models, ChatGPT and GPT-4, perform close to random guessing (around 50% accuracy) when forced to use flipped golden labels via direct prompting.
  • While Zero-Shot CoT helps GPT-4 and ChatGPT outperform random guessing on unnatural instructions, a massive accuracy gap remains (16.8% for ChatGPT and 24.3% for GPT-4) compared to standard natural prompting.
Figure 2: Results comparison under natural, neutral and unnatural instructions across different model families.

Limitations and Future Work

  • Task Scope: The evaluation is strictly restricted to binary classification tasks; future work should extend verbalizer manipulation to multi-class and generative tasks.
  • Language: The study evaluates English-language models and datasets only.
  • Model Selection: Due to resource constraints, the authors could not evaluate some of the larger open-source models (like Llama 2 70B) or alternative commercial systems (like Claude and Bard).
  • API Determinism: The non-deterministic nature of OpenAI's production APIs means that results may fluctuate slightly across different runs.

Summary updated

BibTeX
@inproceedings{li2024instruction,
  author = {Shiyang Li and Jun Yan and Hai Wang and Zheng Tang and Xiang Ren and Vijay Srinivasan and Hongxia Jin},
  title = {{Instruction-following Evaluation through Verbalizer Manipulation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-naacl.233},
}
Figure