Skip to main content
QUICK REVIEW

[Paper Review] Input-Tuning: Adapting Unfamiliar Inputs to Frozen Pretrained Models

Shengnan An, Yifei Li|arXiv (Cornell University)|Mar 7, 2022
Topic ModelingComputer Science12 citations
TL;DR

This paper proposes Input-Tuning, a method that enhances frozen pretrained language models (PLMs) for natural language generation (NLG) tasks with unfamiliar inputs by jointly optimizing continuous soft prompts and a lightweight input-adapter module. The input-adapter fine-tunes input representations before the frozen PLM, significantly improving performance over prompt-tuning and achieving results comparable or superior to full fine-tuning on seven NLG tasks.

ABSTRACT

Recently the prompt-tuning paradigm has attracted significant attention. By only tuning continuous prompts with a frozen pre-trained language model (PLM), prompt-tuning takes a step towards deploying a shared frozen PLM to serve numerous downstream tasks. Although prompt-tuning shows good performance on certain natural language understanding (NLU) tasks, its effectiveness on natural language generation (NLG) tasks is still under-explored. In this paper, we argue that one of the factors hindering the development of prompt-tuning on NLG tasks is the unfamiliar inputs (i.e., inputs are linguistically different from the pretraining corpus). For example, our preliminary exploration reveals a large performance gap between prompt-tuning and fine-tuning when unfamiliar inputs occur frequently in NLG tasks. This motivates us to propose input-tuning, which fine-tunes both the continuous prompts and the input representations, leading to a more effective way to adapt unfamiliar inputs to frozen PLMs. Our proposed input-tuning is conceptually simple and empirically powerful. Experimental results on seven NLG tasks demonstrate that input-tuning is significantly and consistently better than prompt-tuning. Furthermore, on three of these tasks, input-tuning can achieve a comparable or even better performance than fine-tuning.

Motivation & Objective

  • To address the performance drop of prompt-tuning on NLG tasks with inputs linguistically distant from the pretraining distribution.
  • To investigate whether adapting input representations directly can close the performance gap between prompt-tuning and full fine-tuning.
  • To develop a parameter-efficient method that maintains a frozen PLM while improving adaptation to out-of-distribution inputs.
  • To evaluate the effectiveness of input-tuning across diverse NLG tasks, backbones, and data scales, especially in low-resource settings.

Proposed method

  • Introduce a lightweight, trainable input-adapter module inserted between word embeddings and the first layer of a frozen PLM.
  • Jointly optimize the soft prompt and the input-adapter parameters during training, while keeping all PLM weights frozen.
  • Apply the input-adapter to transform input token representations before they are processed by the frozen PLM.
  • Concatenate the soft prompt to the output of the input-adapter before feeding the sequence into the frozen PLM for generation.
  • Use a token-wise input-adapter with a simple feed-forward structure to avoid overwriting the PLM’s inductive bias.
  • Train the model using standard sequence-to-sequence objectives with cross-entropy loss on the generation task.

Experimental results

Research questions

  • RQ1How does input unfamiliarity affect the performance of prompt-tuning on NLG tasks?
  • RQ2Can learning to transform input representations improve prompt-tuning performance on out-of-distribution inputs?
  • RQ3Does combining soft prompting with a learnable input-adapter lead to better generalization than prompt-tuning alone?
  • RQ4How does input-tuning compare to full fine-tuning in terms of performance and parameter efficiency?
  • RQ5What design choices (e.g., adapter type, prompt length) most significantly impact input-tuning performance?

Key findings

  • On seven NLG tasks with unfamiliar inputs, input-tuning significantly outperforms prompt-tuning, with consistent improvements across all tasks.
  • On three of the seven tasks, input-tuning achieves performance comparable to or better than full fine-tuning, particularly on low-resource settings.
  • The performance gap between prompt-tuning and fine-tuning is reduced by manually aligning input inputs with the pretraining distribution, suggesting input representation mismatch as a key bottleneck.
  • A simple token-wise input-adapter outperforms more complex sequence-wise adapters, indicating that lightweight design preserves PLM capacity better.
  • Soft prompts are indispensable: removing them causes input-tuning to underperform even baseline prompt-tuning.
  • Input-tuning performs best with shorter prompts on simpler tasks (e.g., E2E), while longer prompts are preferred for more complex tasks (e.g., Fr-En), indicating task-dependent optimal prompt length.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.