- Rating
- 3
- Clarity
- 2
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 2
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
Paper formatting concerns
NA
Response to the AC and Reviewers
We thank the AC and reviewers. We respond below to each of the five priorities in the metareview.
FPR95is lower-is-better andAUROCis 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:
L=Lglobal+LCore-ID+LOOD+LFar-ID.
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.
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.
Overall, TriPrompt is not highly sensitive to a single narrow hyperparameter choice within the tested ranges. The default Kf=30,No=300 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 Kf, No, or Kneg does not consistently improve performance and can slightly hurt it. We therefore keep Kneg=C/2=500 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:
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 tc,j+, Ωbg, its cardinality, and the bottom-Kt 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.