On Conditional and Compositional Language Model Differentiable Prompting

Jonathan Pilault, Can Liu, Mohit Bansal, Markus Dreyer
7/4/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Prompts have been shown to be an effective method to adapt a frozen Pretrained Language Model (PLM) to perform well on downstream tasks. Prompts can be represented by a human-engineered word sequence or by a learned continuous embedding. In this work, we investigate conditional and compositional differentiable prompting. We propose a new model, Prompt Production System (PRopS), which learns to transform task instructions or input metadata, into continuous prompts that elicit task-specific outputs from the PLM. Our model uses a modular network structure based on our neural formulation of Production Systems, which allows the model to learn discrete rules -- neural functions that learn to specialize in transforming particular prompt input patterns, making it suitable for compositional transfer learning and few-shot learning. We present extensive empirical and theoretical analysis and show that PRopS consistently surpasses other PLM adaptation techniques, and often improves upon fully fine-tuned models, on compositional generalization tasks, controllable summarization and multilingual translation, while needing fewer trainable parameters.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{pilault2023conditional,
  title  = {On Conditional and Compositional Language Model Differentiable Prompting},
  author = {Jonathan Pilault and Can Liu and Mohit Bansal and Markus Dreyer},
  year   = {2023},
  eprint = {2307.01446},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01446v1}
}

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/2307.01446.svg)](https://codeofpaper.com/paper/2307.01446)

Discussion