English

On Conditional and Compositional Language Model Differentiable Prompting

Computation and Language 2023-07-06 v1 Machine Learning

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.

Keywords

Cite

@article{arxiv.2307.01446,
  title  = {On Conditional and Compositional Language Model Differentiable Prompting},
  author = {Jonathan Pilault and Can Liu and Mohit Bansal and Markus Dreyer},
  journal= {arXiv preprint arXiv:2307.01446},
  year   = {2023}
}

Comments

Accepted at International Joint Conference on Artificial Intelligence (IJCAI) 2023

R2 v1 2026-06-28T11:21:25.701Z