ImageSet2Text: Describing Sets of Images through Text

Piera Riccio, Francesco Galati, Kajetan Schweighofer, Noa Garcia, Nuria Oliver · DOI

Introduction

In the current era of digital proliferation, we are inundated with visual data. While modern AI models excel at captioning individual images (e.g., identifying a "dog in a park"), they struggle to provide comprehensive descriptions for large-scale datasets. Understanding the collective aesthetic, stylistic trends, or systematic biases within a collection of thousands of images typically requires labor-intensive manual inspection. Existing "group captioning" methods are generally restricted to small sets of 2 to 30 images; when applied to larger datasets, these models often suffer from memory constraints or produce overly generic summaries.

To address this gap, Riccio et al. (2025) introduced ImageSet2Text, a framework designed to automatically generate detailed, nuanced textual descriptions for large image collections. By integrating Large Language Models (LLMs) with symbolic knowledge from lexical graphs and visual verification via CLIP, the system constructs interpretable "concept graphs" that summarize thousands of images efficiently.

Methodology

The core of ImageSet2Text is an iterative, two-phase loop that constructs a hierarchical Concept Graph:

Phase A: Hypothesis Generation ("Guess")

The system selects a small random subset of images from the collection. An LLM-based Visual Question Answering (VQA) process identifies prevalent visual elements. To expand these initial observations, the system utilizes WordNet, an external lexical graph. For instance, if the VQA identifies "gold," the system traverses WordNet to find related concepts like "yellow" or "chromatic color," creating a hierarchy of hypotheses ranging from general to specific.

Phase B: Visual Verification ("Look and Keep")

These hypotheses are then verified against the entire image set using CLIP embeddings and a weighted k-Nearest Neighbors (kNN) classifier. The system employs a "general-to-specific" filter, verifying broad categories before testing highly specific concepts to avoid hallucinations. If a concept (e.g., "dunes") is statistically verified across a sufficient portion of the dataset, it is permanently added to the Concept Graph. This process is recursive: newly confirmed concepts serve as subjects for deeper exploration (e.g., first identifying "desert," then "dunes," then "golden sand").

Finally, the completed Concept Graph is processed by an LLM to produce a coherent, natural language summary. This hybrid approach—combining symbolic structure (WordNet) with neural perception (CLIP/LLMs)—ensures the model remains interpretable and scalable.

Datasets and Evaluation

As no standard benchmarks existed for large-scale group captioning, the researchers introduced two new datasets:

  • GroupConceptualCaptions: Comprising 116 groups (~23,000 images) clustered by original web captions.
  • GroupWikiArt: Containing 105 groups (~53,000 images) clustered by artist, style, and genre, testing the model’s ability to grasp abstract artistic concepts.
  • PIS (PairedImageSets): Used to evaluate "Set Difference Captioning," where the model must describe the specific attributes that distinguish one set from another.

Results

ImageSet2Text demonstrated superior performance across all benchmarks, outperforming state-of-the-art models such as GPT-4o and LLaVA-1.5 when adapted for group tasks.

Examples of generated descriptions for interior design and landscape painting image sets.

Key findings include:

  • Accuracy and Detail: The model excelled in "Set Difference" tasks, particularly on "Medium" and "Hard" sets where subtle distinctions (e.g., metallic vs. matte finishes) were critical.
  • Scalability: Due to precomputed CLIP embeddings, the iterative kNN verification steps are highly efficient, taking less than 0.1 seconds even for datasets containing a million images.
  • Human Evaluation: In a study involving 233 participants, ImageSet2Text's descriptions were rated significantly higher than control summaries in terms of clarity, accuracy, and level of detail.

Discussion and Future Work

While ImageSet2Text represents a significant advancement in cultural analytics and dataset transparency, the authors noted several limitations. WordNet’s hierarchical structure occasionally presents non-intuitive relationships for visual tasks (e.g., treating "pachyderm" and "proboscidean" as distinct siblings). Additionally, the model can struggle with fine-grained visual similarities, such as distinguishing between a peach and a nectarine, often defaulting to a more generic parent term like "fruit."

Future research will focus on handling heterogeneous datasets by incorporating a preliminary clustering step to identify distinct groups within "messy" image collections.

Reference: Riccio, P., et al. (2025). ImageSet2Text: Describing Sets of Images through Text. arXiv:2503.19361v2.

Summary updated

BibTeX
@inproceedings{riccio2026imageset,
  author = {Piera Riccio and Francesco Galati and Kajetan Schweighofer and Noa Garcia and Nuria Oliver},
  title = {{ImageSet2Text: Describing Sets of Images through Text}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i11.37826},
}
Figure