Abstract
While deep learning models have achieved remarkable success in image classification, they often function as "black boxes," making it difficult to discern whether their decisions are based on shape, texture, or color. This paper introduces the Humanoid Vision Engine (HVE), a framework designed to disentangle these three visual components to mimic the human visual system. By processing these features through separate channels, the HVE provides a quantitative "contribution score" for each, revealing how different datasets and humans prioritize specific visual cues. Our results demonstrate that the HVE not only maintains high classification accuracy but also enables advanced reasoning tasks such as zero-shot learning and visual imagination, aligning more closely with human perception than standard convolutional neural networks (CNNs).
Introduction
Deep learning models, particularly CNNs, often exhibit a strong bias toward texture, whereas human recognition is traditionally thought to be more shape-centric. This discrepancy raises questions about the interpretability and robustness of computer vision systems. To address this, we propose the Humanoid Vision Engine (HVE), which seeks to quantify the task-dependent importance of shape, texture, and color. By understanding these underlying drivers, we can move toward models that exhibit human-like reasoning and better generalize to open-world scenarios.
Methodology
The Humanoid Vision Engine (HVE)
The HVE framework consists of three primary stages designed to isolate and analyze visual features:
- Preprocessing & Disentanglement: To prevent the model from relying on unintended cues, we developed specific extractors for each feature:
- Shape: Utilizes 3D depth estimation and 2D masks to create a silhouette-like representation, removing color and texture information.
- Texture: Converts images to grayscale and extracts random patches. These patches are concatenated to preserve local and global patterns while destroying the object's overall geometric shape.
- Color: Employs phase scrambling via Fast Fourier Transforms (FFT) to preserve the original color distribution while completely scrambling the spatial structure.
- Humanoid Neural Network (HNN): The isolated features are processed by three independent ResNet-18 encoders. The outputs are then integrated through an interpretable aggregation module.
- Contribution Attribution: Using a gradient-based method, the HVE calculates importance weights for each feature. This allows the system to attribute a specific percentage of its confidence to shape, texture, or color (e.g., identifying a bird primarily due to its color profile).
Experimental Setup and Datasets
We evaluated the HVE on several benchmarks to analyze feature bias:
- Biased ImageNet Subsets: Handcrafted subsets categorized as shape-biased (e.g., cars), texture-biased (e.g., zebras), and color-biased (e.g., fruits).
- CUB (Caltech-UCSD Birds-200-2011): A dataset for fine-grained bird species recognition.
- iLab-20M: A large-scale dataset of toy vehicles used to study class-specific biases, such as the distinction between boats and military vehicles.
Key Insights
Task-Specific and Class-Specific Bias
The HVE reveals that feature importance is highly dependent on the category. For instance, in the iLab-20M dataset, "boats" are recognized primarily by their shape, whereas "military vehicles" are often identified by color, likely due to the prevalence of olive-drab tones in the training data.
Alignment with Human Perception
A study involving 109 human participants showed that HVE’s feature reliance closely mirrors human performance. Both humans and the HVE struggle to recognize texture-biased objects when only shape information is provided, but both excel when the dominant feature (texture) is available.
Zero-Shot Learning and Imagination
Because the HVE treats features as independent descriptors, it can perform zero-shot learning by reasoning about unseen objects. For example, it can identify a zebra by combining the "horse-like" shape, "tiger-like" texture, and "panda-like" color. Furthermore, using a GAN-based model, the HVE can "imagine" full images from a single feature. We found that imagining an object from its dominant feature (e.g., stripes for a zebra) results in significantly lower variance and higher quality than imagining it from a non-dominant feature.
Results
- Accuracy: The HNN achieved classification accuracies between 91% and 95%, nearly matching the 95-97% accuracy of a standard ResNet-18 trained on original, non-disentangled images.
- Zero-Shot Reasoning: In open-world tasks, HVE-based reasoning significantly outperformed traditional Prototypical Networks, achieving 87% accuracy for the "zebra" class compared to the baseline's 16%.
- Quantifiable Bias: The HVE confirmed that the CUB dataset is overwhelmingly color-biased (58%), while the shape-biased ImageNet subset is indeed driven primarily by shape (47%).
Conclusion and Future Work
The Humanoid Vision Engine provides a robust framework for quantifying the contributions of shape, texture, and color in visual recognition. While the system currently faces limitations—such as reliance on accurate foreground identification via Grad-CAM and the need for more complex texture extraction for diverse objects like automobiles—it represents a significant step toward interpretable, human-aligned AI. Future work will focus on scaling these zero-shot capabilities to larger, more diverse environments and refining the feature extraction process.
Summary updated