PatchGen: Learning Soft Intra-Image Predictive Subsets for Visual Generalization
Zhaorui Tan, Weimiao Yu, Xi Yang
Key points
From the paper's conclusion- We investigate the structural hypothesis that each image contains a sample-adaptive oracle intra-image predictive subset sufficient for label prediction, while the remaining patches form non-essential complementary context that may correlate with the label.
Abstract
Visual classifiers are expected to generalize under data shifts, target shifts, and their combinations, yet most existing methods focus on domain invariance while failing to address intra-image predictive sufficiency. We investigate the structural hypothesis that each image contains a sample-adaptive oracle intra-image predictive subset sufficient for label prediction, while the remaining patches form non-essential complementary context that may correlate with the label. The theoretical analysis shows that restricting prediction to this oracle subset preserves the Bayes risk achievable by the full-patch representation while admitting a complexity bound that tightens with the oracle-subset size. Based on this view, we propose PatchGen, a text-free module that learns a sample-dependent soft predictive-subset mask as a task-driven proxy for the unobserved oracle subset mask. Specifically, histopathology visualizations suggest that PatchGen assigns higher scores to tumor-consistent regions than to some frequently co-occurring inflammatory context. Extensive experiments on natural and histopathological image benchmarks spanning all three shift settings show that PatchGen improves average performance over matched-backbone baselines in most evaluated configurations, enhances generalization to unknown classes, and remains competitive with vision-language methods without text supervision.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PromptMatch: Semi-supervised visual prompt tuning for medical image classification.Medical image analysis · 2026
- Look Closer: Patch-wise Supervision for AI-Generated Image DetectionarXiv · 2026
- SAP-ViT: A Self-Attributing Patch Vision Transformer for Medical Image ClassificationarXiv · 2026
- Not All Patches Are Equally Forgettable: Spatially Localized Domain Unlearning in Vision-Language ModelsarXiv · 2026
- Segment What It Can Draw: Querying a Text-to-Image Generator with Its Own Images for Skin Lesion SegmentationarXiv · 2026
- Progressive Subset Selection and Cascaded Consistency for Unsupervised Vision-Language Model AdaptationarXiv · 2026