Lune

EMNLP2022Top-tier venue

Prompt-based Distribution Alignment for Domain Generalization in Text Classification

Chen Jia, Yue Zhang

Abstract

Prompt-based learning (a.k.a. prompting) achieves high performance by bridging the gap between the objectives of language modeling and downstream tasks. Domain generalization ability can be improved by prompting since classification across different domains can be unified into the prediction of the same set of label words. The remaining challenge for domain generalization by prompting comes from discrepancies between the data distribution of different domains. To improve domain generalization with prompting, we learn distributional invariance across source domains via two alignment regularization loss functions. The first is vocabulary distribution alignment, which uses a Kullback-Leibler divergence regularization on source-domain vocabulary distributions. The second is feature distribution alignment, which uses a novel adversarial training strategy to learn domain invariant representation across source domains. Experiments on sentiment analysis and natural language inference show the effectiveness of our method and achieve state-of-the-art results on six datasets.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
  • SPoT: Better Frozen Model Adaptation through Soft Prompt Transfer cites LoRA: Low-Rank Adaptation of Large Language Models
  • SPoT: Better Frozen Model Adaptation through Soft Prompt Transfer cites Language Models are Few-Shot Learners
  • Adversarial Soft Prompt Tuning for Cross-Domain Sentiment Analysis cites SPoT: Better Frozen Model Adaptation through Soft Prompt Transfer
  • Adversarial Soft Prompt Tuning for Cross-Domain Sentiment Analysis cites Language Models are Few-Shot Learners
  • Task-Specific Data Selection for Instruction Tuning via Monosemantic Neuronal Activations cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Prompting Segmentation with Sound Is Generalizable Audio-Visual Source LocalizerYaoting Wang, Weisong Liu, Guangyao Li, Jian Ding et al.AAAI 2024 · 42 citations
  2. Task-Specific Data Selection for Instruction Tuning via Monosemantic Neuronal ActivationsDa Ma, Gonghu Shang, Zhi Chen, Libo Qin et al.NeurIPS 2025 · 6 citations
  3. IMO: Greedy Layer-Wise Sparse Representation Learning for Out-of-Distribution Text Classification with Pre-trained ModelsTao Feng, Lizhen Qu, Zhuang Li, Haolan Zhan et al.ACL 2024 · 2 citations
  4. Learning Beyond Domains: Misleading Prompts and Pseudo-Label Contrast for Text Domain GeneralizationQizhi Li, Xuyang Wang, Yingke Chen, Ming Yan et al.AAAI 2026 · 1 citation

Builds on14

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  3. K-Adapter: Infusing Knowledge into Pre-Trained Models with AdaptersRuize Wang, Duyu Tang, Nan Duan, Zhongyu Wei et al.ACL Findings 2021 · 473 citations
  4. SPoT: Better Frozen Model Adaptation through Soft Prompt TransferTu Vu, Brian Lester, Noah Constant, Rami Al-Rfou' et al.ACL 2022 · 332 citations
  5. Adversarial Soft Prompt Tuning for Cross-Domain Sentiment AnalysisHui Wu, Xiaodong ShiACL 2022 · 98 citations

Related papers

  1. Enhancing Domain Adaptation through Prompt Gradient AlignmentViet Hoang Phan, Tung Lam Tran, Quyen Tran, Trung LeNeurIPS 2024 · 18 citations
  2. Debiased Fine-Tuning for Vision-Language Models by Prompt RegularizationBeier Zhu, Yulei Niu, Saeil Lee, Minhoe Hur et al.AAAI 2023 · 34 citations
  3. Prompt-Based Distribution Alignment for Unsupervised Domain AdaptationShuanghao Bai, Min Zhang, Wanqi Zhou, Siteng Huang et al.AAAI 2024 · 103 citations
  4. Domain Generalization in CLIP via Learning with Diverse Text PromptsChangsong Wen, Zelin Peng, Yu Huang, Xiaokang Yang et al.CVPR 2025
  5. Bayesian Prompt Learning for Image-Language Model GeneralizationMohammad Mahdi Derakhshani, Enrique Sanchez, Adrian Bulat, Victor Guilherme Turrisi da Costa et al.ICCV 2023 · 66 citations
Dusk over the sea between two cliffs drawn in fine vertical lines