NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Remedying Target-Domain Astigmatism for Cross-Domain Few-Shot Object Detection

Yongwei Jiang, Yixiong Zou, Yuhua Li, Ruixuan Li

TL;DR

This paper identifies "target-domain Astigmatism" in cross-domain few-shot object detection—a phenomenon where vision transformers exhibit dispersed and unfocused attention when adapted to unfamiliar domains. Inspired by the human fovea-style visual system, the authors introduce a center-periphery attention refinement framework that uses foreground prototypes, background context modeling, and negative textual prompts to sharpen object localization. The approach consistently outperforms existing methods, establishing a new state-of-the-art across six diverse target benchmarks.

What Problem Does This Paper Address?

Cross-Domain Few-Shot Object Detection (CD-FSOD) is a challenging task where a model trained on a data-rich source domain (like COCO) must adapt to a completely different target domain (like underwater or satellite imagery) using only a handful of labeled examples (1 to 10 shots).

The authors discover a fundamental, previously overlooked bottleneck in this adaptation process: target-domain Astigmatism. When a transformer-based detector encounters a novel target domain, its internal attention maps become "blurry" and scattered. Instead of focusing tightly on foreground objects as it does in the source domain, the model's attention wanders into the background. This dispersion leads to imprecise localization, oversized bounding boxes, and a massive flood of redundant false-positive predictions. While standard fine-tuning inherently attempts to correct this dispersion, data scarcity prevents it from doing so effectively.

Visualization and quantification of the target-domain Astigmatism problem, showing dispersed attention maps and higher attention distances in target domains.

Methods

To combat this astigmatism, the authors propose a bio-inspired framework modeled after the human eye's foveal structure, which features a high-detail central perception zone and a lower-detail peripheral zone. Built on top of the Grounded Language-Image Pre-training (GLIP) baseline, the architecture integrates three complementary modules:

  1. Positive Pattern Refinement (PPR): Simulates the central fovea. It extracts class-specific foreground prototypes from the few available support images. During inference, it computes the similarity between these prototypes and the query image features to up-weight attention precisely where target objects reside.
  2. Negative Context Modulation (NCM): Simulates the visual periphery. It constructs a unified background prototype from regions outside the ground-truth bounding boxes. This prototype is used to down-weight background responses, helping the model better distinguish object boundaries from complex background textures.
  3. Textual Semantic Alignment (TSA): Enforces the center-surround distinction using cross-modal knowledge. It leverages a text encoder (BERT) to process negative descriptors (e.g., "not sofa, not dog") and aligns these textual concepts with the visual background prototypes via a contrastive loss function ($L_{ctr}$).
Overview of the human-vision-inspired framework, detailing the training and testing pipelines for the PPR, NCM, and TSA modules.

Datasets

The framework was evaluated on six highly diverse and challenging CD-FSOD benchmarks representing severe domain shifts:

  • ArTaxOr: Photorealistic images of arthropods, focusing on small object detection.
  • Clipart1k: Cartoon abstractions, presenting a significant artistic style shift.
  • DIOR: Aerial remote sensing images, featuring medium-scale objects from a top-down perspective.
  • DeepFish: Underwater aquatic environments characterized by poor visibility.
  • NEU-DET: Industrial surface defects, presenting subtle features and imbalanced data.
  • UODD: Underwater organisms surrounded by complex clutter.

No new datasets were introduced; the authors utilized these established benchmarks to demonstrate the generalizability of their approach.

Key Insights and Ideas

  • Quantifying the "Blur": The authors mathematically validate the astigmatism problem by measuring "attention distance" across network layers. They show that while source domain attention naturally concentrates as the network gets deeper, target domain attention remains persistently scattered.
  • Learning What an Object Is Not: Instead of solely focusing on learning foreground features from scarce data, the framework explicitly models the background. Using negative textual prompts to define what the background is not provides a powerful regularizer for cross-modal alignment.
  • Biological Center-Surround Synergy: Enhancing foreground features (PPR) and suppressing background features (NCM) acts as a dual-pathway mechanism that successfully compresses the model's attention distance, forcing it to crystallize around the actual objects of interest.

Key Results

The proposed method achieved consistent performance breakthroughs across all datasets and shot configurations (1-shot, 5-shot, and 10-shot):

  • Quantitative Improvements: In the 5-shot setting, the model boosted mean Average Precision (mAP) on ArTaxOr to 54.98% (up from the baseline GLIP's 49.11%) and on DeepFish to 33.87% (up from 28.40%). It consistently outperformed recent competitive methods like CD-ViTO and VFM-MoE.
  • Qualitative Improvements: Visually, the framework drastically reduced redundant candidate boxes. For instance, in maritime test scenes, the total number of generated bounding boxes dropped from 100 down to just 9 highly accurate detections, demonstrating much tighter and cleaner localization.

Limitations and Future Work

The authors note a point of diminishing returns when scaling up the cross-modal alignment: performance gains saturate after incorporating roughly 200 negative text descriptions. Furthermore, because the framework relies on prototypes extracted directly from the support set, its efficacy remains tightly bound to the quality and representativeness of those few support samples. Future work could explore how to dynamically update or synthesize more robust prototypes when the provided few-shot samples are highly occluded or unrepresentative.

Summary updated

BibTeX
@inproceedings{jiang2026remedying,
  author = {Yongwei Jiang and Yixiong Zou and Yuhua Li and Ruixuan Li},
  title = {{Remedying Target-Domain Astigmatism for Cross-Domain Few-Shot Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=4ARGr3Q1OZ},
}
Figure