mlsanityData to 7 Oct 2026

When Prompts Interact: Assessing Prompt Arithmetic for Deconfounding under Distribution Shift

arXiv 2605.03096 ↗First posted 4 May 2026cs.LG cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In classification tasks, models may rely on confounding variables to achieve strong in-distribution performance, capturing spurious features that fail under distribution shift. This shortcut behavior leads to substantial degradation in out-of-distribution settings. Task arithmetic offers a potential solution by removing unwanted signals via subtraction of secondary model updates, but it typically requires full fine-tuning, which is computationally expensive. Prompt tuning provides a parameter-efficient alternative by adapting models through a small set of trainable virtual tokens. Task arithmetic on the resulting prompts presents an appealing alternative to operations on entire models, but the extent to which this approach can limit reliance on spurious features remains to be established. In this work, we study whether composing soft prompts through task arithmetic improves robustness to confounding shifts. We propose Hybrid Prompt Arithmetic (HyPA), which combines task prompts with linearized confounder prompts to counteract spurious correlations. Across multiple benchmarks, HyPA consistently improves the robustness-performance trade-off relative to prompt-arithmetic baselines under distribution shift. We further analyze how HyPA affects hidden representations and find evidence consistent with it mitigating confounding either by reducing the influence of confounder signals on predictions or by suppressing them in the representation. These results establish HyPA as a parameter-efficient and promising approach for improving robustness under confounding shifts in the evaluated setting.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 4 May 2026.

Builds on

34 of 47 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  3. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  4. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  5. 2016Equality of Opportunity in Supervised Learningcited by 2,000
  6. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  7. 2019Invariant Risk Minimizationcited by 1,832
  8. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  9. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  10. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  11. 2022Editing Models with Task Arithmeticcited by 1,076
  12. 2020In Search of Lost Domain Generalizationcited by 1,042
22 more
  1. 2021Domain Generalization: A Surveycited by 760
  2. 2014Certifying and removing disparate impactcited by 715
  3. 2018On Lazy Training in Differentiable Programmingcited by 671
  4. 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
  5. 2018A Reductions Approach to Fair Classificationcited by 585
  6. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  7. 2017On Fairness and Calibrationcited by 406
  8. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  9. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
  10. 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
  11. 2023Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Modelscited by 218
  12. 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
  13. 2018Hate Speech Dataset from a White Supremacy Forumcited by 196
  14. 2021Simple data balancing achieves competitive worst-group-accuracycited by 177
  15. 2023Change is Hard: A Closer Look at Subpopulation Shiftcited by 119
  16. 2021Optimal Representations for Covariate Shiftcited by 51
  17. 2020Annotating Social Determinants of Health Using Active Learning, and Characterizing Determinants Using Neural Event Extractioncited by 32
  18. 2022Neural Tangent Kernel Beyond the Infinite-Width Limit: Effects of Depth and Initializationcited by 30
  19. 2024Fine-Tuning Attention Modules Only: Enhancing Weight Disentanglement in Task Arithmeticcited by 14
  20. 2024Task Prompt Vectors: Effective Initialization through Multi-Task Soft-Prompt Transfercited by 13
  21. 2023Backdoor Adjustment of Confounding by Provenance for Robust Text Classification of Multi-institutional Clinical Notescited by 5
  22. 2025Mitigating Confounding in Speech-Based Dementia Detection through Weight Maskingcited by 3

Built on by

Not cited yet.