TL;DR
When Earth-observing satellites switch from standard optical cameras (RGB) to radar (SAR), object detectors suffer catastrophic forgetting because the physics of the images change completely. Q-cost solves this by treating a Transformer detector’s internal "object queries" not as passive weights to be overwritten, but as a finite budget of semantic resources. By regulating which queries are allowed to adapt to new sensors and which are locked down to preserve old memories, the model learns across radically different imaging modalities without losing its past skills.
What Problem Does This Paper Address?
Earth observation is never static. Over a satellite system's lifetime, an object detector encounters a continuous stream of new geographic regions, weather conditions, sensor resolutions, and—most disruptively—entirely different sensing modalities. Adapting to these sequentially without accessing old training data is known as domain-incremental object detection.
The hardest version of this problem happens when passive optical imagery (RGB, which captures color and texture) meets active Synthetic Aperture Radar (SAR, which measures microwave scattering and geometry).
In modern Transformer-based detectors like DETR and DINO, detection relies on a fixed set of learnable decoder queries—think of them as specialized "semantic slots" that probe an image for objects. Standard continual learning methods align image features or replay old data, assuming shared visual statistics. Under a jarring RGB-to-SAR jump, however, updating all queries uniformly causes cross-domain interference, scrambling the semantic slots that knew how to find objects in earlier domains.
Methods
Built on top of the standard DINO detector, Q-cost splits the problem into two coordinated pathways: smoothing out the raw sensor differences early on, and budgeting query updates at the end.
- Feature-Side Conditioning (PFHA & DCPE):
- Prototype-Driven Feature Homogenization Adapter (PFHA): Inserted alongside the backbone, PFHA maintains running "prototypes" (average feature signatures) for each domain and modality. Using a dual-level Mixture-of-Experts (MoE), it routes an incoming image to its closest modality center (e.g., RGB vs. SAR) and fuses domain experts to project wildly different sensor inputs into a more uniform feature space.
- Domain-Context Prompted Encoder (DCPE): Takes those exact same prototypes from PFHA, projects them into a lightweight prompt token, and prepends it to the Transformer encoder sequence so global feature aggregation knows what kind of sensor data it is looking at.
- Semantic-Side Regulation (DQAR):
- Domain-Aware Query Activity Regulator (DQAR): This is the core novelty. DQAR tracks how strongly each decoder query responds to the current domain (via a short queue of recent responses) versus historical domains. It assigns each query a cumulative activity cost—an "adaptation budget" that depletes as a query gets heavily used.
- During backpropagation, DQAR applies a bounded activity gate (smoothed around 1) to modulate each query's gradient, alongside a regularization loss. Queries that are excited by the new domain and historically unused get promoted to specialize; queries vital to past domains have their gradients suppressed to prevent overwriting.
Datasets
To isolate cross-modality and cross-domain shifts without changing the target classes, the authors introduce a six-stage cross-modality remote sensing benchmark sharing three common categories (ship, airplane, storage-tank), trained sequentially without data replay:
- Four RGB Domains: HRRSD, LEVIR, DIOR, and DOTA.
- Two SAR Domains: MSAR and SSDD_MSAR.
Key Insights and Ideas
- Proof of Query Disruption: Using Hungarian matching to track which query locks onto ground-truth objects, the authors measured the Query Attention Localization Ratio (QALR). When fine-tuning DINO across an RGB-to-SAR shift, QALR plunges from 0.68 to 0.39—direct empirical proof that modality shifts actively break a Transformer's internal object slots. Q-cost retains a QALR of 0.61.
- Queries as Schedulable Resources: Instead of expanding parameter counts endlessly or freezing entire layers, treating DETR queries as a finite resource pool naturally balances plasticity and stability.
- Feature Smoothing Enables Query Budgeting: Ablations reveal that DQAR works much better when paired with PFHA and DCPE. Stripping away low-level sensor noise first prevents dramatic appearance shifts from tricking the decoder into thinking it needs to rewrite its core object semantics.
Key Results
- State-of-the-Art Continual Detection: Across the six-domain sequence, naive sequential Fine-Tuning collapses to 13.4% mAP (vs. a Joint Training upper bound of 50.4%). Q-cost achieves 31.4% mAP and 57.1% $\text{AP}_{50}$ on the joint test set, beating the strongest continual baseline (Active-DDC) by 1.9% mAP without relying on exemplar replay.
- Order Invariance: Tested across four shuffled 4-dataset sequences (e.g., starting with SAR instead of RGB, or alternating RGB and SAR), Q-cost consistently outperforms DyQ-DETR, Active-DDC, and HyCal in every permutation.
- Drastic Reduction in Forgetting: In coarse-grained cross-modality ablations, adding all three modules boosts overall mAP from 21.7% to 38.2% while slashing the forgetting rate from 18.9% down to 3.1%. Qualitatively, this translates to noticeably fewer false positives in cluttered SAR scenes.
Limitations and Future Work
Not discussed in the paper.
Summary updated