paper-with-me

Papers

Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization

2023-11-02 · NeurIPS 2023 11 · Jameel Hassan, Hanan Gani, Noor Hussein, Muhammad Uzair Khattak, Muzammal Naseer, Fahad Shahbaz Khan, Salman Khan

The promising zero-shot generalization of vision-language models such as CLIP has led to their adoption using prompt learning for numerous downstream tasks. Previous works have shown test-time prompt tuning using entropy minimization to adapt text prompts for unseen domains. While effective, this overlooks the key cause for performance degradation to unseen domains -- distribution shift. In this work, we explicitly handle this problem by aligning the out-of-distribution (OOD) test sample statistics to those of the source data using prompt tuning. We use a single test sample to adapt multi-modal prompts at test time by minimizing the feature distribution shift to bridge the gap in the test domain. Evaluating against the domain generalization benchmark, our method improves zero-shot top- 1 accuracy beyond existing prompt-learning techniques, with a 3.08% improvement over the baseline MaPLe. In cross-dataset generalization with unseen categories across 10 datasets, our method improves consistently across all datasets compared to the existing state-of-the-art. Our source code and models are available at https://jameelhassan.github.io/promptalign.

📄 PDF Abstract BibTeX arXiv:2311.01459

Code (0)

등록된 구현이 없습니다.

Tasks

Domain GeneralizationPrompt LearningZero-shot Generalization

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Lyapunov-Guided Self-Alignment: Test-Time Adaptation for Offline Safe Reinforcement Learning

2026-04-29 · Seungyub Han, Hyungjin Kim, Jungwoo Lee arxiv

Offline reinforcement learning (RL) agents often fail when deployed, as the gap between training datasets and real environments leads to unsafe behavior. To address this, we present SAS (Self-Alignment for Safety), a tra…

Reinforcement LearningTest-time AdaptationBayesian Inference

Mind Your Tone: Investigating How Prompt Politeness Affects LLM Accuracy (short paper)

2025-10-06 · Om Dobariya, Akhil Kumar arxiv

The wording of natural language prompts has been shown to influence the performance of large language models (LLMs), yet the role of politeness and tone remains underexplored. In this study, we investigate how varying le…

Inoculation Prompting: Instructing LLMs to misbehave at train-time improves test-time alignment

2025-10-06 · Nevan Wichers, Aram Ebtekar, Ariana Azarbal, Victor Gillioz 외 arxiv

Large language models are sometimes trained with imperfect oversight signals, leading to undesired behaviors such as reward hacking and sycophancy. Improving oversight quality can be expensive or infeasible, motivating m…

LASP: Text-to-Text Optimization for Language-Aware Soft Prompting of Vision & Language Models

2022-10-03 · CVPR 2023 1 · Adrian Bulat, Georgios Tzimiropoulos

Soft prompt learning has recently emerged as one of the methods of choice for adapting V&L models to a downstream task using a few training examples. However, current methods significantly overfit the training data, suff…

Few-Shot LearningLanguage ModellingMultimodal Deep LearningPrompt Engineering+2

Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs

2026-07-07 · Adrian Cosma arxiv

In this paper, we define the quantity of prompting complexity: for a fixed instruction-tuned language model, what is the shortest plausible prompt that makes deterministic decoding produce a target text? It is an LM-rela…

Prompt Engineering