Introduction
Modern image retrieval systems often struggle with complex, multi-part queries. While standard models can handle a single image or text string, real-world scenarios frequently require combining multiple semantic concepts—such as several reference photos and specific textual descriptions—to find a target image.
The Multimodal Probabilistic Composer (MPC) framework addresses this by representing queries as probabilistic distributions rather than fixed points. This approach allows for the retrieval of images using an arbitrary number of inputs, effectively managing the inherent ambiguity of multimodal data.
Problem Statement
Traditional "composed" retrieval tasks typically involve exactly two inputs, such as an image and a text modifier (e.g., "this shirt, but blue"). These systems often rely on fixed fusion layers that do not scale to more complex queries. Furthermore, treating inputs as deterministic "points" in an embedding space fails to capture the polysemy of words or the visual clutter of images. For instance, the word "dog" encompasses a vast range of breeds and contexts; a single vector cannot represent this diversity without losing information.
Methodology: The Multimodal Probabilistic Composer
The MPC framework introduces a novel way to represent and combine information through probabilistic embeddings.
1. Probabilistic Embeddings
Instead of mapping inputs to a single vector, MPC maps each image or text snippet to a multivariate Gaussian distribution. This distribution is defined by a mean ($\mu$), representing the core semantic concept, and a variance ($\sigma^2$), representing uncertainty or diversity.
2. Composition via Gaussian Products
To combine $k$ different queries, MPC utilizes a parametric probabilistic rule: the product of Gaussian probability density functions (PDFs). Because the product of multiple Gaussians is itself a Gaussian, this allows the model to "intersect" concepts from all queries into a single composite embedding. This mathematical property enables the model to handle any number of inputs without requiring a learned fusion module that might overfit to a specific input count.
3. Probabilistic Similarity
Matching a composite query to a target image involves a new similarity metric that calculates the log-likelihood of samples from the target image's distribution under the composite query's distribution.
Experimental Setup and Results
The authors evaluated MPC on a rigorous benchmark based on MS-COCO, using object annotations to create queries with 2, 3, or 4 inputs. They also validated the approach on the Fashion200k dataset.
Key Findings
- Scalability: As the number of query components increased from 2 to 4, deterministic models (like TIRG or MRN) saw performance plummet. In contrast, MPC maintained high accuracy due to its zero-shot composition capabilities.
- Generalization: In "unseen" setups (novel combinations of categories), MPC achieved a Recall@5 of 26.11%, nearly doubling the performance of TIRG (14.34%).
- Ambiguity Resolution: Probabilistic modeling excels at handling polysemy. For example, a high-variance embedding for "clock" (which could be a watch or a wall clock) naturally narrows when composed with "bus," resulting in a low-variance intersection representing a "clock tower."
Conclusion
The Multimodal Probabilistic Composer demonstrates that representing semantic concepts as distributions rather than points significantly improves the flexibility and accuracy of image retrieval. By leveraging the mathematical properties of Gaussians, MPC achieves superior performance on complex, multi-part queries and generalizes better to unseen compositions. Future work will focus on extending this framework to handle more complex natural language queries and optimizing the computational overhead of probabilistic similarity calculations.
Summary updated