Tailor: Generating and Perturbing Text with Semantic Controls

By Alexis Ross, Tongshuang Sherry Wu, Hao Peng, Matthew E. Peters, Matt Gardner. 2021

88 citations recorded by the source corpus.

Controlled text perturbation is useful for evaluating and improving model generalizability. However, current techniques rely on training a model for every target perturbation, which is expensive and hard to generalize. We present Tailor, a semantically-controlled text generation system. Tailor builds on a pretrained seq2seq model and produces textual outputs conditioned on control codes derived from semantic representations. We craft a set of operations to modify the control codes, which in turn steer generation towards targeted attributes. These operations can be further composed into higher-level ones, allowing for flexible perturbation strategies. We demonstrate the effectiveness of these perturbations in multiple applications. First, we use Tailor to automatically create high-quality contrast sets for four distinct natural language processing (NLP) tasks. These contrast sets contain fewer spurious artifacts and are complementary to manually annotated ones in their lexical diversity. Second, we show that Tailor perturbations can improve model generalization through data augmentation. Perturbing just ∼2% of training data leads to a 5.8-point gain on an NLI challenge set measuring reliance on syntactic heuristics.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yejin Choi
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Noah A. Smith
  5. Douwe Kiela
  6. Percy Liang
  7. Hannaneh Hajishirzi
  8. Samuel R. Bowman

In Computer Vision and Pattern Recognition

  1. Douwe Kiela
  2. Mohit Bansal
  3. Luc Van Gool
  4. Yejin Choi
  5. Trevor Darrell
  6. Dacheng Tao
  7. Jianfeng Gao
  8. Noah A. Smith

In Natural Language Processing

  1. Mohit Bansal
  2. Yejin Choi
  3. Douwe Kiela
  4. Noah A. Smith
  5. Samuel R. Bowman
  6. Luke S. Zettlemoyer
  7. Adina Williams
  8. Yonatan Belinkov

Citations in the corpus