Impact of color in computer and human-based object recognition under occlusion

Courtney M. King, Elissa Aminoff, Daniel D. LeedsarXiv 2026 · arXiv

TL;DR

This paper investigates how the color of an occluder—specifically colors that blend with the object or the scene—affects recognition in humans versus various AI architectures. The researchers discovered a striking divergence: while humans and Vision Transformers (ViTs) are hindered by "camouflaging" occluders, classical CNNs actually perform better when occluders share colors with the scene, suggesting they use color as a classification shortcut rather than being disrupted by shape-breaking camouflage.

What Problem Does This Paper Address?

Partial occlusion is a fundamental challenge in computer vision (CV). While we know humans use "amodal completion" to infer hidden parts of an object, CV models often rely on visible fragments. A particularly tricky type of occlusion is camouflage, where an occluder’s color matches the object or the background, disrupting the object's boundaries.

The authors set out to answer: How do contextually-related colors in occluders impact recognition across different systems? Does AI "see" camouflage the same way we do, or do architectural biases (like the texture bias in CNNs vs. the shape bias in Transformers) lead to different vulnerabilities?

Methods

The researchers employed a multi-pronged approach:

  1. Automated Occluder Generation: They developed a method using K-means clustering to extract dominant "Object" and "Scene" colors from images to create realistic, context-aware occlusions.
  2. Human Behavioral Study: A two-alternative forced choice (2AFC) experiment where participants had to determine if an occluded object and a subsequent unoccluded object belonged to the same class.
  3. Model Benchmarking: They tested three categories of models: Classical CNNs (e.g., ResNet, VGG), Transformers (e.g., ViT, Swin), and Transformer-inspired CNNs (e.g., ConvNeXt).
  4. Explainability Metrics: To look "under the hood," they introduced three novel metrics:
  5. Non-Occlusion Precision (NOP) and Non-Occlusion Recall (NOR): These measure how well a model's activations under occlusion align with its activations on the original, clean image.
  6. Activation in Occlusion (AIO): This measures the percentage of a model's "attention" (activations) that falls directly on the occluding bars.
  7. Training Augmentation: They tested whether training models with these context-colored occluders (a variation of the "Cutout" technique) could improve robustness.
Figure 2. Clustering method for extracting dominant object, scene, and image colors.

Datasets

  • Custom Occluders Dataset: 80 images from 80 distinct ImageNet classes, each modified with horizontal, vertical, and diagonal occlusions in three colors: Object-based, Scene-based, and Black (control).
  • Tiny-ImageNet: Used for the training augmentation experiments to evaluate general performance gains and robustness to unseen camouflage.
Figure 1. Select images from Scene (top) and Object (middle) Occluders Dataset, with black (bottom) for control.

Key Insights and Ideas

  • The CNN vs. Human/Transformer Split: Humans and most Transformers are "fooled" by camouflage; they perform worst when the occluder matches the scene color. In contrast, classical CNNs perform best under scene-colored occlusion and worst under neutral black occlusion.
  • Color as a Shortcut: The CNN results suggest that these models aren't just looking at the object; they are likely using the scene-relevant color as an additional contextual cue for classification, rather than being confused by the disruption of the object's shape.
  • Architectural Alignment: Transformers (like ViT and MaxViT) show a trend more aligned with human vision. This supports the idea that the "shape bias" inherent in Transformers makes them more susceptible to the same boundary-disrupting illusions that affect humans.
  • Orientation Vulnerabilities: Transformers and Transformer-inspired CNNs generally struggled more with diagonal occlusions compared to horizontal ones, suggesting that continuous blockages at certain angles might interfere with their patch-level processing.

Key Results

  • Human Performance: Accuracy dropped from 93.02% (original) to 87.36% (black occluder) and further to 85.49% for scene-based camouflage. Reaction times also increased significantly under camouflage.
  • CNN Performance: For a model like ResNet-152, accuracy was higher for scene-colored occlusions than for black ones across all orientations.
  • Augmentation Success: Training a ResNet-18 with color-relevant "Cutout" improved robustness against camouflaging occlusions by 4.13% compared to standard black-patch Cutout.
  • Activation Analysis: The NOP/NOR metrics revealed that Transformers' internal representations "drift" significantly more than CNNs' when an object is occluded, explaining their higher sensitivity to these visual disruptions.
Figure 3. Example trial in human behavioral experiment: each trial begins with a fixation cross for 300ms. An occluded image is shown, followed by an unoccluded version, each for 150ms. Images are separated by 150ms masks. At the end of each trial, participants are prompted to confirm whether the object is the same or not for up to three seconds. A three-second break is given after each trial.

Limitations and Future Work

The authors note that their testing dataset (80 images) is relatively small, a necessity for feasible human testing but a limitation for broad model evaluation. Furthermore, the study focused purely on color; however, texture is another critical component of camouflage that likely plays a major role in both human and machine perception.

Future work could involve scaling these experiments to larger datasets and exploring how texture-based camouflage interacts with the color-based findings presented here. Additionally, testing these occlusion metrics with visualization methods beyond GradCAM could further validate the observed trends in non-CNN architectures.

Summary updated

Abstract

Partial occlusions challenge object recognition in both human and computer vision (CV), but the impact is largely dependent on the occlusion and model design. Properties relating to color are particularly important in biological recognition and frequently leveraged for camouflage, however there are still open questions about what makes them effective and how they translate to CV. This work studies partial occlusions that create camouflage, including those that blend in with target objects or with scenes, which alter object representations in distinct ways. Experiments evaluate recognition performance on both human participants and models ranging from convolutional neural networks (CNNs) to transformers, and additional analysis is performed on models to uncover trends in processing and object representations under multiple occlusion types. Novel metrics offer explainability of model behavior under occlusion: non-occlusion precision (NOP) and non-occlusion recall (NOR) measure alignment of model activations with and without occlusion, and activation in occlusion (AIO) measures the percentage of activations that occur in occluded regions. Findings show that human recognition, and most transformers, are negatively impacted by generated camouflaging occluders, with scene-based camouflage performing worse than object-based. Classical CNNs show a strong opposite trend, performing the worst on neutral-colored occlusions, suggesting that contextually-related colors, particularly scene-based, benefit object recognition rather than disrupting shape or boundary cues. Additionally, generated camouflaging occluders for training augmentation improves robustness to unseen camouflage for selected CNN model, and occlusion metrics suggest trends about learned mechanisms. Findings have interesting implications for alignment in human and computer vision, model vulnerabilities, and explainability.
BibTeX
@misc{king2026impact,
  author = {Courtney M. King and Elissa Aminoff and Daniel D. Leeds},
  title = {{Impact of color in computer and human-based object recognition under occlusion}},
  year = {2026},
  eprint = {2611.08808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08808},
}
Figure