How does product similarity change when a model looks at titles versus images?
UC Berkeley MIDS · Team project · Model evaluation and interactive visualization
Explore EmbedLab ↗One query, four top matches. The playground compares text-to-listing retrieval with CLIP text-to-image retrieval. Similarity scores belong to each model’s embedding space and should not be compared directly across models.
The question
A shopper looking for a similar product might care about its category, its appearance, or both. We wanted to see how the information a model receives changes the matches it returns.
The analysis
We compared MiniLM text embeddings and CLIP image embeddings for 450 products across 30 categories. For each product, we retrieved the 10 nearest neighbors from each model. We measured how many matches shared the original product’s catalog category and how much the two lists overlapped.
The original 450-product analysis: each dot represents a catalog category. Axes measure the percentage of the 10 nearest neighbors that share the product’s category; points below the diagonal have higher text purity. Color shows Jaccard overlap between neighbor sets (%), and the diamond marks the equal-weight category average.The expanded explorer compares four representations on a separate 72-product cohort. Same-wording neighbors@10 measures shared title-wording labels, a different metric from catalog-category purity. The two-dimensional projections support inspection; they are not the measured embedding distances.The research preview introduces the studies and their separate cohorts, with team credits for Eduardo Belluti, Ivan Perez, and Howard Zhang. UC Berkeley MIDS · DATASCI 209 · Fall 2026.
The tool
We built an interactive tool that lets readers inspect the actual products behind those metrics. Seeing both lists side by side helps readers judge whether a match makes sense for the shopping task they have in mind.