Skip to main content
QUICK REVIEW

[Paper Review] Exploring Universal Intrinsic Task Subspace via Prompt Tuning

Yujia Qin, Xiaozhi Wang|arXiv (Cornell University)|Oct 15, 2021
Topic ModelingComputer Science7 citations
TL;DR

This paper proposes Intrinsic Prompt Tuning (IPT), a method that identifies a universal, low-dimensional intrinsic task subspace shared across diverse NLP tasks by decomposing soft prompts via auto-encoding. By tuning only 250 parameters in this 250-dimensional subspace, IPT recovers 97% of full prompt tuning performance on seen tasks and 83% on unseen tasks, demonstrating strong generalization and explaining the universality of pre-trained language models.

ABSTRACT

Why can pre-trained language models (PLMs) learn universal representations and effectively adapt to broad NLP tasks differing a lot superficially? In this work, we empirically find evidence indicating that the adaptations of PLMs to various few-shot tasks can be reparameterized as optimizing only a few free parameters in a unified low-dimensional intrinsic task subspace, which may help us understand why PLMs could easily adapt to various NLP tasks with small-scale data. To find such a subspace and examine its universality, we propose an analysis pipeline called intrinsic prompt tuning (IPT). Specifically, we resort to the recent success of prompt tuning and decompose the soft prompts of multiple NLP tasks into the same low-dimensional nonlinear subspace, then we learn to adapt the PLM to unseen data or tasks by only tuning parameters in this subspace. In the experiments, we study diverse few-shot NLP tasks and surprisingly find that in a 250-dimensional subspace found with 100 tasks, by only tuning 250 free parameters, we can recover 97% and 83% of the full prompt tuning performance for 100 seen tasks (using different training data) and 20 unseen tasks, respectively, showing great generalization ability of the found intrinsic task subspace. Besides being an analysis tool, IPT could further help us improve the prompt tuning stability.

Motivation & Objective

  • To investigate whether pre-trained language models (PLMs) adapt to diverse NLP tasks through a shared, low-dimensional intrinsic task subspace.
  • To explain the universality and data efficiency of PLMs in few-shot learning settings.
  • To develop a method that enables parameter-efficient adaptation by restricting optimization to a unified, low-dimensional subspace.
  • To improve prompt tuning stability and provide insights into task differences through subspace analysis.

Proposed method

  • IPT consists of two phases: Multi-Task Subspace Finding (MSF) and Intrinsic Subspace Tuning (IST).
  • In MSF, soft prompts from 100 diverse NLP tasks are projected into a low-dimensional nonlinear subspace using an auto-encoder architecture.
  • The auto-encoder learns a shared basis for the intrinsic task subspace by minimizing reconstruction loss between original and projected prompts.
  • In IST, the PLM is adapted to new tasks by tuning only the low-dimensional parameters in the fixed subspace, with a fixed back-projection to the full parameter space.
  • The method leverages prompt tuning as a parameter-efficient alternative to full fine-tuning, enabling scalable subspace learning.
  • The intrinsic task subspace is found using a small set of diverse few-shot tasks, ensuring balanced data scales and generalization capacity.

Experimental results

Research questions

  • RQ1Does a universal, low-dimensional intrinsic task subspace exist that captures adaptations of PLMs across diverse NLP tasks?
  • RQ2Can this intrinsic subspace generalize to unseen tasks with minimal performance drop?
  • RQ3How does the dimensionality of the subspace affect performance and data efficiency in few-shot learning?
  • RQ4Can the intrinsic subspace improve prompt tuning stability and provide insights into task differences?
  • RQ5What is the impact of the number of training tasks and data scale on the quality and generalization of the learned subspace?

Key findings

  • In a 250-dimensional intrinsic task subspace learned from 100 tasks, IPT recovers 97% of the performance of full prompt tuning on 100 seen tasks using different training data.
  • For 20 unseen tasks, IPT achieves 83% of the performance of full prompt tuning, demonstrating strong zero-shot generalization capability.
  • The intrinsic task subspace is highly effective, as it compresses the adaptation of diverse NLP tasks into a low-dimensional parameter space.
  • The method improves prompt tuning stability, suggesting that optimization in a constrained, shared subspace reduces training variance.
  • The quality of the subspace is robust to variations in the number of training tasks and data scale, with performance improving with more diverse tasks.
  • The analysis reveals that the intrinsic subspace captures shared representational structures across tasks, offering insights into task similarities and differences.

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.