acceptodds
Published as a conference paper at NeurIPS 2026

Learning to Align Generative Appearance Priors for Fine-grained Image Retrieval

Shijie Wang, Yadan Luo, Zijian Wang, Xin Yu, Zi Huang

Abstract

Fine-grained image retrieval (FGIR) typically relies on supervision from seen categories to learn discriminative embeddings for retrieving unseen categories. However, such supervision often biases retrieval models toward the semantics of seen categories rather than the underlying appearance characteristics that generalize across categories, thereby limiting retrieval performance on unseen categories. To tackle this, we propose GAPan, a Generative Appearance Prior alignment network that reformulates the learning objective from category prediction toward appearance modeling. Technically, GAPan treats retrieval features with an invertible density model based on normalizing flows. In the forward direction, the flow maps all instance features into a latent density space, where each seen category is modeled by a class-conditional Gaussian prior and optimized via exact likelihood estimation. This formulation preserves richer appearance details by leveraging the invertible property of the flows. In the reverse direction, samples from the high-density regions of these learned priors are mapped back to the feature space to produce appearance-aware anchors that reflect intra-category variation. These anchors supervise a prior-driven alignment objective that aligns retrieval embeddings with category-specific appearance distributions, thereby improving generalization to unseen categories. Evaluations demonstrate that our GAPan achieves state-of-the-art performance on both widely-used fine- and coarse-grained benchmarks.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 1%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.33 over 3 reviews, above 0% of the others.
Reviewer_VFbdOpenReview ↗
Rating
3
Clarity
3
Confidence
2
Originality
2
Quality
2
Significance
3
Read review
Summary

This paper proposes GAPan, a Generative Appearance Prior alignment network for fine-grained image retrieval. The central idea is that conventional label-driven discriminative supervision may overfit to seen-category semantics and local discriminative cues, while failing to model transferable appearance variations. To address this issue, the paper reformulates category supervision as appearance distribution modeling. Specifically, a normalizing flow maps visual features into a latent density space, where each seen category is represented by a class-conditional Gaussian prior. Samples from high-density regions of these priors are then mapped back through the inverse flow to generate appearance-aware feature anchors, which are used in a prior-guided alignment objective. Experiments on CUB-200-2011, Stanford Cars 196, and Stanford Online Products show improved Recall@K performance over recent methods, and ablation studies analyze the effects of the generative prior modeling, posterior calibration, prior-based alignment, flow depth, number of anchors, and sampling threshold.

Strengths and weaknesses

Strengths: (1) The motivation is clear. The paper identifies the tension between discriminative learning on seen classes and generalization to unseen fine-grained categories, and proposes category-level appearance distribution modeling as a remedy. (2) The method is technically coherent. GAPan combines the invertibility and exact likelihood estimation of normalizing flows with class-conditional Gaussian priors and inverse-flow feature anchor generation, forming a complete pipeline from density modeling to retrieval embedding alignment. (3) The reported empirical results are strong. The method achieves competitive or state-of-the-art Recall@K results on CUB-200-2011, Stanford Cars 196, and Stanford Online Products. (4) The ablation studies are relatively comprehensive. The paper evaluates the contributions of LNF, LCA, and LALI, and further studies flow depth, number of synthesized anchors, sampling threshold, and warm-up epochs. (5) The claim of no additional inference-time cost is practically attractive for retrieval deployment.

Weaknesses: (1) The novelty needs clearer positioning. Feature distribution modeling with normalizing flows, class-conditional Gaussian priors, generative feature augmentation, and proxy/prototype-based metric learning all have related precedents. The paper should more explicitly distinguish GAPan from probabilistic metric learning, proxy-based learning, feature generation, and flow-based representation learning. (2) The interpretation of the learned “appearance priors” is still indirect. The paper mainly relies on accuracy gains, CAM visualizations, and retrieval examples. More direct evidence about the learned distributions, sampled anchor quality, anchor diversity, and their correspondence to real appearance variations would strengthen the argument. (3) The fairness of comparisons requires more clarification. Different compared methods may use different backbones, pretraining data, training recipes, and hyperparameters. Although the table reports ResNet-50 and ViT backbones, it is not fully clear whether all ViT-based comparisons use the same pretraining and optimization settings. (4) The approach may be sensitive to per-class sample size. Class-conditional Gaussian priors require sufficient and diverse samples per class, while real fine-grained retrieval often includes long-tailed classes, few-shot classes, and noisy labels. The paper only briefly mentions this limitation and does not provide systematic experiments. (5) Training complexity is under-discussed. Although inference has no extra cost, training requires normalizing flows, likelihood estimation, sampling, and multi-objective optimization. The paper should report training time, parameter count, memory usage, and overhead relative to the baseline.

Questions

Please see the weakness.

Limitations

Many technical components are not new by themselves, including normalizing flows, class-conditional Gaussian modeling, likelihood optimization, contrastive learning, proxy/prototype-based supervision, and feature augmentation. Thus, the paper appears to be an effective integration and reinterpretation of existing techniques for fine-grained image retrieval rather than a fundamentally new method. The originality would be stronger if the authors provided deeper comparisons showing why generative appearance priors are uniquely beneficial over probabilistic proxies, Gaussian mixtures, feature augmentation, or prototype alignment alternatives.

Paper formatting concerns

N/A

1 comment

Thank you greatly for dedicating your time and expertise to reviewing our paper. Your comments and suggestions are truly helpful to enhance our paper. Please see our response below.

W1: Novelty. We thank the reviewer for this important comment. The novelty of GAPan lies in proposing a new distribution-based supervisory paradigm for fine-grained retrieval. Existing probabilistic metric learning methods mainly use distributions to measure uncertainty or compute similarity, while proxy/prototype methods optimize fixed representative targets. Flow-based methods typically focus on density estimation or feature generation. In contrast, GAPan establishes a bidirectional generative supervision loop: (i) the forward flow learns class-conditional distributions that capture intra-class appearance variations from the current embeddings; and (ii) reverse sampling converts these distributions into diverse appearance anchors that supervise embedding learning through metric alignment. The updated embeddings in turn yield better appearance distributions during joint optimization, forming a mutually reinforcing forward–reverse learning process. Thus, GAPan transforms distributions from passive representations into active supervisory signals for appearance-aware representation learning, without introducing inference overhead.

Under the same ResNet-50 (512-d) setting, GAPan achieves 77.5% Recall@1 on CUB, outperforming probabilistic proxy method (i.e., NPP [Kirchhof et al. ECCV 22] 69.3%) and non-isotropic proxy method (i.e., NIR [Roth et al. CVPR 22] 70.5%). This confirms that the gain comes from distribution-based generative appearance supervision rather than simply adding uncertainty to proxies. We will further clarify these distinctions in Related Work.

W2: Appearance prior analysis. We analyze the learned distributions and sampled appearance anchors to indirectly interpret the appearance prior. Specifically, we sample feature anchors from each learned distribution at different radii, map them back through the inverse flow, and retrieve their nearest real images. The retrieved images remain in the correct category with very high probability (99.3%–99.7%), demonstrating that the sampled anchors are semantically valid. More importantly, individual anchors consistently retrieve images with similar appearance characteristics. For example, different anchors capture distinct appearance patterns within the same category, including variations in texture, color, pose, viewpoint, and fine-grained details. As the sampling radius increases, these appearance variations become progressively richer while preserving category identity. These observations provide direct evidence that the learned distributions capture meaningful appearance variations rather than arbitrary clustering artifacts. We will add this analysis in the revision.

W3: Fair comparison. We thank the reviewer for raising this important concern. To provide controlled evidence, we further evaluate GAPan as a plug-in module under the unchanged settings of existing methods. Specifically, integrating GAPan into strong ViT-based baselines consistently improves CUB performance: adding GAPan improves HypViT from 85.6% to 88.7% and VPT-SPG from 86.6% to 89.8%. Since the backbone, pretraining, and optimization protocols remain unchanged, these results provide controlled evidence of GAPan’s effectiveness beyond experimental protocol differences. We will clarify the backbone, pretraining, and training protocols of all compared methods in Table 2 for better transparency.

W4: Class-size sensitivity. We thank the reviewer for raising this important concern. We further evaluate GAPan under long-tailed, noisy-label, and few-shot settings on CUB. For long-tailed training, where the number of samples in 20 classes decreases to 5, GAPan achieves 88.7% Recall@1, compared with 79.4% for the discriminative baseline, showing only a minor degradation from the full-data setting (89.1%). This indicates that GAPan can leverage appearance variations learned from well-supported classes to provide effective supervision for low-sample classes. With 5% randomly corrupted labels, GAPan achieves 86.4% Recall@1 versus 71.2% for the baseline, suggesting that appearance-based supervision is less sensitive to noisy category boundaries. Under the more challenging few-shot setting with only 10 images per class, GAPan achieves 84.7%, outperforming the baseline (62.1%) but showing a larger drop due to insufficient samples for modeling diverse appearance variations. These results demonstrate that GAPan is robust to long-tailed and noisy scenarios while remaining effective under limited class support.

Table1: Robustness under different training scenarios on CUB (Recall@1, %).

SettingBaselineGAPan
Full data82.489.1
Long-tailed79.488.7
5% Noisy labels71.286.4
Few-shot (10 images/class)62.184.7

W5: Training complexity. We thank the reviewer for raising this important concern. GAPan introduces additional cost only during training: the flow, likelihood estimation, and anchor sampling are discarded at inference, resulting in zero inference overhead. On CUB with 2×A6000 GPUs, GAPan requires 0.033 h/epoch and 20.4 GB peak memory, introducing only an 8% wall-clock training-time overhead over the discriminative baseline. The additional parameters mainly come from the training-only flow module (~8.0M parameters) and the class-conditional Gaussian priors, whose storage grows linearly as O(KC) (0.20M parameters on CUB). Moreover, contrastive sampling is performed within each mini-batch rather than over all categories, making the per-step computation O(|B|×N_S), independent of the total number of classes. We will include these complexity analyses in the revision and publicly release the implementation on GitHub to facilitate reproducibility.

Limitations: Novelty beyond existing components. We thank the reviewer for this important comment. We agree that the individual components of GAPan (e.g., normalizing flows, Gaussian priors, and metric learning) are not new by themselves. The novelty of GAPan lies in introducing a new distribution-based supervisory paradigm for fine-grained retrieval, which repurposes these existing techniques to play a fundamentally different role. Instead of using distributions for uncertainty estimation, similarity measurement, or feature generation, GAPan establishes a bidirectional generative supervision loop: the forward flow learns class-conditional distributions that capture intra-class appearance variations, while reverse sampling converts these distributions into diverse appearance anchors that actively supervise embedding learning. Through joint optimization, the learned distributions and embeddings mutually reinforce each other, transforming distributions from passive representations into active supervisory signals for appearance-aware retrieval.

Limitations: Deeper comparisons. To further verify why the proposed supervision paradigm is effective, we conduct controlled comparisons with representative alternatives. Under the same ResNet-50 (512-d) setting, GAPan achieves 77.5% Recall@1 on CUB, outperforming probabilistic proxy methods [15,30] (69.3%/70.5%), showing that distributions are more effective when used to generate supervisory signals than when used only for uncertainty-aware similarity estimation. Prototype-based alignment methods achieve 83.9% (K-means) and 85.4% (Proto), while collapsing our distributions into single prototypes (Σ→0\Sigma\rightarrow 0) reduces Recall@1 from 89.1% to 84.3%, demonstrating that modeling intra-class appearance variation is more effective than aligning features to fixed representative points. Furthermore, Gaussian mixture priors and non-flow generators (VAE/encoder-decoder) achieve 86.7% and 84.9%, respectively, indicating that the improvement does not arise from simply adopting a more complex prior or a generic feature generator, but from the proposed forward–reverse generative supervision loop that continuously refines both the learned distributions and the embedding space.

Reviewer_6fGsOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes GAPan for fine-grained image retrieval. It uses a normalizing flow to map image features into a latent space, where each seen category is modeled as a class-conditional Gaussian prior. Samples from high-density regions of these priors are then mapped back to the feature space as category-aware anchors, which are used to align the retrieval embedding space.

Strengths and weaknesses

Strengths:

  1. The idea of using normalizing flows to model class-conditional feature distributions is interesting and technically coherent.
  2. The ablation analysis in this paper is quite comprehensive.
  3. This method achieves good results.

Weaknesses:

  1. The term “appearance prior” is not well justified. The model learns class-conditional feature distributions, but the paper does not prove that these distributions correspond to explicit fine-grained appearance cues.
  2. The connection to unseen-category generalization is not fully explained. The priors are learned only from seen categories and are not available for unseen test categories. The paper needs stronger analysis to show why seen-category priors produce transferable appearance cues rather than seen-category-specific regularization.
Questions

Please clarify why the latent class-specific priors can be considered appearance priors, rather than general class-conditional feature distributions. More explanation or evidence is needed to support this claim.

Limitations

yes

Paper formatting concerns

none

Final justification

Thank you for the authors’ response. I maintain my original score.

1 comment

We are immensely grateful for your effort in reviewing our work, as well as for your constructive suggestions and insightful questions. In the following, we will address each of your concerns point-by-point.

W1: Appearance Cues. We thank the reviewer for raising this important clarification. We provide direct evidence that GAPan learns representations containing fine-grained appearance cues. Specifically, a linear probe on frozen GAPan embeddings predicts human-annotated CUB appearance attributes (e.g., wing color, beak shape, and breast pattern) on unseen classes with 64.5% mAP, compared with 29.8% for the discriminative baseline. Since these attributes are never used during training and the evaluation is performed on unseen categories, this result demonstrates that GAPan embeddings preserve transferable appearance information rather than only category-specific features. We attribute this capability to the proposed appearance-level supervision. Instead of using class labels as fixed discriminative targets, GAPan models the distribution of multiple instances within each category and samples diverse anchors as supervisory signals. These anchors represent different appearance variations within a category, encouraging the embedding to preserve visual cues shared across instances rather than collapsing into class-specific representations. Therefore, the learned class-conditional distributions serve as appearance priors rather than merely class feature statistics.

W2: Unseen-category generalization. We thank the reviewer for raising this important point. Although the priors are learned from seen categories, GAPan does not transfer these category-specific priors directly to unseen classes. Instead, the priors act as training-time supervision to shape the embedding space toward preserving shared appearance factors. Fine-grained categories typically share a common visual vocabulary (e.g., textures, colors, and part attributes), while differing mainly in their combinations. By aligning instances with multiple appearance anchors within each seen category, GAPan encourages the embedding to encode these transferable visual factors rather than only seen-category decision boundaries.

This is consistent with zero-shot fine-grained recognition, where appearance attributes learned from seen categories can transfer to unseen ones. Unlike existing approaches, GAPan discovers such transferable cues implicitly without requiring attribute annotations. Supporting this interpretation, a linear probe on frozen embeddings predicts human-annotated CUB attributes on unseen classes substantially better than the discriminative baseline (64.5% vs. 29.8% mAP), demonstrating that GAPan learns transferable appearance representations rather than merely seen-category-specific regularization.

Q1: Appearance Prior vs. Class-conditional Feature Distributions. We thank the reviewer for raising this important clarification. The learned priors are indeed parameterized as class-conditional feature distributions; however, the class label serves only to organize visual variations, rather than defining the information captured by the distribution. GAPan learns each distribution to characterize intra-class appearance variations, including changes in colors, textures, poses, and part attributes, rather than only class identity.

By sampling multiple anchors from each distribution and aligning instances with these anchors, GAPan encourages the embedding to preserve diverse appearance factors within a category instead of collapsing each class into a single discriminative prototype. This interpretation is supported by our analyses: sampled anchors retrieve real images with consistent categories but distinct appearance characteristics, demonstrating that the distributions capture meaningful visual variations rather than arbitrary class clusters. Moreover, the attribute-probing results in W1 show that GAPan embeddings preserve transferable appearance cues beyond category-specific discrimination. We will include these analyses and visualizations in the revision.

Reviewer_chp1OpenReview ↗
Rating
3
Clarity
2
Confidence
5
Originality
2
Quality
2
Significance
2
Read review
Summary

The paper proposes GAPan for fine-grained image retrieval by modeling category-specific appearance priors with normalizing flows. The method maps visual features into a latent density space, fits class-conditional Gaussian distributions for seen categories, samples high-density anchors through the inverse flow, and uses these anchors to guide retrieval embedding alignment. Experiments on CUB-200-2011, Stanford Cars, and SOP report improved Recall@K over recent metric-learning baselines. The idea of introducing distributional supervision into fine-grained retrieval is interesting, but the current paper overstates its conceptual contribution. The method is still fundamentally trained with seen-category labels, and the connection between learned seen-class Gaussian priors and generalization to unseen categories is asserted rather than convincingly demonstrated.

Strengths and weaknesses

Strengths: (1) The paper is well written and organized.

(2) Combining metric learning, flow-based density modeling, posterior calibration, and generated anchor alignment is a reasonable direction, and the reported results on CUB, Cars, and SOP are competitive.

Weaknesses:

(1) The central claim is conceptually under-justified. GAPan claims to shift supervision from category prediction to appearance modeling, but the learned priors are still class-conditional distributions estimated from seen-category labels. The method does not explain why Gaussian priors of seen categories should capture appearance factors that transfer to unseen categories rather than simply regularizing seen-class discrimination.

(2) Normalizing flows, class-conditional Gaussian modeling, supervised contrastive learning, generated anchors, and prototype/distribution-based metric learning have all been explored in related forms. The paper needs a much sharper distinction from probabilistic proxy learning, non-isotropic metric learning, virtual/proxy class methods, and distribution-based metric learning. At present, GAPan appears more like a recombination of existing ingredients than a new retrieval principle.

(3) The paper repeatedly states that invertibility preserves fine-grained information, but the flow is applied to features already produced by a discriminative backbone. Any information discarded by the backbone cannot be recovered by an invertible mapping in feature space. Therefore, the “lossless” or “information-preserving” argument should be substantially weakened.

(4) A single diagonal Gaussian per class is unlikely to capture complex pose, viewpoint, part visibility, background, and intra-class appearance modes. The paper does not provide likelihood diagnostics, covariance analysis, distribution visualization, or evidence that the learned priors meaningfully correspond to appearance variation rather than class clustering artifacts.

(5) Eq. (8) contrasts each instance against generated anchors from all seen categories. This becomes expensive on SOP with more than 11k training categories. The paper does not clarify whether all categories are used in the denominator, whether negative classes are sampled, or how memory and runtime scale with the number of classes. This is a serious omission for a retrieval method.

(6) It is unclear whether all baselines are re-trained under the same backbone, pretraining, augmentation, batch construction, optimizer, and training schedule. Some compared methods use ResNet-50, others use ViT, and several results appear to come from different papers. Without a controlled ViT-based reimplementation of strong baselines, the claimed improvement may partly reflect protocol differences.

(7) The paper reports the effect of adding losses, flow depth, anchor number, threshold, and warm-up, but does not test stronger alternatives such as mixture priors, full-covariance or low-rank covariance priors, proxy distributions, class-balanced sampling, or non-flow generative models beyond a simple encoder-decoder. The K-means and prototype comparisons are too weak to isolate the value of the proposed generative prior.

(8) The qualitative analysis is not rigorous. The CAM and top-5 retrieval examples are illustrative but selective. The paper should show failure cases, retrieval errors, nearest-neighbor structure, category confusion, and examples where GAPan succeeds but the baseline fails. Without such analysis, it is difficult to verify whether the model actually captures broader appearance cues or simply produces smoother attention maps.

Questions

Weaknesses:

(1) The central claim is conceptually under-justified. GAPan claims to shift supervision from category prediction to appearance modeling, but the learned priors are still class-conditional distributions estimated from seen-category labels. The method does not explain why Gaussian priors of seen categories should capture appearance factors that transfer to unseen categories rather than simply regularizing seen-class discrimination.

(2) Normalizing flows, class-conditional Gaussian modeling, supervised contrastive learning, generated anchors, and prototype/distribution-based metric learning have all been explored in related forms. The paper needs a much sharper distinction from probabilistic proxy learning, non-isotropic metric learning, virtual/proxy class methods, and distribution-based metric learning. At present, GAPan appears more like a recombination of existing ingredients than a new retrieval principle.

(3) The paper repeatedly states that invertibility preserves fine-grained information, but the flow is applied to features already produced by a discriminative backbone. Any information discarded by the backbone cannot be recovered by an invertible mapping in feature space. Therefore, the “lossless” or “information-preserving” argument should be substantially weakened.

(4) A single diagonal Gaussian per class is unlikely to capture complex pose, viewpoint, part visibility, background, and intra-class appearance modes. The paper does not provide likelihood diagnostics, covariance analysis, distribution visualization, or evidence that the learned priors meaningfully correspond to appearance variation rather than class clustering artifacts.

(5) Eq. (8) contrasts each instance against generated anchors from all seen categories. This becomes expensive on SOP with more than 11k training categories. The paper does not clarify whether all categories are used in the denominator, whether negative classes are sampled, or how memory and runtime scale with the number of classes. This is a serious omission for a retrieval method.

(6) It is unclear whether all baselines are re-trained under the same backbone, pretraining, augmentation, batch construction, optimizer, and training schedule. Some compared methods use ResNet-50, others use ViT, and several results appear to come from different papers. Without a controlled ViT-based reimplementation of strong baselines, the claimed improvement may partly reflect protocol differences.

(7) The paper reports the effect of adding losses, flow depth, anchor number, threshold, and warm-up, but does not test stronger alternatives such as mixture priors, full-covariance or low-rank covariance priors, proxy distributions, class-balanced sampling, or non-flow generative models beyond a simple encoder-decoder. The K-means and prototype comparisons are too weak to isolate the value of the proposed generative prior.

(8) The qualitative analysis is not rigorous. The CAM and top-5 retrieval examples are illustrative but selective. The paper should show failure cases, retrieval errors, nearest-neighbor structure, category confusion, and examples where GAPan succeeds but the baseline fails. Without such analysis, it is difficult to verify whether the model actually captures broader appearance cues or simply produces smoother attention maps.

Limitations

please see the Questions section.

Paper formatting concerns

N/A.

Final justification

Many questions remain unresolved, so I am keeping my original score.

1 comment

We sincerely thank you for the time and effort you have invested in reviewing our paper. Your comments and questions are very insightful and highly valuable for us to enhance the paper. Your comments are addressed point-by-point in the following.

W1: How to capture appearance cues. We thank the reviewer for this insightful comment. Although the priors are learned from seen categories, they are not used as class targets; instead, they model the distribution of multiple instance embeddings within each category, which naturally contains intra-class appearance variations. By sampling diverse appearance anchors from these distributions and aligning instances to them, GAPan transforms these variations into supervisory signals, encouraging the embedding to preserve visual factors (e.g., textures, colors, and part attributes) rather than collapsing into category-specific representations. Since such fine-grained cues are shared across categories and differ mainly in their combinations, they can transfer to unseen classes. We verify this through a linear probe on frozen embeddings: GAPan achieves 64.5% mAP for predicting human-annotated CUB attributes on unseen classes, compared with 29.8% for the discriminative baseline, demonstrating that GAPan captures transferable appearance cues beyond seen-category discrimination.

Table1: Attribute probing results on unseen CUB classes.

MethodAttribute Prediction (mAP, %)
Discriminative Baseline29.8
GAPan64.5

W2: Novelty. We thank the reviewer for helping us clarify our positioning. GAPan is not simply a combination of flows, Gaussian priors, and proxy learning. Its key novelty lies in introducing a new role of distributions in retrieval learning. Existing distribution/proxy-based methods mainly use distributions to measure similarity or model uncertainty, whereas GAPan uses learned distributions as sources of appearance supervision. Specifically, GAPan learns class-conditional feature distributions that capture intra-class appearance variations in an invertible-flow latent space and samples multiple appearance anchors to supervise metric learning. These anchors provide diverse visual variations within each category, encouraging embeddings to preserve appearance factors rather than only category-discriminative features. This forward modeling and reverse sampling loop transforms distributions from passive representations into active supervisory signals, which is fundamentally different from static proxy/prototype alignment or feature augmentation. Under the same ResNet-50 setting, GAPan achieves 77.5% Recall@1 on CUB, outperforming probabilistic proxy [15] (69.3%), non-isotropic proxy [30] (70.5%), and virtual/proxy class [33] (72.2%), demonstrating that the gain comes from distribution-based appearance supervision rather than simply adding uncertainty, proxies, or synthetic features.

W3: Lossless Property. We thank the reviewer for this important clarification. We agree that an invertible flow cannot recover information discarded by the backbone, and we will revise “lossless” to specifically refer to the feature transformation, i.e., preserving the variations already encoded in backbone embeddings. The motivation for using flows is therefore not information recovery, but modeling the appearance variations contained in the feature space. Unlike prototype-based supervision that collapses each class into a single point, the flow captures the full distribution of instance features and preserves intra-class variations. By sampling from the learned distribution, GAPan generates diverse feature anchors that provide appearance-level supervision for embedding learning.

W4: Effectiveness of single diagonal Gaussian. We thank the reviewer for these invaluable suggestions. While a diagonal Gaussian may be insufficient in the original feature space, GAPan models class distributions in the invertible-flow latent space, where the flow transforms complex feature manifolds into a more tractable distribution space. We provide three analyses. First, replacing the diagonal covariance with a full-rank Cholesky covariance does not improve performance (-0.91%), suggesting that the flow already captures feature dependencies and a more complex covariance is unnecessary. Second, likelihood analysis shows that the learned priors capture meaningful class-conditional structures rather than arbitrary clusters: the in-class log-likelihood exceeds the out-of-class likelihood by 33.0 nats, achieving 96.8% posterior classification accuracy and 0.9997 AUROC. Finally, sampled anchors from different regions of the distributions retrieve real images with the same category (99.3%–99.7%) while exhibiting diverse appearance variations, demonstrating that the learned priors capture intra-class appearance diversity beyond single prototypes. These analyses will be included in the revision. Table 2: Effect of different prior modeling strategies on CUB Recall@1 (%).

Prior ModelingRecall@1 (%)
GAPan (Diagonal Gaussian + Flow)89.10
Full Covariance Gaussian88.19
Low-rank Covariance Gaussian88.26

W5: Training Complexity and Scalability. We thank the reviewer for pointing out that Eq. (8) was unclear. During training, the denominator is computed only over classes and sampled anchors within the current mini-batch (i.e., in-batch negatives), rather than all KseenK_{\mathrm{seen}} categories. We will revise Eq. (8) accordingly. Therefore, the computation of Eq. (8) is O(∣CB∣NS)O(|\mathcal{C}_B|N_S), where CB\mathcal{C}_B denotes the number of classes in a mini-batch and NSN_S is the number of sampled anchors per class, making it independent of the total number of categories. The only component scaling with KK is the class prior storage {μk,Σk}\{\mu_k,\Sigma_k\}, requiring O(KC)O(KC) memory (about 17.4M parameters on SOP, used only during training and discarded at inference). On SOP with 2$\times$A6000 GPUs, GAPan requires 0.08 h/epoch and 37 GB peak memory, corresponding to 1.6$\times$ training time and 39% memory overhead over the contrastive baseline. These costs are only introduced during training, with no additional inference overhead.

W6: Performance Improvement. We thank the reviewer for raising this important concern. To isolate the contribution of GAPan from backbone and training protocol differences, we conduct plug-in experiments by integrating GAPan into existing methods while keeping their original backbones and training settings (optimizer, augmentation, batch construction, and schedule) unchanged. Under these controlled settings, GAPan consistently improves representative ViT-based baselines on CUB, e.g., HypViT: 85.6%$\rightarrow$88.7% and VPT-SPG: 86.6%$\rightarrow$89.8%. Since GAPan is the only modification, these improvements provide direct evidence of its contribution beyond differences in experimental protocols.

Table3: Plug-in experiments of GAPan on ViT-based baselines (CUB).

MethodBaseline+GAPanImprovement
HypViT [6]85.688.7+3.1
VPT-SPG [27]86.689.8+3.2

W7: Further Ablation. We agree that stronger controlled baselines are needed to isolate the contribution of the generative prior. We therefore conduct additional ablations under identical settings by replacing only the prior-modeling component. As summarized in Table 4, stronger distributional priors, including full-covariance, low-rank covariance, and mixture priors, achieve 86.1%, 86.4%, and 86.7% Recall@1 on CUB, respectively, all below GAPan (89.1%). This indicates that the gain does not come from simply using a more complex distribution, but from the proposed flow-based appearance supervision. Moreover, alternative strategies, including probabilistic proxy distributions (86.6%), class-balanced sampling without a generative prior (86.7%), and non-invertible feature generation (84.9%), also underperform GAPan, demonstrating that the improvement is not due to uncertainty modeling, sampling strategies, or generic feature augmentation. Finally, point-based references (K-means: 83.9%, Prototype: 85.4%) show that modeling intra-class variation with distributions is more effective than using fixed representatives.

Table4: Ablation studies on prior modeling strategies (CUB Recall@1).

MethodR@1 (%)
GAPan89.1
Mixture Prior (M=3M=3)86.7
Probabilistic Proxy86.6
Class-balanced Sampling86.7
Low-rank Gaussian86.4
Full-rank Gaussian86.1
Encoder-Decoder84.9
Prototype85.4
K-means83.9

W8: Visualization. We agree and will add more comprehensive qualitative analyses. We think that the improvement is not simply caused by smoother CAMs. CAMs only provide qualitative evidence of broader feature responses, while the learned representations are directly evaluated through an embedding-level analysis. Specifically, a linear probe on frozen embeddings predicts human-annotated CUB attributes on unseen classes with 64.5% mAP, compared with 29.8% for the baseline. Since this evaluation uses fixed embeddings and unseen categories, the improvement cannot be explained by attention smoothness or seen-class localization, but demonstrates that GAPan preserves more appearance cues.

Comments on the paper

1 comment
Meta-review

While the paper presents a technically coherent and well-organized approach (GAPan) that utilizes normalizing flows and class-conditional Gaussian priors for fine-grained image retrieval, the committee recommends a Borderline Reject. Reviewers appreciate the competitive empirical results on standard benchmarks (CUB, Cars, SOP) and the lack of inference-time overhead. However, the core conceptual claims—specifically, that the model learns transferable "appearance priors" rather than merely applying seen-class discriminative regularization—are insufficiently justified and lack direct empirical evidence (e.g., covariance analysis, likelihood diagnostics). Furthermore, the novelty is perceived as limited, reading more like an incremental recombination of existing techniques (normalizing flows, proxy-based metric learning) without a sharp distinction from prior probabilistic or virtual class methods. The evaluation also suffers from potentially unfair baseline comparisons (differing backbones/training recipes), unaddressed scalability concerns regarding training complexity on large datasets like SOP, and a lack of rigorous analysis of failure cases or robustness against long-tailed distributions.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.