Abstract
Fully fine-tuning large vision encoders for overhead imagery is costly. We compare linear probing, low-rank adaptation, and adapter prompts for closed-set, single-frame semantic segmentation computed by the image encoder and neck of SAM 3, under one protocol on seven airborne, satellite, and unmanned aerial vehicle benchmarks, five of which have independent test sets. Over those five, mean intersection over union rises from 0.7007 for linear probing, to 0.8258 for low-rank adaptation, and to 0.8200 for adapters, whose trainable parameters amount to 0.99% and 0.07% of the pretrained model. The evaluation protocol mattered as much as the strategy: scoring the oblique UAVid frames as tiles at the training scale, rather than resizing whole frames, raises every strategy by 0.13 to 0.19 and shrinks the adapters’ lead there from 0.052 to 0.020, so most of that lead reflects the protocol rather than the method. Measured cost does not follow parameter count. Adapters need 30% more peak training memory than low-rank adaptation, mainly because of where their prompt is computed, yet their epochs are 17% shorter; unmerged low-rank factors add 34% to the time per image, which merging removes. Scene-level resampling shows the differences between the trained models to be stable, but single runs cannot establish them as differences between methods, and no other backbone was tested.
1. Introduction
Semantic segmentation assigns every pixel of an image to a semantic category [1]. Unlike scene classification or object detection [2], it produces a dense interpretation of the scene, which is what urban planning, infrastructure monitoring, land-cover analysis, and environmental-change detection require of high-resolution overhead imagery [3]. Urban scenes observed from satellites or unmanned aerial vehicles are heterogeneous in texture, illumination, and shadow; their class distributions are severely imbalanced; and the objects of interest range from city blocks to individual vehicles. A useful representation therefore has to capture fine local detail and long-range spatial context at the same time. Convolutional architectures such as U-Net [4] dominated the field for years, but their bias towards local receptive fields limits the modelling of long-range dependencies. Vision transformers [5] removed that limitation through explicit global attention, which suits scenes with complex morphology and multiscale objects.
Foundation models [6], pretrained on large heterogeneous corpora, learn general-purpose visual representations that transfer to many downstream tasks. The Segment Anything Model [7] is among the most influential of them, and its successor SAM 3 [8] adds a unified perception encoder, a memory and tracking branch for video, and a multimodal decoder driven by text and geometric prompts. Applying such a model directly to overhead imagery rarely gives good results, because overhead views differ from the natural photographs that dominate pretraining corpora in viewing geometry, ground sampling distance, and scene composition, and sometimes also in the bands the sensor records. Full fine-tuning of a model with hundreds of millions of parameters is expensive, requires storing a complete copy of the weights for every task, and risks overwriting the general knowledge that motivated using a foundation model in the first place. Parameter-efficient fine-tuning resolves that tension by updating a small subset of parameters, or by inserting compact trainable modules, while the backbone stays frozen.
Parameter-efficient fine-tuning was developed first for large language models, where storing a full weight set per downstream task is prohibitive. Adapter modules inserted between transformer layers [9] and low-rank reparameterisations of the weight update [10] showed that strong adaptation is possible while modifying a tiny fraction of the parameters, and those ideas reached vision through visual prompt tuning [11] and AdaptFormer [12]. Dense prediction is generally regarded as more demanding than classification, since accurate boundary localisation and multiscale context are difficult to recover by changing the output head alone. A body of work has since adapted the Segment Anything family specifically, and a smaller body has applied these ideas to remote sensing. What is still scarce is a comparison of several parameter-efficient families under one protocol, on one recent backbone, across heterogeneous remote sensing tasks, reported in enough architectural and procedural detail that another group could reproduce it.
This paper provides that comparison. Three strategies are evaluated: linear probing [13], which trains only the output layer; low-rank adaptation (LoRA) [10], which reparameterises the existing projections of every encoder block; and adapter prompts in the SAM-Adapter formulation [14], which inject new capacity into the residual stream at the entry of every block. The three represent three different answers to the question of where a frozen backbone should be modified. The backbone, the decoder, the data, and the training procedure are held fixed across them, although the strategies differ in more than where they act (Section 5). Seven benchmarks cover airborne, satellite, and unmanned aerial vehicle imagery; binary and multi-class labelling; ground sampling distances from 5 cm to 1 m; and two products whose bands are not true-colour.
The study is deliberately bounded: it evaluates closed-set, single-frame semantic segmentation computed by the SAM 3 image encoder and neck followed by a linear classifier, without the text, detection, and video components of SAM 3 (Section 3.1). Since no other backbone was substituted, the results do not establish that SAM 3 is a better frozen encoder for this task than alternatives such as DINOv2 [15].
Beyond the ranking of the three strategies, the paper reports what a parameter count cannot. It measures training memory, training time, and inference throughput; traces the adapter’s extra training memory to its source; and measures what merging the low-rank factors saves at inference. It estimates uncertainty by resampling whole scenes rather than individual tiles, and it uses checkpoints saved during training to compare the two internal methods at a matched number of updates without retraining. It analyses how sensitive the trained models are to replacing one input channel on the two benchmarks whose input carries near-infrared, and it splits accuracy into a boundary band and a class interior, with a model-free reference for the losses that the output grid alone would cause. It also compares ways of presenting the large UAVid test frames to the network, a choice that turns out to matter as much as the choice of strategy: resizing whole frames to the network input instead of scoring tiles at the scale of training lowers every score by 0.13 to 0.19 and produces most of the advantage that adapters appear to hold on that benchmark. Finally, it states where our protocol departs from the one a benchmark prescribes.
The implementation, the 21 training configurations, the dataset preparation and split scripts, the explicit file lists of every split, the evaluation and analysis code, and the adapted weights for all 21 runs are openly available at https://github.com/markopetrov1/sam3-peft (accessed on 20 November 2026).
2. Related Work
2.1. Semantic Segmentation of Overhead Imagery
Dense labelling of aerial and satellite imagery inherited its architectures from natural-image segmentation and then diverged under the pressure of its own difficulties, which are small objects, extreme class imbalance, and scenes far larger than any practical input window. Encoder–decoder convolutional networks set the initial standard, with U-Net [4] and its nested variant [16] recovering spatial detail through skip connections, and the DeepLab family [17,18] widening the receptive field through atrous convolution and atrous spatial pyramid pooling. Reviews of the field [19,20] describe how these designs were adapted to overhead data through multiscale aggregation and attention, and the lineage remains productive: Dimitrovski et al. [21] report that an ensemble of U-Net models over three different backbones still improves segmentation of remote sensing imagery. Reproducible tooling has developed alongside the architectures, with Dimitrovski et al. [22] providing an open-source toolbox that implements deep learning models for Earth-observation scene classification, semantic segmentation, object detection, and crop-type prediction under a common interface.
Transformers changed the balance. SETR [23] showed that a plain vision transformer with a simple decoder is competitive for segmentation, SegFormer [24] combined a hierarchical transformer encoder with a lightweight all-MLP decoder, and the Swin transformer [25] reintroduced hierarchy and locality through shifted windows. Mask classification, formulated in MaskFormer and its successor [26,27], recast segmentation as predicting a set of masks with associated labels rather than per-pixel categories. In remote sensing specifically, UNetFormer [28] pairs a convolutional encoder with a transformer decoder built for real-time urban scene segmentation and is now a standard reference point on ISPRS Potsdam, ISPRS Vaihingen, and UAVid; related designs from the same line of work [29,30,31] explore bilateral attention, feature-pyramid attention, and hybrid decoders. For the oblique unmanned aerial vehicle imagery that UAVid represents, Spasev et al. [32] apply SegFormer directly and report that a hierarchical transformer encoder with a lightweight decoder handles the viewing geometry and scale variation of that setting. Surveys of transformers in remote sensing [33] and of vision transformers for the domain [34] cover this transition in more detail than is appropriate here.
2.2. Foundation Models and the Segment Anything Family
Self-supervised pretraining at scale produces encoders whose features transfer without task-specific labels. Contrastive and distillation objectives [35] and masked image modelling [36] both yield representations useful for dense prediction, and DINOv2 [15] demonstrated that a single frozen encoder can support segmentation and depth estimation through light heads alone. Scaling studies [37] established the regularities that motivate building such models in the first place.
The Segment Anything Model [7] took a different route, training a promptable segmenter on a very large annotated corpus so that masks can be requested through points, boxes, or coarse masks. Its zero-shot behaviour is strong on natural images and weaker on domains distant from its training distribution, which is the observation that motivated the adaptation literature discussed below. SAM 3 [8] extends the family with a unified perception encoder, a detector in the style of DETR [38], promptable concept segmentation driven by text, and a memory and tracking branch that propagates object identity across video frames. For a closed-set, single-frame dense labelling task most of that machinery is inert, a point we make precise in Section 3.1 because it bounds what our results can be said to establish.
2.3. Parameter-Efficient Fine-Tuning
Updating every weight of a large pretrained model for every downstream task is expensive to compute and expensive to store. Adapter modules [9] insert small bottleneck networks between transformer layers and train only those. Low-rank adaptation [10] instead constrains the weight update itself to a low-rank product, which has the useful property that the learned update can be folded back into the frozen weight after training. Prompt-based methods attach trainable tokens to the input rather than modifying the network [11], and AdaptFormer [12] carried the bottleneck idea into vision transformers for recognition. He et al. [39] showed that adapters, prefix tuning, and low-rank adaptation can be written as one formulation that differs mainly in which hidden representation is modified and in how the modification is composed with it, and He et al. [40] compared such methods on vision transformers. Where the modification acts is the axis this paper varies, although, as Section 5 makes clear, our two internal methods also differ in form and in size, so placement is not the only thing that separates them.
Dense prediction is generally regarded as placing heavier demands on adaptation than classification, since a change in the output head alone does little to recover boundary localisation or multiscale context. The Vision Transformer Adapter [41] injects spatial inductive priors into a plain transformer for dense prediction, and the Side Adapter Network [42] obtains segmentation from a frozen backbone through a lightweight side branch. Peng et al. [43] argue that segmentation needs adaptation distributed through the encoder rather than concentrated at its output, because independent per-block updates cannot align projection directions in a new domain. Our results are relevant to that argument, although they do not test it in isolation (Section 5).
2.4. Adapting Segment Anything, and Parameter-Efficient Tuning in Remote Sensing
A dedicated line of work adapts SAM itself. SAM-Adapter [14] established that SAM should not be used purely zero-shot in underperforming domains and proposed task-aware prompt modules injected into the encoder, the formulation our adapter arm follows. SAM-PARSER [44] recasts adaptation as reconstruction in parameter space, and the cross-block orchestration mechanism of Peng et al. [43] coordinates updates across blocks rather than treating them independently.
In remote sensing, RSAM-Seg [45] inserts multi-level adapters into the SAM encoder and evaluates on cloud detection, field monitoring, building extraction, and road extraction, and ClassWise-SAM-Adapter [46] extends the idea to spaceborne synthetic aperture radar with a class-wise decoder and a task-specific input module. Neither reports on any of the seven benchmarks used here, which is why Section 4.9 compares against general segmentation architectures instead. More recent work generalises the discussion: DEFLECT [47] adapts geospatial foundation models to multispectral input through embedding deflection, and a broad comparison across geospatial foundation models [48] reports that low-rank adaptation frequently matches or exceeds full fine-tuning while improving cross-region generalisation. The present study is complementary to that comparison: it fixes the backbone and varies the placement of the adaptation, rather than fixing the adaptation and varying the backbone.
3. Materials and Methods
3.1. The Parts of SAM 3 That Are Instantiated, Frozen, and Detached
SAM 3 [8] is used as a frozen backbone. The published model has two inference branches. The image branch consists of a perception encoder, a dual ViTDet neck, a text encoder, a transformer in the style of DETR [38] with learnable detection queries, and a multimodal decoder that fuses visual, textual, and spatial signals. The video branch adds a mask memory encoder, a memory-attention module, a per-object memory bank, a tracker, and a masklet matcher, which together propagate object identity across frames. Figure 1 shows the complete design.
Figure 1.
Architecture of SAM 3, with the overall pipeline on the left and the internal structure of the detector on the right. Green blocks are introduced in SAM 3, light blue blocks originate from the perception encoder, and dark blue blocks are inherited from SAM 2. In this work only the image encoder and the neck are executed. The video modules, namely, the memory encoder, memory attention, memory bank, tracker, and masklet matcher, are never instantiated, and the text encoder, detector, and multimodal decoder are detached after the checkpoint is loaded.
Because our task is closed-set dense labelling of independent single-frame overhead images, we build only the image branch. The five video modules listed above are never instantiated: no weights are allocated or loaded for them, they hold no state, and they do not appear in the computational graph. The question of how a streaming memory should be initialised for a single frame therefore does not arise, and no adaptation of the memory mechanism is required. It also means that this study says nothing about adapting SAM 3 for multitemporal or video geospatial tasks, where the memory branch would become active.
Within the instantiated image branch, only two modules participate in the forward pass. The first is the perception-encoder vision transformer, with input size , patch size 14, embedding width , 32 blocks, 16 attention heads, feed-forward width for a ratio of 4.625, rotary position embeddings with interpolation, and windowed attention of window size 24 with full global attention at blocks 8, 16, 24, and 32. The token grid is therefore . The second is the dual ViTDet neck, a simple feature pyramid that turns the token map into four levels of width 256 with scale factors 4, 2, 1, and 0.5, that is, maps of , , , and at effective strides of 3.5, 7, 14, and 28. SAM 3 discards the coarsest level and passes the stride-14 map to its detector as the image feature. We take that same stride-14 map, of size . The two finer levels are computed by the frozen neck but not used by our head, a choice we return to in Section 4.11. The remaining image-branch modules, namely, the text encoder, the DETR-style transformer, the geometry encoder, the dot-product scorer, and the Hungarian matcher, are instantiated so that the published checkpoint loads without modification, and are then detached before training, since no text or geometric prompt is used. The backbone weights are the facebook/sam3 release.
All SAM 3 parameters are frozen in every experiment: gradients are disabled for them, and the encoder is additionally kept in evaluation mode for linear probing so that no normalisation statistics drift. Only the parameters introduced by the adaptation strategy and the output layer are updated. Because the encoder, the neck, and the decoder are cleanly separated, each is an independent candidate site for adaptation, which makes SAM 3 a convenient platform for this comparison.
The task studied is therefore closed-set, single-frame semantic segmentation computed by the SAM 3 image encoder and neck followed by a linear classifier, and not an adaptation of the complete SAM 3 framework. The components that make SAM 3 distinctive as a promptable, open-vocabulary, video-capable segmenter take no part in the computation reported here, and for the same reason the accuracy reported below cannot be attributed to SAM 3 in particular rather than to the general transferability of a large pretrained encoder; settling that would require substituting the backbone while holding the adaptation and the decoder fixed, which we did not do.
3.2. Benchmarks
Seven benchmarks cover a range of sensors, ground sampling distances, class layouts, and viewing geometries. Table 1 summarises them.
Table 1.
Benchmarks and their splits. Bands are in input order; Cl. counts evaluated classes. Training and validation counts are tiles; test counts are tiles, or native frames for UAVid, with the number of resampling groups (Section 3.5.7) in parentheses. The last two benchmarks are exploratory.
ISPRS Potsdam and ISPRS Vaihingen [49] are airborne urban benchmarks with five evaluated foreground classes, namely, impervious surface, building, low vegetation, tree, and car, at ground sampling distances of 5 and 9 cm, respectively. Both are used as three-band composites that include the near-infrared band (Section 3.4). The annotations, for training and for testing alike, are the boundary-eroded reference that the benchmark distributes, in which a margin around every class boundary is marked as undefined; on our test tiles this removes 7.2 percent of the Potsdam pixels and 9.0 percent of the Vaihingen pixels from scoring. The clutter class, a further 4.6 and 0.9 percent of the test pixels, is treated as unlabelled in the same way, so it is excluded from the class mean, following the convention of the benchmark’s own leaderboard; Section 3.5.5 states exactly how unlabelled pixels enter each term of the training loss. Section 4.9 also reports the variant used by the code behind the strongest published baselines, in which clutter pixels stay in the confusion matrix.
UAVid [50] contains oblique frames of or pixels recorded from an unmanned aerial vehicle along urban streets; 60 of the 150 test frames, from six of the fifteen test sequences, have the wider format. It is the most strongly long-tailed benchmark in the study, containing small dynamic objects such as moving cars and humans that occupy a fraction of a percent of the pixels. The dataset defines eight classes including background clutter; our training treats clutter as unlabelled and our primary score averages the other seven, which differs from the eight-class protocol the dataset authors prescribe. Section 4.12 reports both conventions.
Massachusetts Buildings and Massachusetts Roads [51] are binary benchmarks at 1 m resolution targeting building footprints and road networks. Both are heavily background-dominated, and roads in particular form thin elongated structures that occupy a small share of the pixels while running through most of the image.
The WHU Building Dataset [52] provides 0.3 m aerial imagery of urban and suburban scenes near Christchurch with binary building masks, cut from one continuous mosaic into 8188 tiles of pixels.
LoveDA [53] provides seven land-use classes across urban and rural scenes at 0.3 m resolution, and was designed to expose the domain gap between the two scene types.
3.3. Split Provenance and Spatial Separation
A tiled overhead benchmark can leak information between splits whenever tiles cut from the same scene are distributed across them, so we state the origin of every split rather than only its size.
On Potsdam and Vaihingen the reported test split is the official ISPRS one and is separated at the level of whole orthophotos. Potsdam is delivered as 38 orthophotos, of which 24 are the official training areas and 14 the official test areas. Each is cut into tiles on a stride-512 grid whose last row and column are shifted inward to end at the image edge, so every tile is a full square and the last tiles overlap their neighbours. This gives 144 tiles per orthophoto, so the 24 training areas yield 3456 tiles and the 14 test areas 2016. Vaihingen is split the same way into 16 official training areas and 17 official test areas, giving 344 and 398 tiles. No orthophoto contributes to both the training and the test side on either benchmark. Because tiles are scored individually, the overlapping strips are counted twice; they account for 4.6 percent of the scored Potsdam pixels and 13.6 percent of the Vaihingen pixels, whose orthophotos are smaller, and Section 4.3 shows that counting every pixel once changes no reported score materially.
What is not separated by scene is our internal validation split. We moved a random 20 percent of the training tiles, drawn with seed 1337, into a validation set, so validation tiles are frequently adjacent to training tiles from the same orthophoto. That split is used only to select a checkpoint and to trigger early stopping, and no validation number is reported as a result for these two benchmarks. This is clearly optimistic: the best validation mean intersection over union of the low-rank run is 0.9038 on Potsdam and 0.8752 on Vaihingen, against 0.8809 and 0.8330 on the official test areas.
Massachusetts Buildings and Massachusetts Roads use the official splits of Mnih [51] at the level of source images, which are geographically distinct scenes of pixels: 137 training, 4 validation, and 10 test images for Buildings, and 1108, 14, and 49 for Roads. Each image is cut into a grid of tiles at offsets of 0, 512, and 988, so the tile counts are exactly nine times the image counts, separation is inherited from the official split, and the overlapping strips again account for 4.6 percent of the scored pixels.
On UAVid we use the official sequence-level partition, in which sequences 1 to 15 and 31 to 35 are training data; sequences 16 to 20, 36, and 37 are validation data; and sequences 21 to 30 and 38 to 42 are the test set. Each frame is cut into 40 overlapping tiles for training and validation, on the same kind of grid: horizontal offsets of 0, 512, …, 3072 plus a last column ending at the frame edge, and vertical offsets of 0, 512, 1024, 1536, and 1648. The test split is scored on the 150 native frames, and Section 3.5.7 describes how predictions for a whole frame are formed. The UAVid test annotations, originally withheld for evaluation on the dataset’s server, have since been released by the dataset authors [54], and our UAVid scores are computed locally against them.
LoveDA is evaluated on its official validation split, since the test labels are withheld and test scores are available only through an online server. Several studies likewise report LoveDA on the validation images [55,56,57], the last on the urban subset, whereas the dataset paper and much of the later work report test-server scores [28,53]; our LoveDA results are comparable only with the former. Because the validation split was also used for checkpoint selection, LoveDA scores are optimistically biased. Section 4.7 examines the effect of that selection using checkpoints saved at fixed epochs, which were not selected on the validation split.
WHU Building is the only benchmark on which we depart from the published protocol. The official release divides its 8188 aerial tiles into 4736 training, 1036 validation and 2416 test tiles taken from spatially separate parts of the mosaic; we split the same tiles at random into 5732, 1228, and 1228 (70/15/15), and the file lists of the three subsets are released with the code. Because the tiles form a regular grid over one continuous mosaic, a random split places most test tiles next to training tiles: an interior tile has four neighbours, each of which is a training tile with probability 0.70, so an interior test tile borders at least one training tile with probability 0.992. A perceptual-hash comparison finds no duplicated tiles across the splits (the smallest Hamming distance between a test and a training tile is 8 of 64 bits), so the issue is adjacency rather than duplication. The trained models also cannot be re-evaluated on the official test split, since a random 70 percent training subset contains about 70 percent of the official test tiles. The WHU scores are therefore optimistic and not comparable with results on the official split, and we report WHU as an exploratory benchmark, outside the summary over the five benchmarks with separate test sets.
3.4. Input Channels and Normalisation
SAM 3 tokenises an image with a frozen convolution that accepts exactly three input channels. We leave that stem untouched, because this study compares strategies that adapt a frozen backbone at different places, and replacing or inflating the stem would change the pretrained tokeniser itself, confounding the comparison. Every benchmark is therefore presented as a three-band 8-bit raster, with the mapping from sensor bands to network channels fixed per dataset.
Five of the seven benchmarks are natively three-band true-colour products and their red, green, and blue bands are used directly. The two ISPRS benchmarks are not. The ISPRS Vaihingen release does not distribute a blue band at all: the orthophotos are delivered as three-band composites of near-infrared, red, and green, which are read in that order and mapped one to one onto the three input channels of the frozen stem. For ISPRS Potsdam, which is distributed in several band combinations, we use the three-band product labelled IRRG, whose channels in the released files are near-infrared, green, and blue; each is identical to the corresponding band of the four-band RGBIR orthophotos. Potsdam therefore enters the network as near-infrared, green, and blue, without its red band, whereas Vaihingen enters as near-infrared, red, and green, without its blue band. On both benchmarks the first channel carries near-infrared, and on both the digital surface models distributed with the benchmark are not used.
Radiometric preprocessing is identical for all datasets and all channel layouts. Pixel values are divided by 255 and mapped to by subtracting 0.5 and dividing by 0.5, reproducing the transform used during SAM 3 pretraining. No per-dataset or per-band statistics are estimated, so the near-infrared band is normalised exactly as a visible band would be.
Five of the seven benchmarks are ordinary true-colour products, so whatever separates them from the natural photographs SAM 3 was pretrained on is a matter of viewing geometry, ground sampling distance, scene composition, and class layout rather than spectral content. The two ISPRS inputs add a spectral substitution in their first channel, a real domain shift since the frozen stem never saw a near-infrared channel during pretraining, and two benchmarks are still too few to support a general claim about spectral adaptation. A controlled test of what the near-infrared band contributes would retrain the same models with that channel replaced by the missing visible band; Vaihingen cannot supply such a control, because its release contains no blue band, and on Potsdam it would require new training runs. What can be achieved without retraining is to measure how sensitive each trained model is to replacing one input channel at inference. Section 4.10 reports that channel-replacement sensitivity analysis for every channel of both benchmarks.
Two further limitations follow from this design and should be read as scope rather than as a claim of generality. Benchmarks with more than three bands, and hyperspectral data in particular, cannot be handled by band selection alone; they require either channel-wise inflation of the patch-embedding kernel or an embedding-deflection scheme of the kind proposed by Thoreau et al. [47]. And because the published Potsdam results we compare against were obtained from the true-colour product, our Potsdam figures are not band-matched to them, a point Section 4.9 takes up.
3.5. Adaptation Methods
Three strategies are compared, each representing a different answer to the question of where a frozen backbone should be modified: intervention only at the output, low-rank reparameterisation of existing weights, and injection of new capacity through compact modules. Figure 2 shows where each one acts.
Figure 2.
Insertion points of the two internal adaptation strategies. In (a) the frozen SAM 3 pipeline is shown with the 32 encoder blocks grouped into four consecutive stages of eight, one adapter prompt being added before every block. In (b) one block is opened up: low-rank adaptation wraps the fused query, key, and value projection , the attention output projection , and both feed-forward layers and , whereas the adapter perturbs the residual stream at block entry, before the first layer normalisation. and are shared by the eight blocks of stage k, while is specific to block j of that stage.
3.5.1. Segmentation Head
All three strategies share one output layer, so that differences between them come from the adaptation and not from the decoder. A convolution maps the 256-channel neck output to logits, where C is the number of evaluated classes and the extra channel absorbs the ignore label, and the logits are bilinearly upsampled to the input resolution. With a bias term the head holds parameters, from 771 on the binary benchmarks to 2056 on LoveDA; the UAVid head carries one additional, unused channel (Section 4.1) and holds 2313.
The decoder is deliberately minimal. Predictions originate on the grid of the stride-14 neck level and are interpolated to , an effective output stride of 14; the finer stride-3.5 and stride-7 levels that the frozen neck also produces are not used. This is the weakest component of the pipeline by design, since anything more elaborate would itself become a variable in the comparison, and Section 4.11 examines what it costs.
3.5.2. Linear Probing
Linear probing [13] treats the backbone strictly as a fixed feature extractor. The encoder and neck run under disabled gradients, and only the convolution is trained. Writing f for the frozen representation and for an input image, the per-pixel logits are
where the matrix and the vector are the only trainable quantities. This baseline measures how informative the SAM 3 representation already is for overhead imagery without any internal modification. It also has a structural cost advantage that matters in Section 4.2: because no gradient flows into the backbone, no activations need to be retained for a backward pass through it.
3.5.3. Low-Rank Adaptation
Low-rank adaptation [10] factorises the update of a pretrained projection into a product of two thin matrices,
with , , rank , and scaling factor . The matrix stays frozen, so only the entries of and are learned rather than the entries of a full update. We set and , use no dropout on the low-rank path, initialise from a Kaiming-uniform distribution, and initialise to zero, so that Equation (2) reduces to the pretrained model at the start of training.
The insertion set is as follows. In each of the 32 encoder blocks, Equation (2) is applied to four projections: the fused query, key, and value projection (), the attention output projection (), and both feed-forward layers ( and ). No other module is adapted. The text encoder, the geometry encoder, the DETR-style transformer, and the neck are excluded, either because they are detached or because they contain no linear projection. The per-block cost is parameters, so the encoder receives 4,521,984 low-rank parameters in total. This rotates the internal representations of every block, including the feed-forward transformations, without overwriting a single pretrained weight.
One property of Equation (2) becomes relevant when cost is measured. The learned update is a linear term added to a frozen matrix, so after training can be folded into , leaving a network with exactly the shape of the unadapted backbone. Our implementation keeps the low-rank branch separate, which is convenient for experimentation and, as Section 4.2 shows, carries an avoidable inference cost.
3.5.4. Adapter Prompts
For the adapter we follow the SAM-Adapter formulation [14] rather than the original bottleneck-in-residual-branch design of Houlsby et al. [9], because the former was developed for frozen segmentation backbones facing a domain shift. The distinction matters for reproduction, so we state the placement exactly. The adaptation is added to the token sequence at the entry of every encoder block, before that block’s first layer normalisation. Nothing is inserted after the attention sub-layer, nothing after the feed-forward sub-layer, and no parameters are added to the neck or to any decoder.
The 32 blocks are partitioned into four consecutive stages of eight blocks, and all four stages are adapted, so every block receives a prompt. Two signals are combined. The first is a handcrafted frequency prompt computed once per image from the raw input. The image is transformed by a two-dimensional fast Fourier transform, the spectrum is shifted so that the zero frequency is central, a centred square mask covering a fraction of the spectrum by area is set to zero, and the magnitude of the inverse transform is retained. This high-pass residual is intended to emphasise edges and fine texture, where overhead imagery may differ most from the natural photographs used in pretraining. It is then passed through a cascade of four overlapping patch-embedding convolutions, one with stride 4 followed by three with stride 2, producing a four-level pyramid of width with reduction factor , that is, 32 channels. The level belonging to the current stage is bilinearly resized to the token grid, giving for stage k. The second signal is an embedding prompt: the current token sequence is down-projected by a per-stage matrix .
The two signals are summed, passed through a lightweight per-block transform, and projected back to the model width. For block j of stage k, which is block of the encoder, with the tokens entering that block,
where is specific to that block, is the Gaussian error linear unit, and is shared by all eight blocks of stage k. This sharing pattern is what makes the method inexpensive to store: the per-block transform costs only 1056 parameters, while the expensive expansion back to width 1024 is paid four times rather than 32 times. The budget is 32,736 parameters for the handcrafted pyramid, 131,200 for the four matrices , 33,792 for the 32 matrices , and 135,168 for the four matrices , that is, 332,896 in total.
We adapt all four stages rather than a subset for two reasons. The domain shift in overhead imagery is partly low-level, involving ground sampling distance, nadir, or oblique viewing geometry; shadow statistics; and, on both ISPRS benchmarks, a substituted spectral band, so restricting adaptation to deep blocks would leave early tokenisation uncorrected, while the high-pass prompt of Equation (3) is expected to be most informative early, when fine spatial structure is still resolved. And even the fully adapted configuration costs 0.07 percent of the model weights, so restricting placement would save little. Unlike Equation (2), which reparameterises existing transformations, Equation (3) injects new capacity whose narrow bottleneck may act as an implicit regulariser under severe class imbalance. Because the prompt depends on the input image and passes through a nonlinearity, it cannot be merged into the frozen weights the way a low-rank update can.
3.5.5. Objective
The loss combines cross-entropy and Dice in equal proportion,
where is a cross-entropy whose ignore index is set to the ignore label and is computed on softmax probabilities against one-hot targets and averaged over all output channels.
The two terms do not act on the same pixels. The cross-entropy discards every pixel whose reference label is the ignore label; on the remaining pixels its softmax runs over all channels, so it also pushes the ignore channel down wherever the label is valid. The Dice term is computed over every pixel of the batch, ignored ones included, with one-hot targets built from the label map in which the ignore label is index 0. Channel 0 therefore receives the ignore mask as its positive target and is optimised as though it were an ordinary class, with weight in the channel average. Because the Dice term sums over the whole batch with squared denominators rather than averaging per image, it is also dominated by frequent classes.
Which pixels carry the ignore label differs by benchmark, and so does the consequence. The masks of the three binary benchmarks contain only background and foreground, so no pixel is ignored: the channel-0 target is empty, the Dice term simply drives that channel’s probability towards zero, and the two loss terms see the same pixels. On Potsdam and Vaihingen the ignored pixels are the eroded boundary margin together with clutter; on UAVid they are the background-clutter class; and on LoveDA they are the no-data pixels, about 2 to 3 percent of each image. On these four benchmarks channel 0 becomes, through the Dice term alone, a predictor of the ignored region.
The UAVid head carries a ninth channel for a label value that never occurs (Section 4.1). Its Dice target is empty everywhere, so, like channel 0 on the binary benchmarks, it is driven towards zero probability: on the UAVid test frames it receives less than of the softmax mass over valid pixels and never wins the argmax. Its only lasting effect is on the weighting of the loss, since the Dice average runs over nine terms instead of eight and each trained channel’s Dice term weighs one ninth rather than one eighth. Removing the channel would change that weighting and would therefore require retraining.
At inference the argmax also ranges over all channels, so a pixel whose reference label is valid can be assigned the ignore channel. Such predictions are not hidden by the metric: they count as false negatives for the true class and so depress both the mean intersection over union and overall accuracy. Table 2 lists exactly which reference pixels and which output channels enter each score reported in this paper, and Section 4.8 measures how much the ignore channel costs at inference by repeating every evaluation with the argmax restricted to the evaluated classes.
Table 2.
Which reference pixels and which output channels enter each score. “Ignored” pixels are those carrying the ignore label: none on the binary benchmarks, the eroded boundary margin and clutter on the ISPRS benchmarks, clutter on UAVid, and no-data pixels on LoveDA.
This formulation comes from the segmentation codebase on which our implementation builds. A consistently masked Dice term would exclude ignored pixels from both terms; its effect on training can only be measured by retraining the affected models, which we leave to future work. The released code provides the masked variant as an option and keeps the formulation used in this paper as the default, so that the reported runs remain reproducible. The formulation has one useful side effect, exploited in Section 4.12: on UAVid the ignore label is exactly the background-clutter class, so channel 0 is trained as a clutter predictor, and an eight-class score can be recovered from models that nominally evaluate seven classes.
3.5.6. Optimisation
All experiments share one pipeline, so that observed differences originate in the adaptation strategy rather than in auxiliary hyperparameters. Inputs are resized to pixels, the native SAM 3 resolution. Optimisation uses AdamW with , , a weight decay of 0.01, and gradient clipping to a maximum norm of 1.0. The learning rate rises linearly over two epochs and then follows a cosine schedule to zero over the full run, that is, with t the fraction of post-warmup steps completed. Training uses a batch size of 24, mixed precision, at most 50 epochs, and early stopping after 10 consecutive validation evaluations without an improvement in mean intersection over union. As in the SAM 3 implementation, the encoder blocks use activation checkpointing during training, so their activations are recomputed in the backward pass.
Data augmentation applies horizontal flips with probability 0.5, vertical flips with probability 0.5, and rotations drawn uniformly from 0, 90, 180, and 270 degrees, together with mild brightness, contrast and saturation jitter in . Vertical flipping is disabled for UAVid, whose oblique geometry makes it physically implausible.
The initial rate is for linear probing and for low-rank adaptation and adapters. Those values follow the usual convention that a linear head tolerates a larger step than a method which perturbs internal representations, but we did not tune them and ran no sweep, so the convention is an assumption of this study rather than one of its findings.
Two consequences of this design limit what the comparison can establish. Because the learning rate differs between linear probing and the two internal methods, the gap between them confounds the placement of the adaptation with its step size; only the comparison between low-rank adaptation and the adapter holds optimiser settings fixed. And early stopping lets the strategies train for different numbers of epochs on the same benchmark: on UAVid, low-rank adaptation stopped at epoch 27 while the adapter ran to 47, and on LoveDA the two stopped at 14 and 17. Checkpoints were also saved every five epochs, independently of the validation curve, except at the epoch at which early stopping ended a run. Because low-rank adaptation and the adapter share and the same 50-epoch schedule, a checkpoint saved at epoch e by either method has received the same number of updates under the same learning-rate history, which lets Section 4.6 compare the two at a matched number of updates without retraining.
All runs use a single NVIDIA Quadro RTX 8000 graphics processing unit with 48 GB of memory, driver 560.35.03, CUDA 12.6, and PyTorch 2, with a fixed seed and deterministic kernels.
3.5.7. Evaluation
Evaluation reports mean intersection over union and overall accuracy over the reference pixels listed in Table 2. Mean intersection over union is the primary metric because it weights every class equally, so a rare class counts as much as a frequent one, whereas overall accuracy weights pixels and therefore follows the frequent classes. On the three binary benchmarks the class mean is an average of two intersections over union: background and foreground. Both are weighted equally, but the background score is high largely because background is abundant: a large background region keeps its intersection over union close to one even when the foreground along its border is recovered poorly. The two-class mean therefore sits well above the foreground score, and for these benchmarks we report the background and foreground intersection over union and the foreground alongside it. On the two ISPRS benchmarks we report mean over the five foreground classes as well, since that is the quantity their studies use. Checkpoints are selected by validation mean intersection over union.
Every input is resized to for the network, and every score is computed at the native resolution of the reference: the logits are resampled bilinearly to the size of the unmodified reference raster and the argmax is taken there. Computing scores instead at the network’s working resolution, against a reference resized by nearest-neighbour interpolation, changes the mean intersection over union by at most 0.0022 across all 21 runs, because the prediction originates from the same logit grid in either case. For square inputs the resize changes only scale: by a factor of 1.97 for the tiles that make up every split apart from LoveDA and the UAVid test set, and of 0.98 for the LoveDA images. The UAVid test frames are the exception. Resizing a whole or frame to distorts its aspect ratio and presents objects at roughly a quarter of their training size vertically and an eighth horizontally, since training and validation used tiles at the same 1.97 magnification as the other benchmarks. UAVid is therefore scored by tiled inference: each test frame is cut into the 40-tile grid used to build the training split, every tile is processed exactly as a training tile, its logits are resampled to the tile’s footprint, overlapping logits are averaged, and the argmax is taken once per native pixel. This keeps the aspect ratio and the scale of training. Section 4.4 compares it with whole-frame resizing and with an aspect-preserving letterbox variant.
To indicate how much of the error the output grid alone would cause, we also score a model-free stride-14 reference. It is given the true class composition of every cell of the output grid, that is the fraction of each class among the valid reference pixels the cell covers after the image has been resized exactly as the models see it, and these fractions are treated as the logits are: resampled bilinearly to the native resolution, with the argmax taken there and, for UAVid, with the same tiling. Its errors relative to the reference labels are therefore those of the output grid alone; because it is computed from the same labels, it does not account for uncertainty in the labels themselves. It is a reference point rather than a strict upper bound, since a trained head can produce sharper transitions than class fractions do.
We quantify the uncertainty due to the sampling of the test set by resampling it. Tiles cut from one orthophoto or source image, and frames from one flight sequence, are not independent observations, so the resampling unit is the cluster: the source image on Massachusetts (10 and 49 clusters), the orthophoto on ISPRS (14 and 17), and the sequence on UAVid (15). Every statistic is a mean intersection over union computed from confusion matrices summed over the drawn clusters, not an average of per-image scores. A paired cluster bootstrap [58] with 10,000 replicates, using the same draw for both strategies, gives percentile 95 percent intervals for each mean intersection over union and for each pairwise difference. A paired randomisation test swaps the two strategies’ confusion matrices for all images of a cluster together; with at most 20 clusters all assignments are enumerated, so the test is exact and its smallest attainable two-sided p-value is ; for Massachusetts Roads, with 49 clusters, random assignments are drawn instead. With 10 to 17 clusters percentile intervals can still be somewhat too narrow [59], so we read them as a floor on test-sampling uncertainty. WHU and LoveDA tiles carry no usable location information, so their intervals are image-level and likely too narrow. All of these statements are conditional on the trained models: they ask whether two fixed models would differ on further scenes of the kind the test set samples, not whether the adaptation methods would differ if trained again, which also depends on seed-to-seed variation that a single run per configuration cannot estimate.
Computational cost is reported from the runs themselves rather than inferred from parameter counts. Peak allocated memory and total wall-clock time were logged for every run, and checkpoint size is the size on disk of the stored adaptation weights. To locate the memory difference between the two internal methods, we additionally measured the peak memory of a single forward and backward pass of the training loss, without any parameter update, at batch sizes 1, 2, and 4, for the trained configurations and for adapter variants with parts of the prompt generator removed or moved (Section 4.2). Inference throughput is a separate measurement on the first 200 Potsdam test tiles, which are decoded and resized before timing and kept on the device, so that only the network is timed, with synchronisation on both sides of every forward pass. All networks are loaded at once, and in each of five repetitions the tiles are processed in batches of eight, every network taking its turn on each batch before the next batch is drawn. The device was shared with other jobs during the measurement. Taking turns batch by batch exposes the networks to the same load, so the ratio of their times on the same batch is a paired quantity; we report its median over the 125 batches with a bootstrap interval, and give absolute throughput, which the shared device makes conservative, only for orientation. Low-rank adaptation is timed both with its low-rank branches kept separate, as in training, and with the factors merged into the frozen weights; for the merged network we also check that its predictions agree with those of the unmerged one.
3.5.8. Use of Generative AI Tools
Generative AI tools (Claude Opus 5 and Claude Opus 5.5; Anthropic, San Francisco, CA, USA) assisted with designing and implementing the analysis code and with producing figures. The authors checked all code and figures against the underlying outputs and ran all experiments themselves; no AI tool was used to generate or augment data. Assistance with the manuscript text is disclosed in the Acknowledgments.
4. Results
4.1. Trainable Parameters
Table 3 reports, for each strategy, the number of parameters that receive a gradient and influence the prediction. Every share quoted in this paper is relative to the one denominator of 456,338,689 pretrained SAM 3 parameters present in the model. All three strategies update well under 1 percent of that. Linear probing is by far the smallest: with the output head as its only trainable component it updates fewer than one thousand parameters on the binary benchmarks. Adapters update parameters, which is 0.07 percent of the pretrained model and roughly 13.6 times fewer than low-rank adaptation, which updates or 0.99 percent. Neither the accuracy ordering nor the cost ordering follows this ordering.
Table 3.
Parameters updated by each strategy. The output head is a convolution with bias mapping 256 channels to logits, so it holds parameters and its size varies with the benchmark; the UAVid head has one additional, unused channel.
The UAVid head is nine channels wide rather than the eight that seven evaluated classes plus an ignore channel would imply. The reason is that the UAVid label table in our loader carries an eighth key beyond the seven evaluated classes, retained for compatibility with earlier checkpoints. No pixel in the data ever takes that value: across all three UAVid runs the corresponding row of the confusion matrix contains no ground-truth pixels and its column receives no predictions, so the channel contributes to neither training targets nor the reported score. Its effect on the Dice term is discussed in Section 3.5.5.
4.2. What Parameter Efficiency Actually Costs
A count of trainable parameters is a statement about storage, not about computation, and on its own it says nothing about whether a method is cheap to run. All three strategies still propagate activations forward through a frozen encoder of parameters, and the two internal methods must also propagate gradients back through all 32 of its blocks. Table 4 therefore reports what we measured rather than what the parameter counts suggest.
Table 4.
Measured cost of each strategy. Training columns summarise the seven runs; inference columns come from the repeated measurement described in Section 3.5.7.
Three quantities in that table do not follow the parameter counts. The adapter updates 13.6 times fewer parameters than low-rank adaptation (Table 3), yet it needs 30 percent more peak memory, 37.9 GiB against 29.1 GiB. Its epochs are nevertheless shorter, 0.83 of a low-rank epoch on average and between 0.81 and 0.84 on every benchmark, so its lower total training time, 232 against 258 GPU hours, comes from faster epochs rather than from fewer of them: over the seven benchmarks the adapter ran 285 epochs and low-rank adaptation 262. Peak memory and training time therefore rank the two methods in opposite orders, and neither ranking follows the number of trained parameters.
Table 5 locates the memory difference by measurement. Per image, the adapter needs 1.355 GiB of activation memory against 0.964 GiB for low-rank adaptation. Removing the handcrafted FFT pyramid recovers only 0.04 GiB of that 0.39 GiB excess, whereas removing the per-stage embedding projection recovers 0.32 GiB, and computing the unchanged prompt inside each block’s activation checkpoint recovers 0.33 GiB. The excess therefore comes from where the prompt is computed relative to the checkpoint boundary, not from the prompt computation itself. SAM 3’s blocks recompute their activations during the backward pass, but our adapter applies to the token map before each block, outside that recomputed region, so the full-width input of the projection is kept alive for every one of the 32 blocks. In half precision, that input is values, or 10.6 MB per image and block, which over 32 blocks is 0.32 GiB, the difference measured above. The low-rank factors sit inside the blocks and are recomputed with them. The same placement plausibly explains the shorter epochs, since what is kept is not recomputed. The memory penalty is thus a property of this implementation rather than of adapters as such, and a memory-bound deployment could move the prompt inside the checkpoint at the cost of some recomputation, which we did not time.
Table 5.
Where the adapter’s extra training memory comes from. Peak memory above the resting level for one forward and backward pass of the training loss, without a parameter update, at batch sizes of 1, 2, and 4. The per-image figure is the slope of a straight line through the three points.
At inference the overhead falls on low-rank adaptation rather than on the adapter. With its branches kept separate, low-rank adaptation needs 1.337 times the time per image of linear probing (bootstrap interval of the median ratio ), and the adapter 1.070 times (). In terms of throughput, linear probing processes 2.08 images per second, the adapter 1.92, and low-rank adaptation 1.55, with a variation of 3 to 4 percent between repetitions; because the device was shared with other jobs, these absolute rates are conservative and only the ratios should be compared. The low-rank overhead disappears when the factors are merged: Equation (2) is mergeable by construction, and folding into leaves a network with exactly the shape of the frozen backbone. The merged network runs at 0.999 times the time of linear probing (), and its predictions agree with those of the unmerged one on 99.995 percent of the output cells, with the remainder being attributable to half-precision rounding. The adapter’s overhead cannot be removed in this way, since Equation (3) adds a nonlinearity and a signal computed from the input image. Memory at inference is similar for all strategies, between 3.32 and 3.49 GiB at a batch of eight.
The only quantity that tracks the parameter count is storage: without the retained segmentation head that our implementation also saves, the adapter needs 1.3 MiB and low-rank adaptation 17.3 MiB, more than 13 times as much. Storage thus favours the adapter by an order of magnitude, whereas its shorter epochs save 17 percent of the time per epoch and its peak memory is higher.
Linear probing is the genuinely inexpensive option, for a structural reason: because the encoder runs under disabled gradients it needs no backward pass through the backbone at all, which is why its peak memory is 11.4 GiB, roughly a third of the adapter’s, and why its seven runs together cost 59 GPU hours against 258 and 232.
One comparison this table cannot make is the one to full fine-tuning, which we did not run. Its storage cost, however, does not depend on accuracy: full fine-tuning stores a separate copy of parameters per task, about 1.7 GiB in single precision, against 1.3 MiB for an adapter, and during training it must additionally hold gradients and two AdamW moments for every one of those parameters. Whether that expenditure buys accuracy the parameter-efficient methods cannot reach is exactly the question our experiments leave open.
4.3. Segmentation Accuracy
Table 6 reports the mean intersection over union and overall accuracy for the three strategies on all seven benchmarks, with UAVid scored by tiled inference as described in Section 3.5.7. The pattern is consistent: both internal methods beat linear probing on every dataset and on both metrics. Over the five benchmarks with separate test sets, the mean intersection over union rises from 0.7007 for linear probing to 0.8258 for low-rank adaptation and 0.8200 for adapters, gains of 12.5 and 11.9 points, and mean overall accuracy rises from 0.8753 to 0.9364 and 0.9344. Including the two exploratory benchmarks changes the picture little: the means over all seven are 0.6880, 0.8066, and 0.7990. These gains are obtained with more than 99 percent of the model frozen; in this setting the frozen SAM 3 features support far higher accuracy when the encoder itself is adapted than when only the output layer is trained.
Table 6.
Segmentation results, computed at native reference resolution, with UAVid scored by tiled inference. LP abbreviates linear probing. Bold marks the best value for each benchmark and metric. The first block holds the five benchmarks with separate test sets; WHU Building and LoveDA are exploratory (Section 3.3).
Among the five benchmarks with separate test sets, the largest gains for low-rank adaptation occur on Potsdam, at , and on Vaihingen, at , and the smallest on Massachusetts Buildings, at ; on the exploratory WHU Building, where linear probing already reaches 0.8883, the gain is . One reading of this pattern, which our experiments do not test directly, is that internal adaptation helps most where several classes with varied layout and geometry must be separated. The two ISPRS benchmarks, whose inputs carry near-infrared in their first channel, behave like the other multi-class urban benchmarks in aggregate; Section 4.10 shows that the trained models nonetheless differ sharply between them in their sensitivity to that channel.
UAVid is the one benchmark where adapters lead. They exceed low-rank adaptation by 0.0199 in mean intersection over union and 0.0059 in overall accuracy, and the per-class figures locate the advantage on three classes: the adapter improves on low-rank adaptation by 0.044 for intersection over union on static cars, 0.036 on humans, and 0.022 on low vegetation, while the two are within 0.011 of each other on the dominant building, road, and tree classes. The lead is far smaller than it appears when whole frames are resized to the network input, and Section 4.4 shows why; Section 4.6 compares the two at a matched number of updates.
Because the mean over background and foreground flatters the binary benchmarks, Table 7 reports the two per-class scores of which it is the average, together with the foreground that their studies use. Both classes carry equal weight in the mean, but background, which covers 81, 95, and 84 percent of the pixels on Massachusetts Buildings, Massachusetts Roads, and WHU Building, reaches a high intersection over union even when the foreground is recovered poorly. On Massachusetts Roads, linear probing scores 0.9629 on background and 0.4485 on roads, so its two-class mean of 0.7057 says little about either, and its overall accuracy of 0.9640, which weights pixels rather than classes, reflects little more than the dominance of background.
Table 7.
Background and foreground intersection over union and foreground on the three binary benchmarks. The two-class mean intersection over union of Table 6 is the average of the first two columns of each strategy.
Counting every pixel of the ISPRS and Massachusetts source images once, rather than counting the overlapping strips of their tile grids twice, changes no mean intersection over union in Table 6 by more than 0.0021.
4.4. UAVid Input Handling and Aspect Ratio
UAVid is the only benchmark whose test images are not square, and the only one whose test images differ in size from the tiles the models were trained and selected on. Table 8 scores the same trained models under three ways of presenting a test frame: resizing the whole frame to , which distorts the aspect ratio and shrinks objects to between a quarter and an eighth of their training size; resizing it with the aspect ratio kept and the short side padded, which removes the distortion but shrinks objects further; and the tiled inference used for every other UAVid result in this paper, which keeps both the aspect ratio and the scale of training. The last column applies the same treatments to the model-free stride-14 reference of Section 3.5.7, which knows the true class composition of every output cell, to show how each treatment affects a prediction limited only by the output grid.
Table 8.
UAVid test scores of the same trained models under three treatments of the and test frames. Mean intersection over union over the seven evaluated classes and, in parentheses, over the eight classes of the official protocol. The last column is the model-free stride-14 reference of Section 3.5.7 under the same treatment.
Tiling raises every strategy by a wide margin, by 0.1928 for linear probing, 0.1605 for low-rank adaptation and 0.1283 for the adapter, and the gains are largest exactly where resolution matters most. Human intersection over union rises from 0.122, 0.126, and 0.170 to 0.409, 0.402, and 0.438, and moving cars from 0.324, 0.504, and 0.522 to 0.562, 0.775, and 0.793. Keeping the aspect ratio alone does not help: letterboxing lowers every score further, to 0.3719, 0.5761, and 0.6197, because a frame fitted into without distortion is shrunk by the larger of the two factors in both directions. The loss under whole-frame resizing therefore comes from scale, from presenting the models with objects several times smaller than any they saw in training, and the distortion of the aspect ratio is secondary. The stride-14 reference shows that much of this loss arises before any model is involved: with the output grid laid over a whole frame resized to , a prediction that knows the true class composition of every cell reaches 0.8213, against 0.9810 with tiling, and its boundary-band score falls from 0.9225 to 0.5391.
The adapter gains least from tiling, so its lead over low-rank adaptation shrinks from 0.0521 under whole-frame resizing to 0.0199 under tiling. Most of the advantage that whole-frame evaluation attributes to the adapter therefore stems from the evaluation protocol rather than from the method: this reflects greater robustness to a scale mismatch that the evaluation introduces, and says little about what the two models learned at the scale they were trained on. The validation curves agree, since validation used training-sized tiles: up to epoch 27, when low-rank adaptation stopped, the two methods led each other alternately, the adapter being ahead after 12 of the 27 epochs, and their best scores over those epochs were 0.8142 and 0.8155.
4.5. How Much of This Is Noise?
The study trains one model per configuration, so it cannot report seed-to-seed variance, and the differences between low-rank adaptation and adapters are small enough that the question has to be asked. What can be measured after the fact is whether a difference between the two trained models is stable across the population of scenes the test set samples, which we assess by resampling whole clusters as described in Section 3.5.7. Table 9 reports the result, with an image-level interval alongside for comparison.
Table 9.
Paired comparison of low-rank adaptation and adapters, difference in mean intersection over union. G is the number of independent clusters. The cluster interval and the randomisation p-value resample and permute whole clusters; the image interval treats every tile or frame as independent and is shown only for comparison.
Resampling by cluster widens every interval, by a factor between 1.2 and 1.9, as the dependence between tiles of one scene predicts, and it raises the p-values on four of the five benchmarks to between 0.003 and 0.020, while on UAVid the value stays at the floor of the exact test, because the adapter leads on every one of the 15 test sequences, by between 0.007 and 0.087. The other benchmarks are less uniform: low-rank adaptation leads on 9 of the 10 Massachusetts Buildings images, 32 of the 49 Massachusetts Roads images, 11 of the 14 Potsdam orthophotos, and 12 of the 17 Vaihingen orthophotos. Every one of the five differences nevertheless keeps an interval that excludes zero, so on the benchmarks with separate test sets each is a stable property of the trained pair of models rather than an artefact of which scenes happen to be in the test set. These intervals do not show that the differences would survive retraining. The resampling holds the two trained models fixed and asks only whether they differ on further scenes of the same kind; whether the adaptation methods differ also depends on how much a retrained model would move, and margins such as the 0.0051 on Massachusetts Roads or the 0.0071 on Potsdam could well lie within that range. The two trained models are thus reliably separated on every benchmark, but this evidence alone does not separate the two methods. Section 4.6 examines one source of such variation, unequal training length, as far as the saved checkpoints allow.
4.6. Low-Rank Adaptation and Adapters at a Matched Number of Updates
Early stopping let the two internal methods train for different numbers of epochs, most of all on UAVid, where low-rank adaptation stopped at epoch 27 and the adapter ran to 47. Because both methods share the initial learning rate and the 50-epoch schedule, checkpoints saved at the same epoch have received the same number of updates under the same learning-rate history, and Table 10 compares the two at the latest epoch at which both runs saved a checkpoint. On Vaihingen, no checkpoint was saved at epoch 35, the epoch at which low-rank adaptation stopped, so the matched epoch there is 30. Such a comparison equalises the number of updates but not the stage of training: at the matched epochs the learning rate still stands between 0.03 and 0.93 of its peak, so the checkpoints have not finished annealing, and the earlier the matched epoch, the further they are from the end of the schedule. A comparison of completed schedules is not possible with these runs, since early stopping ended at least one run of every pair before epoch 50; it would require retraining both methods without early stopping.
Table 10.
Low-rank adaptation and adapters at a matched number of updates: test mean intersection over union of the checkpoints both runs saved at the same epoch, the learning rate at that epoch relative to its peak, and the paired difference with its 95 percent cluster interval and randomisation p-value. The last column repeats the difference between the selected checkpoints of Table 6. Differences are low-rank minus adapter, so a negative value favours the adapter. UAVid is scored on tiles; LoveDA is scored on its validation split.
The validation curves, logged after every epoch, give the same comparison at every epoch rather than at one. Low-rank adaptation was ahead of the adapter after every epoch that both runs completed on Massachusetts Buildings, Massachusetts Roads, Potsdam, Vaihingen, and WHU Building, 41, 42, 37, 35, and 46 epochs, respectively, and after 11 of the 14 on LoveDA. On UAVid the two led alternately, the adapter after 12 of the 27 epochs that both completed.
On the UAVid test frames the adapter keeps its lead at the matched epoch: at epoch 25 it scores 0.7848 against 0.7699 for low-rank adaptation, a lead of 0.0149 with an exact p of 0.024, and it leads on 12 of the 15 sequences. On the eight-class protocol its lead at epoch 25 is 0.0055, against 0.0183 for the selected checkpoints. Since the learning rate at epoch 25 is still about half its peak, these figures compare the two methods at an equal number of updates, not after equal, completed training.
On the other six benchmarks the sign of the difference at the matched epoch is the same as for the selected checkpoints. On Massachusetts Buildings, Massachusetts Roads, and WHU Building, where the matched epoch lies late in the schedule, the lead of low-rank adaptation barely changes and remains clearly separated from zero. On Potsdam, Vaihingen, and LoveDA it falls to 0.0028, 0.0106, and 0.0046 and its interval includes zero, but there the matched checkpoints lie earlier in the schedule, with the learning rate at 0.22, 0.37, and 0.93 of its peak. The smaller differences on these three benchmarks may therefore reflect incomplete training as well as a smaller gap between the methods, and the comparison does not separate the two. Only where the matched epoch lies near the end of the schedule, as on the binary benchmarks, does it bound the effect of unequal training length. Like those of Section 4.5, these comparisons describe one trained model per configuration.
4.7. Model Selection on LoveDA
LoveDA has no labelled public test split, so its official validation split served both for selecting checkpoints and for reporting them. Two analyses separate those roles as far as the saved checkpoints allow. Table 11 first scores checkpoints saved at fixed epochs, which the validation curve did not choose. It then selects, among those fixed-epoch checkpoints, the best one on a random half of the validation images and scores it on the other half, averaged over 2000 random halvings, which estimates how much choosing among these checkpoints on the same images overstates their score.
Table 11.
LoveDA validation mean intersection over union of the checkpoints selected on the validation split and of checkpoints saved at fixed epochs, which were not, together with the split-half estimate of selecting among the fixed-epoch checkpoints. Dashes mark epochs a run did not reach or that we did not evaluate.
For linear probing, whose validation curve rises slowly and flattens over its 47 epochs, selection makes almost no difference: the checkpoint saved at epoch 40 scores 0.4233 against 0.4237 for the selected one. The two internal methods behave differently. They stopped after 14 and 17 epochs, and after the two warm-up epochs their validation scores move from epoch to epoch between 0.512 and 0.566 for low-rank adaptation and between 0.509 and 0.552 for the adapter. The checkpoints that were selected are the peaks of those curves, at epochs 4 and 7, and they score 0.0214 and 0.0085 above the best fixed-epoch checkpoints. These gaps are not estimates of selection bias, because they combine the optimism of choosing the best of many evaluations with real differences between checkpoints taken at different stages of training. The split-half analysis isolates the first effect for the fixed-epoch checkpoints, where it is under 0.001 on average because there are only two or three candidates per run; it cannot be repeated for the per-epoch selection that produced the reported checkpoints, since the intermediate per-epoch checkpoints were not kept.
The gain of the internal methods over linear probing is also observed at a common fixed epoch: at epoch 10, which all three runs saved, low-rank adaptation and the adapter lead linear probing by 0.1340 and 0.1294, against 0.1427 and 0.1282 for the selected checkpoints. The order of the two internal methods is less robust. Their difference of 0.0145 for the selected checkpoints falls to 0.0046 at epoch 10 and to 0.0016 between their best fixed-epoch checkpoints, well inside the fluctuation of either curve, so LoveDA does not separate the two methods.
4.8. The Ignore Channel at Inference
Section 3.5.5 explained why every model can assign a valid pixel to the ignore channel at inference, and Table 2 lists the restricted argmax that rules this out. Repeating every evaluation with the argmax restricted to the evaluated classes shows what the inconsistency costs at inference. Table 12 reports it for the four benchmarks that contain ignored pixels; on the three binary benchmarks, whose masks contain none, the ignore channel is never predicted and the two conventions coincide.
Table 12.
The ignore channel at inference: percentage of valid reference pixels assigned to it under the primary argmax, and the change in mean intersection over union when the argmax is restricted to the evaluated classes.
The cost is confined to the benchmarks on which the ignore channel was trained on image structure. On LoveDA, where it was trained on no-data pixels, it is essentially never predicted. On Potsdam, Vaihingen, and UAVid the two internal methods assign it to between 0.91 and 1.68 percent of the valid pixels, and restricting the argmax raises their mean intersection over union by 0.0064 to 0.0138; linear probing gains at most 0.0091. The restriction leaves the ranking of the three strategies unchanged on every benchmark and moves the difference between low-rank adaptation and the adapter by at most 0.0064, on Vaihingen, where it grows from 0.0175 to 0.0239. These are the consequences at inference only; how the Dice target on the ignored region shaped the learned features cannot be measured without retraining.
4.9. Comparison with Published Results
A comparison of parameter-efficient strategies against one another says nothing about whether the resulting models are good, so Table 13 places them beside published results on the same benchmarks. Each benchmark is reported in the metric its own literature uses, which is why the rows differ, and we matched the evaluation conventions of the cited works as far as their papers and released code allow.
The conventions we could verify agree with ours on most points. On both ISPRS benchmarks the cited works score the same official test areas, Vaihingen from the same near-infrared, red, and green composite and without the digital surface model. None of the cited papers states whether it scores against the eroded or the complete reference, but the code released with UNetFormer [60], which also accompanies the DeepLabV3+ comparison of Wang et al. [31], scores against the eroded reference, like us. That code keeps clutter as a sixth class in the confusion matrix and averages over the five foreground classes, so a clutter pixel predicted as impervious surface counts as a false positive for impervious surface, whereas our convention discards clutter pixels before scoring; reading our channel 0 as a clutter prediction, the values in parentheses reproduce the cited convention. It lowers our mean by 0.2 and 0.6 points on Vaihingen and by 1.1 and 1.0 points on Potsdam, where clutter covers 4.6 percent of the test pixels against 0.9 percent, and under it our Potsdam scores fall just below UNetFormer’s 92.8. Two differences cannot be removed without retraining. Our Potsdam input lacks the red band of the true-colour product that UNetFormer used, and our tiles are magnified 1.97 times to the SAM 3 input, so our models see each scene at roughly twice the linear sampling of methods evaluated at native resolution. The cited works also differ among themselves: UNetFormer and A2-FPN apply test-time augmentation, which we do not, and the UNetFormer code trains its UAVid model on the union of the training and validation sequences. On UAVid all cited values are eight-class means on the official test set, the convention of our eight-class column; on Massachusetts Roads the cited values are the exact road intersection over union, as ours are. We do not list SegFormer on Potsdam and Vaihingen, because the only ISPRS SegFormer values we could trace come from a reimplementation trained without pretrained weights [55], which would understate the architecture.
Table 13.
Published results on overlapping benchmarks, each in the metric conventional for that benchmark, beside our two internal strategies. Values are percentages. For the ISPRS benchmarks our values are given under our convention, in which clutter pixels are discarded, and, after the slash in parentheses, under the convention of the code behind UNetFormer, in which clutter stays in the confusion matrix and is excluded only from the class mean.
On Vaihingen, the band-matched ISPRS benchmark, a frozen SAM 3 encoder with low-rank adaptation reaches 90.7 mean under our convention and 90.5 under the cited one, against 90.4 for UNetFormer and 91.3 for FT-UNetFormer, while training 0.99 percent of its weights; on Potsdam, which is not band-matched, the cited convention places both internal strategies slightly below UNetFormer. On Massachusetts Roads it is ahead of the published road intersection over union values we could verify. On UAVid, scored under the official eight-class protocol on tiles at the scale of training, both internal strategies exceed UNetFormer’s 67.8, at 70.1 and 71.9. Part of that margin may come from the magnification of every tile to the SAM 3 input, and none of these rows is a controlled ranking.
A direct comparison with the two SAM adaptation methods most often named alongside this work is not possible, because neither reports results on a benchmark we use. RSAM-Seg [45] evaluates cloud detection, field monitoring, building extraction on Inria, and road extraction on DeepGlobe; and ClassWise-SAM-Adapter [46] adapts SAM to spaceborne synthetic aperture radar on FUSAR-Map. Comparing across those benchmarks would require running their methods on ours or ours on theirs, and either is a training exercise.
This comparison inherits the limitation stated in Section 3.1. Being competitive with UNetFormer shows that a frozen general-purpose encoder plus 0.99 percent of adapted weights can reach the level of an architecture designed for the task. It does not show that SAM 3 is the right frozen encoder for the job, because no other frozen encoder was tried.
4.10. Sensitivity to Replacing One Input Channel
Both ISPRS inputs carry the near-infrared band in their first channel, a channel the frozen stem never saw during pretraining (Section 3.4). How strongly the trained models rely on it can be probed without retraining by replacing one input channel at inference and measuring the change in mean intersection over union. Such a change shows the sensitivity of a trained model to one particular perturbation, which also alters the joint distribution of the three channels; it does not measure how much information the band carries, which only retraining without the band could establish. To make the probe as controlled as is possible without retraining, every channel of both benchmarks, the visible ones included, is overwritten in turn with a neighbouring channel on the full test split, so that a drop caused by near-infrared can be compared with the drop caused by the same operation on a visible band. On Vaihingen the near-infrared channel is in addition replaced by its own per-image mean, which removes its spatial content but keeps its level, and by the near-infrared channel of a different test image, which keeps its statistics exactly but breaks its alignment with the scene. Table 14 reports the changes.
Table 14.
Change in mean intersection over union when one input channel is replaced at inference, on the full test splits. Channel 0 is near-infrared on both benchmarks; channels 1 and 2 are red and green on Vaihingen and green and blue on Potsdam. No model is retrained.
On Vaihingen the two internal methods are far more sensitive to the near-infrared channel than to either visible channel. Overwriting it with the red channel lowers mean intersection over union by 0.2554 for low-rank adaptation and 0.2812 for the adapter, with cluster intervals of and for the drop, whereas overwriting red with green or green with red costs them less than 0.01. The frozen-feature baseline is less sensitive, losing 0.0801. Replacing the channel by its own mean costs 0.07 to 0.12, and replacing it by the near-infrared channel of another test image, which leaves the statistics of the channel intact but makes it contradict the scene, costs 0.34 to 0.47, more than overwriting it with red. The drop is therefore not explained by a change in the level or the distribution of channel 0 alone; the models respond to its spatial content and to its alignment with the other two channels.
Potsdam looks different. There the same operation, overwriting near-infrared with its neighbour, here green, costs 0.0343, 0.0273, and 0.0188 for the three strategies, which is of the same order as replacing green with blue: 0.0425, 0.0114, and 0.0173. The internal methods are less sensitive to it than linear probing on Potsdam, the reverse of the pattern on Vaihingen. Within the limits of this probe, the Vaihingen models are highly sensitive to channel 0 and the Potsdam models do not single it out.
Why the two benchmarks differ cannot be settled without retraining, but simple statistics of the test images narrow down the candidates. Class balance is an unlikely explanation, since vegetation (low vegetation and tree together) covers 40 percent of the evaluated Potsdam pixels and 44 percent of the Vaihingen pixels. What the near-infrared channel adds to the visible channels differs more. A pixel-level logistic regression separating vegetation from the other classes, fitted on half of the test tiles and scored on the other half, reaches an area under the receiver operating characteristic curve of 0.874 from Potsdam’s green and blue channels and 0.881 from Vaihingen’s red and green channels; with the near-infrared channel added it rises to 0.916 on Potsdam but to 0.977 on Vaihingen, a gain in separability more than twice as large on Vaihingen. The replacement is also milder on Potsdam, where near-infrared correlates at 0.67 with the green channel that replaces it, against 0.53 with red on Vaihingen. In addition, Vaihingen is sampled more coarsely, at 9 against 5 cm, which leaves less texture for recognising vegetation from the visible channels, and it offers a tenth of the training data, 276 tiles against 2765, which may favour reliance on the single most discriminative cue; both may contribute. These are candidate explanations consistent with the asymmetry, not a demonstration of its cause.
4.11. Where the Low-Resolution Decoder Loses
The decoder is a convolution on a grid followed by bilinear upsampling, an effective output stride of 14, and it is reasonable to ask how much accuracy so coarse a prediction gives away. To locate the cost we split every test image into a boundary band—the pixels within three pixels of a label change at native resolution—and the interior, and score the two separately (Table 15). A low score near boundaries does not by itself show that the output stride is responsible, because boundary pixels are also where annotations are least certain. The analysis therefore uses two references. The first is the model-free stride-14 reference of Section 3.5.7, whose losses relative to the reference labels are those of the output grid alone; because it is computed from the same labels, it does not account for errors in the labels themselves. The second concerns the ISPRS benchmarks, whose scoring reference already removes a margin around every boundary; on that eroded reference the stride-14 reference scores 0.9987 in the boundary band of Vaihingen and 0.9998 on Potsdam, so the benchmark’s own convention largely hides what the stride costs. For ISPRS the analysis below therefore uses the complete reference, scored with the restricted argmax, since the models were trained to assign the eroded margin to the ignore channel and would otherwise be penalised for predicting exactly what they were trained to predict.
Table 15.
Mean intersection over union within three pixels of a label boundary and in the interior, for the three strategies and for the model-free stride-14 reference. ISPRS rows are scored against the complete reference with the restricted argmax; UAVid uses tiled inference.
Every strategy loses heavily near boundaries, and the stride-14 reference suggests that the reasons differ between benchmarks. On Massachusetts Buildings and WHU Building, where many objects span only a few output cells, the reference itself falls to 0.7480 and 0.8650 in the boundary band, and the best model comes close to it, 0.7143 and 0.8388 for low-rank adaptation; there a prediction limited only by the output grid loses nearly as much near edges as the trained models. On Potsdam, Vaihingen, UAVid, and LoveDA, the reference stays between 0.7689 and 0.9225 in the band while the models reach 0.2420 to 0.5892, so the grid alone does not explain most of their boundary loss, which may come from what the frozen features and a linear head resolve near edges, from uncertainty in the annotation of boundaries, or from both. Because the reference is a reference point rather than a strict upper bound and shares any errors of the labels, these comparisons indicate where the output grid matters rather than measuring its cost exactly; only a decoder comparison, which we did not run, could show how much of the boundary loss a higher-resolution head would recover. Widening or narrowing the band changes the levels but not this pattern. Within one pixel of a boundary, low-rank adaptation scores 0.4746 on Massachusetts Buildings against 0.4896 for the reference, but 0.3688 to 0.4452 on Potsdam, Vaihingen, and UAVid against 0.6831 to 0.7622; within seven pixels the same comparison gives 0.7773 against 0.8128, and 0.6462 to 0.6649 against 0.9420 to 0.9542.
The ranking of the three strategies is the same in both regions on every benchmark except one. On WHU Building the adapter is marginally ahead in the interior, 0.9893 against 0.9889, while low-rank adaptation leads in the band; on UAVid the adapter leads in both. The comparison is therefore not an artefact of boundary behaviour, but the absolute numbers should be read as those of a deliberately minimal decoder that leaves the finer levels of the neck unused.
4.12. UAVid with and Without the Clutter Class
Our UAVid training treats background clutter as unlabelled, but the benchmark itself does not. The dataset authors state that clutter has a large pixel share and consists of meaningful objects, and evaluate it as one of eight classes; on the test frames it covers 21.7 percent of the pixels. Our seven-class score is therefore not comparable with published UAVid numbers, and we report both.
An eight-class score is recoverable from the trained models without retraining, for a reason that follows from the loss. On UAVid the ignore label is exactly the clutter class, and as Section 3.5.5 sets out, the Dice term one-hot encodes the raw label map and so supervises output channel 0 on the clutter mask even though the cross-entropy discards those pixels. Channel 0 is thus a clutter predictor trained through the Dice term alone, and scoring it as an ordinary class gives the eight-class figure. It is a real predictor rather than a degenerate one: clutter intersection over union reaches 0.6298 for low-rank adaptation and 0.6435 for the adapter, against 0.1785 for linear probing.
Including clutter lowers the score from 0.6485 to 0.5017 for linear probing, from 0.7707 to 0.7010 for low-rank adaptation, and from 0.7906 to 0.7193 for the adapter. Clutter is harder than the average of the seven evaluated classes, but that accounts for only part of the drop: once clutter pixels enter the confusion matrix, those assigned to other classes also count as false positives against them, and lower their scores. The ordering of the three strategies is unchanged and the adapter’s advantage over low-rank adaptation persists at . Section 4.9 uses the eight-class values when placing this work beside published UAVid results.
4.13. Per-Class Behaviour on UAVid
Figure 3 plots precision against recall per class on UAVid. The dominant classes, building, road, and tree, cluster at high precision and recall under both internal methods, and the spread between methods there is small. The largest spread appears on static cars, humans, and low vegetation. On static cars the adapter raises recall from 0.847 to 0.887 at slightly higher precision, and on humans and low vegetation it trades a little precision for more recall, from 0.443 to 0.497 and from 0.807 to 0.855 in recall against 0.813 to 0.784 and 0.891 to 0.868 in precision. Since mean intersection over union weights all classes equally, these shifts on three classes account for most of the adapter’s lead in Section 4.3.
Figure 3.
Precision against recall per class on UAVid for the three strategies: (a) full range; (b) enlargement of the high-precision, high-recall region marked by the dotted square in (a). Dashed curves are iso-lines of constant intersection over union, labelled at the right edge of each panel, and faint lines connect the same class across methods. Markers that overlap in (b) have nearly identical values.
Even so, the human class remains the hardest in the study by a wide margin, at 0.438 intersection over union for the adapter, 0.402 for low-rank adaptation, and 0.409 for linear probing. Humans occupy 0.13 percent of the evaluated pixels, and even under tiling each cell of the output grid covers about seven native pixels in each direction. The grid alone does not explain the low scores on this class at the training scale: the stride-14 reference, which knows the class composition of every cell, reaches 0.940 on humans under tiling, against 0.551 under whole-frame resizing. A plausible source of the shortfall of all three strategies is what the frozen features and a linear head can express within a cell, which we have not tested directly.
4.14. Qualitative Comparison
Figure 4 shows predictions on Potsdam test tiles chosen, from randomly drawn candidates, for large disagreement between the three strategies, and Figure 5 shows the same for Vaihingen. Tiles chosen in this way make the differences between strategies more visible than they are on a typical tile; randomly selected tiles from the Potsdam, Vaihingen, UAVid, and Massachusetts Roads test sets are shown in Figures S1–S4 of the Supplementary Materials. On those the strategies differ less, and the two internal methods are often hard to tell apart, but the failure mode of linear probing is the same in both selections: its predictions are speckled, with small islands of the wrong class scattered across regions that both internal methods label cleanly. One possible explanation, which we have not tested, is that the frozen features carry the relevant information without separating the classes linearly; the speckle is in any case consistent with an overall accuracy that stays respectable while mean intersection over union falls well behind.
Figure 4.
Potsdam test tiles with the largest disagreement between the three strategies among randomly drawn candidates, each from a different orthophoto; randomly selected tiles are shown in Figure S1. Columns are the input image, the ground truth, and the predictions of linear probing, low-rank adaptation, and the adapter, with the per-tile intersection over union beneath each prediction. In the ground truth, dark grey marks pixels excluded from evaluation; in the predictions, it marks pixels assigned to the ignore channel. The input is shown as the network receives it, a near-infrared, green, and blue composite, so vegetation appears red.
The two internal methods are hard to tell apart by eye on these benchmarks, which is consistent with the small margins in Table 9. Where they differ, it is usually at object boundaries and on small objects: cars are recovered as compact blobs with approximately correct extent but rounded corners, and thin structures such as kerbs and narrow paths are either captured coarsely or missed. Both behaviours are consistent with an output stride of 14, and Section 4.11 examines how much of the boundary penalty the output grid alone can explain. The hardest tiles for all three strategies are those with construction sites, deep shadow, or unusual surface materials, where the ground truth itself often assigns large regions to clutter.
UAVid, in Figure 6, shows the same ordering with sharper contrasts. Linear probing remains speckled, mixing tree, low vegetation, and road across open ground, while the two internal methods produce large coherent regions and are hard to tell apart on the near-nadir frame at the top. The largest difference among the frames shown is on the oblique frame at the bottom, where the adapter scores 0.784 against 0.697 for low-rank adaptation. Most of that gap comes from small objects: a single moving car of fewer than 800 pixels, which low-rank adaptation misses entirely, and the parked cars. It is the per-frame counterpart of the per-class pattern of Section 4.3, and a reminder of how far one small object can move a seven-class mean on a single frame.
Figure 6.
UAVid test frames with the largest disagreement between the three strategies among randomly drawn candidates, predicted by tiled inference and shown at native resolution, in the same layout as Figure 4; randomly selected frames are shown in Figure S3. Frames are drawn from distinct sequences. Dark grey marks background clutter, which our seven-class protocol excludes from evaluation.
Massachusetts Roads, in Figure 7, isolates the thin-structure case. All three strategies trace the road network topologically, and the difference between them is one of continuity: linear probing produces fragmented segments that break at junctions and under tree cover, whereas both internal methods keep the network connected. This is the behaviour behind the foreground intersection over union of 0.4485 against 0.6506 in Table 7, a gap that the two-class mean intersection over union of Table 6 almost entirely conceals.
5. Discussion
5.1. What the Comparison Isolates, and What It Does Not
On four of the five benchmarks with separate test sets, low-rank adaptation reaches slightly higher mean intersection over union than adapters, by margins from 0.0051 on Massachusetts Roads to 0.0194 on Massachusetts Buildings, and on UAVid the adapter leads by 0.0199. Section 4.5 establishes that all five differences are stable when whole scenes are resampled, so they are real properties of these trained models, and equally that a single run per configuration cannot tell us whether they are properties of the methods.
Comparing Table 3 with Table 6 shows how loosely accuracy follows the size of the update. Linear probing updates hundreds to thousands of times fewer parameters than the other two strategies and is decisively the weakest, although its larger learning rate means that this gap mixes the placement of the adaptation with its step size. Adapters update 13.6 times fewer parameters than low-rank adaptation and come within 0.0058 of it in the mean over the five benchmarks, while leading on UAVid. For these two configurations, then, a thirteen-fold difference in trainable parameters comes with a small difference in accuracy.
What the experiments cannot do is attribute that outcome to where the adaptation acts. The two internal methods differ in placement, at the entry of every block against inside its projections, but they also differ in the form of the update, an additive signal that depends on the input and passes through a nonlinearity against a low-rank reparameterisation of existing weights, in the handcrafted high-pass input that only the adapter receives, and in capacity. Neither the rank of 8 nor the bottleneck width of 32 was tuned, and a different choice of either could move the comparison. What the results show is that, at these settings, the adapter’s much smaller update costs little accuracy relative to low-rank adaptation; a comparison that varies placement while holding the form and the size of the update fixed remains future work. The result is compatible with the argument of Peng et al. [43] that dense prediction benefits from adaptation distributed through the encoder rather than concentrated at its output, but it does not test that argument in isolation.
The comparison at a matched number of updates in Section 4.6 addresses one remaining confound, unequal training length, only in part. On the three binary benchmarks, where the matched epoch lies late in the learning-rate schedule, the lead of low-rank adaptation is essentially unchanged. On Potsdam, Vaihingen, and LoveDA it shrinks and its interval includes zero, but there the matched checkpoints lie further from the end of the schedule, so these comparisons cannot show how the two methods would compare after equal, completed training. Learning rate, rank, bottleneck width, and seed remain uncontrolled.
5.2. The Adapter’s Advantage on UAVid
How large the adapter’s advantage on UAVid appears depends on how the test frames are presented. With whole frames resized to the network input, the adapter leads low-rank adaptation by 0.0521; on tiles at the scale of training, by 0.0199. Most of the larger figure is therefore an effect of the evaluation protocol: whole-frame resizing presents objects four to eight times smaller than any the models saw in training, and the adapter loses less to that mismatch than low-rank adaptation. Why it is more robust remains open. One hypothesis is that its high-pass prompt, computed from the image at the resolution presented to the network, responds less to a change in scale than the low-rank updates of the block projections, but we have not tested this.
The remaining lead is concentrated on static cars, humans, and low vegetation. At epoch 25, when the learning rate is still about half its peak, the adapter leads by 0.0149 on the seven-class score, while its lead on the eight-class protocol shrinks from 0.0183 to 0.0055. Whatever remains could reflect the narrow bottleneck of Equation (3) acting as an implicit regulariser on long-tailed data, or edge and texture information from the high-pass prompt that helps on small objects such as cars and humans. The experiments reported here test neither hypothesis; separating them would require retrained models in which the prompt is ablated and the bottleneck width varied.
5.3. Task Complexity and Sensor Type
The three binary benchmarks gain roughly 5 to 11 points of mean intersection over union over linear probing, whereas the multi-class urban benchmarks, Potsdam, Vaihingen, and UAVid, gain roughly 12 to 16 points, and LoveDA, with seven land-use classes and a domain shift between urban and rural scenes, gains 14.3 and 12.8 points for the two internal methods. One interpretation, consistent with these gains but not tested by them, is that the value of internal adaptation grows with the number and variety of classes to be separated: when the task is a single well-defined foreground class, the frozen SAM 3 features may already separate it, so that adapting the encoder has little to add to a linear head.
Sensor type organises the results much less clearly. Five of the seven benchmarks are ordinary RGB products, and the two ISPRS benchmarks, whose first input channel carries near-infrared, behave like the other multi-class urban benchmarks in aggregate. The channel-replacement analysis of Section 4.10 shows that this aggregate normality conceals a sharp difference between the two. On Vaihingen, overwriting near-infrared costs the two internal methods 30 to 45 times as much as overwriting either visible channel, and linear probing about five times as much, whereas on Potsdam it costs between 0.8 and 2.4 times as much as overwriting green with blue. The internal methods are also more sensitive to it than linear probing on Vaihingen but less sensitive on Potsdam. The image statistics of Section 4.10 point to plausible reasons: on Vaihingen the near-infrared channel adds more information about vegetation to the visible channels than on Potsdam, the channel that replaces it is less correlated with it, the imagery is coarser, and the training set is ten times smaller. These results describe how the trained models respond to one perturbation; how much information the near-infrared band contributes to a trained model could only be measured by retraining without it.
5.4. What Parameter Efficiency Buys in This Setting
The measurements in Section 4.2 do not support the claim that parameter-efficient fine-tuning makes this foundation model cheap to use; they support a more specific one. In our setting, what the two internal methods buy is storage: a task is carried by 1.3 MiB for the adapter or 17.3 MiB for low-rank adaptation rather than by a 1.7 GiB copy of the backbone, which makes serving many tasks from one frozen model practical.
They did not reduce training time or memory relative to a frozen-feature baseline, and how the two internal methods compare depends as much on implementation as on method. The adapter’s 30 percent higher peak memory comes mainly from computing its prompt outside the activation checkpoint of each block, and the same choice probably makes its epochs shorter, so memory and time trade against each other rather than both following the parameter count. At inference the internal methods add cost unless the adaptation can be merged, and this reverses the storage ranking. The adapter needs more than 13 times less storage but cannot be merged and keeps an overhead of 7 percent, whereas low-rank adaptation is larger to store but, once folded into the frozen weights, runs as fast as the frozen-feature baseline. In this setting, which method to prefer therefore depends on whether storage, training memory, or latency is the binding constraint.
5.5. Limitations
This study compares three adaptation strategies within the SAM 3 image encoder, and its limits follow from that design. Each configuration was trained once, with learning rates, rank, and bottleneck width set by convention rather than tuned, so seed-to-seed variation, sensitivity to these settings, and a comparison after equal, completed training remain unmeasured; the analyses of Section 4.5 and Section 4.6 address test-set sampling and, in part, training length. No other backbone was substituted and no model was fully fine-tuned, so the results neither establish that SAM 3 is preferable to other encoders nor bound what full fine-tuning would reach. The decoder is deliberately minimal, and whether the ranking of the strategies holds under a richer decoder, such as one fusing the finer levels of the neck, has not been tested.
Two benchmarks are exploratory. WHU Building uses a random split, under which almost every test tile borders a training tile. LoveDA is evaluated on the validation split that was also used for checkpoint selection; the gain of the internal methods over linear probing is also observed at a common fixed epoch, whereas the difference between the two shrinks to 0.0046 at that epoch, too little to order them (Section 4.7). Two aspects of the training pipeline also qualify its results: the Dice term supervises the ignore channel on four benchmarks, with an effect on training that we could measure only at inference, and the Potsdam models were trained on a near-infrared composite, so their scores are not band-matched to published true-colour results. Finally, all experiments use three-band, single-frame imagery and one backbone, so whether the findings transfer to other backbones, to multispectral input, or to multitemporal data remains a hypothesis to be tested.
6. Conclusions
This paper compared three parameter-efficient strategies for adapting the SAM 3 image encoder and neck to closed-set, single-frame semantic segmentation of remote sensing imagery under a single protocol, across seven benchmarks spanning airborne, satellite, and unmanned aerial vehicle imagery. Over the five benchmarks with separate test sets, low-rank adaptation and adapter prompts raise mean intersection over union from 0.7007 for linear probing to 0.8258 and 0.8200 while leaving more than 99 percent of the model frozen, and the two come within 0.0058 of each other even though the adapter updates 13.6 times fewer parameters. This holds for two particular configurations, each trained once with untuned rank and bottleneck width, and it does not isolate the effect of where the adaptation is placed.
In our measurements, computational cost does not follow the parameter count. The adapter needs more than 13 times less storage than low-rank adaptation but 30 percent more training memory, mostly because its prompt is computed outside each block’s activation checkpoint, while its epochs are 17 percent shorter. Low-rank adaptation is the slowest at inference, at 1.34 times the time per image of linear probing, until its factors are merged into the frozen weights, after which it runs as fast as linear probing.
On UAVid the evaluation protocol mattered as much as the adaptation strategy. Resizing whole frames to the network input instead of scoring tiles at the training scale lowers every score by 0.13 to 0.19, and the adapter’s advantage there falls from 0.0521 to 0.0199 once the frames are tiled, so most of that advantage is an effect of the protocol. Resampling whole scenes shows that the small differences between the two trained internal models are stable across the test sets, although not whether they would survive retraining. At a matched number of updates every difference keeps its sign, while the lead of low-rank adaptation on Potsdam, Vaihingen, and LoveDA, compared partway through the learning-rate schedule, is no longer distinguishable from zero. Replacing the near-infrared channel at inference costs the Vaihingen models far more than the Potsdam models, 0.26 and 0.28 against 0.03 and 0.02 for the two internal methods; this describes the sensitivity of the trained models, not the information content of the band. A model-free reference, finally, suggests that the output grid matters most for boundary accuracy on Massachusetts Buildings and WHU Building, where many objects span only a few output cells, while elsewhere the grid alone does not explain most of the boundary loss.
These findings describe single runs of particular configurations, and several questions they raise remain hypotheses: whether low-rank adaptation or the adapter is the better choice beyond these settings, whether the adapter’s high-pass FFT prompt contributes to its accuracy on small objects, and whether the results carry over to other backbones, to multispectral input or to multitemporal data.
We have also specified what a reader needs in order to reproduce the work: which SAM 3 modules are instantiated, frozen, and detached; how sensor bands are mapped onto the three channels of the frozen patch embedding, including the near-infrared composites of both ISPRS benchmarks; the exact position at which low-rank factors and adapter prompts act inside the 32-block encoder; the provenance of every train, validation, and test split, including the WHU partition that departs from the published protocol; and the asymmetry between the two terms of the loss, which explains both what the ignore channel learns and how an eight-class UAVid score can be recovered from models trained on seven.
The most informative next experiments are a comparison that varies where the adaptation acts while holding the form and size of the update fixed, run with repeated seeds and a sweep over rank, bottleneck width, and learning rate; an ablation of the high-pass prompt; and a backbone-level comparison that holds the adaptation and decoder fixed while substituting DINOv2, DINOv3 or an Earth-observation foundation model for SAM 3. Beyond these lie a full fine-tuning baseline; a decoder that fuses the finer levels of the neck, to establish how much of the boundary penalty a higher-resolution head recovers and whether the ranking of the strategies survives it; retraining with a consistently masked loss, on the official WHU partition, and on true-colour and reduced-band inputs of the ISPRS benchmarks, which would measure what the near-infrared band contributes; extension of the patch embedding beyond three bands so that the full spectral and elevation products of Potsdam and Vaihingen can be used; and adaptation of the memory branch for multitemporal tasks such as change detection and land-cover monitoring [64].
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/j9040039/s1, Figure S1: Randomly selected ISPRS Potsdam test tiles; Figure S2: Randomly selected ISPRS Vaihingen test tiles; Figure S3: Randomly selected UAVid test frames; Figure S4: Randomly selected Massachusetts Roads test tiles.
Author Contributions
Conceptualisation, M.P., E.P., I.D., and I.K.; methodology, M.P., E.P., I.D., and I.K.; software, M.P.; validation, M.P. and I.C.; formal analysis, M.P.; investigation, M.P.; data curation, M.P.; visualisation, M.P.; writing—original draft preparation, M.P.; writing—review and editing, M.P., E.P., I.D., and I.K.; supervision, I.C.; project administration, I.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable. The study used public remote sensing benchmarks and did not involve humans or animals.
Informed Consent Statement
Not applicable.
Data Availability Statement
The seven benchmarks are available from their original providers, cited in Section 3.2. The UAVid test annotations were obtained from the public release announced on the dataset website [54]. The implementation, training configurations, data preparation scripts, the file lists of every split, and the evaluation and analysis scripts are available at https://github.com/markopetrov1/sam3-peft (accessed on 20 November 2026). The adapted weights for all 21 runs are linked from that repository and hosted at https://drive.google.com/drive/folders/1CII_0gT69e2aqylGJUG9XZxPQ9ot6Pfa (accessed on 20 November 2026). The intermediate checkpoints used in Section 4.6 and Section 4.7 are available from the corresponding author on request.
Acknowledgments
During the preparation of this manuscript, the authors used Anthropic Claude (Opus 5 and Opus 5.5) and OpenAI Codex (GPT-6) for language editing, drafting and revising text, and formatting in the journal template. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Hao, S.; Zhou, Y.; Guo, Y. A Brief Survey on Semantic Segmentation with Deep Learning. Neurocomputing 2020, 406, 302–321. [Google Scholar] [CrossRef] [Scilit]
- Pandilova, E.; Petrov, M.; Spasev, V.; Dimitrovski, I.; Kitanovski, I. Transfer Learning with YOLO for Object Detection in Remote Sensing. In Proceedings of the ICT Innovations 2024. TechConvergence: AI, Business, and Startup Synergy, Ohrid, North Macedonia, 28–30 September 2024; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2025; pp. 121–135. [Google Scholar] [CrossRef] [Scilit]
- Spasev, V.; Dimitrovski, I.; Kitanovski, I.; Chorbev, I. Semantic Segmentation of Remote Sensing Images: Definition, Methods, Datasets and Applications. In Proceedings of the ICT Innovations 2023. Learning: Humans, Theory, Machines, and Data, Ohrid, North Macedonia, 24–26 September 2023; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2024; pp. 127–140. [Google Scholar] [CrossRef] [Scilit]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015, Munich, Germany, 5–9 October 2015; Springer: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar] [CrossRef] [Scilit]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale. In Proceedings of the 9th International Conference on Learning Representations (ICLR), Virtual, 3–7 May 2021; Available online: https://openreview.net/forum?id=YicbFdNTTy (accessed on 20 November 2026).
- Awais, M.; Naseer, M.; Khan, S.; Anwer, R.M.; Cholakkal, H.; Shah, M.; Yang, M.H.; Khan, F.S. Foundation Models Defining a New Era in Vision: A Survey and Outlook. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 2245–2264. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment Anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 1–6 October 2023; IEEE: New York, NY, USA, 2023; pp. 3992–4003. [Google Scholar] [CrossRef] [Scilit]
- Carion, N.; Gustafson, L.; Hu, Y.T.; Debnath, S.; Hu, R.; Suris Coll-Vinent, D.; Ryali, C.; Alwala, K.V.; Khedr, H.; Huang, A.; et al. SAM 3: Segment Anything with Concepts. In Proceedings of the 14th International Conference on Learning Representations (ICLR), Rio de Janeiro, Brazil, 23–27 April 2026; Available online: https://openreview.net/forum?id=r35clVtGzw (accessed on 20 November 2026).
- Houlsby, N.; Giurgiu, A.; Jastrzebski, S.; Morrone, B.; De Laroussilhe, Q.; Gesmundo, A.; Attariyan, M.; Gelly, S. Parameter-Efficient Transfer Learning for NLP. In Proceedings of the 36th International Conference on Machine Learning (ICML), Long Beach, CA, USA, 9–15 June 2019; Proceedings of Machine Learning Research: Cambridge, MA, USA, 2019; Volume 97, pp. 2790–2799. Available online: https://proceedings.mlr.press/v97/houlsby19a.html (accessed on 20 November 2026).
- Hu, E.J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. In Proceedings of the 10th International Conference on Learning Representations (ICLR), Virtual, 25–29 April 2022; Available online: https://openreview.net/forum?id=nZeVKeeFYf9 (accessed on 20 November 2026).
- Jia, M.; Tang, L.; Chen, B.C.; Cardie, C.; Belongie, S.; Hariharan, B.; Lim, S.N. Visual Prompt Tuning. In Proceedings of the Computer Vision—ECCV 2022, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 709–727. [Google Scholar] [CrossRef] [Scilit]
- Chen, S.; Ge, C.; Tong, Z.; Wang, J.; Song, Y.; Wang, J.; Luo, P. AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognition. Adv. Neural Inf. Process. Syst. 2022, 35, 16664–16678. [Google Scholar] [CrossRef] [Scilit]
- Yosinski, J.; Clune, J.; Bengio, Y.; Lipson, H. How Transferable Are Features in Deep Neural Networks? Adv. Neural Inf. Process. Syst. 2014, 27, 3320–3328. Available online: https://proceedings.neurips.cc/paper_files/paper/2014/hash/532a2f85b6977104bc93f8580abbb330-Abstract.html (accessed on 20 November 2026).
- Chen, T.; Zhu, L.; Ding, C.; Cao, R.; Wang, Y.; Zhang, S.; Li, Z.; Sun, L.; Zang, Y.; Mao, P. SAM-Adapter: Adapting Segment Anything in Underperformed Scenes. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Paris, France, 2–6 October 2023; IEEE: New York, NY, USA, 2023; pp. 3359–3367. [Google Scholar] [CrossRef] [Scilit]
- Oquab, M.; Darcet, T.; Moutakanni, T.; Vo, H.; Szafraniec, M.; Khalidov, V.; Fernandez, P.; Haziza, D.; Massa, F.; El-Nouby, A.; et al. DINOv2: Learning Robust Visual Features without Supervision. Trans. Mach. Learn. Res. 2024. Available online: https://openreview.net/forum?id=a68SUt6zFt (accessed on 20 November 2026).
- Zhou, Z.; Rahman Siddiquee, M.M.; Tajbakhsh, N.; Liang, J. UNet++: A Nested U-Net Architecture for Medical Image Segmentation. In Proceedings of the Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support (DLMIA 2018), Granada, Spain, 20 September 2018; Springer: Cham, Switzerland, 2018; pp. 3–11. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, L.C.; Papandreou, G.; Schroff, F.; Adam, H. Rethinking Atrous Convolution for Semantic Image Segmentation. arXiv 2017, arXiv:1706.05587. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.C.; Zhu, Y.; Papandreou, G.; Schroff, F.; Adam, H. Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. In Proceedings of the Computer Vision—ECCV 2018, Munich, Germany, 8–14 September 2018; Springer: Cham, Switzerland, 2018; pp. 833–851. [Google Scholar] [CrossRef] [Scilit]
- Cheng, G.; Han, J.; Lu, X. Remote Sensing Image Scene Classification: Benchmark and State of the Art. Proc. IEEE 2017, 105, 1865–1883. [Google Scholar] [CrossRef] [Scilit]
- Dimitrovski, I.; Spasev, V.; Kitanovski, I. Deep Multimodal Fusion for Semantic Segmentation of Remote Sensing Earth Observation Data. In Proceedings of the ICT Innovations 2024. TechConvergence: AI, Business, and Startup Synergy, Ohrid, North Macedonia, 28–30 September 2024; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2025; pp. 106–120. [Google Scholar] [CrossRef] [Scilit]
- Dimitrovski, I.; Spasev, V.; Loshkovska, S.; Kitanovski, I. U-Net Ensemble for Enhanced Semantic Segmentation in Remote Sensing Imagery. Remote Sens. 2024, 16, 2077. [Google Scholar] [CrossRef] [Scilit]
- Dimitrovski, I.; Kitanovski, I.; Panov, P.; Kostovska, A.; Simidjievski, N.; Kocev, D. AiTLAS: Artificial Intelligence Toolbox for Earth Observation. Remote Sens. 2023, 15, 2343. [Google Scholar] [CrossRef] [Scilit]
- Zheng, S.; Lu, J.; Zhao, H.; Zhu, X.; Luo, Z.; Wang, Y.; Fu, Y.; Feng, J.; Xiang, T.; Torr, P.H.S.; et al. Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; IEEE: New York, NY, USA, 2021; pp. 6877–6886. [Google Scholar] [CrossRef] [Scilit]
- Xie, E.; Wang, W.; Yu, Z.; Anandkumar, A.; Alvarez, J.M.; Luo, P. SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers. Adv. Neural Inf. Process. Syst. 2021, 34, 12077–12090. Available online: https://proceedings.neurips.cc/paper_files/paper/2021/hash/64f1f27bf1b4ec22924fd0acb550c235-Abstract.html (accessed on 20 November 2026).
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; IEEE: New York, NY, USA, 2021; pp. 9992–10002. [Google Scholar] [CrossRef] [Scilit]
- Cheng, B.; Schwing, A.G.; Kirillov, A. Per-Pixel Classification Is Not All You Need for Semantic Segmentation. Adv. Neural Inf. Process. Syst. 2021, 34, 17864–17875. Available online: https://proceedings.neurips.cc/paper_files/paper/2021/hash/950a4152c2b4aa3ad78bdd6b366cc179-Abstract.html (accessed on 20 November 2026).
- Cheng, B.; Misra, I.; Schwing, A.G.; Kirillov, A.; Girdhar, R. Masked-Attention Mask Transformer for Universal Image Segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; IEEE: New York, NY, USA, 2022; pp. 1280–1289. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Li, R.; Zhang, C.; Fang, S.; Duan, C.; Meng, X.; Atkinson, P.M. UNetFormer: A UNet-Like Transformer for Efficient Semantic Segmentation of Remote Sensing Urban Scene Imagery. ISPRS J. Photogramm. Remote Sens. 2022, 190, 196–214. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Li, R.; Wang, D.; Duan, C.; Wang, T.; Meng, X. Transformer Meets Convolution: A Bilateral Awareness Network for Semantic Segmentation of Very Fine Resolution Urban Scene Images. Remote Sens. 2021, 13, 3065. [Google Scholar] [CrossRef] [Scilit]
- Li, R.; Wang, L.; Zhang, C.; Duan, C.; Zheng, S. A2-FPN for Semantic Segmentation of Fine-Resolution Remotely Sensed Images. Int. J. Remote Sens. 2022, 43, 1131–1155. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Li, R.; Duan, C.; Zhang, C.; Meng, X.; Fang, S. A Novel Transformer Based Semantic Segmentation Scheme for Fine-Resolution Remote Sensing Images. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6506105. [Google Scholar] [CrossRef] [Scilit]
- Spasev, V.; Dimitrovski, I.; Chorbev, I.; Kitanovski, I. Semantic Segmentation of Unmanned Aerial Vehicle Remote Sensing Images Using SegFormer. arXiv 2024, arXiv:2410.01092. [Google Scholar] [CrossRef] [Scilit]
- Aleissaee, A.A.; Kumar, A.; Anwer, R.M.; Khan, S.; Cholakkal, H.; Xia, G.S.; Khan, F.S. Transformers in Remote Sensing: A Survey. Remote Sens. 2023, 15, 1860. [Google Scholar] [CrossRef] [Scilit]
- Bazi, Y.; Bashmal, L.; Rahhal, M.M.A.; Dayil, R.A.; Ajlan, N.A. Vision Transformers for Remote Sensing Image Classification. Remote Sens. 2021, 13, 516. [Google Scholar] [CrossRef] [Scilit]
- Caron, M.; Touvron, H.; Misra, I.; Jégou, H.; Mairal, J.; Bojanowski, P.; Joulin, A. Emerging Properties in Self-Supervised Vision Transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; IEEE: New York, NY, USA, 2021; pp. 9630–9640. [Google Scholar] [CrossRef] [Scilit]
- He, K.; Chen, X.; Xie, S.; Li, Y.; Dollár, P.; Girshick, R. Masked Autoencoders Are Scalable Vision Learners. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; IEEE: New York, NY, USA, 2022; pp. 15979–15988. [Google Scholar] [CrossRef] [Scilit]
- Zhai, X.; Kolesnikov, A.; Houlsby, N.; Beyer, L. Scaling Vision Transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; IEEE: New York, NY, USA, 2022; pp. 1204–1213. [Google Scholar] [CrossRef] [Scilit]
- Carion, N.; Massa, F.; Synnaeve, G.; Usunier, N.; Kirillov, A.; Zagoruyko, S. End-to-End Object Detection with Transformers. In Proceedings of the Computer Vision—ECCV 2020, Glasgow, UK, 23–28 August 2020; Springer: Cham, Switzerland, 2020; pp. 213–229. [Google Scholar] [CrossRef] [Scilit]
- He, J.; Zhou, C.; Ma, X.; Berg-Kirkpatrick, T.; Neubig, G. Towards a Unified View of Parameter-Efficient Transfer Learning. In Proceedings of the 10th International Conference on Learning Representations (ICLR), Virtual, 25–29 April 2022; Available online: https://openreview.net/forum?id=0RDcd5Axok (accessed on 20 November 2026).
- He, X.; Li, C.; Zhang, P.; Yang, J.; Wang, X.E. Parameter-Efficient Model Adaptation for Vision Transformers. Proc. AAAI Conf. Artif. Intell. 2023, 37, 817–825. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Duan, Y.; Wang, W.; He, J.; Lu, T.; Dai, J.; Qiao, Y. Vision Transformer Adapter for Dense Predictions. In Proceedings of the 11th International Conference on Learning Representations (ICLR), Kigali, Rwanda, 1–5 May 2023; Available online: https://openreview.net/forum?id=plKu2GByCNW (accessed on 20 November 2026).
- Xu, M.; Zhang, Z.; Wei, F.; Hu, H.; Bai, X. Side Adapter Network for Open-Vocabulary Semantic Segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–24 June 2023; IEEE: New York, NY, USA, 2023; pp. 2945–2954. [Google Scholar] [CrossRef] [Scilit]
- Peng, Z.; Xu, Z.; Zeng, Z.; Xie, L.; Tian, Q.; Shen, W. Parameter Efficient Fine-Tuning via Cross Block Orchestration for Segment Anything Model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; IEEE: New York, NY, USA, 2024; pp. 3743–3752. [Google Scholar] [CrossRef] [Scilit]
- Peng, Z.; Xu, Z.; Zeng, Z.; Yang, X.; Shen, W. SAM-PARSER: Fine-Tuning SAM Efficiently by Parameter Space Reconstruction. Proc. AAAI Conf. Artif. Intell. 2024, 38, 4515–4523. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Li, Y.; Yang, X.; Jiang, R.; Zhang, L. RSAM-Seg: A SAM-Based Model with Prior Knowledge Integration for Remote Sensing Image Semantic Segmentation. Remote Sens. 2025, 17, 590. [Google Scholar] [CrossRef] [Scilit]
- Pu, X.; Jia, H.; Zheng, L.; Wang, F.; Xu, F. ClassWise-SAM-Adapter: Parameter-Efficient Fine-Tuning Adapts Segment Anything to SAR Domain for Semantic Segmentation. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 4791–4804. [Google Scholar] [CrossRef] [Scilit]
- Thoreau, R.; Marsocci, V.; Derksen, D. Parameter-Efficient Adaptation of Geospatial Foundation Models through Embedding Deflection. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Honolulu, HI, USA, 19–25 October 2025; IEEE: New York, NY, USA, 2025; pp. 9594–9604. [Google Scholar] [CrossRef] [Scilit]
- Marti Escofet, F.; Blumenstiel, B.; Scheibenreif, L.; Fraccaro, P.; Schindler, K. Fine-Tune Smarter, Not Harder: Parameter-Efficient Fine-Tuning for Geospatial Foundation Models. In Proceedings of the Machine Learning and Knowledge Discovery in Databases. Research Track (ECML PKDD 2025), Porto, Portugal, 15–19 September 2025; Springer: Cham, Switzerland, 2025; pp. 516–532. [Google Scholar] [CrossRef] [Scilit]
- Rottensteiner, F.; Sohn, G.; Jung, J.; Gerke, M.; Baillard, C.; Benitez, S.; Breitkopf, U. The ISPRS Benchmark on Urban Object Classification and 3D Building Reconstruction. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2012, I-3, 293–298. [Google Scholar] [CrossRef] [Scilit]
- Lyu, Y.; Vosselman, G.; Xia, G.S.; Yilmaz, A.; Yang, M.Y. UAVid: A Semantic Segmentation Dataset for UAV Imagery. ISPRS J. Photogramm. Remote Sens. 2020, 165, 108–119. [Google Scholar] [CrossRef] [Scilit]
- Mnih, V. Machine Learning for Aerial Image Labeling. Ph.D. Thesis, University of Toronto, Toronto, ON, Canada, 2013. Available online: https://hdl.handle.net/1807/35911 (accessed on 20 November 2026).
- Ji, S.; Wei, S.; Lu, M. Fully Convolutional Networks for Multisource Building Extraction from an Open Aerial and Satellite Imagery Data Set. IEEE Trans. Geosci. Remote Sens. 2019, 57, 574–586. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Zheng, Z.; Ma, A.; Lu, X.; Zhong, Y. LoveDA: A Remote Sensing Land-Cover Dataset for Domain Adaptive Semantic Segmentation. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, Virtual, 6–14 December 2021; Volume 1, Available online: https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/4e732ced3463d06de0ca9a15b6153677-Abstract-round2.html (accessed on 20 November 2026).
- UAVid Team, University of Twente. UAVid Semantic Segmentation Dataset; News: UAVid 2020 Test Set Ground Truth Is Publicly Available. Available online: https://uavid.nl/ (accessed on 29 October 2026).
- Zhu, Q.; Cai, Y.; Fang, Y.; Yang, Y.; Chen, C.; Fan, L.; Nguyen, A. Samba: Semantic Segmentation of Remotely Sensed Images with State Space Model. Heliyon 2024, 10, e38495. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhu, Q.; Fang, Y.; Cai, Y.; Chen, C.; Fan, L. Rethinking Scanning Strategies With Vision Mamba in Semantic Segmentation of Remote Sensing Imagery: An Experimental Study. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 18223–18234. [Google Scholar] [CrossRef] [Scilit]
- Ma, X.; Zhang, X.; Pun, M.O. RS3Mamba: Visual State Space Model for Remote Sensing Image Semantic Segmentation. IEEE Geosci. Remote Sens. Lett. 2024, 21, 6011405. [Google Scholar] [CrossRef] [Scilit]
- Field, C.A.; Welsh, A.H. Bootstrapping Clustered Data. J. R. Stat. Soc. Ser. B Stat. Methodol. 2007, 69, 369–390. [Google Scholar] [CrossRef] [Scilit]
- Cameron, A.C.; Miller, D.L. A Practitioner’s Guide to Cluster-Robust Inference. J. Hum. Resour. 2015, 50, 317–372. [Google Scholar] [CrossRef] [Scilit]
- Wang, L. GeoSeg: A Remote Sensing Image Segmentation Toolbox (Code Accompanying UNetFormer). Available online: https://github.com/WangLibo1995/GeoSeg (accessed on 29 October 2026).
- Li, R.; Zheng, S.; Duan, C.; Su, J.; Zhang, C. Multistage Attention ResU-Net for Semantic Segmentation of Fine-Resolution Remote Sensing Images. IEEE Geosci. Remote Sens. Lett. 2022, 19, 8009205. [Google Scholar] [CrossRef] [Scilit]
- Lyu, Y.; Vosselman, G.; Xia, G.S.; Yang, M.Y. Bidirectional Multi-Scale Attention Networks for Semantic Segmentation of Oblique UAV Imagery. ISPRS Ann. Photogramm. Remote Sens. Spat. Inf. Sci. 2021, V-2-2021, 75–82. [Google Scholar] [CrossRef] [Scilit]
- Bandara, W.G.C.; Valanarasu, J.M.J.; Patel, V.M. SPIN Road Mapper: Extracting Roads from Aerial Images via Spatial and Interaction Space Graph Reasoning for Autonomous Driving. In Proceedings of the 2022 International Conference on Robotics and Automation (ICRA), Philadelphia, PA, USA, 23–27 May 2022; IEEE: New York, NY, USA, 2022; pp. 343–350. [Google Scholar] [CrossRef] [Scilit]
- Petrov, M.; Pandilova, E.; Dimitrovski, I.; Trajanov, D.; Spasev, V.; Kitanovski, I. Few-Shot Semantic Segmentation in Remote Sensing: A Review on Definitions, Methods, Datasets, Advances and Future Trends. Remote Sens. 2026, 18, 637. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






