Figure 1.
Motivation for HEADHUNTER. Individual MM-DiT attention heads exhibit heterogeneous concept localization behavior. Aggregating saliency maps across heads can dilute strong target localizers and degrade fine boundary detail. HEADHUNTER instead selects a single concept-aligned head, marked in green, producing a sharper segmentation mask than the corresponding head-aggregated output.
Figure 1.
Motivation for HEADHUNTER. Individual MM-DiT attention heads exhibit heterogeneous concept localization behavior. Aggregating saliency maps across heads can dilute strong target localizers and degrade fine boundary detail. HEADHUNTER instead selects a single concept-aligned head, marked in green, producing a sharper segmentation mask than the corresponding head-aggregated output.
Figure 2.
Overview of the proposed dataset synthesis pipeline. An LLM generates a diverse text prompt and concept set which are used for image synthesis and concept localization. HEADHUNTER extracts multimodal attention for the target concept and aggregates it to form a proxy mask used for self-guided selection of the single attention head which best localizes the concept. The generated image and final mask are then verified by a VLM for target concept presence and mask correctness before accepting the pair into the synthetic dataset.
Figure 2.
Overview of the proposed dataset synthesis pipeline. An LLM generates a diverse text prompt and concept set which are used for image synthesis and concept localization. HEADHUNTER extracts multimodal attention for the target concept and aggregates it to form a proxy mask used for self-guided selection of the single attention head which best localizes the concept. The generated image and final mask are then verified by a VLM for target concept presence and mask correctness before accepting the pair into the synthetic dataset.
Figure 3.
Impact of class subcategories on generated image diversity. We instruct the prompt planner to use subcategories, such as different dog breeds, to ensure intra-class diversity in generated samples.
Figure 3.
Impact of class subcategories on generated image diversity. We instruct the prompt planner to use subcategories, such as different dog breeds, to ensure intra-class diversity in generated samples.
Figure 4.
Mask refinement. The HEADHUNTER selected saliency map is upsampled, thresholded, and lightly cleaned to form a coarse binary mask . We derive a box-point prompt from by enclosing the localized foreground support and selecting a positive point inside the mask. SAM2 then uses the generated image and box-point prompt to refine the object boundary, producing the final mask shown in yellow.
Figure 4.
Mask refinement. The HEADHUNTER selected saliency map is upsampled, thresholded, and lightly cleaned to form a coarse binary mask . We derive a box-point prompt from by enclosing the localized foreground support and selecting a positive point inside the mask. SAM2 then uses the generated image and box-point prompt to refine the object boundary, producing the final mask shown in yellow.
Figure 5.
Representative synthetic image-mask pairs generated by the pipeline. For each example, the generated image is shown alongside the corresponding mask overlaid on the image.
Figure 5.
Representative synthetic image-mask pairs generated by the pipeline. For each example, the generated image is shown alongside the corresponding mask overlaid on the image.
Figure 6.
Representative segmentation predictions made on VOC2012 validation images. For each example, the VOC2012 image, GT mask, and predicted mask are shown.
Figure 6.
Representative segmentation predictions made on VOC2012 validation images. For each example, the VOC2012 image, GT mask, and predicted mask are shown.
Figure 7.
Effect of attention head aggregation on zero-shot single-class segmentation. The top head (orange) performs best; aggregation of a subset of top heads remains more competitive than full averaging (grey).
Figure 7.
Effect of attention head aggregation on zero-shot single-class segmentation. The top head (orange) performs best; aggregation of a subset of top heads remains more competitive than full averaging (grey).
Figure 8.
Head selection vs. oracle on zero-shot single-class segmentation. HEADHUNTER identifies near-optimal heads without any supervision, recovering 91% of the oracle mIoU.
Figure 8.
Head selection vs. oracle on zero-shot single-class segmentation. HEADHUNTER identifies near-optimal heads without any supervision, recovering 91% of the oracle mIoU.
Figure 9.
Selection distribution on VOC2012 single-class. Each cell shows the frequency of evaluated images for which a given head is selected by HEADHUNTER.
Figure 9.
Selection distribution on VOC2012 single-class. Each cell shows the frequency of evaluated images for which a given head is selected by HEADHUNTER.
Figure 10.
Effect of proxy concept set on mask quality. Given the same input image, context activations leak into the target under the binary proxy, while the richer multi-concept proxy assigns those regions to their own channels, concentrating saliency on the target and producing a segmentation mask closer to the GT.
Figure 10.
Effect of proxy concept set on mask quality. Given the same input image, context activations leak into the target under the binary proxy, while the richer multi-concept proxy assigns those regions to their own channels, concentrating saliency on the target and producing a segmentation mask closer to the GT.
Figure 11.
Concept entanglement between semantically related concepts. Numbered markers (1–5) indicate five queried concepts from the scene, with saliency maps for each shown below. Semantically related concepts entangle, as shown by the maps for “dog” and “cat”, with the former ‘absorbing’ both animals, leaving the latter essentially empty. The remaining, semantically distant concepts localize cleanly, indicating that entanglement arises specifically between closely related concepts (e.g., animals).
Figure 11.
Concept entanglement between semantically related concepts. Numbered markers (1–5) indicate five queried concepts from the scene, with saliency maps for each shown below. Semantically related concepts entangle, as shown by the maps for “dog” and “cat”, with the former ‘absorbing’ both animals, leaving the latter essentially empty. The remaining, semantically distant concepts localize cleanly, indicating that entanglement arises specifically between closely related concepts (e.g., animals).
Table 1.
Comparison of related work on synthetic dataset generation for semantic segmentation.
Table 1.
Comparison of related work on synthetic dataset generation for semantic segmentation.
| Method |
Generator |
Annotation Mechanism |
Training Free |
| DatasetGAN [4] |
GAN |
Feature decoder |
✗ |
| BigDatasetGAN [5] |
GAN |
Feature decoder |
✗ |
| DiffuMask [8] |
U-Net SD |
CA |
✗ |
| Dataset Diffusion [9] |
U-Net SD |
CA + SA |
✓ |
| DatasetDM [10] |
U-Net SD |
Latent decoder |
✗ |
| MosaicFusion [11] |
U-Net SD |
CA |
✓ |
| Ours |
MM-DiT |
Selected MM-DiT head |
✓ |
Table 2.
Zero-shot single-class segmentation results on VOC2012.
Table 2.
Zero-shot single-class segmentation results on VOC2012.
| Method |
Architecture |
mIoU |
| Grad-CAM [30] |
CLIP ViT |
44.9 |
| DAAM [31] |
SD2 U-Net |
45.0 |
| DAAM [31] |
SDXL U-Net |
56.0 |
| ConceptAttention [14] |
FLUX.1-schnell |
76.5 |
| ConceptAttention [14] (reproduced) |
FLUX.1-dev |
76.9 |
| Ours |
FLUX.1-dev |
79.2 |
Table 3.
Comparison of segmentation results on VOC2012 against comparable synthetic dataset generators.
Table 3.
Comparison of segmentation results on VOC2012 against comparable synthetic dataset generators.
| Dataset |
Segmenter |
Backbone |
# Images |
mIoU |
| Dataset Diffusion [9] |
DeepLabV3 |
ResNet-101 |
10k/40k
|
63.8/64.8 |
| Ours |
DeepLabV3 |
ResNet-101 |
10k
|
64.9 |
| DiffuMask [8] |
Mask2Former |
ResNet-50 |
60k
|
57.4 |
| Dataset Diffusion [9] |
DeepLabV3 |
ResNet-50 |
40k
|
61.6 |
| Ours |
DeepLabV3 |
ResNet-50 |
10k
|
60.7 |
Table 4.
Per-class segmentation results on VOC2012 across ResNet-50 and ResNet-101 backbones.
Table 4.
Per-class segmentation results on VOC2012 across ResNet-50 and ResNet-101 backbones.
| Class |
ResNet-50 |
ResNet-101 |
Class |
ResNet-50 |
ResNet-101 |
| Aeroplane |
83.0 |
83.0 |
Dining Table |
9.0 |
10.9 |
| Bicycle |
31.8 |
31.3 |
Dog |
74.2 |
77.5 |
| Bird |
83.3 |
89.9 |
Horse |
68.9 |
73.8 |
| Boat |
58.4 |
70.0 |
Motorbike |
64.5 |
74.5 |
| Bottle |
61.9 |
72.2 |
Person |
67.3 |
70.2 |
| Bus |
76.5 |
88.2 |
Potted Plant |
38.0 |
43.0 |
| Car |
78.4 |
81.8 |
Sheep |
72.5 |
76.7 |
| Cat |
79.5 |
84.5 |
Sofa |
36.4 |
39.4 |
| Chair |
23.7 |
16.3 |
Train |
74.1 |
78.1 |
| Cow |
77.1 |
80.7 |
TV/Monitor |
55.4 |
56.3 |
Table 5.
Comparison of per-class segmentation results on VOC2012 classes reported by comparable baselines.
Table 5.
Comparison of per-class segmentation results on VOC2012 classes reported by comparable baselines.
| Class |
DiffuMask [8] |
Ours (ResNet-50) |
Dataset Diffusion [9] |
Ours (ResNet-101) |
| Aeroplane |
80.7 |
83.0 |
81.6 |
83.0 |
| Bird |
86.7 |
83.3 |
73.3 |
89.9 |
| Boat |
56.9 |
58.4 |
62.2 |
70.0 |
| Bus |
81.2 |
76.5 |
85.5 |
88.2 |
| Car |
74.2 |
78.4 |
64.8 |
81.8 |
| Cat |
79.3 |
79.5 |
78.2 |
84.5 |
| Chair |
14.7 |
23.7 |
21.6 |
16.3 |
| Cow |
63.4 |
77.1 |
69.2 |
80.7 |
| Dog |
65.1 |
74.2 |
71.8 |
77.5 |
| Horse |
64.6 |
68.9 |
78.2 |
73.8 |
| Person |
71.0 |
67.3 |
70.8 |
70.2 |
| Sheep |
64.7 |
72.5 |
77.8 |
76.7 |
| Sofa |
26.7 |
36.4 |
41.8 |
39.4 |
Table 6.
Targeted ablation of dataset synthesis pipeline components.
Table 6.
Targeted ablation of dataset synthesis pipeline components.
| Configuration |
Dog |
Car |
mIoU |
| Full (ours) |
77.5 |
81.8 |
64.9 |
| − Mask refinement |
62.7 (−14.8) |
69.7 (−12.1) |
60.3 (−4.6) |
| − Prompt diversity |
57.4 (−20.1) |
69.2 (−12.6) |
59.7 (−5.2) |
| − QA verification |
66.1 (−11.4) |
68.1 (−13.7) |
59.7 (−5.2) |