Robustness of Learning from Task Instructions

Jiasheng Gu, Hanzi Xu, Liangyu Nie, Wenpeng Yin · DOI

Abstract

This paper presents a systematic study of the robustness of pretrained language models (PLMs) when learning from natural language task instructions. By evaluating models on perturbed, paraphrased, and abstracted instructions, the researchers find that while models are surprisingly resilient to noise when provided with few-shot examples, they remain fragile when faced with unfamiliar instruction formats. These findings suggest that current models rely heavily on demonstrations as a "safety net" rather than achieving true semantic understanding of task instructions.

Introduction: The Challenge of Instruction-Driven Learning

In the pursuit of cross-task generalization, the NLP community has shifted toward "instruction-driven" learning. In this paradigm, models are expected to perform tasks based on natural language descriptions (e.g., "Summarize this article") rather than thousands of task-specific training examples. However, real-world instructions are inherently messy, containing typos, varied phrasing, and different levels of detail. This research addresses a fundamental question: Do these models actually understand the semantics of instructions, or are they merely overfitting to specific command styles?

Methodology and Datasets

The authors fine-tuned T5 models (3B and 11B parameters) on the SUPER-NATURALINSTRU dataset, which includes over 1,600 NLP tasks. Robustness was tested across three primary dimensions:

  1. Instruction Perturbation: Intentionally introducing noise through word-level deletions/shuffling, sentence-level repetitions, and instruction-level swaps.
  2. Instruction Paraphrasing: Testing models against the Para-Instructions dataset, which contains high-quality human-written variations of task descriptions.
  3. Instruction Abstractiveness: Evaluating "cross-type" generalization by training on detailed paragraphs and testing on concise prompts from the DIVERSEPROMPT dataset.
Examples of various instruction perturbations used to test model robustness, including word-level and sentence-level noise.

Key Findings: The "Example" Safety Net

The most striking insight from the study is that the presence of positive examples (demonstrations) almost entirely negates the impact of instruction noise. Even when instructions are rendered as complete gibberish through shuffling or deletion, models maintain high performance as long as a few input-output examples are provided.

In many cases, a "Random Instruction + Positive Examples" configuration outperformed "Correct Instruction Only." This suggests that current PLMs are primarily "example-driven" rather than "instruction-following." When examples are removed (zero-shot setting), the models' fragility becomes apparent.

Quantitative Results

The impact of instruction noise is most severe in zero-shot scenarios. For instance, on the T5-3B model, shuffling words in a Textual Entailment (TE) instruction caused the Exact Match score to drop from 40.1 to 8.6. However, when examples were added, the performance remained stable, dipping only from 46.6 to 41.5. This pattern holds across various task categories, as shown in the performance data below.

Performance metrics across different tasks and perturbation types. The black text represents zero-shot performance, while the grey text shows the stabilizing effect of few-shot examples.

Format Fragility and Verb Semantics

Models also exhibit significant "format fragility." A model trained on long, detailed instructions struggles when given a short, concise prompt for the same task. This indicates that the model has not learned the task itself, but rather how to extract task information from a specific paragraph structure. Furthermore, in short-prompt settings, verb choice becomes critical; unambiguous verbs like "write" or "extract" lead to better performance than multi-sense verbs like "list" or "output."

Conclusion and Future Directions

While PLMs show resilience to linguistic variation when examples are present, their failure in zero-shot and cross-format scenarios highlights a significant gap in instruction understanding. The authors call for a shift toward building AI that can truly comprehend instructions without needing demonstrations to lean on, moving the field closer to genuine zero-shot intelligence.

Summary updated

BibTeX
@inproceedings{gu2023robustness,
  author = {Jiasheng Gu and Hanzi Xu and Liangyu Nie and Wenpeng Yin},
  title = {{Robustness of Learning from Task Instructions}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.875},
}
Figure