Evaluating Contextual Bias in CNN Image Classification: Evidence from Agricultural Benchmark Datasets

📅 2026-09-13
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究使用背景主导的图像块评估CNN在农业图像分类中的上下文偏差,结合多种方法分析偏差来源,揭示了上下文信息对模型预测的影响。
📝 Abstract
Convolutional neural networks (CNNs) are typically evaluated using held-out classification accuracy, an approach that presupposes predictions are based primarily on the intended object of interest rather than incidental surrounding context. We test this assumption in CNN-based agricultural image classification by comparing model performance on original images with performance on background-dominated patches extracted from the same images across eight publicly available agricultural benchmark datasets and four widely used CNN architectures. Background-dominated patches were classified above dataset-specific random chance for six of the eight datasets, and substantially above chance for four of them, indicating that contextual information contributes to model predictions for the majority of datasets evaluated. For these four datasets, we further evaluated whether this behavior reflected genuine class-discriminative information or was primarily attributable to class imbalance using macro-averaged precision, recall, and F1 together with class-balanced test subsets. The results show that contextual reliance does not admit a single explanation: class imbalance accounts for a substantial portion of the observed signal for some datasets and architectures, whereas above-chance contextual classification persists after balancing for others. Together with previous evidence from curated object recognition and cancer pathology imaging, these findings support the growing view that contextual bias is a recurring characteristic of CNN-based image classification rather than a phenomenon confined to a single application domain. More broadly, this work provides a systematic framework for quantifying contextual bias across heterogeneous image datasets by combining dataset-specific random-chance baselines, contextual bias categorization, macro-averaged evaluation, and class-balanced robustness analysis.
Problem

Research questions and friction points this paper is trying to address.

Contextual Bias
CNN Image Classification
Agricultural Datasets
Innovation

Methods, ideas, or system contributions that make the work stand out.

contextual bias
agricultural image classification
background-dominated patches
macro-averaged evaluation
class-balanced robustness analysis
🔎 Similar Papers
💼 Related Jobs
No related jobs found.
A
Abhilekha Dalal
M
Michael Okonoda
E
Eder Martinez
Lior Shamir
Lior Shamir
Kansas State University