HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Control Prefixes for Parameter-Efficient Text Generation

Jordan Clive Kris Cao Marek Rei

Control Prefixes for Parameter-Efficient Text Generation

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

jordiclive/ControlPrefixes
Official
pytorch
Mentioned in GitHub
Yale-LILY/dart
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
data-to-text-generation-on-cleaned-e2e-nlg-1Control Prefixes (T5-large)
BLEU (Test set): 44.15
data-to-text-generation-on-webnlgControl Prefixes (A1, A2, T5-large)
BLEU: 67.15
data-to-text-generation-on-webnlgControl Prefixes (A1, T5-large)
BLEU: 67.32
data-to-text-generation-on-webnlg-full-1Control Prefixes (A1, T5-large)
BLEU: 61.94
data-to-text-generation-on-webnlg-full-1Control Prefixes (A1, A2, T5-large)
BLEU: 62.27
text-generation-on-dartControl Prefixes (T5-large)
METEOR: 0.411
text-simplification-on-assetControl Prefixes (BART)
FKGL: 5.97
QuestEval (Reference-less, BERTScore): 0.64
SARI (EASSEu003e=0.2.1): 43.58
text-simplification-on-turkcorpusControl 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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp