LevelFirst: Asking About Granularity Before Merging in Interactive Image Clustering

Xin MaarXiv 2026

TL;DR

Pixels alone cannot tell an algorithm whether you want to group "fire trucks" and "garbage trucks" together as "trucks" or keep them separate. Instead of wasting a tight feedback budget asking a user to merge tiny, over-split image clusters two at a time, LevelFirst uses a vision-language model to build a two-level naming tree and spends just three questions calibrating the user's desired granularity across the entire dataset. It turns out that figuring out the zoom level before merging clusters yields massive accuracy jumps on coarse categories without hurting fine-grained ones.

What Problem Does This Paper Address?

Imagine handing a pile of 50,000 photos to an unsupervised clustering algorithm. The same collection—say, CIFAR-100—can validly be sorted into 100 fine-grained classes (like apple, pear, oak, maple) or 20 broad superclasses (like fruit/vegetables and trees). Because an algorithm looking only at pixels has no way of reading your mind, it returns a single partition that is guaranteed to be wrong for at least one of those goals.

Interactive clustering solves this by putting a human in the loop, typically asking pairwise questions: "Do these two groups belong together?" The catch is that pairwise feedback is painfully local. If an initial over-clustering splits 10 broad classes into 60 tiny, specific groups, each "yes" removes at most one group. Under a realistic budget of just 10 questions, pairwise merging mathematically cannot collapse the partition enough to reach the user's intended coarse granularity.

Methods

LevelFirst solves the granularity bottleneck with a four-stage pipeline built around a strict budget of 10 user answers, combining standard pretrained representations with a novel level query mechanism:

Figure 1: The pipeline. The first three of the user’s ten answers set the granularity of the name vocabulary; the remaining seven merge name groups; cleaning then removes over-split groups without labels. The example names are those the VLM produced on STL-10 (Figure 2).
  1. Base Partition & Name Tree: Images are embedded using standard DINOv2 and CLIP features and grouped via count-free Louvain graph clustering. A Vision-Language Model (Qwen2.5-VL) inspects sample grids from each community and proposes both a specific noun ("fire truck") and a general noun ("truck"), assembling a two-level hierarchy. CLIP-L then assigns all photos to these specific names.
  2. Level Queries (Novel): Before merging anything, LevelFirst picks the three general names covering the most images and asks the user: "One kind or several kinds?" Saying "one kind" collapses all specific sub-groups into the general name. Crucially, each of the three queried branches keeps its own answer, while an unweighted majority vote of the three sets the default level (specific vs. general) for every other unqueried branch in the tree.
  3. Merge Queries: The remaining 7 answers are spent on standard pairwise contact queries, asking whether large, strongly touching neighbor groups belong together.
  4. Label-Free Cleaning: Finally, an ArcFace metric-learning head trains iteratively on "confident" pseudo-labeled images (where zero-shot CLIP predictions and nearest neighbors agree), sweeping away tiny, over-split leftover clusters without reading any ground-truth labels.
Example of three level queries on STL-10 showing how two "one kind" answers outvote one "several kinds" answer to set the global granularity.

Datasets

No new raw datasets are collected, but the author constructs 26 benchmark target sets from five classic image collections—CIFAR-100, Tiny ImageNet, CIFAR-10, STL-10, and CIFAR-100-20 (CIFAR-100 labeled by its 20 superclasses)—using a label-derived simulated user.

To test realistic data distributions, every setting is evaluated in both a balanced regime and an exponentially decaying long-tail regime (imbalance ratio 100). Twenty sets test fine targets (seeded class splits of CIFAR-100 and Tiny ImageNet) and six test coarse targets (CIFAR-10, STL-10, and CIFAR-100-20). Notably, after tuning the method on 8 development sets, the author pre-declared pass/fail criteria for the held-out and fresh splits before running them.

Key Insights and Ideas

  • Three global questions beat twenty local ones: On coarse targets, spending 3 answers on level queries + 7 on merges outperforms 20 straight pairwise merge queries (78.4 vs. 74.3 ARI before cleaning). One majority vote reshapes the entire vocabulary at once.
  • Unweighted voting dodges "catch-all" traps: Why use a simple 2-out-of-3 vote instead of weighting by image count? During development on long-tail data, a single catch-all VLM category ("animal") swallowed most of the dataset's images; weighting by volume would have let one broad branch dictate granularity for everything else.
  • Knowing the true cluster count $K$ isn't enough: Giving geometric baselines (like KMeans or count-matched Louvain) the exact ground-truth number of classes still maxed out at 61.4 mean ARI—well behind LevelFirst's 77.6. Semantic VLM naming bridges visual gaps (like connecting diverse vehicles into one group) that pure feature geometry misses.
  • LLM judges struggle to calibrate merges: Attempting to automate merges with an LLM judge or logistic calibrator either stalled out (rejecting valid same-class merges) or triggered runaway false merges that tanked performance.

Key Results

Performance is measured primarily via Adjusted Rand Index (ARI, scaled 0–100, where higher means closer agreement with true labels):

  • Big wins on coarse targets, parity on fine: With 10 answers before cleaning, LevelFirst hits 75.4 overall mean ARI vs. 72.9 for 10 pairwise contact queries. All the magic happens on coarse sets (78.4 vs. 66.5), while fine sets stay virtually tied (74.5 vs. 74.8), costing almost nothing when specific names are already right.
  • Full pipeline with cleaning: Adding label-free cleaning pushes LevelFirst to 77.6 mean ARI across all 26 sets (82.3% Hungarian accuracy), beating the strongest calibrated-merge + LLM-judge baseline (74.5 ARI) without needing an LLM judge.
  • Noisy user resilience: When flipping simulated user answers randomly at a 20% error rate ($p=0.2$), LevelFirst still beats the zero-answer baseline by 4.6 ARI overall (driven by a +22.4 ARI lead on coarse sets), though at $p=0.1$ it narrowly missed its pre-declared degradation target (73.1 vs. a 73.4 bar) because flipping the 3-vote majority is costly.

Limitations and Future Work

  • Simulated users & small images: Feedback came from ground-truth label rules with symmetric random noise, whereas real humans make correlated mistakes on confusing categories. Furthermore, images were small (32–96 pixels), leaving ImageNet-scale and ultra-fine-grained datasets (like bird species) untested.
  • Locked into two levels and merge-only: If a user's desired granularity sits between the VLM's two levels—or relies on non-object attributes like color or scene—LevelFirst cannot reach it. Also, because neither merge queries nor cleaning can split a cluster, over-merged classes are permanent.
  • Future directions: Testing with real human annotators and generalizing the VLM hierarchy beyond two levels are the clear next steps.

Summary updated

BibTeX
@misc{ma2026levelfirst,
  author = {Xin Ma},
  title = {{LevelFirst: Asking About Granularity Before Merging in Interactive Image Clustering}},
  year = {2026},
  eprint = {2611.38429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38429},
}
Figure