RAPConv: Adaptive Pansharpening Convolution
- The paper introduces RAPConv, a novel convolution method that adapts kernels based on local feature context for improved pansharpening.
- RAPConv employs a dual-branch design with a local feature branch and a Global Harmonic Bias Module, leading to better metrics such as ERGAS, Q8, and SCC.
- Integrated into RAPNet, RAPConv supports dynamic feature fusion and precise spatial detail extraction to generate high-resolution multispectral outputs.
Receptive-field Adaptive Pansharpening Convolution (RAPConv) is a deep learning operation specifically developed for pansharpening, the process of fusing a high-resolution panchromatic (PAN) image with a lower-resolution multispectral (MS) image to produce a high-resolution multispectral output. RAPConv departs from conventional convolution by generating location-specific convolutional kernels that adapt to the local content at each spatial position, enhancing spatial detail extraction and mitigating the limitations of uniform kernel application that characterize standard convolutions (Tang et al., 14 Jul 2025).
1. Mathematical Formulation and Mechanism
RAPConv operates on an input feature map (with channels, spatial size ) and produces an output . Unlike standard convolution, which applies a fixed learnable kernel to all positions, RAPConv generates a unique modulation tensor for each spatial location . The resulting operation at each location is:
where is the 0 receptive field and 1 denotes the Hadamard product. The kernel modulation 2 is determined by local feature context, enabling location-dependent feature extraction. The local receptive field is modeled by:
3
with 4 being the sigmoid activation, 5 realizing 6 filters grouped by channel, and 7 providing channel-wise spatial averages broadcast across the map.
A location-specific tensor 8 is reshaped from 9 and broadcast across output channels to form 0.
2. Kernel Generation and Bias Integration
The RAPConv kernel-generation process consists of:
- Local Feature Branch:
- Global average pooling of the input (1).
- Group-wise 2 convolution to generate kernel weights.
- Sigmoid non-linearity to ensure modulation coefficients are in 3.
- Per-location rearrangement to construct 4 from the coefficients.
- Global Harmonic Bias Module (GHBM):
- Channel pooling (5).
- Two-stage bottleneck via 6 convolutions and ReLU activations to produce a bias term 7, broadcast spatially as 8.
- The final RAPConv output is 9.
This design allows RAPConv to generate both content-adaptive kernel weights and a spatially broadcast bias, both derived from the input.
3. RAPConv in the RAPNet Pansharpening Architecture
RAPConv forms the backbone of the RAPNet network for pansharpening, with the architectural pipeline as follows:
- PAN and MS images are processed by Edge Spatial Attention Modules (ESAM).
- The MS image is upsampled to the PAN spatial resolution and concatenated with PAN-derived features.
- An initial 0 convolution is applied.
- The feature map passes through 1 RAP-ResBlocks (experiments use 2), where each RAP-ResBlock consists of a sequence: [3 RAPConv 4 PReLU 5 6 RAPConv] + identity skip connection.
- Features undergo Pansharpening Dynamic Feature Fusion (PAN-DFF) with the upsampled MS input.
- Final reconstruction produces the high-resolution multispectral (HRMS) output.
RAPConv distinguishes itself from conventional convolution by adapting both kernels and additive bias at every spatial location, providing increased representational flexibility.
4. PAN-DFF: Adaptive Feature Fusion for Pansharpening
Pansharpening Dynamic Feature Fusion (PAN-DFF) complements RAPConv by adaptively balancing spatial detail and spectral fidelity. Given backbone features 7 and upsampled MS features 8, PAN-DFF computes attention gates:
- Spectral gate: 9, broadcast to match 0 spatial dimensions.
- Spatial gate: 1, similarly broadcast.
Fusion is performed by:
2
where 3 denotes element-wise multiplication. This mechanism enables the network to dynamically weight the contributions of detail-rich and spectrally faithful representations on a per-channel basis.
5. Empirical Evaluation and Performance Analysis
RAPNet, employing RAPConv, is benchmarked on the WorldView-3 simulated dataset (20 images, 4). Key evaluation metrics include ERGAS (lower is better), SAM (spectral angle, lower is better), Q8 (higher is better), and SCC (spatial correlation coefficient, higher is better). The following results were observed (Tang et al., 14 Jul 2025):
| Method | ERGAS ↓ | SAM ↓ | Q8 ↑ | SCC ↑ |
|---|---|---|---|---|
| FusionNet | 2.492 | 3.372 | 0.899 | 0.979 |
| RAPNet | 2.353 | 3.369 | 0.902 | 0.982 |
RAPNet attains the highest Q8 and SCC, reflecting enhanced spatial detail extraction. Ablation studies demonstrate that replacing RAPConv with standard convolution yields substantial performance degradation (ERGAS: 2.639→2.353, Q8: 0.891→0.902), confirming the critical role of receptive-field adaptation.
In real-world WorldView-3 tests, the QNR metric increased from 0.9363 (FusionNet) to 0.9374 (RAPNet), while Da and Ds values further indicate improved spatial transfer with negligible spectral distortion.
6. Comparisons and Relations to Adaptive Convolution Methods
RAPConv shares conceptual ground with dynamic and content-adaptive convolutions but is tailored for the pansharpening context through spatially adaptive modulation and the inclusion of global harmonic bias. In contrast, techniques such as DSConv (Dynamic Splitting Convolution) dynamically select and activate a subset of sub-kernels via masking, focusing computation on the most informative offsets and achieving a different balance of efficiency and adaptivity (Liu et al., 8 Aug 2025).
Both RAPConv and DSConv aim to enlarge and vary the effective receptive field according to local context, though DSConv utilizes a binary mask and shifting mechanics, while RAPConv employs soft, sigmoid-based gating and spatially broadcast bias integration.
7. Limitations and Perspectives
While RAPConv enables localized adaptation critical for remote sensing fusion tasks, its reliance on sigmoid-parameterized gating can introduce smoothing effects. A plausible implication is that specialized training or additional sparsity constraints may further enhance localization or computational efficiency. Moreover, as RAPConv’s receptive field is position- and content-dependent, its interpretability and optimization may present additional challenges relative to standard convolutions. Ongoing work compares the tradeoffs between such adaptive mechanisms and alternative dynamic convolution schemes in varied vision domains (Tang et al., 14 Jul 2025, Liu et al., 8 Aug 2025).