Reproduce “PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domains” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Eyal Ben-David, Nadav Oved, Roi Reichart

Researchers at Technion - Israel Institute of Technology developed PADA, an example-based prompt learning algorithm that enables on-the-fly adaptation to unseen domains using a single T5 model. PADA generates unique, human-readable prompts for individual examples, achieving significant error rate reductions compared to existing domain adaptation baselines across various NLP tasks.

Key insights

  • Generating unique, example-specific textual prompts for each input, rather than using fixed or continuous prompts, enables effective on-the-fly adaptation to unseen domains.
  • Jointly training a single autoregressive model (T5) for both prompt generation and downstream task prediction, with shared parameters, effectively integrates knowledge from multiple source domains and improves generalization.
  • Carefully extracted Domain Related Features (DRFs) that are frequent and distinguishing within source domains are crucial for creating meaningful prompts that semantically map new examples into the learned space.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.