Skip to main content
QUICK REVIEW

[Paper Review] PADA: A Prompt-based Autoregressive Approach for Adaptation to Unseen Domains.

Eyal Ben‐David, Nadav Oved|arXiv (Cornell University)|Feb 24, 2021
Topic ModelingComputer Science45 references33 citations
TL;DR

PADA proposes a prompt-based autoregressive method for zero-shot domain adaptation in NLP, where a T5-based model generates task-specific prompts from domain-related features (DRFs) to adapt to unseen domains without any target data. It achieves state-of-the-art performance across 14 multi-source adaptation scenarios in text classification and sequence tagging.

ABSTRACT

Natural Language Processing algorithms have made incredible progress, but they still struggle when applied to out-of-distribution examples. We address a challenging and underexplored version of this domain adaptation problem, where an algorithm is trained on several source domains, and then applied to examples from an unseen domain that is unknown at training time. Particularly, no examples, labeled or unlabeled, or any other knowledge about the target domain are available to the algorithm at training time. We present PADA: A Prompt-based Autoregressive Domain Adaptation algorithm, based on the T5 model. Given a test example, PADA first generates a unique prompt and then, conditioned on this prompt, labels the example with respect to the NLP task. The prompt is a sequence of unrestricted length, consisting of pre-defined Domain Related Features (DRFs) that characterize each of the source domains. Intuitively, the prompt is a unique signature that maps the test example to the semantic space spanned by the source domains. In experiments with 3 tasks (text classification and sequence tagging), for a total of 14 multi-source adaptation scenarios, PADA substantially outperforms strong baselines.

Motivation & Objective

  • Address the challenge of adapting NLP models to unseen domains at test time, with no access to target domain examples or labels during training.
  • Overcome the limitations of existing domain adaptation methods that require labeled or unlabeled target data during training.
  • Develop a method that generalizes across multiple source domains and adapts to entirely unknown target domains using only domain-related features (DRFs).
  • Enable effective zero-shot adaptation by generating task-specific prompts that map test examples into the semantic space of source domains.

Proposed method

  • Use a T5-based autoregressive model to generate a unique, unrestricted-length prompt for each test example based on pre-defined Domain-Related Features (DRFs).
  • Construct the prompt using DRFs that characterize the source domains, forming a semantic signature that links the test input to the source domain space.
  • Condition the label generation on the generated prompt, allowing the model to perform the NLP task (e.g., classification or sequence tagging) in a context-aware manner.
  • Train the model end-to-end on source domains only, without any target domain data, relying solely on DRFs to guide prompt generation.
  • Leverage the autoregressive nature of T5 to generate coherent and task-relevant prompts that improve zero-shot generalization.
  • Ensure prompt diversity and expressiveness by allowing variable-length prompt sequences derived from DRFs, enhancing adaptability to unseen domain semantics.

Experimental results

Research questions

  • RQ1Can a prompt-based autoregressive approach effectively adapt to unseen domains without any target domain data?
  • RQ2How well does the model generalize across multiple source domains when adapting to a completely unknown target domain?
  • RQ3To what extent does the use of domain-related features (DRFs) in prompt generation improve zero-shot adaptation performance?
  • RQ4How does the proposed method compare to strong baselines in multi-source domain adaptation scenarios?

Key findings

  • PADA significantly outperforms strong baselines across 14 multi-source adaptation scenarios involving text classification and sequence tagging.
  • The model achieves state-of-the-art performance in zero-shot domain adaptation, even when the target domain is entirely unknown at training time.
  • The use of autoregressively generated prompts based on DRFs enables effective mapping of test examples into the semantic space of source domains.
  • The method generalizes robustly across diverse NLP tasks and domain combinations, demonstrating strong zero-shot transfer capability.
  • The absence of target domain data during training does not hinder performance, confirming the effectiveness of DRF-driven prompt generation.
  • The approach is effective across different types of NLP tasks, including both text classification and sequence tagging, under zero-shot settings.

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.