Reproduce “Counterfactual Reasoning for Multi-Label Image Classification via Patching-Based Training” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ming-Kun Xie, Jia-Hao Xiao, Pei Peng, Gang Niu, Masashi Sugiyama, Sheng-Jun Huang

A counterfactual reasoning method, implemented via patching-based training, improves multi-label image classification by disentangling the beneficial and detrimental effects of label co-occurrence. The approach enhances the model's ability to recognize target objects directly while mitigating overfitting to spurious correlations, achieving state-of-the-art performance on MS-COCO, Pascal VOC 2007, and VG-256 datasets.

Key insights

  • Label co-occurrence in MLC acts as a 'double-edged sword'; while beneficial for object recognition, an over-reliance on it leads to overfitting and degraded performance.
  • Even standard deep learning models, when trained with loss functions like BCE or ASL, inherently capture correlative patterns, leading to both higher true positive rates for co-occurring pairs and significantly higher false positive rates.
  • Mitigating the negative mediated effect (spurious predictions based on co-occurrence) is equivalent to enhancing the total direct causal effect directly attributable to the target object itself.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.