Control Prefixes for Parameter-Efficient Text Generation

Jordan Clive, Kris Cao, Marek Rei
10/15/2021
38 citations
cs.CLcs.AIcs.LG
lora-peft-merging

Official code: Yale-LILY/dart (159 stars, Lex, MIT, last commit 2022-11-21). 1 more implementation below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Yale-LILY/dartOfficial159LexMIT2022-11-21
jordiclive/ControlPrefixesOfficial90PythonApache-2.02024-03-29
Yale-LILY/dartOfficial100%
MIT

Dataset for NAACL 2021 paper: "DART: Open-Domain Structured Data Record to Text Generation"

15922Lex, JavaJul 1, 20204 years agoMIT
Apache-2.0
9011Python, PerlSep 6, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{clive2021control,
  title  = {Control Prefixes for Parameter-Efficient Text Generation},
  author = {Jordan Clive and Kris Cao and Marek Rei},
  year   = {2021},
  eprint = {2110.08329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08329}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.08329.svg)](https://codeofpaper.com/paper/2110.08329)

Discussion