atlas

Research map / Label-efficient and robust learning / Domain adaptation and generalization

Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Models

NeurIPS 2024 · Label-efficient and robust learning › Domain adaptation and generalization · approach: Optimization-based domain generalization · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes "Concentration," a lookback-attention objective (strength and fluctuation of attention on prompt tokens in deep layers) that is added to soft prompt tuning losses and hard prompt filtering/MARL matching to improve multi-source domain generalization of prompts.

Problem

Optimized prompts for pre-trained language models generalize poorly to unseen target domains, and existing remedies rely on target-domain data or costly pre-training, and do not apply to hard prompts.

Approach

Identifies that prompts receiving higher and more stable lookback attention from deep PLM layers generalize better, and turns this into concentration-reweighting losses for soft prompts and a concentration-based filter metric and agent reward (with multi-agent PPO matching) for hard prompts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add concentration strength and concentration fluctuation losses to Prompt TuningPrompt Tuning · Multi-source domain generalization: sentiment and NLI settingsaccuracy: 64.73 -> 66.19; 65.51 -> 69.54; 65.12 -> 65.89; 41.20 -> 42.48; 49.83 -> 50.31; 49.66 -> 50.42Helped
Add concentration strength loss only (ablation)Prompt Tuning · Q+R→Waccuracy: 41.20 -> 41.53Helped
Add concentration fluctuation loss only (ablation)Prompt Tuning · Q+R→Waccuracy: 41.20 -> 42.17Helped
Add either concentration loss alone instead of both losses (ablation)Soft prompt methods · QNLI target-domain settingaccuracyHurt
Add GCS filtering and concentration-rewarded MARLDP₂O · Multi-source domain generalization: sentiment and NLI settingsaccuracy: 89.06 -> 89.63; 90.75 -> 92.87; 86.53 -> 87.85; 54.84 -> 56.42; 54.85 -> 55.32; 59.78 -> 61.27Helped
Add MARL prompt matching only (ablation)DP₂O · S+M→Caccuracy: 89.06 -> 87.36Hurt
Add concentration-based filtering metric only (ablation)DP₂O · S+M→Caccuracy: 89.06 -> 86.79Hurt
Add both concentration losses to Prompt TuningPrompt Tuning · In-domain SST-2accuracy: 73.84 -> 72.61No clear effect
Add both concentration losses to Prefix TuningPrefix Tuning · In-domain SST-2accuracy: 87.39 -> 87.29No clear effect
Add both concentration losses to P-Tuning v2P-Tuning v2 · In-domain SST-2accuracy: 86.71 -> 87.03No clear effect
Add both concentration losses to DP₂ODP₂O · In-domain sentiment averageaccuracy: 90.99 -> 90.65No clear effect
Add both concentration losses to Prompt TuningPrompt Tuning · GPT-2 decoder-only backbone; multi-source domain generalizationaccuracy: 56.29 -> 57.85; 67.57 -> 68.52; 58.50 -> 59.73; 42.64 -> 42.79; 49.71 -> 50.27; 49.48 -> 51.10Helped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 MR CR QNLI WNLI RTE ROC SCT COPA

Benchmarks: SST-2 MR CR QNLI WNLI RTE ROC SCT COPA

Metrics: accuracy standard deviation across seeds in-domain/out-of-domain accuracy gap

Baselines: Prompt Tuning Prefix Tuning P-Tuning v2 GrIPS RLPrompt Manual Prompt In-Context Demo DP2O

Builds on: prompt tuning prefix tuning P-Tuning v2 DP2O MAPPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy