Diffusion Models as Data Mining Tools
Ioannis Siglidis, Aleksander Holynski, Alexei A. Efros, Mathieu Aubry, Shiry Ginosar
TL;DR
The paper tackles scalable visual data mining by leveraging diffusion models trained for image synthesis. It finetunes conditional latent diffusion models on target datasets and defines a pixel-level typicality score to identify the most representative visual elements, then mines patches and clusters them with DIFT embeddings to summarize data. The authors demonstrate the approach on four diverse datasets (Cars, Faces, Geo, Places) and show its ability to translate visual elements across locations and localize pathologies in medical images without localization supervision. Finetuning is essential to mitigate base model biases and improve cross-label translation, yielding semantically meaningful clusters and scalable summaries. Overall, the work presents a general, scalable framework for extracting informative visual patterns from large, heterogeneous image collections using diffusion-model-based data mining.
Abstract
This paper demonstrates how to use generative models trained for image synthesis as tools for visual data mining. Our insight is that since contemporary generative models learn an accurate representation of their training data, we can use them to summarize the data by mining for visual patterns. Concretely, we show that after finetuning conditional diffusion models to synthesize images from a specific dataset, we can use these models to define a typicality measure on that dataset. This measure assesses how typical visual elements are for different data labels, such as geographic location, time stamps, semantic labels, or even the presence of a disease. This analysis-by-synthesis approach to data mining has two key advantages. First, it scales much better than traditional correspondence-based approaches since it does not require explicitly comparing all pairs of visual elements. Second, while most previous works on visual data mining focus on a single dataset, our approach works on diverse datasets in terms of content and scale, including a historical car dataset, a historical face dataset, a large worldwide street-view dataset, and an even larger scene dataset. Furthermore, our approach allows for translating visual elements across class labels and analyzing consistent changes.
