\documentclass[10pt,a4paper]{article}
\usepackage[margin=25mm]{geometry}
\usepackage[OT1]{fontenc}
\renewcommand{\rmdefault}{cmr}
\renewcommand{\sfdefault}{cmss}
\renewcommand{\ttdefault}{cmtt}
\usepackage{amsmath,amssymb,hyperref}
\setlength{\emergencystretch}{2em}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\clip}{\operatorname{clip}}
\newcommand{\IoU}{\operatorname{IoU}}
\renewcommand{\thesection}{S\arabic{section}}
\renewcommand{\theequation}{S\arabic{equation}}
\begin{document}
\begin{center}
{\large\bfseries Online Resource 1: Supplementary Implementation Details\par}
\vspace{4pt}
{\normalsize\bfseries Ordered Support-Conditioned Query Exchange for Cross-Domain Few-Shot Remote Sensing Detection\par}
\vspace{5pt}
Feng Jiang$^{1}$, Zhipeng Ye$^{1}$ and Lili Zhou$^{2}$\\[2mm]
{\small $^{1}$School of Computer Science and Engineering; $^{2}$School of Electronic and Electrical Engineering\\
Taizhou Institute of Science and Technology, NJUST, Taizhou, China}\\[3pt]
Signal, Image and Video Processing\\
Correspondence: \href{mailto:jiangf@njust.edu.cn}{jiangf@njust.edu.cn}
\end{center}
This resource records the sampling, validity, numerical-validation, calibration and recognition details used for the experiments in the main paper. It adds no new experimental results.


\section{Descriptor sampling and caches}
Native $Q=900$ selection takes 450 centerness entries followed by 450 nonduplicate objectness entries. Descriptors use four 256-channel encoder levels before output projection and positive-area sampling boxes $B=(x_1,y_1,x_2,y_2)$ clipped to the resized image. Clipping affects sampling copies only. Each level uses bilinear samples on the $7\times7$ box-center grid
\begin{equation}\label{eq:sampling}
\begin{aligned}
x_u&=x_1+(u+1/2)(x_2-x_1)/7,\\
y_v&=y_1+(v+1/2)(y_2-y_1)/7,\\
&\hspace{7mm}u,v\in\{0,\ldots,6\}.
\end{aligned}
\end{equation}
For resized image dimensions $W_I,H_I$ and valid level dimensions $W_v^\ell,H_v^\ell$, sample coordinates are $(x_uW_v^\ell/W_I-1/2,y_vH_v^\ell/H_I-1/2)$, with interpolation clamped to valid cells. Out-of-image points and, for context, points inside exposed support boxes are excluded before averaging. The remaining samples are averaged per level; level means are normalized, averaged across levels and normalized again. Descriptor/prototype validity follows Section~2.2 of the main paper. Coverage caches store atom-wise top-two values and their owners, refreshing affected atoms after each commitment.

\section{Candidate admission and descriptors}
Candidate references are unpadded, native-valid encoder entries with finite box logits before sigmoid. A non-finite or native-invalid reference in $A_0$ triggers complete bypass. Descriptors use positive-area sampling boxes clipped to the resized image, without changing decoder references. Empty sample sets, non-finite aggregates or pre-normalization norms at most $10^{-6}$ invalidate a descriptor or prototype; unusable classes are excluded before division. The pool $\mathcal V_s$ contains valid references, geometry and descriptors. Native entries with invalid sampling geometry or descriptors retain their initial references and contribute zero coverage, but their slots remain eligible for exchange outside $H$.

\section{Frozen proposal profile and numerical settings}
The main PF-RPN profile fixes commit \texttt{52d3959dd3}, confidence enabled, language embeddings removed and score mode \texttt{both}; native scoring follows Eq.~\textup{(6)} of the main paper. SCQE bypasses exchange if a common valid token set or finite required outputs are unavailable. Proposal/functional/VJP inference uses FP32, with TF32 disabled and batch size one; gain/risk accumulation uses FP64. Candidate counts and chunking are recorded. Probe seeds derive from dataset/parent/chip IDs with global seed 20261012, independently of support, shot and method.

\section{Implementation validation}
We verified native equivalence ($10^{-6}$ absolute/$10^{-5}$ relative), directional-derivative agreement, direct/cached gain--risk agreement, allocation invariants and complete cached-tensor fallback for the reported evaluation. For $f_b(R)=v_b^\top W^{1/2}y_H(R)$ and a fixed feasible direction $D\in\mathbb R^{Q\times4}$, let $d_b^{\rm VJP}=\langle g_b,D\rangle_F$. The central-difference check is
\begin{equation}\label{eq:fdcheck}
\begin{aligned}
d_{b,\rho}^{\rm FD}&=\frac{f_b(R_0+\rho D)-f_b(R_0-\rho D)}{2\rho},\\
e_{b,\rho}&=|d_{b,\rho}^{\rm FD}-d_b^{\rm VJP}|,\\
e_{b,\rho}&\leq10^{-5}+0.05\max(|d_{b,\rho}^{\rm FD}|,|d_b^{\rm VJP}|).
\end{aligned}
\end{equation}
Validation used three fixed non-target images, five directions/two probes and $\rho\in\{10^{-2},3\!\times\!10^{-3},10^{-3},3\!\times\!10^{-4},10^{-4}\}$. The directional-derivative checks passed Eq.~\eqref{eq:fdcheck} at two adjacent usable step sizes. Signals below measured forward repeatability noise were treated as inconclusive rather than as passes. All implementation checks passed for the reported evaluation.

\section{Non-target calibration}
The non-target calibration manifest and full annotation budget/history are fixed before target evaluation. Calibration uses 40 queries and two 5-shot supports only on these non-target data. The first 12 IDs provide 32-budget B2 plans and median positive proxy/actual scales $s_p,s_t$ above repeatability noise. The search considers at most nine pairs: proxy tolerances from $\{s_p/3,s_p,3s_p\}$ and actual tolerances from $\{\min(\lambda s_t,1):\lambda\in\{1/3,1,3\}\}$. The chosen pair maximizes mean paired AP gain over B0 on all calibration queries, with ties resolved by smaller actual, then proxy tolerance. Undefined scales block evaluation. B1/B2 budgets and B3's actual threshold are calibrated separately. The mechanism controls in Section~3.3 of the main paper reuse full SCQE settings, including its proxy/actual tolerances, to avoid confounding component changes with recalibration. All settings remain fixed across target datasets/shots, and repeatability determines $\delta_F$ independently of AP.

Recognition adaptation/postprocessing are fixed before selector calibration, using native CD-ViTO optimizer, shot-dependent schedule and auxiliary losses. The reported aggregates were verified against validation logs, DIOR support/query manifests and the 100-image exclusion list, DOTA parent/chip manifests, non-target calibration records, final thresholds and budgets, adaptation configurations, code/checkpoint hashes and pretraining exposure records. Per-support predictions were checked for consistency with the reported means and sample SDs. Implementation and protocol verification was completed for all reported comparisons.

\section{Shared adaptation and recognition interface}
Support adaptation follows native CD-ViTO \cite{cdvito}. Jointly update its localization/classification heads $M_{\rm DET},M_{\rm CLS}$, learnable instance features $M_{\rm LIF}$, instance reweighting $M_{\rm IR}$ and domain prompter $M_{\rm DP}$ under $\mathcal L_{\rm adapt}=\mathcal L_{\rm loc}+\mathcal L_{\rm cls}+\mathcal L_{\rm dp}$, with native loss definitions/weights. Feature backbones and proposal generators, including PF-RPN, remain frozen. Training ROIs come from native CD-ViTO proposals on support images and are matched using only the exposed support annotations. From common initialization $\psi_0$, obtain $\psi_{\mathcal S}=\mathcal A_{\rm CD}(\psi_0;\mathcal S)$ once per episode and reuse it for every matched selector; query images and SCQE query plans never enter adaptation.

The score-only interface applies at query inference: bypass $M_{\rm DET}$ refinement and use $M_{\rm CLS}$ to score PF-RPN decoder boxes with the adapted support representations. Localization loss remains active during adaptation, but final query geometry remains the PF-RPN output. This inference variant is distinct from the full external CD-ViTO detector. Pass up to $N_{\rm prop}=900$ proposals per image/chip to recognition. For DOTA, map all chip predictions to parents before postprocessing; for DIOR, use image coordinates directly. Assign the highest-scoring class (class-index ties), apply $\tau_{\rm cls}$, class-wise NMS at $\tau_{\rm NMS}$, then the shared total unit cap $N_{\rm det}^{\max}=100$ (chip/proposal-order ties). DOTA has no premature chip final cap. All matched selectors use the same settings. PF scores do not multiply target-class scores. No query GT enters selection or deployment.


\begin{thebibliography}{1}
\bibitem{cdvito} Fu, Y., et al.: Cross-domain few-shot object detection via enhanced open-set object detector. In: Computer Vision--ECCV 2024, pp. 247--264 (2025). \url{https://doi.org/10.1007/978-3-031-73636-0_15}.
\end{thebibliography}
\end{document}
