Learning to Align Generative Appearance Priors for Fine-grained Image Retrieval
Shijie Wang, Yadan Luo, Zijian Wang, Xin Yu, Zi Huang
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Text-to-Image Diffusion Control · Type: new method · Keywords: fine-grained image retrieval, generative appearance priors, normalizing flows, cross-category generalization, embedding alignment
Areas: Computer Vision & 3D › Visual Diffusion and Restoration › Flow Matching and Denoisers
Summary
GAPan aligns generative appearance priors using normalizing flows to improve fine-grained image retrieval on unseen categories.
Explained to a 5-year-old
We look at many pictures of things like animals and objects. We want to find a picture of something we have never seen before, even if it is a different kind. The computer learns what each thing looks like by making a special model that copies the shape and color. It uses a trick that can move pictures into a hidden space and back again to help the model remember details. This helps the computer guess better which pictures belong together.
Explained to a 5-year-old, longer
We look at many pictures of things like animals and objects. Usually, when we train a computer to find similar pictures, we tell it which kind of thing each picture is. This tells the computer to focus on what kind it is, not on how it looks. But sometimes we want to find a picture of something we have never seen before, like a new breed of dog. To help with that, the computer learns what each thing looks like by copying its shape, color, and texture. It does this by making a special model that can turn pictures into a hidden space and then back again. This hidden space works like a secret room where each kind of thing has its own cloud of similar pictures. The computer fills this secret room with many examples of what each kind looks like. Then it uses the pictures from this secret room to create new reference pictures that show how things can vary within a kind. These reference pictures help the computer compare new pictures to the hidden clouds, even if the new picture is from a kind it hasn't seen. By focusing on appearance instead of just the label, the computer can guess better which pictures belong together. This makes it easier to find similar pictures across different kinds of objects.
For a technical reader
GAPan uses normalizing flows to map image features into a latent density space where each seen category is modeled by a class-conditional Gaussian prior, optimizing via exact likelihood. It then samples from these priors and maps them back to the feature space to create appearance-aware anchors that supervise an alignment loss. This prior-driven alignment encourages embeddings to capture fine-grained visual details rather than just category semantics. As a result, the model generalizes better to unseen categories, achieving state-of-the-art retrieval performance. The approach is fully differentiable and can be integrated into existing pipelines with minimal overhead.
Problem
Fine-grained image retrieval models trained on seen categories often focus on category semantics, limiting generalization to unseen categories. This creates a need for methods that capture appearance characteristics that transfer across categories.
Method
The approach employs normalizing flows to create an invertible density model of retrieval features, modeling each seen category with a class-conditional Gaussian prior and optimizing via exact likelihood. Samples from the high-density regions of these priors are then mapped back to the feature space to generate appearance-aware anchors that guide an alignment objective.
Results
The approach achieves state-of-the-art performance on both fine-grained and coarse-grained retrieval benchmarks.
Contributions
It reformulates the learning objective from category prediction to appearance modeling using a generative prior alignment framework and introduces an invertible flow-based density model for retrieval features. This enables better generalization to unseen categories by aligning embeddings with category-specific appearance distributions.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction