paper-with-me

Papers

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

2026-05-04 · Zhecheng Sheng, Yongsen Tan, Xiruo Ding, Trevor Cohen, Serguei Pakhomov 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.

📄 PDF Abstract BibTeX arXiv:2605.03096

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RL

2023-09-13 · Hao Sun, Alihan Hüyük, Mihaela van der Schaar

In this study, we aim to enhance the arithmetic reasoning ability of Large Language Models (LLMs) through zero-shot prompt optimization. We identify a previously overlooked objective of query dependency in such optimizat…

Arithmetic ReasoningNavigatePrompt Engineeringreinforcement-learning

When Do Task Vectors Interfere? Mapping the Validity Boundaries of Weight-Space Composition

2026-08-10 · Chencheng Zhu, Xiaoyang Li, Taotao Cai arxiv

Task arithmetic composes skills by adding weight displacements, and merged models are then judged on benchmark suites. We measure when that composition is functionally additive, and find that the answer depends as much o…

Assessing Test-time Variability for Interactive 3D Medical Image Segmentation with Diverse Point Prompts

2023-11-13 · Hao Li, Han Liu, Dewei Hu, Jiacheng Wang 외

Interactive segmentation model leverages prompts from users to produce robust segmentation. This advancement is facilitated by prompt engineering, where interactive prompts serve as strong priors during test-time. Howeve…

Image SegmentationInteractive SegmentationMedical Image SegmentationPrompt Engineering+3

Task Prompt Vectors: Effective Initialization through Multi-Task Soft-Prompt Transfer

2024-08-02 · Robert Belanec, Simon Ostermann, Ivan Srba, Maria Bielikova

Prompt tuning is an efficient solution for training large language models (LLMs). However, current soft-prompt-based methods often sacrifice multi-task modularity, requiring the training process to be fully or partially …

Language ModelingLanguage Modelling

An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs

2024-06-18 · Daking Rai, Ziyu Yao

Large language models (LLMs) have shown strong arithmetic reasoning capabilities when prompted with Chain-of-Thought (CoT) prompts. However, we have only a limited understanding of how they are processed by LLMs. To demy…

Arithmetic Reasoning