Manuscript Offprint

arXiv:2609.02039

Test-Time Logit Prompting for Source-Free Missing Modality Adaptation

Taixi Chen, Nancy Guo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision-language models (VLMs) have achieved remarkable performance by leveraging complementary information from large-scale image-text pairs. However, missing-modality inputs are commonly encountered during real-world deployment, often leading to significant performance degradation. Existing methods primarily enhance model robustness by learning modality compensation strategies from source training data. However, their reliance on source training data makes them difficult to apply when original data are unavailable due to privacy, storage, or accessibility constraints, such as clinical applications and personalized AI services. This raises an important yet underexplored question: can VLMs be efficiently adapted at test time for visual recognition with missing modalities without accessing source training data? To this end, we propose Test-Time Logit Prompting (TLP), a lightweight source-free test-time adaptation framework for visual recognition with missing modalities. To address missing-induced prediction shifts, TLP optimizes logit prompts with uncertainty-aware adjustment and modality-complete consistency regularization, adaptively adjusting prediction confidence while preserving semantic consistency. Extensive experiments across diverse vision-language benchmarks demonstrate that TLP consistently enhances recognition performance under missing-modality scenarios, achieving up to 8% improvements while requiring only hundreds of tunable parameters and a few test-time optimization steps.

Introduction

Vision-language models (VLMs) have demonstrated remarkable performance by leveraging complementary information from large-scale image-text pairs (Radford et al. 2021), achieving impressive results across various vision-language tasks, including image captioning (Iashin and Rahtu 2020; Sarto et al. 2023), cross-modal retrieval (Radford et al. 2021; Kim, Son, and Kim 2021; Jiang and Ye 2023), and visual question answering (Zhang, Zhang, and Xu 2023; Sima et al. 2024). Despite these advances, real-world deployments frequently encounter missing-modality inputs caused by privacy constraints, sensor failures, or incomplete data collection (Lee et al. 2023; Hu et al. 2024). The absence of certain modalities can disrupt the learned cross-modal alignment in VLMs, resulting in significant performance degradation (Ma et al.

2022). Therefore, developing robust multimodal learning frameworks that can reliably handle diverse missing-modality scenarios has become a critical challenge.

As illustrated in Figure 1, existing methods mainly address this challenge through source-dependent strategies, including cross-modal generation (Wang, Cui, and Li 2023; Meng et al. 2024), joint representation learning (Ma et al. 2022; Wu et al. 2024b; Wang et al. 2023), and prompt learning (Lee et al. 2023; Hu et al. 2024; Zhang et al. 2025). These approaches have effectively improved model robustness by learning or recovering missing-modality information using source training data. Despite their effectiveness, this source-dependent paradigm assumes continuous access to source training data, which is often impractical in real-world deployment scenarios due to privacy restrictions, storage limitations, or data accessibility constraints (Liang, Hu, and Feng 2020; Xiao and Snoek 2024), especially in privacy-sensitive applications such as healthcare systems, personalized AI services, and edge devices.

This naturally raises an important question: can VLMs fur-

Figure

Figure 1: Comparison of the missing-modality adaptation paradigms. Existing source-dependent methods rely on training data for modality generation, prompt learning, or representation learning, whereas TLP adapts frozen VLMs at test time by optimizing lightweight logit prompts.

*Corresponding author.

Figure

Figure 2: Overview of Test-Time Logit Prompting (TLP). Given a frozen VLM, TLP introduces missing-aware logit prompts to directly adapt the decision space under different missing-modality conditions. During inference, the corresponding logit prompt is selected according to modality availability and optimized through uncertainty-aware adjustment and modality-complete consistency regularization. The optimized prompt adjusts the original logits for final prediction, enabling efficient source-free missing-modality adaptation without updating the backbone.

ther improve missing-modality robustness at test time without accessing source training data? To answer this question, we propose Test-Time Logit Prompting (TLP), a lightweight source-free adaptation framework that directly adjusts the decision space of frozen VLMs during inference.

Specifically, instead of adapting input-level prompts or model parameters with source training data, TLP introduces lightweight missing-aware prompts in the logit space and optimizes them online with frozen VLMs to dynamically adjust predictions under different missing-modality conditions. Considering that missing modalities can introduce both confidence bias and semantic inconsistency in the prediction space, TLP balances uncertainty adjustment and modality-complete consistency regularization through efficient logit-level adaptation, enabling reliable prediction adjustment while preserving semantic information from modality-complete references. Extensive experiments on diverse vision-language benchmarks demonstrate the effectiveness and efficiency of TLP under various missing-modality scenarios. TLP consistently improves recognition performance with only hundreds of tunable parameters and a few test-time optimization steps. Moreover, it

can be readily integrated with existing training-based prompt learning methods to provide further performance gains. Our contributions are summarized as follows:

  • We introduce a source-free test-time adaptation perspective for missing-modality recognition, enabling VLMs to improve during inference without accessing source training data.
  • We propose Test-Time Logit Prompting (TLP), which enables decision-space adaptation by optimizing missing-aware logit prompts with uncertainty-aware adjustment and modality-complete consistency regularization.
  • Extensive experiments demonstrate that TLP achieves consistent improvements across diverse missing-modality scenarios with only hundreds of parameters and can seamlessly enhance existing training-based methods.

References (35)