cd /news/computer-vision/lgcount-layout-guided-diffusion-for-… · home › topics › computer-vision › article
[ARTICLE · art-176547] src=arxiv.org ↗ pub= topic=computer-vision verified=true sentiment=↑ positive

LGCount: Layout-Guided Diffusion for Zero-Shot Object Counting

Researchers introduced LGCount, a layout-guided diffusion method for zero-shot class-agnostic object counting, detailed in arXiv paper 2611.33344v1. LGCount uses a prompt upsampler to write a structured layout naming the target, its region, and distractors to ignore, then adapts an image-editing diffusion model into a single-step counter that outputs a density map; training on synthetic counterfactuals with multiple valid density maps per image forces the model to use the layout. The method improves on the previous zero-shot state of the art on FSC-147 and sets the best reported result on LOOKALIKES while being told the least about each image, and a single photograph can be counted by category, region, or granularity without retraining.

recommendation

When one input admits several valid outputs, train on synthetic counterfactuals with multiple valid targets so the model cannot learn to ignore the conditioning signal.

more in playbook: Fine-tuning and data
by read1 min views3 publishedNov 26, 2026

arXiv:2611.33344v1 Announce Type: new Abstract: Class-agnostic counting requires the user to specify what to count, usually with a class name or a few annotated boxes. We propose a richer text-based specification: a structured layout that names the target, the region that holds it, the distractors to ignore. A prompt upsampler writes this layout from the image and the requested category alone, and an image-editing diffusion model, adapted into a single-step counter, turns it into a density map. Because counting datasets pair each image with a single valid density map, a counter trained on it learns to ignore the layout. We therefore train on synthetic counterfactuals in which one image admits several valid density maps, so that the layout cannot be ignored. On FSC-147 we improve on the previous zero-shot state of the art and we set the best reported result on LOOKALIKES while being told the least about each image. A single photograph can be counted by category, by region, or by granularity without retraining.

── more in #computer-vision 4 stories · sorted by recency
── more on @lgcount 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/lgcount-layout-guide…] indexed:0 read:1min 2026-11-26 · —