# How Far Is Too Far? Object Recognition Declines Monotonically with Semantic Distance

Object recognition drops steadily as objects drift semantically from their backgrounds

Domenic Bersch, Hai Van Tran, Gemma Roig · arXiv · 2026-11-15

- **Problem** Context tests so far use binary congruent or incongruent pairs, so they cannot show how recognition changes as mismatch grows. Researchers lacked a graded, continuous measure of object-background mismatch.
- **Method** ImageNet-OOC1k recombines objects and backgrounds along a continuous semantic distance axis. The axis comes from averaged classifier heads of ten pretrained ImageNet models, and accuracy is measured across 35 models.
- **Results** Top-1 accuracy falls monotonically as semantic distance rises, across CNNs, Vision Transformers and vision-language models. Spatial re-ranking gains 5.7 percentage points in-sample on ViT-B/16.

## Why binary context tests fall short

Vision models lean on the scene around an object, and most benchmarks probe that reliance with binary or coarse contrasts. The usual setup contrasts congruent and incongruent object–background pairings. Backgrounds alone can carry significant class signal, so scenes shape predictions beyond the object itself.

Other approaches place objects in unusual scenes or induce distribution shifts with atypical environments. Generative and inpainting pipelines add contextual diversity, and synthetic datasets allow controlled semantic or physical violations. These setups don't offer precise, continuous control over semantic relatedness.

Binary or coarse setups can't say how recognition changes as mismatch grows. They lack a continuous notion of semantic relatedness, so the question of what happens as mismatch increases stays open. These approaches show that context matters, yet they don't characterize the degree of mismatch. The paper's benchmark, ImageNet-OOC1k, is designed to fill this gap with graded manipulation of object–background relationships.

## Building the graded benchmark

ImageNet-OOC1k starts from ImageNet-S masks on ImageNet validation images, which separate each object from its scene. The IOPaint toolkit with the MAT model produces the inpainted backgrounds, resulting in 1,137 background-only scenes. The miscellaneous group holds close-ups, ambiguous scenes, or backgrounds that don't fit either category.

That library spans 918 classes, and 915 of them contain at least four valid object instances. Because objects and backgrounds are kept apart, the authors can recombine any object class with any background. That range runs from highly compatible to strongly mismatched pairings.

Dense sampling across the axis replaces a small set of predefined conditions. Every generation parameter is recorded in the released metadata and composite specifications.

The dataset also gives the sampling, scaling and placement details in Appendix A.1, so readers can rebuild the composites. Next, the consensus axis defines semantic distance from classifier heads, since each final linear layer acts as a set of class prototypes.

## Defining semantic distance from classifiers

Semantic distance in ImageNet-OOC1k comes from the classifier heads themselves, which the authors treat as class prototypes in feature space. Visually and semantically related classes lie nearby in this embedding, as Figure 2 shows for the hen, holster and coral reef focal classes. The authors read this arrangement as emerging from visual discrimination rather than from a hand-built taxonomy.

Figure 2 also shows that classes such as hen group with birds, holster with weapons, and coral reef with marine organisms.

A single classifier could bias the axis, so the authors average distances from ten pretrained ImageNet classifiers. The ten models include ViT-B/16 at 224 and 384 resolution, ViT-S/16, ViT-L/16 and ViT-B/32. The remaining contributors are the convolutional networks ResNet-50, ResNet-101, EfficientNet-B3, EfficientNet-B5 and DenseNet-121. Each model m gets a class matrix U(m) with C rows and d columns, and the consensus combines these per-model distances.

Once the classes are ordered on this axis, the same object can sit at a near or a far rank relative to a given background. That is why semantic distance is defined relationally rather than as a fixed property of one object. The example backgrounds jacamar and television use the ranks 50, 250, 500, 750 and 950 with different inserted objects.

Because the axis is built over ImageNet classes, each composite inherits a rank that depends on the background's original class.

## Accuracy versus semantic distance

The authors measure top-1 accuracy for 35 models as the semantic distance rank between object and background rises. The models span convolutional neural networks, Vision Transformers and vision–language models. Distance comes from the consensus axis, and accuracy is grouped into bins of width 25 ranks.

For the representative models in Figure 1c, top-1 accuracy falls monotonically as the distance rank increases. Those representative models are ViT-B/16, ViT-L/16, DeiT-B/16, ResNet-50, EfficientNet-B3 and CLIP ViT-B/16. Top-5 accuracy follows the same trend, which indicates that semantic mismatch affects the broader class ranking. Original-image accuracy appears as colored markers, so each curve can be compared against its unmodified baseline.

![Figure 1: ImageNet-OOC1k enables controlled recomposition along a visual-semantic axis. (a)Dataset overview. ImageNet-S masks \[ 9\] are used to construct origin…](https://refivu.com/papers/3a707d35-3eaa-4f40-9ceb-5f2da43ea4d6/figures/figure-41296fd46b64ca223592f1c0fec9fcfe.png?thumb=512)

**Figure 1** :ImageNet-OOC1k enables controlled recomposition along a visual-semantic axis. (a)Dataset overview. ImageNet-S masks \[ 9\] are used to construct original images, inpainted backgrounds, and object-only variants, including crops and composites on black, white, and 1/f noise backgrounds.(b)Objects are inserted at increasing semantic distance ranks relative to the original class. The example backgrounds (jacamar,television) use the same ranks (50, 250, 500, 750, 950), but different inserted objects because distance is defined relationally.(c)Top-1 accuracy decreases monotonically with semantic distance rank (bin width 25) for representative models (ViT- B/16, ViT-L/16, DeiT-B/16, ResNet-50, EfficientNet-B3, CLIP ViT-B/16). Colored markers (Orig.) show original-image accuracy. Top-5 accuracy follows the same trend, indicating that semantic mismatch affects the broader class ranking.

[Original paper](https://arxiv.org/abs/2611.19747v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Domenic Bersch, Hai Van Tran, Gemma Roig · How Far Is Too Far? Object Recognition Declines Monotonically with Semantic Distance · Original paper figure · Extracted the figure area from page 2 of the original PDF.

The authors read the closely aligned trajectories across the 35 models as a shared pattern rather than isolated failures. Accuracy follows a monotonic function of semantic object–background distance across all three model families. The authors also control for boundary discontinuities on a separate sample, and the decline remains.

The behavioral result spans all 35 models, while the mechanistic evidence covers only the tested Vision Transformers. The authors didn't test a spatial diagnostic for CNNs, so generalization to CNNs remains an open question. Pair-specific visual compatibility between object and scene cannot be fully separated from semantic mismatch in these results.

## Patch evidence inside Vision Transformers

The logit lens decodes intermediate Vision Transformer representations into class predictions, so class evidence can be followed across layers. The authors inspect patch-level evidence in ViT-B/16, which they use as the main case study. Patch-level inspection shows where object evidence sits spatially, before the CLS token consolidates the final decision.

Some errors are found-but-lost, meaning the correct object is visible in patch predictions while the final decision picks another class. In these cases the correct class often stays near the top of the CLS ranking, so the final decision is uncertain. Object evidence also stays spatially compact at intermediate layers in these errors. The authors call this aggregation failure, where object evidence exists spatially but isn't consolidated into the final prediction.

The authors present this pattern as consistent with aggregation failure, not as its proven cause. They repeated the analysis on ViT-S/16, ViT-L/16, DeiT-B/16, and ViT-RelPos-B/16 to test whether the signature is specific to one model. Across these models, the correct class appeared in the top-5 in 94.7–98.7% of FBL cases. ViT-RelPos-B/16 is a no-CLS model with average pooling, so it tests the signature outside CLS-token pooling.

The mechanistic evidence covers only the tested Vision Transformers, so CNNs remain untested. The recovery analysis is a diagnostic probe, not a deployable inference-time correction method.

## A re-ranking probe for FBL errors

The probe swaps the top-1 and runner-up CLS predictions only when three gates hold. The logit gap g measures how uncertain the final decision is, so a small gap marks a case where aggregation is uncertain. The semantic distance d between the top-1 and runner-up classes blocks swaps between near neighbours, which reduces breakage of correct predictions.

The authors selected the rule a \> 1.0, g \< 1.0 and d \> 0.5 from the threshold sweep in Figure 6a.

The probe is a diagnostic tool, not a deployable correction, because it needs access to intermediate representations. Across the sweep, adding the semantic-distance constraint improves the recovery-to-breakage tradeoff. Applied to the 75,000-image ViT-B/16 diagnostic subset, the rule gives a net in-sample accuracy gain of +5.7 percentage points.

Gains appear across the full semantic distance range, as Figure 6b shows.

Thresholds were chosen on the same subset used for evaluation, so the 5.7 point gain is an in-sample estimate. The same fixed rule was then applied to ViT-S/16, ViT-L/16, DeiT-B/16 and ViT-RelPos-B/16 without retuning. Across these models, FBL cases stayed near-miss errors, with the correct class in the top-5 for 94.7 to 98.7% of cases. The rule produced positive net accuracy changes in every architecture, including the average-pooling model.

Recovery magnitude tracked the strength of the spatial compactness signal, so the probe helps most where that signal is strong.

## Checking the FBL signature on other ViTs

The authors check whether the FBL signature depends on ViT-B/16 or on CLS-token pooling. ViT-RelPos-B/16 has no CLS token and pools with averages, so it tests the signature without CLS aggregation.

Across these models, the correct class appears in the top-5 for 94.7–98.7% of FBL cases. The FBL errors therefore behave as near-miss errors in every architecture the authors tested. A fixed re-ranking rule gives positive net accuracy changes across architectures. The average-pooling model also improves, so the gain doesn't depend on a CLS token.

The recovery magnitude varies with the strength of the spatial compactness signal.

The rule keeps the thresholds a \> 1.0, g \< 1.0 and d \> 0.5 from ViT-B/16 without retuning. Because no model was retuned, these gains reflect transfer rather than fitted performance. Taken together, the results fit the view that failures come from how information is combined. A substantial subset of failures reflects aggregation, not absent object evidence.

## Where the benchmark and the recovery probe stop

Object cutouts inherited from ImageNet-S aren't always coherent, and inpainting and compositing may add artifacts. The decline still holds after controls for placement, scale, background and object-instance effects.

Pair-specific visual compatibility between object and scene can't be fully separated from semantic mismatch. The single-target setting leaves multi-object interactions untested. The mechanistic evidence covers only the tested Vision Transformers, so generalization to CNNs wasn't tested.

Their agreement with human similarity judgments hasn't been tested. It doesn't establish the causal mechanism behind FBL errors.

The selected rule recovers 4,277 FBL cases and breaks 456 correct predictions, a 9.4:1 ratio. The +5.7 percentage point gain is measured on the 75,000-image ViT-B/16 diagnostic subset. The thresholds were picked on that same subset, so the gain is an in-sample estimate.

## Paper info

- **Authors**: Domenic Bersch, Hai Van Tran, Gemma Roig
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-15
- **Added**: 2026-11-17
- **Updated**: 2026-11-15
- **Version**: v1
- **arXiv**: 2611.19747
- **Category**: cs.CV · cs.AI
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.19747v1) · [PDF ↗](https://arxiv.org/pdf/2611.19747v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Vision models are sensitive to object-background context, yet it remains unclear how recognition changes as the semantic distance between objects and backgrounds increases. We introduce ImageNet-OOC1k, a benchmark enabling graded control of object-background relationships along a continuous consensus visual-semantic dissimilarity axis. This formulation reveals a highly consistent monotonic decline in recognition accuracy across 35 models spanning convolutional neural networks, Vision Transformers, and vision-language models. Internal analyses of Vision Transformers reveal patterns consistent with aggregation failure, where object evidence is present at the patch level but not consolidated into the final prediction. Using this characterization as a diagnostic probe, a simple spatial re-ranking strategy recovers a subset of these errors and improves in-sample accuracy by up to 5.7 percentage points. These results establish context sensitivity as a continuous and predictable property of modern vision systems, with Vision Transformer analyses suggesting that aggregation limitations may contribute to some failure types even when object evidence remains available.

## Quote from the paper

Domenic Bersch, Hai Van Tran, Gemma Roig (2026). How Far Is Too Far? Object Recognition Declines Monotonically with Semantic Distance. arXiv:2611.19747v1. https://arxiv.org/abs/2611.19747v1

**BibTeX**

```
@misc{bersch2026object,
  title = {{How Far Is Too Far? Object Recognition Declines Monotonically with Semantic Distance}},
  author = {Domenic Bersch and Hai Van Tran and Gemma Roig},
  year = {2026},
  eprint = {2611.19747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19747v1}
}
```

## Other paper commentary

- [Illusion of Explainability: A Sanity Check for Spectral Band Attribution in Satellite Time-Series Crop Classification](https://refivu.com/en/papers/28588e6b-17e8-4d19-b152-646d7d2a15a4-illusion-of-explainability-a-sanity-check-for-spectral.md)
- [Passable for Whom? Few-Shot Personal Calibration of Sidewalk Accessibility Perception](https://refivu.com/en/papers/8e01f6e0-6ab3-454b-acb5-8a954617489e-passable-for-whom-few-shot-personal-calibration-of.md)
- [What Matters for Cross-Modal Alignment](https://refivu.com/en/papers/2a5e4b8b-c8b8-418e-8252-327694bf779f-what-matters-for-cross-modal-alignment.md)
- [The Flip Test: Video World Models Fail to Learn the World State](https://refivu.com/en/papers/764fdefb-d3e4-4afa-8f22-bde2b7622513-the-flip-test-video-world-models-fail-to.md)
- [Streaming across viewing conditions - The effect of viewing distance and display luminance on video quality](https://refivu.com/en/papers/4d335743-fea7-4109-9627-cb97356d5e02-streaming-across-viewing-conditions-the-effect-of-viewing.md)
- [Latent World Modeling for Point-Cloud Video Pretraining](https://refivu.com/en/papers/30e3c251-d354-49fe-b4cd-b50f6ce5b11a-latent-world-modeling-for-point-cloud-video-pretraining.md)
- [CRAFT: A Robot-Agent Harness with Scope-Aware Adaptation](https://refivu.com/en/papers/c797340e-3e38-4c1f-9503-2964c92d5483-craft-a-robot-agent-harness-with-scope-aware.md)
- [Federated Dataset Simulation: Inducing Label-Free Heterogeneity Across Tasks](https://refivu.com/en/papers/252a256c-3f31-41ed-80f8-62136c1bbf94-federated-dataset-simulation-inducing-label-free.md)
- [Sharp Gaussian Approximation for Q-Learning](https://refivu.com/en/papers/a205994c-ba62-49ce-a1c9-062a47974f5f-sharp-gaussian-approximation-for-q-learning.md)
- [The novelty exposed: ablation, reproducibility and transparency in 40 technical reports of open-weight large language models (LLMs)](https://refivu.com/en/papers/8221dc32-51a0-417d-b42d-00a484c08db3-the-novelty-exposed-ablation-reproducibility-and.md)

## Terms in this paper

- [ImageNet](https://refivu.com/en/terms/5eadad128667-imagenet)
- [top-1 accuracy](https://refivu.com/en/terms/653c0b9eaa58-top-1-accuracy)
- [top-5 accuracy](https://refivu.com/en/terms/6de0752ac469-top-5-accuracy)
- [logit lens](https://refivu.com/en/terms/180d7b59602a-logit-lens)
- [Vision Transformers](https://refivu.com/en/terms/5e44b403c2e7-vision-transformers)
- [CLS token](https://refivu.com/en/terms/72d96a8cb8ef-cls-token)
- [ViT-B/16](https://refivu.com/en/terms/325a9a64e2a0-vit-b-16)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/3a707d35-3eaa-4f40-9ceb-5f2da43ea4d6-how-far-is-too-far-object-recognition-declines)
