Visual recognition struggles when objects lack usual neighbors
Stranger Things: When Objects Appear Without Their Typical Neighbors
Computer Vision and Pattern RecognitionMachine Learning
Summary
Sometimes, computers recognize objects by noticing what usually appears near them instead of looking carefully at the object itself. This causes problems when objects show up in unusual places without their typical neighbors. The authors studied this problem across many modern AI vision models and found it is common. They created a special test called STRANGE-Bench to examine how this typicality bias affects recognition. To fix it, they suggested a training trick that encourages models to learn from unusual object pairings, which improved recognition when objects appear alone or with new neighbors.
What this means in practice
- •For computer vision engineers: Train object detectors that better recognize objects even when seen without their usual surroundings by using atypical co-occurrence sampling during training.
- •For autonomous vehicle teams: Improve vehicle perception systems to detect objects accurately in unexpected layouts where familiar object groupings are missing.
Authors
Siddhartha Gairola, Jiahao Xie, Anna Kukleva, Francesco Locatello, Bernt Schiele
Abstract
Visual context is a powerful cue for object recognition: scenes inform what, where, and at what scale objects are likely to appear. Yet over-reliance on context becomes a failure mode when models predict objects based on their typical neighbors rather than the objects' own visual features, which we call typicality bias. While extensively studied in the pre-Transformer era, it has often been assumed that architectural and scale improvements would naturally solve it, and a systematic diagnostic across the modern vision stack remains absent. We provide such a diagnostic framework. We measure typicality bias via normalized pointwise mutual information (NPMI) over object pairs, and introduce STRANGE-Bench (Synthetic Typicality-RANked Grounded Evaluation Benchmark): a photorealistic, layout-controlled benchmark spanning 17 sub-tiers from typical to never-co-occurring object pairs. Across five model families (specialist detectors, open-vocabulary detectors, self-supervised, vision-language, and multimodal large language models) and three recognition tasks (supervised detection, open-vocabulary detection, and classification), the bias is prevalent: gaps of 5-11 p.p. persist when objects appear outside their typical company, and do not consistently shrink with scale. To mitigate it, we turn to data augmentation: existing augmentations are designed for visual diversity, not for breaking co-occurrence shortcuts, and sample from the very distribution that produces typicality bias. We propose Anchor-Atypicality Sampling (AAS), a simple sampling rule for paste-based augmentations that uses the NPMI signal to tilt the training-time co-occurrence distribution toward atypical partners. AAS reduces the typicality gap by up to 1.6 p.p. on natural-image COCO splits and 23.0 p.p. on synthetic STRANGE-Bench across three model families, without sacrificing overall performance.