TriPrompt: Progressive Local Prompting for Few-shot Out-of-Distribution Detection
Ziyou Xiang, Chaowei Fang, Zhihong Wu, Jiliang Li, Di Xu, De Cheng
Abstract. Few-shot out-of-distribution (OOD) detection is essential for deploying recognition models in open-world environments, where a reliable model should correctly recognize in-distribution (ID) samples while rejecting samples from unseen categories. Recent CLIP-based methods have shown promising few-shot OOD detection ability by exploiting transferable vision--language representations. However, many methods rely mainly on global image features or emphasize only the most class-discriminative local cues, making them less effective for OOD detection where ID and OOD samples share visually similar local patterns. Although local prompting introduces patch-level reasoning, existing methods often treat local evidence as a binary distinction between ID-related and non-ID cues, leaving the ambiguous transition region between reliable ID evidence and clear non-ID evidence insufficiently modeled. To address this issue, we propose ThriPrompt, a progressive local prompting framework for few-shot OOD detection. TriPrompt decomposes patch-level evidence into three complementary components within a unified local feature space: Core-ID cues that provide reliable class-defining evidence, Far-ID cues that capture ambiguous transition-region evidence, and OOD cues learned from weak non-ID proxies mined directly from patch features. This patch-native design enables suppression-aware local reasoning without requiring additional OOD data or repeated multi-crop feature extraction. At inference time, TriPrompt combines global CLIP confidence with Core-ID, Far-ID, and OOD local responses to reduce overconfident ID assignment on hard OOD samples. Experiments on ImageNet-1K OOD benchmarks show that TriPrompt consistently improves few-shot OOD detection performance and remains compatible with mainstream CLIP-based scoring methods. Our code is provided in the supplementary material.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary & Strengths: This paper proposes TriPrompt, a progressive local prompting framework for few-shot out-of-distribution (OOD) detection. It decomposes patch-level evidence into complementary Core-ID, OOD, and Far-ID cues, with Far-ID prompts intended to capture ambiguous transition regions that are neither clearly ID nor OOD. This method can be combined with different CLIP-based OOD scores, and report competitive performance on standard ImageNet-1K OOD benchmarks.
Weaknesses: The reviewers identify several issues concerning the method’s robustness, generalizability, and practical cost. The authors should focus their response on the following aspects:
- Computational cost and efficiency (Reviewers Q4tN, dZAV, and vw2V)
- Visualization and analysis for the effect of different prompt (Reviewers vw2V, dZAV)
- Hyperparameter sensitivity (Reviewers Q4tN and dZAV)
- Generalization across architectures and OOD settings (Reviewers Q4tN and dZAV)
- Fairness in Tab.1 and Tab.4. Compared methods seem to be selected manually.
Final justification
After reviewing the authors' rebuttal and all subsequent reviewer comments, I provide the following final assessment.
The rebuttal substantially addresses concerns regarding computational cost and hyperparameter sensitivity, and clarifies the scope and limitations of the evaluation. One reviewer rasied the score from 3 to 4.
Reviewer opinions are divided, with two borderline accept and one maintaining negative scores. The core concerns, particularly the misleading formulation, missing comparisons, and questionable design rationale are unsovled.
Overall, the current manuscript still contains many basic issues and presentation flaws.
Read meta-review
Meta-review
Summary & Strengths: This paper proposes TriPrompt, a progressive local prompting framework for few-shot out-of-distribution (OOD) detection. It decomposes patch-level evidence into complementary Core-ID, OOD, and Far-ID cues, with Far-ID prompts intended to capture ambiguous transition regions that are neither clearly ID nor OOD. This method can be combined with different CLIP-based OOD scores, and report competitive performance on standard ImageNet-1K OOD benchmarks.
Weaknesses: The reviewers identify several issues concerning the method’s robustness, generalizability, and practical cost. The authors should focus their response on the following aspects:
- Computational cost and efficiency (Reviewers Q4tN, dZAV, and vw2V)
- Visualization and analysis for the effect of different prompt (Reviewers vw2V, dZAV)
- Hyperparameter sensitivity (Reviewers Q4tN and dZAV)
- Generalization across architectures and OOD settings (Reviewers Q4tN and dZAV)
- Fairness in Tab.1 and Tab.4. Compared methods seem to be selected manually.
Final justification
After reviewing the authors' rebuttal and all subsequent reviewer comments, I provide the following final assessment.
The rebuttal substantially addresses concerns regarding computational cost and hyperparameter sensitivity, and clarifies the scope and limitations of the evaluation. One reviewer rasied the score from 3 to 4.
Reviewer opinions are divided, with two borderline accept and one maintaining negative scores. The core concerns, particularly the misleading formulation, missing comparisons, and questionable design rationale are unsovled.
Overall, the current manuscript still contains many basic issues and presentation flaws.
1 comment
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes TriPrompt, a CLIP-based few-shot out-of-distribution detection framework that decomposes local patch evidence into three components: Core-ID, OOD, and Far-ID cues. The method aims to improve OOD detection by explicitly modeling ambiguous transition-region patches that are neither clearly discriminative ID evidence nor clearly non-ID evidence. The proposed framework combines global CLIP confidence with local suppression-aware responses at inference time. Experiments on ImageNet-1K OOD benchmarks and near-OOD settings show consistent improvements over several CLIP-based few-shot OOD baselines.
Strengths and weaknesses
Strengths:
The experimental results are generally strong. TriPrompt improves average FPR95 and AUROC in both 4-shot and 16-shot settings, and the compatibility experiments suggest that the local module can be combined with different global OOD scoring methods. The ablation studies also support the usefulness of the proposed OOD and Far-ID components.
Weakness:
-
The paper proposes to learn OOD prompts from low-Core-ID patch responses, but it is unclear whether these OOD prompts capture meaningful OOD-related semantics or simply degenerate into trivial background cues. If the learned OOD prompts mainly correspond to background regions, their usefulness for OOD detection should be carefully justified. Prior works such as IIM (AAAI'26) and Local-Prompt (ICLR'25) suggest that useful OOD-oriented prompts may need to capture marginal or boundary information around ID classes, rather than merely background patterns.
-
The paper introduces several loss terms across different sections, including the global loss, Core-ID loss, OOD loss, and Far-ID loss. However, it never provides a unified training objective that clearly states which losses are optimized together and at which stage. This makes the actual training procedure difficult to understand and reproduce. A single consolidated formulation of the full objective would greatly improve clarity.
-
The notation and writing are not sufficiently rigorous. Several important symbols are introduced without clear definitions. For example, in Eq. (1), is used before being explicitly defined. Although one can infer that it denotes the text feature of class c under the j-th Core-ID local prompt, this should be stated clearly in the paper. Similarly, is not defined rigorously enough. Does it contain one patch or multiple patches? If it contains only one patch, why is there a summation over i? If it contains multiple patches, why does the paper describe them using the singular expression “the lowest” rather than “the lowest-K”? These issues make the method section unnecessarily difficult to follow.
-
The training procedure is not clearly described in the main paper. From the appendix, I can infer that TriPrompt is trained in three stages. However, the main text does not provide a unified training objective that explicitly specifies which losses are optimized at each stage and which components are frozen or updated. As a result, the actual training pipeline is difficult to understand and reproduce. Below are two examples illustrating why the current description is confusing.
-
4.1. Example.1 In lines 202–203, the paper states that "during the optimization of the Far-ID objective, the CLIP backbone, local projection layer, and previously learned Core-ID and OOD prompts are frozen". However, the paper does not clearly explain how the Core-ID prompts are learned in the first place.
-
4.2. Example.2. In line 224, the paper states that “the final training objective is the sum of the global, Core-ID, OOD, and Far-ID losses” is potentially misleading, as it suggests that the model is trained end-to-end with all losses optimized jointly.
-
-
The paper lacks computational cost analysis. The proposed method introduces additional Far-ID prompts and three training stages, but the paper does not report the resulting training cost, inference overhead, memory usage, or runtime compared with prior methods.
-
In the visualization section, it is unclear why the Core-ID prompt response looks almost identical to the original image.
Questions
See Weakness.
Limitations
yes
Formatting concerns
NA
4 comments
Rebuttal
Response to the AC and Reviewers
We thank the AC and reviewers. We respond below to each of the five priorities in the metareview. FPR95 is lower-is-better and AUROC is higher-is-better throughout.
1. Computational cost and efficiency
We thank Q4tN, dZAV, vw2V, and the AC for raising the practical cost question. TriPrompt is not a temporal three-stage training pipeline. “Progressive” describes a logical decomposition of local evidence: Core-ID, weak non-ID/OOD, and ambiguity-prone Far-ID. In every iteration, the objectives are computed together and optimized by one backward pass:
The CLIP backbone is frozen. For the Far-ID loss, local visual features and OOD logits are detached, so this term does not update the local visual projection or OOD-logit branch; it updates Far-ID prompts and can update Core-ID local prompts through the Core-ID text features used in the Far-ID contrast.
We apologize that “three stages” in the appendix misleadingly suggested sequential optimization; we will correct it. The extra overhead instead comes from extra local prompts, local-response computation, and scoring terms. We ran a matched GalLoP comparison under ImageNet-1K 16-shot, CLIP ViT-B/16, identical precision, batch size, and 4-GPU hardware. Under this protocol, TriPrompt is faster and uses less peak training memory.
| Method | Training time (h) | GPU-hours | Peak train memory / GPU (GB) | Inference throughput (images/s) | Latency (ms/image) |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
We do not include Local-Prompt in this table because its public code has not completed under the same device and protocol; comparing incompatible runs would not be informative.
2. Visualization and analysis of the three prompts
We thank vw2V and dZAV for requesting clearer prompt-effect analysis. We sincerely apologize for the submitted visualization. The original input image was accidentally placed in the panel labeled “Core-ID response”; this is a panel-assembly/layout error, not a data issue or a Core-ID failure. The intended interpretation is that Core-ID prompts emphasize class-defining ID evidence, OOD prompts respond to weak non-ID evidence, and Far-ID prompts capture ambiguity-prone transition evidence used by the local score. We will correct the panel in the revision.
We also narrow the claim behind OOD prompts. Low Core-ID patches are weak non-ID proxies, not guaranteed semantic OOD regions: they may be background, non-discriminative object parts, or contextual content. This limitation can cause false positives, especially on Textures and Places where scene/background statistics may overlap with ID cues; we will explicitly discuss it.
3. Hyperparameter sensitivity
We thank Q4tN, dZAV, and the AC for asking whether TriPrompt depends on fragile hyperparameters. We performed one-factor-at-a-time studies with the local OOD score only, using the same seed and ImageNet-1K protocol. Results are averages over iNaturalist, SUN, Places, and Textures. Defaults are selected once, not tuned per OOD dataset. In each row, entries in the three rightmost columns have the same left-to-right order.
| Parameter (fixed setting) | Shot | Tested values, in order | FPR95 , in the same order | AUROC , in the same order |
|---|---|---|---|---|
| () | 4 | 20, 30, 40, 100 | 25.464, 25.408, 25.616, 25.843 | 93.245, 93.310, 93.223, 93.067 |
| () | 16 | 20, 30, 40, 100 | 22.308, 22.483, 22.834, 23.059 | 93.925, 93.864, 93.779, 93.718 |
| () | 4 | 100, 300, 500, 1000 | 26.286, 25.408, 26.219, 26.724 | 93.067, 93.310, 93.096, 92.914 |
| () | 16 | 100, 300, 500, 1000 | 23.022, 22.483, 22.644, 22.730 | 93.758, 93.864, 93.810, 93.725 |
| Shot | Tested values | FPR95 | AUROC | |
|---|---|---|---|---|
| 4 | 100, 300, 500, 700, 1000 | 27.085, 25.855, 25.408, 25.476, 26.186 | 92.604, 93.046, 93.310, 93.378, 93.328 | |
| 16 | 100, 300, 500, 700, 1000 | 23.094, 22.575, 22.483, 22.784, 23.472 | 93.462, 93.737, 93.864, 93.867, 93.784 |
Overall, TriPrompt is not highly sensitive to a single narrow hyperparameter choice within the tested ranges. The default is best for 4-shot and close to the best 16-shot setting, while nearby values produce similar average FPR95/AUROC. The main pattern is saturation rather than instability: substantially larger , , or does not consistently improve performance and can slightly hurt it. We therefore keep as a shared default without per-OOD-dataset tuning.
4. Generalization across architectures and OOD settings
We thank Q4tN, dZAV, and the AC for highlighting generalization beyond the submitted setting. We agree that the current evidence is limited. The submitted implementation is adapted to ViT-style CLIP and all reported results use ViT-B/16; we have not completed controlled RN50 or ViT-L adaptations and therefore do not claim architecture-agnostic robustness. Extending local prompt extraction and response aggregation to other CLIP architectures is future work.
Likewise, ImageNet-10/ImageNet-20 measure semantic near-OOD shift, not covariate-shifted ID or all full-spectrum/cross-domain regimes. A controlled OpenOOD/full-spectrum evaluation is still being prepared. We report no partial values here and make no claim of robustness to covariate shift or all cross-domain settings before those results are complete.
5. Fairness and transparency of Tables 1 and 4
We thank the AC and Q4tN for pointing out that Tables 1 and 4 can appear manually selected. In the revision, we will make the inclusion audit explicit for every compared and omitted method: (i) task/dataset and OOD split, (ii) 4-/16-shot status, (iii) CLIP backbone, (iv) external or synthetic OOD/negative data, (v) extra training, and (vi) code or directly reproducible reported results. Methods matching the ImageNet-1K OOD task and compatible evaluation protocol will be added to the quantitative comparison; related methods with different training data, backbone, or protocol will be discussed with the specific reason they are not directly comparable. This makes the scope auditable rather than selected by outcome.
Among the reviewer-mentioned works, NegPrompt and SynOOD report the same standard ImageNet-1K OOD datasets and should be explicitly discussed:
| Method | Protocol note | iNat AUROC/FPR95 | SUN AUROC/FPR95 | Places AUROC/FPR95 | Textures AUROC/FPR95 | Avg. AUROC/FPR95 |
|---|---|---|---|---|---|---|
| NegPrompt | negative-prompt learning | 98.73/6.32 | 95.55/22.89 | 93.34/27.60 | 91.60/35.21 | 94.81/23.01 |
| SynOOD | synthetic near-boundary OOD + fine-tuning | 99.57/1.57 | 95.82/20.46 | 97.37/12.12 | 95.29/22.94 | 97.01/14.27 |
| TriPrompt, 16-shot | ID-only prompt learning | 98.22/8.00 | 96.02/16.02 | 92.80/26.02 | 91.30/31.58 | 94.59/20.41 |
This table clarifies the comparison rather than avoiding unfavorable results. SynOOD reports stronger average results, especially on Places and Textures, but uses synthetic near-boundary OOD samples and additional fine-tuning, unlike TriPrompt's 16-shot ID-only protocol. NegPrompt is closer to our prompt-learning setting and is stronger on iNaturalist, while TriPrompt has lower average FPR95 and better SUN/Places FPR95 in the 16-shot setting. For CLIP/VLM methods such as CLIPScope and InterNeg, and for methods such as DeltaEnergy that do not use the same evaluation standard as TriPrompt, we will reproduce and compare them under a unified protocol in future work rather than report speculative numbers here.
Additional clarifications requested by reviewers
We will define every prompt set and symbol at first use, including , , its cardinality, and the bottom- low-Core-ID proxy rule, and add concise pseudocode for prompt initialization, patch selection, the unified loss, and gradient flow. We will also strengthen positioning relative to negative-prompt methods and recent CLIP/VLM OOD detectors, and state the limitations above directly.
Dear Reviewer vw2V,
Thank you for the careful comments. We respond in your order.
1. Low-Core-ID OOD Prompts
We agree the submitted text overstated the interpretation. Low-Core-ID patches are weak non-ID proxies, not guaranteed semantic OOD regions. They may include background, non-discriminative parts, or context; this is not necessarily a trivial degeneration. SSOD, Image Background Serves as Good Proxy for Out-of-distribution Data (ICLR 2023), shows that background can serve as useful OOD/non-ID proxy evidence. TriPrompt builds on this idea for CLIP local prompts by mining frozen-CLIP local responses instead of training a separate OOD head. We will state the limitation: this proxy can fail for class-correlated background, full-object images, or Textures/Places-style scene overlap.
2. Unified Objective
TriPrompt is not temporal three-stage training. Core-ID, OOD, and Far-ID are logical objectives jointly optimized in the same process with one shared backward pass:
CLIP is frozen. Far-ID uses detached local visual features and OOD logits, so it does not update the local visual projection or OOD-logit branch; it updates Far-ID prompts and can update Core-ID local prompts through Core-ID text features.
3. Notation
We will define all symbols before first use. In particular:
where j indexes Core-ID prompts, c classes, i image patches, and r OOD prompts. We will define the low-Core-ID proxy set as
We will replace singular “lowest response/background patch” with bottom-Kt low-Core-ID proxy patches and reserve Omega_core for top Core-ID patches.
4. Reproducibility
You are right that “Training is conducted in three stages” conflicts with the summed objective. We will correct it to “three logically progressive objectives jointly optimized in one training process,” replace frozen-component wording that suggests stage-wise updates, and add pseudocode for prompt initialization, patch selection, loss construction, and shared backward update.
5. Cost
Cost comes from extra local prompts/responses/scoring, not sequential training. Matched ImageNet-1K 16-shot ViT-B/16:
| Method | Train h | GPU-h | Mem/GPU GB | imgs/s | ms/img |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
Local-Prompt is omitted because its public code did not complete under the same protocol.
6. Visualization
We apologize: the original image was accidentally placed in the “Core-ID response” panel. This is a figure-assembly error, not a data or Core-ID prompt failure. We will correct it and explain that Core-ID emphasizes ID evidence, OOD weak non-ID evidence, and Far-ID transition evidence.
None
I thank the authors for their rebuttal and for the substantial effort they have made. However, as the authors have acknowledged, the current manuscript still contains many basic issues and presentation flaws. I hope these can be carefully addressed in a major revision.
-
I would also like to raise an additional concern regarding the use of negative prompts at test time. If these negative prompts are learned primarily from background information, then their role may be rather trivial: normal samples, whether ID or OOD, would likely produce similarly low responses to such prompts, resulting in limited discriminative power. In this respect, I think the interpretations adopted by Local-Prompt and IIM more appropriate than the SSOD interpretation, as the proposed method appears to be more closely related to these two works. Moreover, the current manuscript does not clearly or explicitly explain its connection to SSOD.
-
The authors state that TriPrompt does not involve temporal three-stage training, and that the Core-ID, OOD, and Far-ID objectives are jointly optimized within the same training process using a shared backward pass. However, as I noted previously, Lines 202–203 state that “during the optimization of the Far-ID objective, the CLIP backbone, local projection layer, and previously learned Core-ID and OOD prompts are frozen.” This wording is misleading because the phrase “previously learned Core-ID and OOD prompts” strongly suggests that these prompts are learned in an earlier stage before the Far-ID objective is optimized. The authors should revise this description and explain the actual optimization procedure more precisely.
-
The efficiency/cost comparison should be expanded to include more closely related methods, particularly IIM and Local-Prompt. In addition, the proposed method introduces (N+1) prompts for each category, whereas Local-Prompt uses only a single prompt. This difference in model complexity and prompt budget should be explicitly discussed and, ideally, evaluated through a fair comparison or ablation study.
Overall, I believe the manuscript requires substantial revision, both technically and in terms of presentation, before its contributions can be properly assessed. Therefore, I maintain my negative score.
Thank you for the careful follow-up. We will revise the final manuscript to clarify the method positioning, correct the inconsistent training description, and complete the efficiency discussion.
First, we agree that TriPrompt should be positioned more clearly relative to Local-Prompt and IIM. The role of our Far-ID prompts is closely aligned with the interpretation of IIM negative evidence: Far-ID explicitly captures ambiguous, ID-like local features near the ID/OOD transition, rather than treating them as simple background. In particular, these features are analogous to IIM’s challenging negative patches, which are selected after reliable positive patches within the same ID image.
The OOD-prompt branch is complementary to Far-ID rather than a replacement for it. It uses low-Core-ID regions to extend exploration toward richer OOD-related directions in the feature space; such regions can contain useful proxy OOD information, as suggested by SSOD. Thus, Far-ID handles the difficult near-boundary evidence emphasized by IIM/Local-Prompt, while OOD prompts broaden the modeled non-ID evidence beyond this boundary region. We will revise the manuscript to state this relationship explicitly and add the relevant SSOD discussion.
Second, we appreciate the reviewer for identifying the inconsistent phrase “previously learned Core-ID/OOD prompts.” This wording is inaccurate and can incorrectly imply sequential training. In fact, the objectives are computed jointly in each iteration and optimized through a shared backward pass, with the CLIP backbone frozen. For the Far-ID objective, local visual features and OOD logits are detached; this term does not update the local projection or OOD-logit branch, while updating the Far-ID prompts and affecting Core-ID local prompts through the Core-ID text features. We will correct all related wording and add an explicit optimization/gradient-flow description before the final version.
Third, we agree that Local-Prompt and IIM are the most relevant efficiency baselines. Although TriPrompt uses additional prompt sets, it mines all local evidence from patch tokens of a single frozen-CLIP forward pass. Unlike Local-Prompt, it does not require multiple random crops, crop selection, and repeated image-encoder feature extraction to construct positive/negative supervision. We will explicitly report this prompt-budget versus feature-extraction trade-off. The matched efficiency experiments are largely complete, and we will include finalized measurements and more complete comparisons in the revised manuscript.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents TriPrompt, a CLIP-based few-shot OOD detection framework that decomposes patch-level evidence into three complementary components: Core-ID (in-class discriminative cues), OOD (weak non-ID proxies), and Far-ID (ambiguous mixed regions that are neither clearly ID nor OOD). All three prompt types are learned on patch tokens from a single forward pass without external OOD data, and at inference their local responses are combined with global CLIP confidence to suppress overconfident ID predictions on hard OOD samples. Experiments on ImageNet-1K with four OOD benchmarks show consistent improvements over prior local prompting methods in both 4-shot and 16-shot settings, with compatibility across multiple global scoring baselines.
Strengths and weaknesses
The paper is clearly written and does a good job of motivating why a binary ID/OOD decomposition of local features is insufficient. The positioning relative to prior work, GalLop, Local-Prompt, and LoCoOp, makes it easy to understand what TriPrompt adds on top of existing local prompting pipelines. The experimental evaluation is thorough: the ablation studies (Tables 5–7) systematically isolate the contribution of each module and loss component, the compatibility experiments (Table 2) demonstrate that the local branch is plug-and-play with different global scorers, and the t-SNE and heatmap visualizations (Fig. 2) provide convincing qualitative evidence that the three prompt types capture distinct and complementary regions as intended.
Despite the clear presentation, several concerns limit the strength of the contribution. TriPrompt introduces a three-stage sequential training pipeline, a large hyperparameter surface (K_t, K_f, N_o, K_neg, K_inf, α, λ_div, λ_ortho), and is evaluated only on a single backbone (ViT-B/16) and a single ID scale (ImageNet-1K). Yet the paper provides no training/inference runtime comparisons against baselines, no sensitivity analysis beyond module-level ablations, and no evidence that the added complexity generalizes across architectures (e.g., ViT-L/14, ResNet-based CLIP variants like RN50×16) or smaller label spaces (e.g., ImageNet-100, which the closest baseline Local-Prompt reports), leaving the practical cost-benefit tradeoff largely not studied.
Questions
- Could you report wall-clock training time and inference throughput (images/sec) for TriPrompt vs. Local-Prompt and GalLop on the same hardware? A simple table with GPU-hours and latency per image would suffice.
- How sensitive is performance to K_f (Far-ID mining patches) and K_neg (retained negative scores at inference)? A sweep over 2–3 values for each on a single OOD dataset (e.g., Textures, where gains are most variable) would clarify the performance variability.
- The gains on Textures/Places are modest in the 16-shot setting. Could you provide a brief analysis of what types of OOD samples pass as false positives?
Limitations
Partially. The authors include a "Limitation and Future Work" section (Appendix C) acknowledging heuristic patch mining and sensitivity to the ImageNet-1K setting, which is appreciated. However, the discussion would benefit from explicitly acknowledging the computational overhead of the three-stage pipeline relative to single-stage alternatives, and from discussing when the weak non-ID proxy assumption might fail.
Final justification
The rebuttal substantially addresses the concerns regarding computational cost and hyperparameter sensitivity, while clarifying the scope and limitations of the current evaluation. Although broader architecture and OOD-setting evaluations would strengthen the claims, I believe the contribution and empirical evidence are sufficient for a borderline accept.
Formatting concerns
None
2 comments
Rebuttal
Response to the AC and Reviewers
We thank the AC and reviewers. We respond below to each of the five priorities in the metareview. FPR95 is lower-is-better and AUROC is higher-is-better throughout.
1. Computational cost and efficiency
We thank Q4tN, dZAV, vw2V, and the AC for raising the practical cost question. TriPrompt is not a temporal three-stage training pipeline. “Progressive” describes a logical decomposition of local evidence: Core-ID, weak non-ID/OOD, and ambiguity-prone Far-ID. In every iteration, the objectives are computed together and optimized by one backward pass:
The CLIP backbone is frozen. For the Far-ID loss, local visual features and OOD logits are detached, so this term does not update the local visual projection or OOD-logit branch; it updates Far-ID prompts and can update Core-ID local prompts through the Core-ID text features used in the Far-ID contrast.
We apologize that “three stages” in the appendix misleadingly suggested sequential optimization; we will correct it. The extra overhead instead comes from extra local prompts, local-response computation, and scoring terms. We ran a matched GalLoP comparison under ImageNet-1K 16-shot, CLIP ViT-B/16, identical precision, batch size, and 4-GPU hardware. Under this protocol, TriPrompt is faster and uses less peak training memory.
| Method | Training time (h) | GPU-hours | Peak train memory / GPU (GB) | Inference throughput (images/s) | Latency (ms/image) |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
We do not include Local-Prompt in this table because its public code has not completed under the same device and protocol; comparing incompatible runs would not be informative.
2. Visualization and analysis of the three prompts
We thank vw2V and dZAV for requesting clearer prompt-effect analysis. We sincerely apologize for the submitted visualization. The original input image was accidentally placed in the panel labeled “Core-ID response”; this is a panel-assembly/layout error, not a data issue or a Core-ID failure. The intended interpretation is that Core-ID prompts emphasize class-defining ID evidence, OOD prompts respond to weak non-ID evidence, and Far-ID prompts capture ambiguity-prone transition evidence used by the local score. We will correct the panel in the revision.
We also narrow the claim behind OOD prompts. Low Core-ID patches are weak non-ID proxies, not guaranteed semantic OOD regions: they may be background, non-discriminative object parts, or contextual content. This limitation can cause false positives, especially on Textures and Places where scene/background statistics may overlap with ID cues; we will explicitly discuss it.
3. Hyperparameter sensitivity
We thank Q4tN, dZAV, and the AC for asking whether TriPrompt depends on fragile hyperparameters. We performed one-factor-at-a-time studies with the local OOD score only, using the same seed and ImageNet-1K protocol. Results are averages over iNaturalist, SUN, Places, and Textures. Defaults are selected once, not tuned per OOD dataset. In each row, entries in the three rightmost columns have the same left-to-right order.
| Parameter (fixed setting) | Shot | Tested values, in order | FPR95 , in the same order | AUROC , in the same order |
|---|---|---|---|---|
| () | 4 | 20, 30, 40, 100 | 25.464, 25.408, 25.616, 25.843 | 93.245, 93.310, 93.223, 93.067 |
| () | 16 | 20, 30, 40, 100 | 22.308, 22.483, 22.834, 23.059 | 93.925, 93.864, 93.779, 93.718 |
| () | 4 | 100, 300, 500, 1000 | 26.286, 25.408, 26.219, 26.724 | 93.067, 93.310, 93.096, 92.914 |
| () | 16 | 100, 300, 500, 1000 | 23.022, 22.483, 22.644, 22.730 | 93.758, 93.864, 93.810, 93.725 |
| Shot | Tested values | FPR95 | AUROC | |
|---|---|---|---|---|
| 4 | 100, 300, 500, 700, 1000 | 27.085, 25.855, 25.408, 25.476, 26.186 | 92.604, 93.046, 93.310, 93.378, 93.328 | |
| 16 | 100, 300, 500, 700, 1000 | 23.094, 22.575, 22.483, 22.784, 23.472 | 93.462, 93.737, 93.864, 93.867, 93.784 |
Overall, TriPrompt is not highly sensitive to a single narrow hyperparameter choice within the tested ranges. The default is best for 4-shot and close to the best 16-shot setting, while nearby values produce similar average FPR95/AUROC. The main pattern is saturation rather than instability: substantially larger , , or does not consistently improve performance and can slightly hurt it. We therefore keep as a shared default without per-OOD-dataset tuning.
4. Generalization across architectures and OOD settings
We thank Q4tN, dZAV, and the AC for highlighting generalization beyond the submitted setting. We agree that the current evidence is limited. The submitted implementation is adapted to ViT-style CLIP and all reported results use ViT-B/16; we have not completed controlled RN50 or ViT-L adaptations and therefore do not claim architecture-agnostic robustness. Extending local prompt extraction and response aggregation to other CLIP architectures is future work.
Likewise, ImageNet-10/ImageNet-20 measure semantic near-OOD shift, not covariate-shifted ID or all full-spectrum/cross-domain regimes. A controlled OpenOOD/full-spectrum evaluation is still being prepared. We report no partial values here and make no claim of robustness to covariate shift or all cross-domain settings before those results are complete.
5. Fairness and transparency of Tables 1 and 4
We thank the AC and Q4tN for pointing out that Tables 1 and 4 can appear manually selected. In the revision, we will make the inclusion audit explicit for every compared and omitted method: (i) task/dataset and OOD split, (ii) 4-/16-shot status, (iii) CLIP backbone, (iv) external or synthetic OOD/negative data, (v) extra training, and (vi) code or directly reproducible reported results. Methods matching the ImageNet-1K OOD task and compatible evaluation protocol will be added to the quantitative comparison; related methods with different training data, backbone, or protocol will be discussed with the specific reason they are not directly comparable. This makes the scope auditable rather than selected by outcome.
Among the reviewer-mentioned works, NegPrompt and SynOOD report the same standard ImageNet-1K OOD datasets and should be explicitly discussed:
| Method | Protocol note | iNat AUROC/FPR95 | SUN AUROC/FPR95 | Places AUROC/FPR95 | Textures AUROC/FPR95 | Avg. AUROC/FPR95 |
|---|---|---|---|---|---|---|
| NegPrompt | negative-prompt learning | 98.73/6.32 | 95.55/22.89 | 93.34/27.60 | 91.60/35.21 | 94.81/23.01 |
| SynOOD | synthetic near-boundary OOD + fine-tuning | 99.57/1.57 | 95.82/20.46 | 97.37/12.12 | 95.29/22.94 | 97.01/14.27 |
| TriPrompt, 16-shot | ID-only prompt learning | 98.22/8.00 | 96.02/16.02 | 92.80/26.02 | 91.30/31.58 | 94.59/20.41 |
This table clarifies the comparison rather than avoiding unfavorable results. SynOOD reports stronger average results, especially on Places and Textures, but uses synthetic near-boundary OOD samples and additional fine-tuning, unlike TriPrompt's 16-shot ID-only protocol. NegPrompt is closer to our prompt-learning setting and is stronger on iNaturalist, while TriPrompt has lower average FPR95 and better SUN/Places FPR95 in the 16-shot setting. For CLIP/VLM methods such as CLIPScope and InterNeg, and for methods such as DeltaEnergy that do not use the same evaluation standard as TriPrompt, we will reproduce and compare them under a unified protocol in future work rather than report speculative numbers here.
Additional clarifications requested by reviewers
We will define every prompt set and symbol at first use, including , , its cardinality, and the bottom- low-Core-ID proxy rule, and add concise pseudocode for prompt initialization, patch selection, the unified loss, and gradient flow. We will also strengthen positioning relative to negative-prompt methods and recent CLIP/VLM OOD detectors, and state the limitations above directly.
Dear Reviewer,
Thank you for the constructive review.
1. Scope and Complexity
TriPrompt is not temporal three-stage training. Core-ID, OOD, and Far-ID are logical objectives jointly optimized with one backward pass. The submitted appendix wording was misleading and will be corrected. Cost comes from extra local prompts/responses/scoring, not sequential stages.
We acknowledge the tuning surface: Kt, Kf, No, Kneg, Kinf, alpha, lambda_div, lambda_ortho. Defaults are selected once, not per OOD dataset. Full one-factor sweeps:
| Sweep | Shot | Kf | No | FPR95 ↓ | AUROC ↑ |
|---|---|---|---|---|---|
| Kf | 4 | 20 | 300 | 25.464 | 93.245 |
| Kf | 4 | 30 | 300 | 25.408 | 93.310 |
| Kf | 4 | 40 | 300 | 25.616 | 93.223 |
| Kf | 4 | 100 | 300 | 25.843 | 93.067 |
| Kf | 16 | 20 | 300 | 22.308 | 93.925 |
| Kf | 16 | 30 | 300 | 22.483 | 93.864 |
| Kf | 16 | 40 | 300 | 22.834 | 93.779 |
| Kf | 16 | 100 | 300 | 23.059 | 93.718 |
| No | 4 | 30 | 100 | 26.286 | 93.067 |
| No | 4 | 30 | 300 | 25.408 | 93.310 |
| No | 4 | 30 | 500 | 26.219 | 93.096 |
| No | 4 | 30 | 1000 | 26.724 | 92.914 |
| No | 16 | 30 | 100 | 23.022 | 93.758 |
| No | 16 | 30 | 300 | 22.483 | 93.864 |
| No | 16 | 30 | 500 | 22.644 | 93.810 |
| No | 16 | 30 | 1000 | 22.730 | 93.725 |
Evidence is ImageNet-1K, ViT-B/16 only; no cross-backbone/broader OOD claim.
2. Runtime
Matched ImageNet-1K 16-shot ViT-B/16:
| Method | Train h | GPU-h | Mem/GPU GB | imgs/s | ms/img |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
Local-Prompt did not complete under the same device/protocol, so we avoid incompatible runtime numbers.
3. Kf and Kneg Sweeps
Requested Kf/Kneg sweeps:
| Sweep | Shot | Kf | Kneg | FPR95 ↓ | AUROC ↑ |
|---|---|---|---|---|---|
| Kf | 4 | 20 | 500 | 25.464 | 93.245 |
| Kf | 4 | 30 | 500 | 25.408 | 93.310 |
| Kf | 4 | 40 | 500 | 25.616 | 93.223 |
| Kf | 4 | 100 | 500 | 25.843 | 93.067 |
| Kf | 16 | 20 | 500 | 22.308 | 93.925 |
| Kf | 16 | 30 | 500 | 22.483 | 93.864 |
| Kf | 16 | 40 | 500 | 22.834 | 93.779 |
| Kf | 16 | 100 | 500 | 23.059 | 93.718 |
| Kneg | 4 | 30 | 100 | 27.085 | 92.604 |
| Kneg | 4 | 30 | 300 | 25.855 | 93.046 |
| Kneg | 4 | 30 | 500 | 25.408 | 93.310 |
| Kneg | 4 | 30 | 700 | 25.476 | 93.378 |
| Kneg | 4 | 30 | 1000 | 26.186 | 93.328 |
| Kneg | 16 | 30 | 100 | 23.094 | 93.462 |
| Kneg | 16 | 30 | 300 | 22.575 | 93.737 |
| Kneg | 16 | 30 | 500 | 22.483 | 93.864 |
| Kneg | 16 | 30 | 700 | 22.784 | 93.867 |
| Kneg | 16 | 30 | 1000 | 23.472 | 93.784 |
Kneg=C/2=500 is conservative: performance improves up to 500, then saturates or reverses.
4. Textures/Places False Positives
We agree the 16-shot gains are modest. Low-Core-ID patches are weak non-ID proxies and may capture background, scene context, texture statistics, or non-discriminative parts rather than semantic OOD evidence. This can cause false positives when Textures/Places share local scene or texture cues with ID classes.
5. Limitations
We will explicitly state: TriPrompt adds overhead through extra local prompts/responses/top-K scoring; the weak non-ID proxy can fail for class-correlated background, full-object images, or scene/texture overlap; current implementation is ViT-style CLIP with ViT-B/16 results only.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses the problem of few-shot out-of-distribution (OOD) detection in open-world recognition settings. The authors observe that existing CLIP-based methods often rely on either global image representations or highly discriminative local cues, which limits their ability to handle visually ambiguous cases where in-distribution (ID) and OOD samples share similar local patterns. To tackle this issue, the paper proposes TriPrompt, a progressive local prompting framework that decomposes patch-level evidence into three complementary components: Core-ID cues capturing reliable class-defining evidence, Far-ID cues modeling ambiguous transition-region evidence, and OOD cues derived from weak non-ID proxies mined from patch features. This design enables more fine-grained local reasoning without requiring external OOD data or multi-crop inference.
Strengths and weaknesses
- Strengths:
-
This paper provides comprehensive experimental evaluations and ablation study analysis.
-
This paper decomposes patch-level evidence into three complementary components: Core-ID cues, Far-ID cues, and OOD cues. This design seems novel and interesting.
- Weaknesses:
-
A number of relevant prior works appear to be missing or insufficiently discussed in the related work section. In particular, the paper does not adequately position itself with respect to near-ood detection [1,2,3] and CLIP-based OOD detection approaches [4,5,6,7], which are highly relevant to the problem setting considered in this work.
[1] OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detection
[2] A simple fix to mahalanobis distance for improving near-ood detection
[3] Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection
[4] ∆Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization
[5] Clipscope: Enhancing zero-shot ood detection with bayesian scoring
[6] Learning transferable negative prompts for out-of-distribution detection
[7] Mind the Way You Select Negative Texts: Pursuing the Distance Consistency in OOD Detection with VLMs
-
The robustness of the method under different backbones (CLIP RN50, CLIP ViT-L, CLIP ViT-B) has not been sufficiently studied.
-
The generalization ability of the proposed method under covariate-shifted in-distribution (ID) data remains unclear. The current near-OOD evaluation is constructed by performing class splits within the same dataset, which primarily reflects semantic shift between seen and unseen classes, but does not adequately capture real-world distribution shifts, such as covariate shifts or cross-domain OOD scenarios.
As a result, the reported evaluation may not fully represent the model’s robustness in more realistic open-set conditions, where both covariate shift (changes in imaging conditions, style, or domain while preserving semantics) and semantic shift (changes in object category) coexist and must be disentangled.
Therefore, it is highly recommended to follow the full-spectrum OOD detection evaluation protocols [1,4] and extend the experimental evaluation to more comprehensive OOD settings. In particular, the authors should explicitly evaluate the model’s ability to distinguish between covariate-shifted ID samples and semantic-shifted OOD samples. Such an analysis would provide a more rigorous assessment of whether the proposed method truly improves open-set generalization, or primarily benefits within-dataset semantic separation.
Questions
-
How are the hyperparameters in TriPrompt determined, and are they sensitive to different datasets? The large number of hyperparameters may require additional tuning time on new datasets, which raises concerns about the practicality of the method.
-
Since the proposed method requires Core-ID local prompt learning, OOD prompt learning, and Far-ID prompt learning, it inevitably incurs higher GPU resource consumption and longer training time. The authors should compare its efficiency with that of competitive methods.
Limitations
Yes
Final justification
I sincerely appreciate the authors' clarifications and additional experimental results. Their rebuttal has effectively addressed most of my concerns. Accordingly, I would like to increase my original rating to 4.
Formatting concerns
No
2 comments
Rebuttal
Response to the AC and Reviewers
We thank the AC and reviewers. We respond below to each of the five priorities in the metareview. FPR95 is lower-is-better and AUROC is higher-is-better throughout.
1. Computational cost and efficiency
We thank Q4tN, dZAV, vw2V, and the AC for raising the practical cost question. TriPrompt is not a temporal three-stage training pipeline. “Progressive” describes a logical decomposition of local evidence: Core-ID, weak non-ID/OOD, and ambiguity-prone Far-ID. In every iteration, the objectives are computed together and optimized by one backward pass:
The CLIP backbone is frozen. For the Far-ID loss, local visual features and OOD logits are detached, so this term does not update the local visual projection or OOD-logit branch; it updates Far-ID prompts and can update Core-ID local prompts through the Core-ID text features used in the Far-ID contrast.
We apologize that “three stages” in the appendix misleadingly suggested sequential optimization; we will correct it. The extra overhead instead comes from extra local prompts, local-response computation, and scoring terms. We ran a matched GalLoP comparison under ImageNet-1K 16-shot, CLIP ViT-B/16, identical precision, batch size, and 4-GPU hardware. Under this protocol, TriPrompt is faster and uses less peak training memory.
| Method | Training time (h) | GPU-hours | Peak train memory / GPU (GB) | Inference throughput (images/s) | Latency (ms/image) |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
We do not include Local-Prompt in this table because its public code has not completed under the same device and protocol; comparing incompatible runs would not be informative.
2. Visualization and analysis of the three prompts
We thank vw2V and dZAV for requesting clearer prompt-effect analysis. We sincerely apologize for the submitted visualization. The original input image was accidentally placed in the panel labeled “Core-ID response”; this is a panel-assembly/layout error, not a data issue or a Core-ID failure. The intended interpretation is that Core-ID prompts emphasize class-defining ID evidence, OOD prompts respond to weak non-ID evidence, and Far-ID prompts capture ambiguity-prone transition evidence used by the local score. We will correct the panel in the revision.
We also narrow the claim behind OOD prompts. Low Core-ID patches are weak non-ID proxies, not guaranteed semantic OOD regions: they may be background, non-discriminative object parts, or contextual content. This limitation can cause false positives, especially on Textures and Places where scene/background statistics may overlap with ID cues; we will explicitly discuss it.
3. Hyperparameter sensitivity
We thank Q4tN, dZAV, and the AC for asking whether TriPrompt depends on fragile hyperparameters. We performed one-factor-at-a-time studies with the local OOD score only, using the same seed and ImageNet-1K protocol. Results are averages over iNaturalist, SUN, Places, and Textures. Defaults are selected once, not tuned per OOD dataset. In each row, entries in the three rightmost columns have the same left-to-right order.
| Parameter (fixed setting) | Shot | Tested values, in order | FPR95 , in the same order | AUROC , in the same order |
|---|---|---|---|---|
| () | 4 | 20, 30, 40, 100 | 25.464, 25.408, 25.616, 25.843 | 93.245, 93.310, 93.223, 93.067 |
| () | 16 | 20, 30, 40, 100 | 22.308, 22.483, 22.834, 23.059 | 93.925, 93.864, 93.779, 93.718 |
| () | 4 | 100, 300, 500, 1000 | 26.286, 25.408, 26.219, 26.724 | 93.067, 93.310, 93.096, 92.914 |
| () | 16 | 100, 300, 500, 1000 | 23.022, 22.483, 22.644, 22.730 | 93.758, 93.864, 93.810, 93.725 |
| Shot | Tested values | FPR95 | AUROC | |
|---|---|---|---|---|
| 4 | 100, 300, 500, 700, 1000 | 27.085, 25.855, 25.408, 25.476, 26.186 | 92.604, 93.046, 93.310, 93.378, 93.328 | |
| 16 | 100, 300, 500, 700, 1000 | 23.094, 22.575, 22.483, 22.784, 23.472 | 93.462, 93.737, 93.864, 93.867, 93.784 |
Overall, TriPrompt is not highly sensitive to a single narrow hyperparameter choice within the tested ranges. The default is best for 4-shot and close to the best 16-shot setting, while nearby values produce similar average FPR95/AUROC. The main pattern is saturation rather than instability: substantially larger , , or does not consistently improve performance and can slightly hurt it. We therefore keep as a shared default without per-OOD-dataset tuning.
4. Generalization across architectures and OOD settings
We thank Q4tN, dZAV, and the AC for highlighting generalization beyond the submitted setting. We agree that the current evidence is limited. The submitted implementation is adapted to ViT-style CLIP and all reported results use ViT-B/16; we have not completed controlled RN50 or ViT-L adaptations and therefore do not claim architecture-agnostic robustness. Extending local prompt extraction and response aggregation to other CLIP architectures is future work.
Likewise, ImageNet-10/ImageNet-20 measure semantic near-OOD shift, not covariate-shifted ID or all full-spectrum/cross-domain regimes. A controlled OpenOOD/full-spectrum evaluation is still being prepared. We report no partial values here and make no claim of robustness to covariate shift or all cross-domain settings before those results are complete.
5. Fairness and transparency of Tables 1 and 4
We thank the AC and Q4tN for pointing out that Tables 1 and 4 can appear manually selected. In the revision, we will make the inclusion audit explicit for every compared and omitted method: (i) task/dataset and OOD split, (ii) 4-/16-shot status, (iii) CLIP backbone, (iv) external or synthetic OOD/negative data, (v) extra training, and (vi) code or directly reproducible reported results. Methods matching the ImageNet-1K OOD task and compatible evaluation protocol will be added to the quantitative comparison; related methods with different training data, backbone, or protocol will be discussed with the specific reason they are not directly comparable. This makes the scope auditable rather than selected by outcome.
Among the reviewer-mentioned works, NegPrompt and SynOOD report the same standard ImageNet-1K OOD datasets and should be explicitly discussed:
| Method | Protocol note | iNat AUROC/FPR95 | SUN AUROC/FPR95 | Places AUROC/FPR95 | Textures AUROC/FPR95 | Avg. AUROC/FPR95 |
|---|---|---|---|---|---|---|
| NegPrompt | negative-prompt learning | 98.73/6.32 | 95.55/22.89 | 93.34/27.60 | 91.60/35.21 | 94.81/23.01 |
| SynOOD | synthetic near-boundary OOD + fine-tuning | 99.57/1.57 | 95.82/20.46 | 97.37/12.12 | 95.29/22.94 | 97.01/14.27 |
| TriPrompt, 16-shot | ID-only prompt learning | 98.22/8.00 | 96.02/16.02 | 92.80/26.02 | 91.30/31.58 | 94.59/20.41 |
This table clarifies the comparison rather than avoiding unfavorable results. SynOOD reports stronger average results, especially on Places and Textures, but uses synthetic near-boundary OOD samples and additional fine-tuning, unlike TriPrompt's 16-shot ID-only protocol. NegPrompt is closer to our prompt-learning setting and is stronger on iNaturalist, while TriPrompt has lower average FPR95 and better SUN/Places FPR95 in the 16-shot setting. For CLIP/VLM methods such as CLIPScope and InterNeg, and for methods such as DeltaEnergy that do not use the same evaluation standard as TriPrompt, we will reproduce and compare them under a unified protocol in future work rather than report speculative numbers here.
Additional clarifications requested by reviewers
We will define every prompt set and symbol at first use, including , , its cardinality, and the bottom- low-Core-ID proxy rule, and add concise pseudocode for prompt initialization, patch selection, the unified loss, and gradient flow. We will also strengthen positioning relative to negative-prompt methods and recent CLIP/VLM OOD detectors, and state the limitations above directly.
Dear Reviewer,
Thank you for the detailed critique. We respond in your order.
1. Related Work
We will expand near-OOD and CLIP/VLM OOD discussion. For near-OOD, we will discuss OpenOOD v1.5, Mahalanobis-distance near-OOD fixes, and SynOOD. For CLIP/VLM OOD, we will add DeltaEnergy, CLIPScope, transferable negative prompts/NegPrompt, and InterNeg. DeltaEnergy uses a different evaluation standard from TriPrompt; we will reproduce and compare under a unified standard rather than claim fair outperformance.
| Method | Protocol | Avg FPR95 ↓ | Avg AUROC ↑ |
|---|---|---|---|
| NegPrompt | negative prompts | 23.01 | 94.81 |
| SynOOD | synthetic OOD + fine-tuning | 14.27 | 97.01 |
| TriPrompt 16-shot | ID-only prompts | 20.41 | 94.59 |
This clarifies protocol differences: SynOOD is stronger but uses synthetic near-boundary OOD data and extra fine-tuning; NegPrompt is closer to our setting.
2. Architectures
We agree this is a limitation. Current implementation and claims are for ViT-style CLIP, with submitted results on ViT-B/16. We have not completed RN50 or ViT-L adaptations, so we will not claim architecture-agnostic robustness.
3. Covariate/Full-Spectrum OOD
ImageNet-10/20 class splits mainly measure semantic near-OOD shift. They do not establish robustness to covariate-shifted ID or full-spectrum/cross-domain OOD. OpenOOD/full-spectrum evaluation is in preparation; we report no incomplete numbers and make no such robustness claim.
4. Hyperparameters
Defaults are selected once, not per OOD dataset. One-factor sweeps with local OOD score on ImageNet-1K OOD show broad behavior rather than a fragile optimum.
| Sweep | Shot | Kf | No | Kneg | FPR95 ↓ | AUROC ↑ |
|---|---|---|---|---|---|---|
| Kf | 4 | 20 | 300 | 500 | 25.464 | 93.245 |
| Kf | 4 | 30 | 300 | 500 | 25.408 | 93.310 |
| Kf | 4 | 40 | 300 | 500 | 25.616 | 93.223 |
| Kf | 4 | 100 | 300 | 500 | 25.843 | 93.067 |
| Kf | 16 | 20 | 300 | 500 | 22.308 | 93.925 |
| Kf | 16 | 30 | 300 | 500 | 22.483 | 93.864 |
| Kf | 16 | 40 | 300 | 500 | 22.834 | 93.779 |
| Kf | 16 | 100 | 300 | 500 | 23.059 | 93.718 |
| No | 4 | 30 | 100 | 500 | 26.286 | 93.067 |
| No | 4 | 30 | 300 | 500 | 25.408 | 93.310 |
| No | 4 | 30 | 500 | 500 | 26.219 | 93.096 |
| No | 4 | 30 | 1000 | 500 | 26.724 | 92.914 |
| No | 16 | 30 | 100 | 500 | 23.022 | 93.758 |
| No | 16 | 30 | 300 | 500 | 22.483 | 93.864 |
| No | 16 | 30 | 500 | 500 | 22.644 | 93.810 |
| No | 16 | 30 | 1000 | 500 | 22.730 | 93.725 |
| Kneg | 4 | 30 | 300 | 100 | 27.085 | 92.604 |
| Kneg | 4 | 30 | 300 | 300 | 25.855 | 93.046 |
| Kneg | 4 | 30 | 300 | 500 | 25.408 | 93.310 |
| Kneg | 4 | 30 | 300 | 700 | 25.476 | 93.378 |
| Kneg | 4 | 30 | 300 | 1000 | 26.186 | 93.328 |
| Kneg | 16 | 30 | 300 | 100 | 23.094 | 93.462 |
| Kneg | 16 | 30 | 300 | 300 | 22.575 | 93.737 |
| Kneg | 16 | 30 | 300 | 500 | 22.483 | 93.864 |
| Kneg | 16 | 30 | 300 | 700 | 22.784 | 93.867 |
| Kneg | 16 | 30 | 300 | 1000 | 23.472 | 93.784 |
Moderate Kf/No values are best, larger values do not consistently help, and Kneg=C/2=500 is a stable shared default.
5. Efficiency
TriPrompt is not sequential three-stage training; Core-ID/OOD/Far-ID losses are jointly optimized. Cost comes from extra local prompts/responses/scoring.
| Method | Train h | GPU-h | Mem/GPU GB | imgs/s | ms/img |
|---|---|---|---|---|---|
| GalLoP | 4.10 | 16.41 | 21.9 | 862.1 | 1.16 |
| TriPrompt | 2.30 | 9.21 | 11.8 | 1219.5 | 0.82 |
Local-Prompt is omitted because its public code did not complete under the same device/protocol.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear AC,
Thank you for summarizing the five main issues.
1. Efficiency
TriPrompt is not sequential three-stage training. Core-ID, OOD, and Far-ID are logical objectives jointly optimized in one training process; the extra cost comes from local prompts/responses/scoring, not stage-wise training. CLIP is frozen; Far-ID uses detached local visual features and OOD logits.
Matched ImageNet-1K 16-shot ViT-B/16, same precision/batch/4-GPU hardware:
We did not report Local-Prompt runtime because its public code did not complete under the same device/protocol.
2. Prompt Analysis
We apologize for the visualization error: the original image was accidentally placed in the “Core-ID response” panel. This is a figure-assembly error, not a data or method failure; we will correct it. Low-Core-ID patches are weak non-ID proxies, not guaranteed semantic OOD regions. This is motivated by SSOD, Image Background Serves as Good Proxy for Out-of-distribution Data (ICLR 2023): background can be useful OOD/non-ID proxy evidence. TriPrompt adapts this idea to CLIP local prompts. We will state failure cases: class-correlated backgrounds, full-object images, and Textures/Places-style scene overlap.
3. Hyperparameters
Defaults are selected once, not per OOD dataset. One-factor sweeps over ImageNet-1K OOD show saturation rather than knife-edge sensitivity: larger values do not consistently help. Representative averages over iNaturalist/SUN/Places/Textures:
4. Generalization
Current evidence is limited to ViT-style CLIP with ViT-B/16. We do not claim RN50/ViT-L or architecture-agnostic robustness. ImageNet-10/20 mainly test semantic near-OOD shift; OpenOOD/full-spectrum covariate/cross-domain evaluation is still in preparation, so we report no unfinished numbers.
5. Tables 1/4 Fairness
We will add an inclusion audit: dataset/split, shot setting, backbone, external/synthetic OOD data, extra training, and code/reproducibility. Relevant comparisons raised by reviewers:
SynOOD is stronger but uses synthetic OOD and extra fine-tuning. NegPrompt is closer and stronger on iNaturalist, while TriPrompt has lower average FPR95. For CLIPScope/InterNeg and DeltaEnergy, we will compare under a unified protocol rather than claim unverified superiority.