2.1. Overall Framework of Fed-RSAdapter
This paper proposes Fed-RSAdapter, a federated fine-tuning method based on multi-scale adapters for remote sensing image interpretation. The overall framework is illustrated in
Figure 1. The proposed method performs adapter-based fine-tuning on edge devices and similarity-aware parameter aggregation on the central server, enabling efficient model adaptation under limited computational resources.
On the edge side, a CNN-Transformer-based architecture is adopted as the backbone network. Each edge device performs local training and parameter updates using its own data samples and a shared pretrained model. To reduce computational cost while enhancing task-specific adaptability, all backbone CNN-Transformer parameters are frozen during fine-tuning. Although these frozen parameters still participate in forward propagation, they are excluded from gradient backpropagation, thereby preserving the stability of the backbone’s fundamental feature extraction capability.
Only the parameters of the newly introduced adapter modules are involved in gradient updates. Since the number of adapter parameters is relatively small, the overall computational cost of fine-tuning is significantly reduced, making the proposed approach well suited for resource-constrained edge environments. In addition, each adapter module is connected to the backbone network via residual connections, enabling effective interaction between adapter features and backbone representations. This design not only facilitates information fusion across layers but also ensures that the expressive power of the model is not compromised.
After local training on edge devices, the updated parameters of the adapter modules are transmitted to the central server. The server measures the similarity between adapter parameters from different clients by computing the distances among their parameter representations. Based on this similarity information, the central model selectively aggregates fine-tuned parameters from participating edge devices, assigning appropriate weights during the fusion process.
This distance-based parameter aggregation strategy effectively exploits the characteristics of client-side data distributions while mitigating the negative impact of irrelevant or highly divergent updates. As a result, the overall performance of federated fine-tuning is significantly improved. The aggregated adapter parameters are then redistributed to edge devices to initialize the next round of local fine-tuning, leading to continuous and stable optimization of the global model across federated training rounds.
2.2. Multi-Scale Adapter Fine-Tuning Module
The parameter fine-tuning module deployed on edge intelligent terminals consists of multiple adapter modules. Unlike conventional full-parameter fine-tuning methods that require updating the entire backbone network, the proposed RSAdapter performs task-specific adaptation through a lightweight bottleneck architecture, significantly reducing the number of trainable parameters while preserving the prior knowledge of the pretrained model.
As illustrated in
Figure 2, each RSAdapter is inserted into the backbone network as an independent lightweight adaptation block. Given an input feature map
, the feature is first normalized through a Layer Normalization (LN) operation to stabilize feature distributions. Subsequently, a
convolution layer is employed to project the high-dimensional feature learning into a compact latent space:
During the fine-tuning process, the pretrained backbone parameters
W remain frozen to ensure that the prior knowledge encoded in the original model is preserved. Fine-tuning is performed exclusively within the adapter modules. The update process can be formulated as
where
denotes the channel compression matrix and
r represents the reduction ratio.
After dimensionality reduction, a GELU activation function is introduced to enhance nonlinear representation capability. To better capture local spatial dependencies in remote sensing imagery, a depthwise
convolution is further applied in the compressed feature space:
where the depthwise convolution introduces spatial inductive bias while maintaining low computational complexity.
The compressed spatial features are then projected back to the original feature dimension through an additional
convolution layer:
where
denotes the feature reconstruction matrix that projects the bottleneck feature from
channels back to the original
C channels.
Finally, a residual connection is adopted to preserve the original semantic representation and improve gradient propagation efficiency:
where
h denotes the final output feature.
During the entire fine-tuning process, the backbone parameters W remain frozen, and only the parameters within the RSAdapter are updated. This strategy avoids direct optimization of high-dimensional backbone parameters and significantly reduces memory consumption, computational cost, and communication costs in distributed edge environments.
The number of trainable parameters in a standard full fine-tuning layer is approximately
, while the proposed RSAdapter only introduces:
trainable parameters, where the first term corresponds to the two
convolution layers and the second term corresponds to the depthwise convolution operation.
Therefore, the parameter reduction ratio can be formulated as
where
denotes the trainable parameter ratio of the adapter relative to a full
projection and
R denotes the corresponding proportion of reduced trainable parameters. The second term
originates from the depthwise
convolution in the bottleneck space.
In practical implementations, the channel dimension C typically takes values such as 96, 192, 384, or 768 in hierarchical vision backbones, while the reduction ratio r is selected according to task requirements. This lightweight design enables efficient fine-tuning on resource-constrained edge devices while enhancing spatial feature adaptation for remote sensing imagery.
To further enhance the modeling of multi-scale characteristics in remote sensing imagery, a carefully designed multi-scale adapter connection scheme is introduced for edge intelligent terminals, as illustrated in
Figure 3. The overall architecture adopts the CNN-Transformer hybrid attention module of RingMo-lite [
2], enabling simultaneous capture of global semantic information and local structural details. RingMo-lite is selected as the backbone because it is a lightweight remote-sensing-oriented CNN-Transformer hybrid model pretrained on large-scale remote sensing imagery. Its combination of local convolutional inductive bias and global Transformer modeling is consistent with the multi-scale characteristics of aerial and satellite images, and its compact parameter scale enables a fair evaluation of parameter-efficient federated fine-tuning across classification, detection, and segmentation tasks. Through densely connected multi-scale links, the proposed design enables effective feature interaction across different layers and resolutions.
Since feature maps from different layers vary in spatial resolution and channel dimensions, compatibility during fusion is ensured through an upsampling and channel alignment strategy. Specifically, the feature map
from a lower-resolution layer is first upsampled to a higher resolution and then passed through a
convolution for channel alignment. The transformed feature map
is computed as
where the upsampling operation increases the spatial resolution, and the
convolution adjusts the channel dimension to facilitate subsequent feature concatenation. Feature fusion within each stage is then performed as
where
denotes the adapter output from the
-th layer after upsampling and channel alignment, and
and
represent the outputs of the frozen Transformer and CNN branches at the same layer, respectively. This design enables efficient fusion of features from different branches and multiple scales, significantly enhancing the representational capacity and robustness of the model.
In terms of parameter efficiency, freezing the CNN-Transformer backbone ensures that only the parameters of the RSAdapter modules participate in training. At each stage, the number of trainable parameters in the adapter modules is given by , where n denotes the number of adapter modules. For example, in the first stage with , compression ratio , and , the number of trainable parameters is . The parameter counts for subsequent stages can be computed in a similar manner.
Overall, the proposed design introduces approximately 1.08 M additional trainable parameters, accounting for only 3.82% of the original Swin Transformer Tiny backbone (28.3 M parameters). After incorporating dense multi-scale connections, the additional upsampling and convolution layers introduce a small number of extra parameters, increasing the total number of trainable parameters to 1.467 M, which corresponds to approximately 4.93% of the backbone network. This multi-scale adapter connection strategy not only ensures effective fusion of features across different scales but also substantially reduces the number of parameters and computational cost required for training, making it particularly suitable for efficient and low-cost fine-tuning on edge devices with limited data.
While the RSAdapter module achieves efficient parameter reduction and local spatial adaptation, a single adapter inserted at each backbone stage operates independently and lacks explicit interaction across different spatial scales. To address this limitation and fully exploit the multi-scale characteristics of high-resolution remote sensing imagery, a cross-layer dense connection scheme is further introduced in
Section 2.3, enabling feature fusion across adapter stages at different resolutions.
2.3. Parameter Similarity Sharing Module
In conventional federated learning, each client is required to upload the entire set of model parameters to the central server for global aggregation, resulting in a unified global model parameter denoted as . In the proposed method, however, the backbone network parameters are fixed during the pretraining stage and remain frozen throughout the fine-tuning process, while only the adapter modules are updated at each client. Since the backbone parameters are identical across all clients and the central server and do not change during training, they do not need to be repeatedly transmitted.
To further improve communication efficiency, each client only computes the gradients of the adapter parameters, defined as the difference between the current adapter parameters and the initial global adapter parameters, denoted as
. Only these gradient updates are transmitted to the central server. The Euclidean distance [
32] between local gradients and the global gradient is utilized to determine the update direction of the global parameters, which is then used to compute the global gradient. This strategy not only avoids redundant data transmission but also significantly reduces communication cost, thereby improving the efficiency of parameter transmission in federated fine-tuning.
Due to the substantial heterogeneity in data distributions across different edge devices, directly broadcasting a unified global model to all clients may degrade local performance and hinder adaptation to local data characteristics. To address this issue, a parameter similarity sharing mechanism is introduced. By computing the similarity between the parameters of edge devices and the central server, parameters that are more consistent with a given client are selectively aggregated and transformed into corresponding gradients to assist local model updates.
First, to eliminate scale discrepancies among parameters from different edge devices, we only use the trainable adapter parameters for similarity estimation. The local adapter parameter vector of client
i at communication round
t is denoted as
, while the frozen backbone parameters
are shared by all clients and are not included in similarity computation or transmission. The adapter parameters are normalized using
normalization, ensuring that the subsequent Euclidean distance computation objectively reflects directional differences between parameter vectors rather than absolute magnitude variations, as shown in Equation (
9):
Next, a client-to-client similarity matrix
is defined over the
K participating clients in the current communication round. The global adapter parameter is not included as an additional node in this normalized similarity matrix; instead, its influence is introduced explicitly through the global-local balance term in Equation (
12). The Euclidean distance between any pair of nodes is computed and mapped to a similarity score using a Gaussian kernel function, as shown in Equation (
10):
Here,
is already the squared Euclidean distance. Therefore, the Gaussian kernel is applied directly to
rather than to
, avoiding repeated squaring of the distance. Here,
is a hyperparameter controlling the width of the Gaussian kernel, which directly affects the sensitivity of similarity estimation. When the distance between two parameter vectors is small, the similarity value approaches 1; otherwise, it rapidly decays toward 0. For self-similarity
, since
, the similarity naturally equals 1 and does not affect the formulation. The similarity matrix is then normalized to obtain the normalized similarity coefficients
:
Finally, the central server updates the personalized global parameters
for each client by combining the global parameter
and the client parameters
according to the similarity coefficients, as shown in Equation (
12):
Here,
denotes the global adapter parameter at round
t, and
denotes the personalized adapter parameter distributed to client
i for the next local training round. Here,
is a hyperparameter that balances global consistency and client-level personalization. In this work,
is set to 0.5. When transmitting updates back to the client, only the updated adapter parameters are converted into gradient form, as shown in Equation (
13):
where
and
denote the locally updated adapter parameters and the personalized adapter parameters received from the server, respectively.
Assume that the global model consists of frozen backbone parameters
and trainable adapter parameters
, where
,
, and
. The adapter gradient is computed as shown in Equation (
14):
where
denotes the global adapter parameter before local training at round
t. By transmitting only the adapter updates
, rather than the complete model parameters, the communication cost is reduced to
of that required by conventional federated learning methods.
2.5. Experimental Setup
This part evaluates the proposed federated fine-tuning method on image classification, object detection, and semantic segmentation tasks. All experiments are implemented using Docker containers and the PyTorch 2.7.1 framework with CUDA 12.8, and are conducted on an NVIDIA A40 GPU. The A40 platform is used to ensure controlled and reproducible comparison among methods. Therefore, the experiments verify communication-efficient federated fine-tuning rather than direct embedded-device deployment.
2.5.1. Datasets
Five publicly available benchmark datasets are adopted to cover the three remote sensing interpretation tasks evaluated in this paper.
UCM Dataset. The UC Merced Land Use (UCM) dataset [
33] is a widely used benchmark for remote sensing scene classification, consisting of 2100 aerial images across 21 land-use categories with 100 images per class. Each image has a spatial resolution of approximately 0.3 m per pixel and a fixed size of
pixels. The images were manually extracted from the USGS National Map Urban Area Imagery collection, covering diverse urban areas across the United States. In this paper, 80% of the data is used for training.
AID Dataset. The Aerial Image Dataset (AID) [
34] is a large-scale benchmark for aerial scene classification proposed by Wuhan University. It comprises more than 10,000 images collected from Google Earth, spanning 30 scene categories with 220 to 420 images per class. Each image has a fixed size of
pixels. Compared to UCM, AID features higher intra-class variation and greater geographic diversity, with images sourced from multiple countries and regions worldwide. In this paper, 50% of the data is used for training.
NWPU Dataset. The NWPU dataset [
35] is a large-scale benchmark for remote sensing image scene classification created by Northwestern Polytechnical University. It contains 31,500 images covering 45 scene classes with 700 images per class, each of size
pixels. Images were collected from Google Earth across more than 100 countries, with spatial resolutions ranging from 0.2 m to 30 m per pixel. The dataset is characterized by high within-class diversity, strong between-class similarity, and large variations in viewpoint, illumination, and background. In this paper, 20% of the data is used for training.
DIOR Dataset. The DIOR dataset [
36] is a large-scale benchmark for object detection in optical remote sensing images. It contains 23,463 images of
pixels covering 20 object categories, with a total of 192,472 annotated instances using horizontal bounding boxes. The dataset exhibits large variations in object scale, imaging conditions, seasons, and image quality, alongside high inter-class similarity and significant intra-class diversity, making it a representative and challenging benchmark for remote sensing object detection.
Potsdam Dataset. The ISPRS Potsdam dataset is a benchmark for semantic segmentation of very-high-resolution aerial imagery, released by the International Society for Photogrammetry and Remote Sensing (ISPRS). It consists of true orthophoto (TOP) tiles with a ground sampling distance (GSD) of 5 cm and a tile size of pixels, covering a historic urban area in Potsdam, Germany. The dataset provides pixel-level annotations for six land-cover classes: impervious surfaces, buildings, low vegetation, trees, cars, and clutter/background.
To simulate realistic federated learning scenarios, all datasets are partitioned into 10 heterogeneous client subsets under a Non-IID setting based on a Dirichlet distribution [
37] with concentration parameter
, resulting in imbalanced data distributions across clients. A smaller
induces greater data heterogeneity; the selected value of 0.5 represents a moderately heterogeneous setting commonly adopted in federated learning benchmarks [
37], ensuring a realistic yet tractable evaluation condition. For scene classification, the Dirichlet partition is performed according to image-level class labels. For object detection, the partition is performed at the image level according to the object-category distribution of each image, so that a single image and its annotations are assigned to only one client. For semantic segmentation, the original Potsdam tiles are first cropped into fixed-size patches, and the client partition is performed at the patch level according to pixel-category statistics. In all tasks, the test data are kept separate from the federated training partitions and are not used during local training, aggregation, or hyperparameter selection. The sample and label distributions across different clients are illustrated in
Figure 4 and
Figure 5.
2.5.2. Evaluation Metrics
Task-specific evaluation metrics are adopted to comprehensively assess the performance of the proposed method across three remote sensing interpretation tasks.
For
scene classification, Overall Accuracy (OA) is used as the primary evaluation metric, which measures the percentage of correctly classified images across all categories. OA is formally defined as
where
C denotes the total number of classes,
is the number of correctly classified samples in class
c, and
N is the total number of test samples. Results are reported as the mean and standard deviation over 10 federated clients to reflect both average performance and cross-client consistency under Non-IID data distributions.
For
object detection, three complementary metrics are adopted: mean Average Precision (mAP) averaged over IoU thresholds from 0.50 to 0.95, AP50 (Average Precision at IoU
), and AP75 (Average Precision at IoU
). For each class
c, the Average Precision is computed as the area under the precision-recall curve:
where
denotes the precision at recall level
r for class
c. The mean Average Precision is then obtained by averaging over all
C object categories and over a set of IoU thresholds
:
where
denotes the Average Precision of class
c at IoU threshold
t. The mAP provides a comprehensive assessment of detection quality across varying localization strictness, while AP50 and AP75 separately evaluate coarse and fine-grained localization performance, offering a more complete characterization of detection behavior under heterogeneous object scale distributions in the DIOR dataset.
For
semantic segmentation, three metrics are reported: Overall Accuracy (OA) as defined in Equation
17, mean Intersection over Union (mIoU) averaged over all land-cover classes, and macro-averaged F1 score. For each class
c, the Intersection over Union is defined as
where
and
denote the number of false positive and false negative predictions for class
c, respectively. The mean IoU is then computed as
The macro-averaged F1 score is defined as the harmonic mean of precision and recall, averaged over all classes:
Since OA is dominated by majority classes (e.g., impervious surfaces and buildings) in the Potsdam dataset, mIoU and F1 are additionally reported to provide a balanced evaluation across all six land-cover categories, including minority classes that are unevenly distributed across federated clients.
The backbone network for all tasks is a lightweight CNN-Transformer hybrid model based on RingMo-lite [
2], initialized with pretrained weights from large-scale remote sensing image datasets. The frozen backbone is shared by all clients. The inserted adapter modules are trainable for all three tasks. For scene classification, the lightweight classification head is also optimized with the adapter modules. For object detection and semantic segmentation, the RepPoints and DeepLabV3+ task heads are kept fixed during federated fine-tuning to maintain a strict parameter-efficient communication setting; consequently, the reported trainable parameter counts include the adapter modules but exclude the frozen backbone and frozen task heads. The task heads are initialized from the corresponding task models trained on the training split only, and no test samples are used in this initialization process.
2.5.3. Training Configurations
For the classification task, a learning rate of is adopted with a batch size of 64 and the Adam optimizer (, ), trained for 500 epochs. For object detection and semantic segmentation, the learning rate is set to , with momentum 0.99 and weight decay , trained for 100 epochs and 80,000 iterations, respectively. All random operations, including dataset partitioning, model initialization of newly added layers, and mini-batch shuffling, are seeded in Python 3.10, NumPy 1.26.4, and PyTorch 2.7.1. The experiments were repeated three times using random seeds 2024, 2025, and 2026. The reported results are averaged over the repeated runs and federated clients. The standard deviations in the tables reflect the variation under the federated evaluation protocol.
The preprocessing pipeline is task-specific. For scene classification, images are resized to the input resolution required by the backbone, randomly cropped and flipped during training, and normalized using the same statistics as the pretrained backbone. For DIOR object detection, images and bounding-box annotations are transformed jointly using standard detection resizing, flipping, and normalization. For Potsdam semantic segmentation, large orthophoto tiles are cropped into training patches, and all patches are normalized before training; training and testing patches are generated from non-overlapping spatial regions to avoid spatial leakage.
2.5.4. Federated Training Protocol
During federated training, each client performs local updates and periodically communicates with the central server for parameter aggregation. A total of 10 communication rounds are conducted, evenly spaced throughout the training process. All experiments are repeated three times, and the average results are reported to ensure robustness and fairness. At each communication round, only the adapter parameters or adapter updates are uploaded and downloaded. Under 32-bit floating-point transmission, the 1.467 M trainable adapter parameters correspond to approximately 5.87 MB per one-way client transmission. In contrast, transmitting the full model would require approximately 119.04 MB for classification, 155.31 MB for detection, and 173.52 MB for segmentation based on the corresponding total parameter counts reported in the experimental results. This yields a substantial reduction in per-round communication volume while keeping the backbone and task heads fixed.
To complement the parameter-ratio comparison with more practical efficiency indicators, we further profile communication volume, peak training memory, training time, inference latency, and multiply-accumulate operations (MACs), as summarized in
Table 1. The total communication volume is computed for bidirectional transmission over 10 clients and 10 communication rounds. Peak memory and runtime are measured on the same NVIDIA A40 platform used for the main experiments, while MACs are reported for a single forward pass under the corresponding task input setting. In this table, bold values indicate the more resource-efficient results for communication volume, peak memory, and training time.
The profiling results show that Fed-RSAdapter reduces the total communication volume from 23.81–34.70 GB to 1.17 GB under the 10-client, 10-round protocol. It also substantially lowers peak training memory and per-round training time because gradients are computed only for the adapter modules and task-specific trainable components. Inference latency and MACs remain close to the full-model counterparts, since the frozen backbone and task heads still participate in forward propagation. Therefore, the current evidence mainly supports communication-efficient and training-efficient federated fine-tuning; direct end-to-end efficiency on embedded platforms such as Jetson or RK3588 still requires dedicated hardware evaluation.