Command Palette
Search for a command to run...
Jordan Clive Kris Cao Marek Rei

Abstract
Prefix-tuning is a powerful lightweight technique for adapting a large pre-trained language model to a downstream application. However, it uses the same dataset-level tuned prompt for all examples in the dataset. We extend this idea and propose a dynamic method, Control Prefixes, which allows for the inclusion of conditional input-dependent information, combining the benefits of prompt tuning and controlled generation. The method incorporates attribute-level learnable representations into different layers of a pre-trained transformer, allowing for the generated text to be guided in a particular direction. We provide a systematic evaluation of the technique and apply it to five datasets from the GEM benchmark for natural language generation (NLG). Although the aim is to develop a parameter-efficient model, we show Control Prefixes can even outperform full fine-tuning methods. We present state-of-the-art results on several data-to-text datasets, including WebNLG.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| data-to-text-generation-on-cleaned-e2e-nlg-1 | Control Prefixes (T5-large) | BLEU (Test set): 44.15 |
| data-to-text-generation-on-webnlg | Control Prefixes (A1, A2, T5-large) | BLEU: 67.15 |
| data-to-text-generation-on-webnlg | Control Prefixes (A1, T5-large) | BLEU: 67.32 |
| data-to-text-generation-on-webnlg-full-1 | Control Prefixes (A1, T5-large) | BLEU: 61.94 |
| data-to-text-generation-on-webnlg-full-1 | Control Prefixes (A1, A2, T5-large) | BLEU: 62.27 |
| text-generation-on-dart | Control Prefixes (T5-large) | METEOR: 0.411 |
| text-simplification-on-asset | Control Prefixes (BART) | FKGL: 5.97 QuestEval (Reference-less, BERTScore): 0.64 SARI (EASSEu003e=0.2.1): 43.58 |
| text-simplification-on-turkcorpus | Control Prefixes (BART) | FKGL: 7.74 QuestEval (Reference-less, BERTScore): 0.66 SARI (EASSEu003e=0.2.1): 42.32 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.