Test-Time Prompt-Agnostic Decomposition
Junze Wang, Lei Fan, Dezheng Zhang, Donglin Di, Yang Song, Sidong Liu, Cong Cong
Abstract
Test-Time Prompt Tuning (TPT) adapts large pretrained models to unseen target distribution shifts by updating only lightweight prompt tokens. Existing TPT methods are effective, but they mainly optimize each prompt update locally. Across test-time steps, prompts updated at the current step are reused for the corresponding predictions and updates, so noisy or biased unlabeled objectives can accumulate and destabilize the prompt-update trajectory. We identify two failure modes: magnitude expansion, where updates move the prompt too far, and directional drift, where consecutive updates point in inconsistent directions. To analyze and control these failures, we propose Test-Time Prompt-Agnostic Decomposition (), which characterizes observed prompt-update trajectories from a dynamical-systems view and decomposes base prompt updates into magnitude and direction. computes a spectral radius to measure update expansion and decomposes update directions into persistent, oscillatory, and residual components. Building on this decomposition, Adaptive Koopman Control () regulates update magnitude by shrinking updates under expansive recent dynamics, while Hankel Update Router () refines update direction by preserving persistent components and suppressing oscillatory and residual components. Together, and produce a stabilized prompt update. As a prompt-agnostic framework, can be plugged into visual and text TPT methods without modifying the backbone, prompt architecture, or adaptation loss. Experiments on 15 datasets show that consistently improves 10 baselines, with accuracy gains of -- for visual prompts and over for text prompts.
Create a lesson
Metadata
- Comments
- Accepted by NeurIPS 2026
Related papers
VISOR: A Vision-Language Selector for Multimodal Time-Series Forecasting
Shared title terminologycs.CVSeunghan Lee, Jun Seo, Junhyeok Kang et al.
A Well-Posed Fourth-Order Navier-Stokes Model for Image Inpainting: Theory, Order Selection, and Stripe Decomposition
Shared title terminologycs.CVYiwen Dou, Yiqiang Ding, Zhongyun Bao et al.
PromptSMC: Enabling Particle Exploration in Flow Matching via LLM-Based Prompt Rejuvenation
Shared title terminologycs.CVWenyi Lian, Zheng Zhao, Thomas B. Schön
Which Ellipses Are Outlines of a Given Ellipsoid? A Ratio Test with Unknown Focal Length
Shared title terminologycs.CVMichael Werman
CTLink: A Text-Prompted Segmentation Model for Linking Radiology Report Findings to 3D Chest CT Scans
Shared title terminologycs.CVMohammed Baharoon, Sung Eun Kim, Mahmoud Hussain Alabbad et al.
SPROUT: Predicting Objective-Grounded Prompt Utility for Efficient Text-to-Image Preference Tuning
Shared title terminologycs.CVKangping Hu, Akshay Mehra, Stephen Mussmann