Memory-Driven Contrastive Embedding Enhancement for Fine-Grained Open-Set Semi-Supervised Learning
Yinan Han, Qing-Yuan Jiang
NeurIPS 2026
TL;DR. We improve VLM-based open-set semi-supervised learning with a memory-driven contrastive embedding enhancement framework.
Abstract. Existing VLM-based open-set semi-supervised learning (OSSL) methods primarily rely on coarse-grained class-level semantics, thereby hampering the accurate identification of in-distribution (ID) versus out-of-distribution (OOD) samples. To overcome this issue, we propose a novel memory-driven contrastive embedding enhancement approach by integrating fine-grained visual contrastive cues into class-level textual side. Concretely, we design a memory bank to construct and maintain a diverse collection of the most distinctive fine-grained visual embeddings. Guided by the memory bank, visual information is incorporated into the textual side through cross-modal contrastive learning, enabling more discriminative fine-grained separation between ID and OOD samples. Consequently, the learned OSSL model exhibits improved contrastive discriminability across known and unknown categories. Extensive experiments demonstrate that our method achieves state-of-the-art (SOTA) performance on multiple fine-grained datasets. The code is available at https://github.com/njustkmg/NeurIPS26-MDCEE.
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:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a memory-driven embedding enhancement framework for fine-grained open-set semi-supervised learning by enriching CLIP text embeddings with class-wise visual memories. Reviewers generally agree that the motivation is clear, the method is technically sound, and the empirical evaluation is reasonably comprehensive. However, concerns remain regarding the limited methodological novelty, as the approach largely builds upon existing components and achieves mostly incremental improvements over the closely related CFSG-CLIP baseline. More importantly, the central claim of improved fine-grained ID/OOD separation is not yet sufficiently supported, due to the absence of direct OOD detection metrics such as AUROC and FPR95, paired significance tests, near- versus far-OOD analyses, and stronger evidence that the memory mechanism and alignment module genuinely capture discriminative fine-grained cues. The omission of Semi-Aves and the limited analysis of memory contamination and cross-dataset representation behavior further weaken the empirical case. The rebuttal should therefore clarify the novelty beyond prior CLIP-based OSSL methods, explain the baseline reproduction protocol and benchmark selection, and provide stronger evidence for the proposed mechanism and the statistical robustness of the reported gains. Overall, I currently lean borderline reject.
Final justification
This work addresses the central challenge of fine-grained ID/OOD separation in open-set semi-supervised learning by enriching CLIP text embeddings with class-wise visual memories and contrastive positive/negative targets. Reviewers generally found the paper well motivated, technically sound, and clearly presented, while initially raising concerns about limited novelty and insufficient direct evidence for the claimed ID/OOD separation improvements. The rebuttal substantially addresses the empirical concerns through AUROC/FPR95 results, near-/far-OOD analysis, Semi-Aves evaluation, matched-seed significance tests, and additional analyses of patch selection, alignment, memory contamination, and representation behavior. The claims of the paper are therefore considerably better supported after rebuttal, although the methodological contribution remains somewhat incremental and some mechanism claims, particularly regarding patch discriminativeness, should be stated more cautiously. Overall, I find this submission empirically convincing and technically solid after rebuttal, with novelty as the main remaining weakness, and I lean borderline positive.
Read meta-review
Meta-review
This paper proposes a memory-driven embedding enhancement framework for fine-grained open-set semi-supervised learning by enriching CLIP text embeddings with class-wise visual memories. Reviewers generally agree that the motivation is clear, the method is technically sound, and the empirical evaluation is reasonably comprehensive. However, concerns remain regarding the limited methodological novelty, as the approach largely builds upon existing components and achieves mostly incremental improvements over the closely related CFSG-CLIP baseline. More importantly, the central claim of improved fine-grained ID/OOD separation is not yet sufficiently supported, due to the absence of direct OOD detection metrics such as AUROC and FPR95, paired significance tests, near- versus far-OOD analyses, and stronger evidence that the memory mechanism and alignment module genuinely capture discriminative fine-grained cues. The omission of Semi-Aves and the limited analysis of memory contamination and cross-dataset representation behavior further weaken the empirical case. The rebuttal should therefore clarify the novelty beyond prior CLIP-based OSSL methods, explain the baseline reproduction protocol and benchmark selection, and provide stronger evidence for the proposed mechanism and the statistical robustness of the reported gains. Overall, I currently lean borderline reject.
Final justification
This work addresses the central challenge of fine-grained ID/OOD separation in open-set semi-supervised learning by enriching CLIP text embeddings with class-wise visual memories and contrastive positive/negative targets. Reviewers generally found the paper well motivated, technically sound, and clearly presented, while initially raising concerns about limited novelty and insufficient direct evidence for the claimed ID/OOD separation improvements. The rebuttal substantially addresses the empirical concerns through AUROC/FPR95 results, near-/far-OOD analysis, Semi-Aves evaluation, matched-seed significance tests, and additional analyses of patch selection, alignment, memory contamination, and representation behavior. The claims of the paper are therefore considerably better supported after rebuttal, although the methodological contribution remains somewhat incremental and some mechanism claims, particularly regarding patch discriminativeness, should be stated more cautiously. Overall, I find this submission empirically convincing and technically solid after rebuttal, with novelty as the main remaining weakness, and I lean borderline positive.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a visual memory-driven embedding enhancement for open-set semi-supervised learning, using class-wise fine-grained visual patches to enrich CLIP-style text embeddings for better ID classification and OOD rejection.
Strengths and weaknesses
Strength:
- Clear problem motivation. The paper identifies one reasonable problem in fine-grained OOSL that CLIP's coarse text prompt may be insufficient to differentiate ID and OOD during open-set semi-supervised learning.
- Coherent method pipeline. The paper introduces a coherent and comprehensive pipeline, including patch-level visual cue selection, class-wise stabilized memory bank, memory-to-text fusion, poisoned contrastive learning, consistency regularization.
- The experiments cover and compare several types of baselines including CLIP-based and traditional OOSL methods. The paper also provides detailed ablation studies, poisoning strategy discussion, patch visualization as supplementary analyses.
Weaknesses:
- The paper argues that coarse text semantics are insufficient for fine-grained near-OOD separation, but a direct near-OOD vs far-OOD diagnostic would better support this claim. If the paper's motivation is correct, near-OOD should be more difficult than far-OOD. For CIFAR-100, one can set OOD classes from the same superclass as near-OOD and OOD classes from different superclasses as far-OOD. A strong method should reduce the performance gap between near-OOD and far-OOD.
- The method assumes that high cosine similarity between a patch token and a class text embedding identifies fine-grained discriminative cues, but CLIP's image-text alignment does not automatically guarantee reliable patch-level semantic alignment.
- The alignment module is claimed to bridge vision-text modality gap, but from the formulation it is a visual-side projection. The method seems to assume that g(.) projects selected visual patches into a text-compatible space, but the formulation does not clearly show a direct alignment objective between the projected patch features g(a_i^j) and the corresponding text embeddings. Therefore, it is unclear whether g(.) truly learns a text-compatible patch representation or simply serves as a visual-side projection optimized indirectly through downstream classification and contrastive losses. Relatedly, since the final enriched embedding z_i is produced by fusing visual memory with the base text embedding, it may be better interpreted as a learned visual-text hybrid prototype rather than a purely textual embedding. It would be useful to see ablations or similarity diagnostics showing that alignment actually improves visual-text correspondence.
- The method motivation is based on local fine-grained patches, while the main contrastive objective aligns enriched text embeddings with global image embeddings. This indirect path could be better justified or diagnosed.
Questions
- How does the method ensure that the selected top-K patches are discriminative for fine-grained labels, rather than merely salient object-level regions?
- Since CLIP is primarily trained with image-level text supervision, why should high cosine similarity between a patch token and a class text embedding reliably indicate a fine-grained class-discriminative visual cue?
- The paper states that the alignment module g(.) is optimized using base textual embeddings through L_Memory. Could the authors clarify how this objective directly aligns the projected patch features g(a_i^j) with textual embeddings, rather than only improving the downstream image-text classification objective?
- On CUB-200-2011 with 5 labeled samples, the method shows a large gain in ID accuracy but a relatively small gain in balanced accuracy. How should this discrepancy be interpreted in the context of the paper’s main goal of improving fine-grained open-set recognition?
Limitations
- High-confidence unlabeled samples may contaminate the memory bank if early pseudo-labels are wrong. EMA may reduce occasional noise, but systematic mistakes could still be reinforced.
- Top-K patch selection may depend on patch size or token granularity. Very coarse patches may mix object and background, while very fine patches may lose semantic completeness.
- Although the paper compares several poisoning strategies, the random poisoned embeddings may still not faithfully simulate near-OOD confusion under superclass-level or semantically controlled near-OOD settings.
- Enriched embeddings are learned hybrid prototypes rather than natural language text embeddings, so their relation to the original CLIP text embedding manifold may deserve further analysis.
Final justification
The rebuttal substantially addressed several of my main concerns. In particular, the added AUROC/FPR95 results provide more direct evidence for the ID/OOD separability claim, and the CIFAR-100 near-/far-OOD diagnostic directly supports the paper’s motivation that the method helps more challenging fine-grained OOD separation. The corrected formulation of the alignment objective and the ablation of g(.) also clarify the role of the alignment module.
Some concerns remain, but I view them mainly as claim-precision and revision issues rather than fundamental flaws. The feature-source comparison supports top-K patches as useful class-relevant cues, but it still does not fully prove that the selected patches are necessarily fine-label-discriminative rather than generally salient or class-relevant regions. I therefore think the paper should phrase patch-text similarity as a class-relevance prior and avoid over-interpreting patch visualizations as direct evidence of fine-label-discriminative mechanisms.
Overall, the new analyses make the empirical case substantially stronger. My recommendation is borderline positive, conditional on including the added OOD metrics, near-/far-OOD analysis, corrected alignment formulation, and relevant ablations in the revision, and on tightening the mechanism claims by presenting patch-text similarity as a class-relevance prior rather than direct evidence of fine-label-discriminative patch selection.
Formatting concerns
I did not notice any major formatting, anonymity concerns.
3 comments
Rebuttal
We thank the reviewer for the constructive and insightful suggestions. We respond to each question below and will add these analyses to the final version.
Q1-Q2. Validate that top- patches capture fine-grained discriminative cues. Why should high cosine similarity between a patch token and a class text embedding reliably indicate a fine-grained class-discriminative visual cue?
A1-A2. Although CLIP provides only global image–text supervision, its ViT image embedding is produced by a class token that interacts with patch tokens through self-attention. Thus, patch features indirectly receive semantic supervision from the global alignment objective. This mechanism allows semantically relevant regions to contribute more strongly to the global representation, making high-similarity patches more likely to contain class-relevant cues. We therefore use patch–text similarity as a class-relevance prior.
The alignment module further bridges the modality gap between selected visual patches and textual embeddings, while the memory aggregates strategy recurring fine-grained visual cues across samples and reduces instance-specific noise. Appendix C.1 shows that the top-5 patches capture class-relevant details, such as beaks, plumage, fur textures, car grilles and aircraft fuselage. We further compare different memory feature sources in Table 1. Top- patches perform best across all metrics, whereas global image features and random patches may introduce irrelevant or background information into the memory.
Table 1. Effect of different memory feature sources.
| Memory Feature Source | ID Acc. | Bal. Acc. | AUROC |
|---|---|---|---|
| Global image feature | 91.20 | 89.10 | 75.30 |
| Random patches | 89.30 | 88.46 | 73.20 |
| Top- patches | 92.59 | 91.79 | 78.95 |
Q3. Clarify how directly aligns projected patch features with textual embeddings.
A3. We thank the reviewer for identifying a notation error in Eq. (13). The corrected objective is , where and denote the cross-entropy and consistency regularization losses, respectively.
Here, is obtained by averaging the selected patch-level tokens after projection by . Since is directly compared with the base textual embeddings in , minimizing this loss updates to align the projected patch features with their corresponding class textual embeddings. We will correct Eq. (13) in the final version.
We further conduct an ablation study on using Stanford Dogs and CUB-200-2011 under the 20-label setting. As shown in Table 2, these consistent gains demonstrate the effectiveness of in bridging the visual–textual modality gap.
Table 2. Ablation study of the alignment module .
| Dataset | Variant | ID Acc. | Bal. Acc. | AUROC |
|---|---|---|---|---|
| Stanford Dogs | Without | 89.37 | 87.70 | 73.89 |
| With | 90.24 | 88.44 | 77.65 | |
| CUB-200-2011 | Without | 90.93 | 90.15 | 75.48 |
| With | 92.59 | 91.79 | 78.95 |
Q4. Clarify the differing ID and balanced accuracy gains on CUB-200-2011.
A4. The apparent discrepancy arises because the two metrics evaluate different tasks. ID accuracy measures fine-grained classification among ID classes, whereas balanced accuracy jointly evaluates ID class recognition and OOD rejection. Therefore, their improvement magnitudes are not directly comparable.
To more directly quantify ID–OOD separation, we additionally report AUROC and FPR95. As shown in Table 3, under the 5-label setting on CUB-200-2011, our method improves AUROC from 65.78 to 76.45 and reduces FPR95 from 87.96 to 81.47 compared with CFSG-CLIP. Together with the improved ID accuracy, these results provide clear evidence that our method substantially improves fine-grained open-set recognition.
Table 3. AUROC and FPR95 comparison with CFSG-CLIP.
| Dataset | Setting | AUROC | FPR95 |
|---|---|---|---|
| CFSG / Ours | CFSG / Ours | ||
| Stanford Dogs | 5-label | 67.35 / 77.48 | 88.33 / 79.68 |
| 20-label | 69.29 / 77.65 | 86.87 / 78.83 | |
| Stanford Cars | 5-label | 63.01 / 79.84 | 89.67 / 76.51 |
| 20-label | 64.29 / 82.35 | 88.13 / 71.31 | |
| CUB-200-2011 | 5-label | 65.78 / 76.45 | 87.96 / 81.47 |
| 20-label | 71.84 / 78.95 | 82.17 / 77.28 | |
| FGVC-Aircraft | 5-label | 50.16 / 53.39 | 95.26 / 94.57 |
| 20-label | 54.29 / 62.49 | 94.98 / 90.77 |
Q5. Provide a direct near-OOD versus far-OOD diagnostic on CIFAR100.
A5. Following the reviewer’s suggestion, we construct matched near- and far-OOD subsets on CIFAR-100 using its superclass hierarchy. Near-OOD classes belong to the same superclasses as the ID classes, whereas far-OOD classes come from disjoint superclasses. As shown in Table 4, our method improves both AUROC and FPR95 on near- and far-OOD subsets. Notably, it reduces the near–far AUROC gap from 17.40 to 13.56, demonstrating a stronger ability to distinguish challenging near-OOD samples from ID samples.
Table 4. Near- and far-OOD detection comparison on CIFAR-100.
| Method | Near-OOD AUROC ↑ | Far-OOD AUROC ↑ | Near–far gap ↓ | Near-OOD FPR95 ↓ | Far-OOD FPR95 ↓ |
|---|---|---|---|---|---|
| CFSG-CLIP | 64.98 | 82.38 | 17.40 | 89.65 | 76.70 |
| Ours | 71.09 | 84.65 | 13.56 | 87.60 | 68.94 |
Q6. Explain why the contrastive objective uses global image embeddings rather than patch-level tokens.
A6. Direct patch-level contrast would require additional patch annotations to determine which patches should be treated as class-specific positives, together with extra computation for patch-wise alignment. Instead, we aggregate the selected local cues into the class-wise memory and inject them into base textual embedding . After this aggregation, becomes a class-level enriched textual embedding and can be effectively aligned with the global image embedding, which aggregates information from patch tokens. This design avoids additional patch annotations and provides a more resource-efficient way to incorporate local fine-grained cues into image-level contrastive learning.
Q7. Analyze the robustness of memory updates to incorrect pseudo-labels.
A7. We acknowledge that systematic pseudo-label errors may contaminate the memory bank. Our method mitigates this risk through a 10,000-iteration warm-up, a high-confidence filtering threshold, and an EMA-based memory update strategy. To directly assess this risk, we track the quality of unlabeled samples accepted for memory updates in Table 5. Throughout training, ID pseudo-label accuracy remains above 94.7%, while OOD contamination remains stable at approximately 16%. These results indicate that pseudo-label errors do not substantially accumulate during memory updates.
Table 5. Analysis of pseudo-label quality and OOD contamination during memory updates.
| Training iteration | Unlabeled samples accepted rate (%) | ID pseudo-label accuracy (%)↑ | OOD contamination rate (%) ↓ |
|---|---|---|---|
| 12,288 | 63.33 | 94.95 | 15.57 |
| 25,600 | 63.94 | 95.15 | 15.97 |
| 51,200 | 64.81 | 94.71 | 16.13 |
Q8. Clarify the role of random poisoned strategy in modeling near-OOD confusion.
A8. Random poisoning is intended to provide diverse non-target visual cues as a contrastive regularizer, rather than to explicitly simulate the near-OOD distribution. Nearest-negative sampling repeatedly emphasizes a small set of highly similar classes. Since fine-grained classes often share valid attributes, excessively pushing apart these pairs may distort their semantic structure and concentrate the gradients on only a few class pairs. Random sampling instead exposes the model to broader cross-class cues over training. We further analyze the sampled negative distributions. As shown in Table 6, random sampling provides broader and more balanced negative coverage, supporting the importance of negative diversity rather than negative hardness alone.
Table 6. Effect of poisoning strategies on negative-class diversity and recognition performance.
| Strategy | Negative-class coverage ↑ | Sampling entropy ↑ | ID Acc. ↑ | Bal. Acc. ↑ |
|---|---|---|---|---|
| Nearest negative | 0.65 | 0.88 | 92.00 | 91.15 |
| Random sampling | 1.00 | 0.98 | 92.59 | 91.79 |
Q9. Clarify the relationship between enriched embeddings and the original CLIP text embedding space.
A9. We further analyze the relationship between the enriched embeddings and the original CLIP text embedding space. We measure the cosine similarity between each enriched embedding and its corresponding base textual embedding. We also compute Pearson and Spearman correlations to quantify how well the original inter-class structure is preserved after enrichment. As shown in Table 7, the enriched embeddings retain high similarity to their source embeddings across all datasets, while the Pearson and Spearman correlations show that the overall inter-class semantic structure is well preserved. These results indicate that memory enrichment enhances class discriminability while retaining the original CLIP textual semantics.
Table 7. Analysis of the relationship between enriched embeddings and the original CLIP text embedding space.
| Dataset | Cosine Similarity to Source | Pearson Correlation | Spearman Correlation |
|---|---|---|---|
| Stanford Dogs | 0.938 | 0.819 | 0.818 |
| Stanford Cars | 0.941 | 0.787 | 0.770 |
| CUB-200-2011 | 0.942 | 0.801 | 0.764 |
| FGVC-Aircraft | 0.965 | 0.794 | 0.784 |
Thank you for the detailed response. The additional AUROC/FPR95 results, the CIFAR-100 near-/far-OOD diagnostic, and the clarification/ablation of the alignment module substantially address my main concerns. In particular, the direct OOD detection metrics and the near-/far-OOD analysis provide stronger support for the paper’s ID/OOD separability claim, and the corrected formulation helps clarify the role of g(.).
My remaining concern is mainly about claim precision rather than the empirical direction. The new feature-source comparison supports top-K patches as useful class-relevant cues, and the near-/far-OOD result further supports their practical value. I would encourage the authors to make clear in the revision that patch-text similarity is used as a class-relevance prior, rather than direct evidence that the selected patches are necessarily fine-label-discriminative.
Response to Reviewer VCTE’s Follow-up Comment
We thank the reviewer for the follow-up and agree that our description of patch–text similarity should be more precise. In the final version, we will consistently describe patch–text similarity as a class-relevance prior for selecting candidate patches, rather than as direct evidence that the selected patches are necessarily discriminative. We will also include the feature-source comparison and near-/far-OOD analysis in the appendix.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies open-set semi-supervised learning (OSSL), where unlabeled data may contain OOD samples that are visually close to ID classes. The authors argue that existing CLIP/VLM-based OSSL methods rely too heavily on coarse class-name text prompts, which are insufficient for near-OOD cases such as visually similar dog breeds.
The proposed method enriches CLIP text embeddings using fine-grained visual cues. For each labeled or high-confidence unlabeled sample, the image is split into patches; the top-K patches most similar to the class text embedding are transformed by an alignment module and accumulated into a class-wise EMA memory bank. The memory vector for the correct class is fused with the base class text embedding to produce an enriched text embedding, while a randomly sampled memory vector from another class is fused with the same base text embedding to produce a poisoned text embedding. The model is trained with supervised cross-entropy, FixMatch-style confidence-filtered consistency regularization, and a contrastive loss that pulls images toward enriched text embeddings and pushes them away from poisoned ones. An appendix also studies a pseudo-OOD synthesis variant.
Strengths and weaknesses
Strength
The empirical package is reasonably broad. The paper reports results across four fine-grained datasets, includes CIFAR-100, averages over three seeds, and provides ablations for the loss terms, cross-modal injection, memory updates, poisoning strategy, pseudo-OOD synthesis, sensitivity to several hyperparameters, computational cost, and visual/textual discriminability analyses. The method is also computationally plausible: Appendix C reports modest extra parameters and lower training memory than CFSG-CLIP on CUB-20.
Weaknesses
-
the evaluation does not include direct ID/OOD detection metrics such as AUROC and FPR95. I agree that open-set balanced accuracy is a valid OSSL metric and is used by IOMatch, but the paper repeatedly claims improved ID/OOD separability. Prior work in the nearby lineage, including OpenMatch and CLIP-based OOD work such as LoCoOp, reports direct detection metrics. The Figure 4 logit histograms are suggestive, but they are not a substitute for AUROC/FPR95 or threshold-sensitive analysis.
-
the gains over the direct predecessor CFSG-CLIP are mostly incremental. CFSG-CLIP uses the same CLIP ViT-B/16 backbone, the same fine-grained odd/even split protocol, the same 5/20-label setting, and the same broad FixMatch-style SSL setup. The CLIP-based baseline rows in this submission appear to be reused from CFSG-CLIP, and the CFSG-CLIP row corresponds to CFSG-CLIP's published "Ours" row, with only minor apparent differences/typos in a few standard deviations. Against CFSG-CLIP, most gains are small: FGVC-Aircraft ID accuracy improves 61.09 -> 61.91 and 73.56 -> 73.90; Stanford Cars 90.38 -> 91.19 and 93.08 -> 93.68; Stanford Dogs 89.42 -> 90.24 in the 20-shot setting; CUB-20 91.75 -> 92.59. The standout result is CUB-5, 84.73 -> 88.09. Since several gaps are close to the reported standard deviations, paired significance tests would be important.
-
the most realistic fine-grained benchmark from CFSG-CLIP, Semi-Aves, is omitted. This is unfortunate because the paper's motivation is specifically fine-grained OSSL under realistic near-OOD shifts. Replacing that benchmark with CIFAR-100, a coarse-grained benchmark where zero-shot CLIP is already strong, weakens the empirical story.
-
the CIFAR-100 comparison is not fully apples-to-apples. The conventional OSSL baselines use non-CLIP backbones, whereas the proposed method uses CLIP ViT-B/16. The CLIP row helps contextualize the gain, but the large margin over conventional methods is substantially attributable to the backbone/pretraining rather than the proposed memory mechanism.
Questions
-
please report AUROC and FPR95 for ID-vs-OOD detection on the fine-grained benchmarks, ideally compared with CFSG-CLIP. This would directly test the paper's main separability claim.
-
were the CLIP-based baseline rows independently rerun, or reused from CFSG-CLIP? Please state this explicitly. If reused, please explain any standard-deviation discrepancies and whether the proposed method was run under exactly the same seeds/splits.
-
why was Semi-Aves omitted, given that CFSG-CLIP evaluates it and it is arguably the most realistic fine-grained OSSL benchmark? Adding Semi-Aves would substantially strengthen the paper.
-
can you provide paired significance tests across seeds against CFSG-CLIP? Several reported gains are small enough that statistical significance is unclear.
-
Did you try multiple memory slots/prototypes per class? If not, please clarify the "diverse collection" claim. If yes, please report whether multi-slot memory helps.
-
Why does random poisoned-memory sampling outperform nearest-negative sampling? A deeper analysis of gradients, sampled negative distributions, or failure modes would make the most novel component more convincing.
Limitations
Please see the questions.
Final justification
Overall, I find this submission technically sound and empirically stronger after rebuttal. I assign greater weight to the newly added direct OOD evidence and comprehensive follow-up analyses than to the remaining concerns about incremental novelty and claim precision. I therefore recommend Borderline Accept, conditional on the rebuttal results, corrected formulation, and more cautious mechanism claims being included in the revision.
Formatting concerns
None
3 comments
Rebuttal
We thank the reviewer for the thoughtful and detailed suggestions. We respond to each question below and will add these analyses to the final version.
Q1. Report AUROC and FPR95 metrics.
A1. We evaluate AUROC and FPR95 using the maximum softmax probability as the ID score. We compare our method with CFSG-CLIP under the same setting. As shown in Table 1, our method clearly outperforms CFSG-CLIP across all datasets and label settings, consistently improving AUROC and reducing FPR95.
Table 1. AUROC and FPR95 comparison with CFSG-CLIP across datasets.
| Dataset | Setting | AUROC | FPR95 |
|---|---|---|---|
| CFSG / Ours | CFSG / Ours | ||
| Stanford Dogs | 5-label | 67.35 / 77.48 | 88.33 / 79.68 |
| 20-label | 69.29 / 77.65 | 86.87 / 78.83 | |
| Stanford Cars | 5-label | 63.01 / 79.84 | 89.67 / 76.51 |
| 20-label | 64.29 / 82.35 | 88.13 / 71.31 | |
| CUB-200-2011 | 5-label | 65.78 / 76.45 | 87.96 / 81.47 |
| 20-label | 71.84 / 78.95 | 82.17 / 77.28 | |
| FGVC-Aircraft | 5-label | 50.16 / 53.39 | 95.26 / 94.57 |
| 20-label | 54.29 / 62.49 | 94.98 / 90.77 |
Q2. Clarify the novelty and improvements over CFSG-CLIP.
A2. CFSG-CLIP primarily relies on coarse class-level textual semantics for OSSL. In contrast, our method builds a class-wise memory bank that aggregates fine-grained visual cues. It then injects class-consistent and out-of-class visual cues from the memory bank into base textual embeddings, producing enriched in-class and poisoned out-of-class textual embeddings as positive and negative contrastive targets, respectively. By aligning image embeddings with the positive targets and repelling them from the negative targets, the model learns more discriminative class boundaries and improves fine-grained ID–OOD separation.
These methodological differences are reflected in the consistent improvements in ID accuracy and balanced accuracy reported in the main paper, the AUROC and FPR95 results in Table 1, and the paired significance tests in Table 3.
The ViT-B/16 backbone, data splits, and label settings are standard experimental settings consistent with prior work to ensure a fair comparison. They are not part of our claimed methodological contribution.
Q3. Source of the baseline results and experimental splits.
A3. The CLIP-based baseline results were reused from CFSG-CLIP. Minor discrepancies in some standard deviations were transcription errors and will be corrected in the final version. These corrections do not affect the reported mean results or conclusions, and our method still achieves the best overall performance under the same setting.
For a fair comparison, our method used the same three random seeds (0, 1, and 2), data splits, and evaluation protocol as CFSG-CLIP, based on the data-split files and implementation details kindly provided by the authors upon request.
Q4. Report results on Semi-Aves.
A4. We additionally evaluate our method on Semi-Aves. As shown in Table 2, our method consistently outperforms CFSG-CLIP on both metrics, confirming its effectiveness on this realistic fine-grained OSSL benchmark. We will include this experiment in the final version.
Table 2. Comparison with CFSG-CLIP on Semi-Aves.
| Method | Acc. | Acc. ↑ |
|---|---|---|
| CFSG-CLIP | 65.63 | 63.69 |
| Ours | 67.27 | 65.21 |
Q5. Report paired statistical significance.
A5. Since the CFSG-CLIP paper reports only the mean and standard deviation without per-seed results, we reran CFSG-CLIP using the source code provided by its authors, with the same seeds (0, 1, and 2), data splits, and evaluation protocol as ours. We then conducted two-sided paired -tests over the three matched runs. As shown in Table 3, our method achieves positive gains in all 16 comparisons, with 14 reaching statistical significance ().
Table 3. Paired significance tests against CFSG-CLIP across three matched seeds.
| Dataset | Labels | ID Acc. gain () | Bal. Acc. gain () |
|---|---|---|---|
| CUB-200-2011 | 5 | +3.70 (0.0027) | +2.93 (0.0261) |
| 20 | +0.50 (0.0240) | +0.54 (0.0155) | |
| FGVC-Aircraft | 5 | +1.70 (0.0155) | +1.96 (0.0127) |
| 20 | +0.34 (0.4386) | +1.72 (0.0191) | |
| Stanford Cars | 5 | +0.88 (0.0068) | +0.69 (0.0044) |
| 20 | +0.90 (0.0727) | +0.70 (0.0439) | |
| Stanford Dogs | 5 | +1.33 (0.0037) | +0.96 (0.0163) |
| 20 | +0.64 (0.0260) | +1.02 (0.0123) |
Q6. Report whether multiple memory slots improve performance.
A6. During the initial development of our method, we evaluated multiple memory slots per class on FGVC-Aircraft under the 5-label setting. As shown in Table 4, the single-slot design performs best, while increasing the number of slots clearly degrades performance.
Table 4. Effect of the number of memory slots per class.
| Memory slots per class | ID Acc. ↑ | Balanced Acc. ↑ |
|---|---|---|
| 1 (ours) | 61.91 | 60.70 |
| 5 | 58.25 | 57.68 |
| 10 | 49.43 | 48.51 |
We hypothesize that this degradation arises from data sparsity: under the few-label setting, multiple slots receive fewer reliable updates and are more easily affected by instance-specific variations. In contrast, a single memory slot updated with EMA aggregates recurring class-discriminative cues across samples while reducing sample-specific noise.
By the phrase “diverse collection,” we originally intended to convey that each memory vector aggregates diverse visual cues from both labeled and high-confidence unlabeled samples. We will revise this phrase in the final version to avoid ambiguity.
Q7. Explain why random poisoned-memory sampling outperforms nearest-negative sampling.
A7. We attribute the advantage of random sampling to its greater diversity of negative cues. To investigate this, we conduct a quantitative analysis on CUB-200-2011. As shown in Table 5, random sampling achieves higher sampling entropy and full negative-class coverage, indicating that it selects a broader and more balanced set of non-target classes. In contrast, nearest-negative sampling concentrates on a limited set of similar classes, which may share valid attributes with the target class. The more stable gradient updates and higher accuracy therefore suggest that negative diversity is more beneficial than repeatedly using the hardest negatives.
Table 5. Analysis of gradient stability and negative diversity under different poisoning strategies.
| Sampling Strategy | Sampling Entropy | Negative Coverage | Gradient CV | ID Acc. | Bal. Acc. |
|---|---|---|---|---|---|
| Nearest negative | 0.88 | 0.65 | 0.14 | 92.00 | 91.15 |
| Random sampling | 0.98 | 1.00 | 0.12 | 92.59 | 91.79 |
Q8. Clarify the fairness of the CIFAR-100 comparison.
A8. We acknowledge that conventional OSSL baselines on CIFAR-100 use different backbones. We included both CLIP-based and conventional OSSL methods to provide a broader comparison. We will replace CIFAR-100 with Semi-Aves in the main experiments to focus on methods using comparable CLIP backbone in the final version. The CIFAR-100 results will be moved to the appendix as a cross-paradigm reference.
follow-up comment
Thank you for the detailed rebuttal. The additional AUROC/FPR95 results, Semi-Aves evaluation, matched-seed comparisons, and memory/negative-sampling analyses substantially address my main concerns and provide stronger evidence for improved ID–OOD separation. I have therefore updated my assessment to borderline accept. For the final revision, please incorporate these results, correct and fully clarify Eq. 13 and the memory-update algorithm, and consistently describe patch–text similarity as a class-relevance prior rather than direct proof of fine-grained discriminative patch selection. Given that the significance tests use only three seeds, the statistical conclusions should also be stated with appropriate caution.
Response to Reviewer 2JLH’s Follow-up Comment
We thank the reviewer for the thoughtful follow-up. In the final version, we will incorporate the additional experimental results, correct Eq. (13), and clarify the memory-update algorithm. We will consistently characterize patch–text similarity as a class-relevance prior rather than direct evidence of discriminative patch selection. We will also use more cautious wording for the statistical conclusions.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper tackles the challenge of fine-grained differentiation in open-set semi-supervised learning. In conventional approaches the text encoder learns cross modal alignment at a coarse granularity, and as a result fails to capture subtle differences that are crucial for distinguishing near OOD samples. As a result these approaches struggle to create sharp boundaries between very similar objects in high-dimensional feature space. The author’s proposed approach introduces two modules to target granularity of the feature space: a memory bank module and contrastive embedding enhancement. The class-wise, fine-grained visual memory bank stores highly discriminative visual features for each class. This bank is updated online to capture nuances that distinguish one close variety from another. Secondly, the cross-modal constrastive learning mechanism injects fine grained visual cues into the textual side. This forces the model to align text embeddings with these high-quality "memory" features.
Experiments are performed on fine‑grained datasets including CUB‑200‑2011, Stanford Dogs, Stanford Cars, and FGVC‑Aircraft, as well as the coarse-grained CIFAR-100. Baselines include zero-shot CLIP, prompt learning methods such as CoOp, PLOT, MaPLe, TextRefiner, and LoCoOp, CLIP adaptation methods such as CLIP-Adapter and CLIP-LoRA, and lastly the CLIP-based baseline CFSG-CLIP.
Strengths and weaknesses
Strengths:
- Proposal of a novel memory-driven contrastive learning framework that enriches textual representations with discriminative visual cues, leading to improved separation between in-distribution and out-of-distribution samples. The approach is well suited to fine-grained recognition, where visually similar classes make open-set recognition especially challenging.
- The experimental evaluation is comprehensive and convincing. Beyond strong quantitative results across multiple benchmarks, thorough ablations are included, with validation of the key design choices (e.g., poisoning strategy and feature fusion mechanism), analyses of computational efficiency and representation quality, and hyperparameter sensitivity studies demonstrating that the reported gains are robust rather than dependent on careful parameter cherry-picking.
- The paper is well written and easy to follow, with clear motivation, methodology, and experimental design. The additional appendix analyses provide useful intuition into the behaviour of the proposed memory mechanism and strengthen confidence in the proposed approach.
Weaknesses:
Since the qualitative analysis is limited to CUB-200, it's hard to know whether the same behavior consistently holds across the other fine- and coarse-grained datasets. It would also be helpful to expand the limitations section; rather than focusing mainly on scalability, the authors could discuss which settings are likely to benefit most from the proposed memory mechanism and where it may be less effective. Finally, while the empirical results are strong, I'd be interested in seeing a bit more insight into why the proposed memory enrichment consistently improves OOD discrimination.
Questions
-
Figure 4 illustrates improved ID–OOD logit separation on CUB-200. Since the method is evaluated on both fine-grained and coarse-grained benchmarks, could the authors clarify whether similar logit separation is consistently observed across the other datasets, or whether the behaviour is dataset-dependent?
-
The appendix provides insightful representation analyses demonstrating increased semantic discriminability after memory enrichment. Since these analyses are only shown for CUB-200, could the authors comment on whether similar improvements are consistently observed across the other evaluated datasets, including CIFAR-100?
Limitations
Right now, the limitations focus mostly on scalability. It would also be helpful to discuss what makes the proposed memory mechanism work particularly well on these datasets, and where it might be less effective. For example, when the visual differences between classes are less pronounced.
Final justification
The rebuttal clarifications have addressed my concerns and strengthened my confidence in the paper; I will maintain my current score.
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for the positive and helpful suggestions. We respond to each question below and will add these analyses to the final version.
Q1. Extend ID–OOD logits separation analysis to other datasets.
A1. We extend the analysis in Figure 4 to both fine- and coarse-grained datasets, obtaining results consistent with those observed on CUB-200-2011. As figures are not allowed in the rebuttal, we report the distribution statistics here and will include the complete distribution figures in the final version. ID mean and OOD mean denote the averages of the per-sample maximum class logits for ID and OOD samples, respectively, and the ID–OOD gap is calculated as ID mean minus OOD mean. As shown in Table1, memory enrichment consistently enlarges the ID–OOD gap across all datasets.
Table 1. ID–OOD logit separation using base and enriched textual embeddings.
| Dataset | Text representation | ID mean | ID max | OOD mean | OOD max | ID–OOD gap | Gap gain |
|---|---|---|---|---|---|---|---|
| Stanford Dogs | Base | 27.74 | 38.69 | 26.77 | 37.38 | 0.97 | — |
| Enriched | 34.47 | 46.56 | 31.58 | 46.30 | 2.89 | +1.92 | |
| Stanford Cars | Base | 23.06 | 31.03 | 22.21 | 30.58 | 0.85 | — |
| Enriched | 32.80 | 42.60 | 29.36 | 39.03 | 3.44 | +2.59 | |
| CUB-200-2011 | Base | 20.40 | 30.94 | 19.90 | 30.63 | 0.50 | — |
| Enriched | 31.06 | 41.93 | 27.15 | 37.80 | 3.91 | +3.41 | |
| FGVC-Aircraft | Base | 24.19 | 36.44 | 24.71 | 36.31 | −0.52 | — |
| Enriched | 35.98 | 50.87 | 35.62 | 48.27 | 0.36 | +0.88 | |
| CIFAR-100 | Base | 27.64 | 34.69 | 25.70 | 33.22 | 1.94 | — |
| Enriched | 35.23 | 43.50 | 31.90 | 41.97 | 3.33 | +1.39 |
We further report AUROC, as its threshold-independent nature enables it to quantify the ID–OOD discriminability of the maximum class logits. Specifically, we use the maximum class logit as the ID score. A higher AUROC indicates stronger ID–OOD separation. As shown in Table 2, the enriched textual embeddings consistently improve AUROC across all datasets, confirming stronger ID–OOD separation beyond CUB-200-2011.
Table 2. AUROC comparison using base and enriched textual embeddings.
| Dataset | Base | Enriched |
|---|---|---|
| Stanford Dogs | 61.29 | 69.21 |
| Stanford Cars | 69.70 | 78.23 |
| CUB-200-2011 | 66.50 | 76.60 |
| FGVC-Aircraft | 51.04 | 53.28 |
| CIFAR-100 | 66.78 | 74.14 |
Q2. Extend the textual discriminability analysis to other datasets.
A2. We extended the heatmap analysis in Appendix C.4 to all evaluated datasets and observed the same pattern: enriched textual embeddings exhibit lower off-diagonal similarity and clearer inter-class separation. As figures are not allowed in the rebuttal, we report the corresponding average off-diagonal cosine dissimilarity ( higher is better ) in Table 3. As shown in Table 3, memory enrichment consistently increases inter-class dissimilarity across all datasets, confirming that the improved textual discriminability is not dataset-specific. The complete heatmaps will be included in the final version.
Table 3. Textual discriminability using base and enriched embeddings.
| Dataset | Base Textual Embedding | Enriched Textual Embedding |
|---|---|---|
| Stanford Dogs | 15.20% | 47.00% |
| Stanford Cars | 8.40% | 54.76% |
| CUB-200-2011 | 7.20% | 58.60% |
| FGVC-Aircraft | 4.81% | 53.58% |
| CIFAR-100 | 28.14% | 52.79% |
Q3. Expand discussion of limitations.
A3. Our method is more effective when discriminative cues are concentrated in local regions (e.g., beak shape, fur color, or grille design), which can be effectively captured by the top- patch selection. When inter-class visual differences are primarily reflected in global shapes rather than distinctive local regions (e.g., overall body proportions or object silhouettes), the benefits of the class-wise memory mechanism may be less pronounced.
Q4. Provide more insights into why the proposed memory enrichment improves OOD discrimination.
A4. Our key insight is that class-level textual embeddings mainly capture coarse semantics and therefore cannot reliably distinguish near-OOD samples with similar appearances, whereas the required fine-grained characteristics are inherently encoded in images. Our memory bank preserves these distinctive visual cues across samples. It then injects class-consistent and out-of-class visual cues into base textual embeddings, producing enriched in-class and poisoned out-of-class textual embeddings as positive and negative contrastive targets, respectively. The contrastive objective aligns image embeddings with the positive targets and repels them from the negative targets. Consequently, ID samples better match their class-specific enriched embeddings, while OOD samples sharing only coarse or partial similarities receive lower confidence, leading to improved OOD discrimination.
Follow-up on Our Response to Reviewer Vp2s
Dear Reviewer Vp2s, Thank you once again for your valuable comments on our submission. As the discussion phase is approaching its end, we would like to kindly confirm whether we have sufficiently addressed all of your concerns. Should there be any remaining questions requiring further clarification, please do not hesitate to let us know. We sincerely look forward to your feedback.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Meta-Review
We thank the AC for the thoughtful feedback. We address the main concerns as follows.
Methodological novelty. Prior CLIP-based OSSL methods primarily rely on coarse class-level textual semantics. In contrast, our method leverages the fine-grained visual cues inherently encoded in images and injects them into class-level textual representations. Specifically, we inject class-consistent and out-of-class visual cues into base textual embeddings to construct enriched and poisoned embeddings as positive and negative contrastive targets. By aligning image embeddings with the positive targets and repelling them from the negative targets, the model learns more discriminative class boundaries and improves fine-grained ID–OOD separation.
These methodological differences are reflected in the consistent improvements in ID accuracy and balanced accuracy reported in the main paper, as well as the AUROC, FPR95, and paired significance results presented in this rebuttal.
Baseline reproduction and benchmark selection. The CLIP-based baseline results were reused from the published results of their original paper. Minor discrepancies in standard deviations were transcription errors and will be corrected in the final version. These corrections do not affect the reported mean results or conclusions, and our method still achieves the best overall performance under the same setting.
We initially included CIFAR-100 to provide broader comparisons with both CLIP-based and conventional OSSL methods. We now report results on Semi-Aves, where our method outperforms CFSG-CLIP on both metrics. We will therefore replace CIFAR-100 with Semi-Aves in the main experiments and retain CIFAR-100 in the appendix.
Direct evidence for ID–OOD separation. We report AUROC and FPR95 against CFSG-CLIP, achieving notably higher AUROC and lower FPR95 across all datasets. The near- versus far-OOD analysis further shows that our method reduces the near–far AUROC gap from 17.40 to 13.56, providing additional evidence of improved OOD discrimination.
Statistical significance. Paired statistical tests against CFSG-CLIP across three matched seeds show positive gains in all 16 comparisons, with 14 reaching statistical significance (p<0.05), supporting the statistical robustness of the reported gains.
Fine-grained cue capture and cross-modal alignment. We clarify that patch–text similarity serves as a relevance prior for top-K selection, as CLIP’s globally supervised class token interacts with patch tokens through self-attention; the selected cues are subsequently refined by g(⋅) and aggregated across samples in the class-wise memory. Ablations on Stanford Dogs and CUB-200-2011 further show that g(⋅) consistently improves both ID classification and OOD discrimination, supporting its effectiveness in bridging the visual–textual gap.
Memory contamination and cross-dataset representation behavior. We report that the ID pseudo-label accuracy of accepted unlabeled samples maintain over 94% , while OOD contamination remains stable at around 16% across training, suggesting limited accumulation of pseudo-label-induced errors during memory updates. Across all datasets, memory enrichment consistently enlarges the ID–OOD logit gap and increases inter-class textual dissimilarity, indicating that the representation improvements are not dataset-specific.
The locations of the detailed results are listed below: