English

Functionality learning through specification instructions

Computation and Language 2024-11-19 v2

Abstract

Test suites assess natural language processing models' performance on specific functionalities: cases of interest involving model robustness, fairness, or particular linguistic capabilities. This paper introduces specification instructions: text descriptions specifying fine-grained task-specific behaviors. For each functionality in a suite, we generate an instruction that describes it. We combine the specification instructions to create specification-augmented prompts, which we feed to language models pre-trained on natural instruction data. We conduct experiments to measure how optimizing for some functionalities may negatively impact functionalities that are not covered by the specification set. Our analyses across four tasks and models of diverse sizes and families show that smaller models struggle to follow specification instructions. However, larger models (>~3B params.) can benefit from specifications and -- surprisingly -- even generalize certain desirable behaviors across functionalities.

Keywords

Cite

@article{arxiv.2311.08481,
  title  = {Functionality learning through specification instructions},
  author = {Pedro Henrique Luz de Araujo and Benjamin Roth},
  journal= {arXiv preprint arXiv:2311.08481},
  year   = {2024}
}

Comments

36 pages, 8 figures. Accepted at EMNLP 2024 Findings