Introduction
Traditional image retrieval has long struggled with the "semantic gap"—the disconnect between low-level pixel data (like color and texture) and high-level human concepts. Early systems relied on Query-by-Visual-Example (QBVE), which matched visual clusters but often failed to distinguish between conceptually different objects with similar colors. While keyword-based search addressed this, it required extensive manual annotation and was constrained by a fixed vocabulary.
This study explores Query-by-Semantic-Example (QBSE), a retrieval paradigm that maps images into a "semantic space" of concept probabilities. By treating images as probability distributions over concepts rather than raw visual features, QBSE leverages contextual relationships to outperform traditional visual searches, even for objects outside its explicit training set.
Methodology
The authors employ a Minimum Probability of Error (MPE) framework to construct the QBSE system, which operates in two primary stages:
1. Semantic Labeling
Images are decomposed into low-level features using Discrete Cosine Transform (DCT) coefficients across various color spaces. These features are processed by a hierarchical model to generate a Semantic Multinomial (SMN). The SMN is a vector where each entry represents the probability of a specific concept (e.g., "sky," "mountain," "train") being present in the image.
2. Semantic Retrieval
Retrieval is performed by comparing SMN vectors using the Kullback-Leibler (KL) divergence. This process effectively places images within a "semantic simplex," where proximity indicates conceptual similarity.
Key Insights
- Contextual Generalization: QBSE can retrieve concepts it hasn't been explicitly trained on. For instance, it can identify construction sites by recognizing related concepts like "buildings" and "streets."
- The Importance of Meaning: When trained on random image groupings (a "meaningless" space), performance dropped below basic visual search, proving that semantic labels provide essential structural information.
- Color vs. Texture: Within a known semantic space, color information (YBR) significantly enhances performance. However, when generalizing to unseen concepts, the system relies more heavily on texture.
- Vocabulary Saturation: Performance improves as concepts are added but eventually hits diminishing returns, suggesting that a diverse, representative vocabulary is key.
Results and Performance
QBSE consistently outperformed visual-only retrieval across all tested datasets. In the Corel50 dataset, the YBR color space achieved a Mean Average Precision (MAP) of 0.197, far exceeding the chance performance of 0.020. Even when query concepts were absent from the training vocabulary, QBSE maintained high performance by utilizing the underlying structure of concept co-occurrence in the semantic simplex.
Conclusion
While QBSE effectively bridges the semantic gap, future work could integrate spatial scene information to move beyond the "bag of features" approach. Additionally, incorporating modern features like deep learning embeddings and advanced extraction techniques like Probabilistic Latent Semantic Indexing (PLSI) could further enhance retrieval accuracy.
Reference: Rasiwasia, N., & Vasconcelos, N. (2008). A Study of Query by Semantic Example. 3rd International Workshop on Semantic Learning and Applications in Multimedia.
Summary updated