Content-based image retrieval (CBIR) with global features is notoriously noisy, especially for image queries with low percentages of relevant images in a collection. Moreover, CBIR typically ranks the whole collection, which is inefficient for large databases. We experiment with a method for image retrieval from multimodal databases, which improves both the effectiveness and efficiency of traditional CBIR by exploring secondary modalities. We perform retrieval in a two-stage fashion: first rank by a secondary modality, and then perform CBIR only on the top-K items. Thus, effectiveness is improved by performing CBIR on a ‘better’ subset. Using a relatively ‘cheap’ first stage, efficiency is also improved via the fewer CBIR operations performed. Our main novelty is that K is dynamic, i.e. estimated per query to optimize a predefined effectiveness measure. We show that such dynamic two-stage setups can be significantly more effective and robust than similar setups with static thresholds previously proposed.
Dynamic Two-Stage Image Retrieval from Large Multimodal Databases
1. Dynamic Two-Stage Image Retrieval from
Large Multimodal Databases
Avi Arampatzis
Konstantinos Zagoris
Savvas Chatzichristofis
Department of Electrical and Computer Engineering
Democritus University of Thrace
Xanthi 67100, Greece
ECIR 2011
2. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 2
Outline
1. Content-based Image Retrieval (CBIR): global vs local features, scalability
2. A problem of global features: The Red Tomato / Red Pie-Chart Problem
3. Multimodal Information Collections
4. Two-stage Image Retrieval from Multimedia Databases
related work
our main contributions
5. Experiments on the ImageCLEF 2010 Wikipedia Test Collection
3. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 3
Content-based Image Retrieval (CBIR)
In CBIR, images are represented by either
local features:
¦ computed at multiple image points; capable of recognizing objects
¦ computationally expensive, e.g. due to high dimensionality
global features:
¦ generalize images with single vectors capturing color, texture, shape, etc.
¦ computationally cheap (relatively)
¥ thus, more popular
CBIR with either global or local features
does not scale up well to large databases efficiency-wise
4. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 4
CBIR with Global Features
notoriously noisy for image queries of low generality
(generality = the fraction of relevant images in a collection)
In text retrieval: documents matching no query keywords are not retrieved
In image retrieval: CBIR will rank the whole collection
¦ The Red Tomato / Red Pie-Chart Problem [next]
5. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 5
The Red Tomato / Red Pie-Chart Problem
Image query: Collection items:
If the query has a low generality
early ranks may be dominated by spurious results (such as the pie-chart)
possibly ranked even before red tomatoes on non-white backgrounds
6.
7. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 7
Contemporary Information Collections
Large
Multimodal (= provide different manners of retrieval )
A good example is Wikipedia:
Large:
3,605,426 articles (English version alone), “millions of images”, etc.
Multimodal:
Topics are covered in several languages.
Topics may include non-textual media (image, sound, video, etc.)
annotated in a variety of metadata fields (caption, description, etc.)
Thus, there are several ways to get to the same info/topic.
8. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 8
Image Retrieval from Multimodal Databases
In image retrieval systems, users are assumed to target visual similarity. Thus,
Image is the primary medium.
image modalities are most important than others
Modalities from other media are secondary.
but they can still help with the problems of CBIR:
¦ low generality (Red Tomato/Pie-Chart) problem (esp. for global feats.)
¦ speed
Traditionally, fusion has been used, but:
weighing of media is not trivial; usually requires training data
not theoretically sound: influence of textual scores may worsen the visual quality
9. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 9
Two-stage Image Retrieval from Multimedia Databases
Key idea for improving CBIR effectiveness:
Before CBIR, raise query generality by reducing collection size via filtering.
Assumptions:
Query is expressed in the primary medium i.e. image,
accompanied by a query in a secondary medium, e.g. text.
Two stage retrieval:
Rank the collection by the secondary medium/query, e.g. text.
Draw a rank threshold K.
Re-rank only the top-K items with CBIR.
Using a ‘cheaper’ secondary medium, we also improve speed.
10. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 10
Previous Related Work
Best-results re-ranking by visual content has been seen before, but
for other purposes, e.g. result clustering, diversity, . . .
using external info (e.g. sets of images), or training data, . . .
They all used
global features
a static predefined threshold for all queries
Effectiveness results have been mixed,
while some didn’t provide a comparative evaluation.
11. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 11
Main Contributions
In view of the related literature, our main contributions are:
dynamic thresholds per query
no external information
no training data
extensive evaluation of thresholding types and levels
12. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 12
The ImageCLEF 2010 Wikipedia Test Collection
237,434 items
Primary medium: image
¦ Heterogeneous: color natural images, graphics, greyscale images, etc.
¦ variety of image sizes
¦ It’s a large benchmark image database for today’s standards.
+ noisy and incomplete user-supplied annotations
+ wikipedia articles containing the images
Annotations articles come in 3 languages: En, Fr, De.
70 test topics
Visual part:
¦ 1 or more example images
Textual part:
¦ 3 titles fields, one per language (En, Fr, De)
Topics are assessed by visual similarity.
13. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 13
Indexing and Retrieval
text: only English annotations + English query
Lemur Toolkit V4.11 / Indri V2.11
¦ tf.idf retrieval model (works better with our thresholding methods)
¦ default settings + Krovetz stemmer
image:
Joint Composite Descriptor (JCD)
¦ captures color and texture information
¦ developed for color natural images
Spatial Color Distribution (SpCD)
¦ captures color and its spatial distribution
¦ more suitable for colored graphics (fewer colors, less texture)
JCD SpCD are found to be more effective than MPEG-7 descriptors.
14. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 14
Thresholding and Re-ranking
Static Thresholding: a fixed pre-selected rank threshold K for all topics
K 25, 50, 100, 250, 500, 1000.
Dynamic Thresholding: a variable rank threshold per topic
Score-Distributional Threshold Optimization (SDTO)
[Arampatzis et.al., ”Where to Stop Reading a Ranked-list?”, SIGIR 2009]
Two types:
¦ Threshold on Precision: g 0.990, 0.950, 0.800, 0.500, 0.330, 0.100
¦ Threshold on prel: θ 0.990, 0.950, 0.800, 0.500, 0.330, 0.100
15. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 15
Initial Experiments: Setting a Baseline
item scoring by MAP P@10 P@20 bpref
JCD1 .0058 .0486 .0479 .0352
maxi JCDi .0072 .0614 .0614 .0387
maxi JCDi + maxi SpCDi .0112 .0871 .0886 .0415
tf.idf (text-only) .1293 .3614 .3314 .1806
Image-only runs provide very weak baselines.
We chose the text-only run as a baseline for the statistical significance testing.
This makes sense also from an efficiency point of view:
if using a secondary text modality for image retrieval is more effective than
current CBIR methods, then there is no reason at all for using
computationally costly CBIR methods.
17. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 17
Results
Static thresholding improves initial Precision at the cost of MAP and bpref.
Dynamic thresholding on Precision or prel does not have this drawback.
The level of static and precision thresholds influences greatly the effectiveness;
unsuitable choices (e.g. too loose) lead to a degraded performance.
Prel thresholds are much more robust in this respect.
Better CBIR at the second stage leads to overall improvements, but the
thresholding type seems more important: While the two CBIR methods vary
greatly in performance (the best has almost double the effectiveness of the
other), static thresholding is not influenced much by this choice. Dynamic
methods benefit more from improved CBIR.
18. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 18
Results
19.
20. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 20
Conclusions
Two-stage retrieval with dynamic thresholding:
more effective robust than static thresholding
practically insensitive to a wide range of choices for the optimization measure
beats significantly the text-only several image-only baselines
Two-stage retrieval, irrespective of thresholding type:
efficiency benefit:
¦ it cuts down greatly on expensive image operations
¦ on average, only 2 to 5 in 10,000 images had to be scored
21. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 21
Further Research
Compare two-stage retrieval to fusion. [Did this; check ECIR11 poster]
Both methods work better than text-only image-only;
two-stage is slightly better than fusion, but the difference is non-significant.
Both methods are robust in different ways:
¦ Fusion provides less variability across topics but it is sensitive to the
weighing parameter of the contributing media.
¦ Two-stage provides a much lower sensitivity to its thresholding parameter
but has a higher variability across topics.
Try two-stage retrieval with other type of image descriptors,
e.g. the visual codebook approach (TOP-SURF).
Generalization to multi-stage retrieval, where rankings for the media are
successively being thresholded and re-ranked with respect to a media hierarchy.
22. Dynamic Two-Stage Image Retrieval from Large Multimodal Databases Avi Arampatzis, Konstantinos Zagoris, Savvas Chatzichristofis 22
avi@ee.duth.gr
Thank you !