Highlights
What are the main findings?
- A lightweight and deployment-oriented road segmentation framework is developed to achieve an effective balance between segmentation accuracy and computational efficiency (6.33 M parameters/26.38 GFLOPs) for high-resolution remote sensing imagery.
- A low-overhead topology-aware supervision strategy combined with test-time adaptation improves structural connectivity and enhances robust cross-region deployment without requiring additional retraining.
What are the implications of the main findings?
- The results demonstrate that lightweight deep learning model can achieve a favorable balance between efficiency and structural preservation, making them well suited for large-scale remote sensing applications under resource-constrained environments.
- The proposed framework reduces the dependence on region-specific retraining and facilitates scalable and cost-effective deployment in heterogeneous and dynamically changing geospatial environments.
Abstract
Deploying deep learning models for high-resolution remote sensing image segmentation remains challenging in resource-constrained scenarios due to the high computational cost of dense prediction and the structural vulnerability of thin objects such as roads. To address these challenges, we propose LiteRoadSegNet, a lightweight and deployment-oriented segmentation framework that achieves a favorable balance among efficiency, accuracy, and structural preservation. The proposed model adopts a compact encoder–decoder architecture composed of a lightweight hierarchical vision transformer and a streamlined decoder, enabling efficient multi-scale feature representation under limited computational budgets. To enhance structural consistency without increasing inference overhead, we further design a low-cost semantic–topological dual-branch contrastive learning scheme which enhances feature discriminability and preserves road connectivity during training. In addition, to improve deployment robustness in cross-region scenarios, we incorporate a lightweight test-time adaptation strategy based on Adaptive Batch Normalization (AdaBN) and sliding-window inference. This strategy enables seamless adaptation to unlabeled target domains without requiring model retraining. Extensive experiments demonstrate that LiteRoadSegNet achieves competitive segmentation performance and superior topology preservation while maintaining a small model footprint and high inference efficiency, making it well suited for large-scale remote sensing applications under resource-constrained environments.
1. Introduction
Recent advances in deep learning have significantly improved the performance of remote sensing image processing, particularly in high-resolution semantic segmentation tasks. However, these improvements often come at the expense of increased model complexity and computational cost, which severely limit practical deployment in resource-constrained scenarios such as edge devices, UAV platforms, and large-scale Earth observation systems. Consequently, lightweight and efficient segmentation frameworks have become increasingly important for practical remote sensing applications.
Among various remote sensing tasks, road segmentation represents a particularly challenging case due to the highly connected nature of road structures. Road networks are a fundamental component of geospatial products and services, supporting applications such as base map services, disaster response, infrastructure monitoring, transportation planning, and urban analytics [1,2,3,4]. Unlike general land-cover categories, roads are thin, elongated, and highly connected structures. Their visual appearance is frequently affected by shadows, tree occlusions, varying pavement materials, complex intersection patterns, and imaging inconsistencies. As a result, road segmentation not only requires accurate pixel-level classification, but also demands the preservation of structural continuity and network completeness for downstream geospatial applications.
Despite the success of recent deep learning methods, most high-performing road segmentation models [5,6,7] rely on computationally intensive backbones, multi-branch feature fusion modules, or sophisticated decoding architectures. These designs often achieve strong segmentation accuracy, but their large parameter counts and heavy inference costs limit their practicality for large-area processing and hardware-constrained deployment. In remote sensing practice, this limitation is particularly problematic because operational systems must frequently process large scenes, handle heterogeneous imaging conditions, and maintain stable performance under restricted computational budgets. Therefore, lightweight network design is not merely an engineering preference, but a necessary condition for scalable and deployable road segmentation.
However, lightweight road segmentation remains intrinsically challenging. The aggressive downsampling, channel compression, and restricted receptive fields adopted to improve efficiency often weaken the modeling capability for long-range spatial dependencies and fine-grained structures [8,9,10,11]. As a result, lightweight models commonly suffer from road fragmentation, including broken centerlines, missing junctions, and disconnected branches. Although these structural discontinuities may only slightly affect overlap-based metrics, they can significantly reduce the practical usability of extracted road networks. Consequently, maintaining structural continuity while preserving the efficiency advantages of lightweight architectures remains a critical challenge.
Another important challenge lies in cross-region deployment. Road segmentation models trained on one dataset or geographic region often experience significant performance degradation when transferred to new cities or regions, due to variations in sensor characteristics, radiometric properties, viewing geometry, seasonal changes, urban morphology, and annotation conventions. In real-world deployment, repeatedly collecting pixel-level labels and retraining models for each new target region is time-consuming and economically impractical. These problems are even more pronounced for lightweight architectures, whose limited representation capacity makes them more vulnerable to domain shifts. Hence, improving deployment robustness under unlabeled cross-region scenarios is essential for practical remote sensing applications.
To address these challenges, we propose LiteRoadSegNet, a lightweight and topology-preserving framework designed to achieve a favorable balance between segmentation accuracy, computational efficiency, and topological connectivity. Specifically, LiteRoadSegNet adopts a compact TinyViT-based encoder and a streamlined LinkNet-style decoder to minimize computational costs for edge deployment. To overcome the structural modeling limitations inherent in lightweight networks, we introduce a semantic–topological contrastive learning strategy (ST-CL). This auxiliary mechanism reinforces connectivity awareness during training—through centerline-guided sampling and hard negative mining—without adding any inference overhead. Furthermore, to ensure cross-region robustness, we integrate a test-time adaptation strategy based on Adaptive Batch Normalization (AdaBN). This allows the model to recalibrate to unlabeled target domains during inference, significantly improving practicality in large-scale, heterogeneous remote sensing scenarios.
The main contributions of this work are summarized as follows:
- A lightweight and deployment-oriented road segmentation framework is developed for high-resolution remote sensing imagery. LiteRoadSegNet integrates efficient feature extraction with task-specific optimization to achieve an optimal balance among segmentation accuracy, efficiency, and topological integrity.
- A novel low-overhead semantic–topological contrastive learning (ST-CL) scheme is introduced to improve road connectivity. This specialized strategy simultaneously enhances pixel-level classification accuracy and structural coherence during training without incurring any additional inference latency.
- A practical test-time adaptation strategy is incorporated to improve cross-region robustness. Through autonomous recalibration of normalization statistics, this mechanism enables stable model generalization across diverse geographic scenarios and large-scale imagery without requiring additional annotations or retraining.
The remainder of this paper is organized as follows. Section 2 reviews related studies on road segmentation from remote sensing, topology-aware learning, contrastive learning and test-time adaptation. Section 3 introduces the proposed LiteRoadSegNet framework, including the network architecture, semantic–topological contrastive learning strategy, and adaptive inference mechanism. Section 4 presents the experimental setup and comparative results. Section 5 explores the structural trade-offs of the decoder, the model’s practical deployability, and its current limitations in complex scenarios. Finally, Section 6 concludes this paper and discusses future work.
2. Related Work
2.1. Road Segmentation from Remote Sensing
Early road segmentation relied on handcrafted cues and traditional ML pipelines, such as morphology [12], edge/texture cues [13,14], and feature–classifier frameworks [15,16,17], but their robustness is limited under EO complexities [18].
The rapid development of deep learning has significantly advanced road segmentation in remote sensing imagery [19]. Compared with traditional handcrafted or conventional machine learning approaches, deep learning models can automatically learn multi-level feature representations through end-to-end training, achieving significant improvements in feature extraction, structural modeling, and semantic understanding. Convolutional neural networks (CNNs) and their derivative architectures dominated early deep learning road segmentation research. FCN-, U-Net-, LinkNet-, and DeepLab-style architectures enabled multi-scale feature learning and dense prediction [20,21,22,23,24], and road-oriented architectures further improved thin-structure modeling [25]. However, CNN-based methods primarily focus on modeling local information and lack the ability to capture long-range contextual dependencies. CNNs also have limited ability to model fine-grained structures, which can easily lead to problems such as blurred road edges and lost details in segmentation results. Transformers and their derivative architectures [26,27,28] were introduced into the remote sensing road segmentation task owing to their ability to model long-range dependencies through self-attention mechanisms to model long-range dependencies. Recent works such as TransRoadNet [29], Seg-roadv2 [30] and FSNet [31] have significantly enhanced global dependency modeling and road-focused attention. However, a persistent challenge in these high-performance architectures is the prohibitive computational cost, which often hinders their deployment on resource-constrained platforms [32]. Even with recent efforts in compact backbones [9,10,11], achieving a balance between segmentation accuracy and model efficiency remains difficult.
2.2. Topology/Connectivity-Aware Road Learning
Roads are typically consumed as a connected network, making topology preservation central to practical usability. This demand has driven the development of topology-aware road segmentation, with existing research generally following two main directions to improve connectivity.
The first path focuses on embedding geometric constraints directly into network architectures [33,34,35]. By leveraging structural priors, these methods guide the model to learn topological features inherently during the encoding or decoding stages. While effective, such architectural modifications often introduce intricate modules or multi-stage refinement modules, which significantly increases both parameter count and inference latency, making them less suitable for resource-constrained environments. The second path involves the design of specialized loss functions to enforce connectivity. Standard road segmentation methods largely rely on pixel-level supervision—such as cross-entropy or its variants like focal loss [36] and dice loss [37]. Since road segmentation is commonly formulated as a pixel-wise classification task, these methods emphasize local semantic consistency but often neglect the inherent geometric continuity of road networks. To bridge this gap, topological losses have been developed to explicitly penalize structural disconnections. However, many existing topological losses [38,39,40] rely on intensive pre-processing, such as iterative skeletonization, thinning, or graph-theoretic modeling. These operations are computationally expensive and difficult to parallelize, posing a critical bottleneck for real-time deployment.
2.3. Contrastive Learning and Test-Time Adaptation
Cross-region deployment in remote sensing remains a significant challenge due to the distribution shifts in imagery across diverse geographic landscapes. This challenge has motivated the development of robust representation learning and lightweight adaptation strategies. To enhance feature discriminability and robustness, contrastive learning (CL) has attracted increasing attention, evolving from general representation learning frameworks [41] to pixel-level segmentation contrast [42] and remote-sensing-specific variants [43,44,45]. However, most contrastive schemes emphasize semantic separability and do not explicitly model the topological continuity required for road networks. Therefore, adapting contrastive learning to capture topology-aware features—especially under lightweight constraints—remains an open research direction. Concurrently, for practical deployment in unlabeled target domains, Batch Normalization (BN) statistics-based adaptation offers a streamlined test-time mechanism [46] to mitigate domain discrepancy without additional training costs. Nevertheless, most existing schemes are evaluated on individual image patches, often overlooking the spatial consistency and inference stability required for large-scale remote sensing scenes. Transitioning from patch-based adaptation to stable, scene-level deployment remains a significant hurdle.
In summary, existing literature has significantly advanced road segmentation through robust backbones, Transformer-based architectures, and efficient inference schemes. Yet, these advancements underscore a persistent trade-off among segmentation accuracy, computational efficiency, topological connectivity, and generalization capability. Our work aims to explore a more favorable balance among these competing objectives, achieving accurate road extraction and structural continuity while maintaining the robustness and efficiency required for large-scale deployment.
3. Materials and Methods
In view of the existing problems of road segmentation in remote sensing imagery, we propose LiteRoadSegNet, a lightweight road segmentation network with Semantic–Topological Contrastive Learning on Remote Sensing Imagery. This section introduces the overall framework of the proposed method, including the design of the model architecture, the training scheme, and the adaptive inference strategy.
3.1. Overview
As illustrated in Figure 1, the overall design is guided by a unified objective of learning efficient, structurally consistent, and domain-robust road representations in resource-constrained remote sensing applications. These three aspects are tightly coupled and jointly contribute to robust road segmentation performance.
Figure 1.
Overall Framework of LiteRoadSegNet.
To address the efficiency–accuracy trade-off, we adopt a lightweight hierarchical encoder–decoder architecture as shown in Figure 1A. Specifically, a TinyViT-based encoder is employed to extract multi-scale semantic representations while maintaining low computational cost. This is particularly important for remote sensing imagery, where fine-grained road structures must be captured under limited computational resources.
To enhance structural awareness, we introduce a semantic–topological contrastive learning strategy during training. Unlike conventional pixel-wise supervision, this design explicitly models both semantic discrimination and topological consistency of road networks. As illustrated in Figure 1C, the semantic contrastive branch improves the overall discrimination of road regions by increasing inter-class separability between road and non-road pixels while enforcing intra-class consistency among road pixels. In contrast, the topology-aware branch focuses on learning discriminative representations between skeleton road pixels, non-skeleton road pixels, and background pixels, thereby strengthening the model’s capability to preserve road connectivity and structural integrity.
To further improve cross-domain generalization, an adaptive inference strategy is introduced during testing, as shown in Figure 1D. Specifically, adaptive batch normalization is employed to mitigate feature distribution discrepancies across different regions, while a sliding-window inference scheme enables efficient processing of large-scale remote sensing images. Together, these components enable robust segmentation performance under both intra-domain variations and cross-domain shifts in real-world remote sensing scenarios.
3.2. TinyViT-Based Encoder
To effectively model the unique characteristics of road structures in remote sensing imagery, including their thin, elongated, and topologically continuous nature, while maintaining computational efficiency, we adopt a lightweight hierarchical vision transformer based on TinyViT. Unlike conventional uniform backbone designs, the encoder is explicitly designed to balance local detail preservation and global context modeling, which are both critical for road segmentation. The encoder follows a four-stage hierarchical architecture with progressively varying feature dimensions. Rather than using uniform channel scaling, we design the embedding dimensions as [128, 160, 320, 256] to better align with the multi-level nature of road representation learning. Specifically, the lower embedding dimensions of the first two stages are set to [128, 160] to enhance the encoder’s shallow feature representation and better capture local details and road edges. The higher dimension of the middle stage is set to 320 to enhance semantic features, enabling the model to maintain road continuity and overall topology. The final stage moderately controls the dimension to 256, reducing computational overhead while providing global semantic information and facilitating multi-scale feature fusion. This non-monotonic design reflects a trade-off between representational capacity and efficiency tailored for road-centric segmentation. The detailed configuration of the encoder is as follows:
- Stage 1 (MBConv Block): This stage employs a pure convolutional design, consisting of two consecutive lightweight MBConv blocks [47], which provide strong locality inductive bias for edge and texture modeling in high-resolution remote sensing images. Each MBConv block has an expansion ratio of 4, first applying a 1 × 1 pointwise convolution to expand the channel dimension and enhance feature representation, followed by a 3 × 3 depthwise convolution to efficiently extract local spatial features, and finally a 1 × 1 projection convolution to reduce the channel dimension to 128. A residual connection is incorporated to facilitate gradient flow, and DropPath (random depth) is applied for regularization and improved training stability. This stage focuses on capturing low-level spatial details while maintaining low computational cost for subsequent Transformer-based stages.
- Stages 2–4 (TinyViT Blocks): The subsequent three stages are built upon TinyViT blocks, which integrate window-based self-attention for local–global context modeling and depthwise convolution for spatial detail enhancement. This hybrid design enables the network to simultaneously capture structural continuity and fine-grained geometric details of road networks. As shown in Figure 1B, each TinyViT block consists of window-based multi-head self-attention, depthwise convolution, and a standard MLP, combined with residual connections and DropPath regularization to improve training stability and generalization. The number of blocks and attention heads is configured to progressively increase model capacity in deeper stages, enabling effective multi-scale representation learning. Specifically, the number of TinyViT blocks is 2, 6, and 2, respectively; the corresponding number of attention heads is set to 4, 5, and 10; and the window size is set to 7, 14, and 7.
To enable dense pixel-level prediction, the token sequences from each stage are further reshaped into 2D spatial feature maps, preserving essential spatial correspondences. The resulting multi-scale feature maps serve as the encoder output and seamlessly integrate with the LinkNet decoder. By leveraging hierarchical feature representations and progressive feature fusion, the model achieves enhanced performance on road segmentation tasks in remote sensing imagery.
3.3. LinkNet-Style Decoder
To reconstruct high-resolution road segmentation maps from multi-scale encoder features, we adopt a LinkNet-style decoder, which is particularly suitable for road segmentation due to its ability to progressively recover spatial details while effectively integrating multi-scale semantic information. As shown in Figure 1A, the decoder consists of four cascaded stages, each designed to gradually restore spatial resolution in a hierarchical manner. Each stage employs a residual-style DecoderBlock to balance feature refinement and gradient stability. Specifically, each DecoderBlock operates by (i) compressing channel dimensions via 1 × 1 convolutions, followed by (ii) spatial upsampling using 3 × 3 transposed convolutions, and (iii) channel remapping through additional 1 × 1 convolutions. All convolutional operations are integrated with batch normalization and ReLU activation functions, enabling gradual spatial resolution recovery while preserving high-level semantic representations. To enhance multi-scale feature fusion, skip connections are introduced between corresponding encoder and decoder stages. Instead of direct feature concatenation, encoder features are aligned with decoder representations and fused through element-wise addition, which effectively combines low-level spatial details with high-level semantic context, thereby improving boundary accuracy and structural continuity.
Following the final decoding stage, a lightweight Final Prediction Block is introduced to recover the decoder output to the original input image resolution. This module first applies an upsampling operation using a 3 × 3 transposed convolution with a stride of 2, followed by feature refinement through a 3 × 3 convolution and a ReLU activation. Finally, a 2 × 2 transposed convolution with a stride of 2 is employed to restore the output to the original spatial resolution. This design enhances feature clarity and consistency while fully recovering spatial details, resulting in accurate single-channel road segmentation predictions.
3.4. Semantic–Topological Pixel-Wise Contrastive Learning
Pixel-level contrastive learning has been shown to enhance feature discriminability in dense prediction tasks. However, existing pixel-wise contrastive learning methods primarily focus on semantic discrimination and neglect the structural continuity constraints inherent in road networks, which often leads to fragmented representations in complex remote sensing scenes. In this work, it is introduced into the road segmentation problem to exploit its ability to improve intra-class consistency and inter-class separability. This property enables more accurate discrimination between road and non-road pixels while maintaining the structural continuity and topological integrity of road networks in remote sensing imagery. Specifically, a semantic–topological dual-branch pixel-level contrastive loss is proposed, consisting of two complementary components: a semantic contrast branch and a topological contrast branch. These two branches jointly optimize pixel-level embeddings, thereby promoting more effective structural perception by simultaneously reinforcing semantic coherence and topological connectivity. The detailed design of each branch and the formulation of the overall loss function are presented in the following section.
3.4.1. Semantic Contrastive Branch
The semantic contrastive branch aims to enhance the separability of road and background in feature space. This branch calculates the similarity between road and background pixels within the feature space. It enforces intra-class compactness among road pixels while preserving inter-class separability from background regions, thereby improving semantic discrimination capabilities.
Let be a normalized feature map extracted by the encoder, where C denotes the number of channels and denotes the spatial resolution. This feature map encodes semantic information but does not directly indicate class labels. To guide the contrastive sampling, we leverage a binary road mask , where pixels labeled as 1 indicate ground-truth road pixels and those labeled as 0 correspond to the background. The mask is used solely to determine the semantic category of each spatial location, allowing the construction of positive and negative pairs on the feature map . The sampling and pairing procedure is as follows:
- Anchor Sampling: We randomly sample a fixed number (N) of spatial locations from road regions where to form anchor features .
- Positive Sampling: For each anchor feature , the positive sample is drawn from the same road region to ensure semantic consistency. Specifically, all anchor features are sampled from road pixels. To efficiently implement random pairing within this set, we use a circular permutation of the anchor features, i.e., . This set-based positive sampling strategy enforces intra-class feature compactness while introducing diversity, without imposing additional spatial constraints.
- Negative Sampling: Negative samples are randomly sampled from background regions where .
To optimize the semantic discrimination ability, the loss function of this branch adopts the commonly used InfoNCE [41], which is calculated as follows:
where denotes the feature vector of the i-th anchor sampled from road regions, is the corresponding positive feature obtained by circularly permuting the anchor set, represents the j-th negative feature sampled from background regions, N is the number of anchors, M is the number of negative samples, and is the temperature hyperparameter.
3.4.2. Topology-Aware Contrastive Branch
Unlike conventional pixel-wise contrastive learning methods that primarily focus on semantic discrimination, the proposed topology-aware contrastive branch explicitly introduces structural awareness by modeling road topology at the skeleton level. This design is motivated by the observation that road segmentation errors in remote sensing imagery are often caused not only by semantic ambiguity, but also by structural discontinuities such as broken connectivity, missing centerlines, and fragmented road segments.
To address these issues, the topology-aware contrastive branch is designed to strengthen the model’s ability to capture road structural connectivity, geometric configuration, and topological consistency, thereby enhancing road segmentation performance in challenging scenarios, including fragmented road segments, fractured structures, and complex background interference in remote sensing imagery. Building upon the semantic contrastive branch, contrastive sample pairs are constructed in the feature space with a shift from category-level discrimination to structure-aware representation learning. Specifically, while the semantic branch focuses on distinguishing road versus non-road pixels, the topology branch further distinguishes structurally critical regions (skeleton) from non-critical road regions and background, enabling explicit modeling of geometric continuity. A hard negative mining strategy is further introduced to improve topological discriminability. Instead of randomly sampling negatives, we select challenging samples from pixels that share similar semantic labels but differ in structural roles. This encourages the model to learn representations that are sensitive to road geometry rather than relying solely on appearance cues, thereby improving global connectivity in segmentation outputs.
Let the binary road mask be denoted as , where pixels labeled as 1 indicate ground-truth road pixels and those labeled as 0 correspond to the background. We apply morphological thinning to extract the road skeleton, resulting in a skeleton mask , which captures the central axes of road structures. The feature map is represented as . As shown in Figure 2, the implementation involves the following steps:
Figure 2.
The structure of Topology-aware Contrastive Branch. The orange dots are road pixel sampling points, the light blue dots are non-road pixel sampling points, and the blue dots are non-skeleton road pixel sampling points. The color intensity in the feature map represents the probability of each pixel being a road, with darker colors indicating higher probabilities.
- Anchor Sampling: We randomly sample N pixels from the skeleton region () to serve as anchor features . These anchors are located at the centerlines of roads and represent topologically critical structural points.
- Positive Sampling: For each anchor , the corresponding positive sample is obtained using the same cyclic shift, enforcing intra-class similarity while introducing diversity.
- Negative Sampling: To enhance the hardness of negative samples in contrastive learning, we construct the negative set by sampling from two types of pixels:
- -
- Non-skeleton road pixels: pixels where and . These belong to the road class but lie on the edges or non-central regions, providing hard negatives due to semantic similarity yet topological distinction.
- -
- Background pixels: pixels where , which are both semantically and topologically unrelated to the anchors, serving as standard negatives.
From the combined set of non-skeleton road and background pixels, we randomly sample K negatives to form contrastive pairs with the anchors, enabling the computation of the topology-aware contrastive loss.
The topology-guided mechanism enhances the model’s ability to capture fine-grained structural distinctions between connected core regions and non-structural areas. This design leads to more coherent and topology-preserving segmentation results, particularly in complex road scenarios. The topological contrastive loss is also formulated using the InfoNCE, defined as:
where and denote the i-th anchor and its positive sample, represents the j-th hard negative sampled from non-skeleton road and background pixels, is the temperature parameter, K is the number of selected hard negatives per anchor, and N is the total number of anchors.
3.4.3. Combined Loss Function
The overall pixel-wise contrastive loss for a batch is defined as:
where is the InfoNCE loss from the semantic contrastive branch; is the loss from the topological contrastive branch; and controls the contribution of the topological contrastive loss and is determined through validation-based sensitivity analysis.
By jointly optimizing the two branches, the contrastive learning loss can simultaneously improve intra-class consistency and structural distinguishability, thereby achieving better road coherence performance in the road segmentation results.
3.4.4. Total Loss Formulation
The final loss function incorporates the semantic and topological contrastive branches as auxiliary regularization terms, jointly optimized with the main segmentation loss.
The main segmentation loss is composed of the binary cross-entropy (BCE) loss and the Dice coefficient loss, computed as follows:
where balances the BCE loss and Dice loss, and is determined through validation-based sensitivity analysis.
The final training loss combines the main segmentation objective with the two auxiliary contrastive losses:
where denotes the primary segmentation loss, is the proposed semantic–topological pixel-wise contrastive loss, and is a hyperparameter that balances the two objectives. The value of was determined through validation-based sensitivity experiments and fixed across all experiments. The detailed implementation is outlined in Algorithm 1.
| Algorithm 1 Computation of Semantic–Topological Pixel Contrastive Loss |
|
3.5. Domain-Adaptive Batch Normalization for Inference
To improve the robustness of the proposed model under cross-domain distribution shifts in remote sensing imagery, we introduce a test-time adaptation strategy that combines Adaptive Batch Normalization (AdaBN) with a sliding-window inference scheme for large-scale scene processing. This design enables the model to adapt to target-domain statistics without requiring additional fine-tuning or labeled data. As shown in Algorithm 2, the inference process is conducted in four distinct steps:
- Image Partitioning: To handle high-resolution remote sensing images and alleviate GPU memory constraints, each input image is partitioned into overlapping patches using a sliding-window strategy. The overlap is designed to preserve spatial continuity and reduce boundary artifacts in the final prediction.
- Statistic Re-calibration (AdaBN): The model is set to training mode for a preliminary forward pass, allowing the BN layers to re-estimate their running mean and variance using unlabeled target-domain data. Each patch is processed during this stage. This process effectively aligns the feature distribution of the model with the specific characteristics of the new region, enabling robust segmentation performance even under domain shifts.
- Overlapping Patch Inference: Once the BN statistics are stabilized, the model switches to evaluation mode. Inference is performed patch-by-patch across the entire scene. To ensure spatial consistency, the predicted probabilities from the overlapping regions are averaged and fused to generate a probability map for the complete image.
- Binarization and Mask Generation: A fixed threshold is applied to the fused map to produce the final topologically consistent binary segmentation mask.
This test-time adaptation strategy effectively performs unsupervised domain adaptation by leveraging batch normalization statistics recalibration on unlabeled target data. It enhances the model’s robustness under domain shifts while maintaining computational efficiency, as no parameter updates or additional training procedures are required.
| Algorithm 2 Domain-Adaptive Batch Normalization (AdaBN) Inference for Road Segmentation |
|
4. Experiments
The experimental evaluation is organized into six main parts. Section 4.1 introduces the experimental data and preprocessing procedures. Section 4.2 describes the evaluation metrics. Section 4.3 provides additional experimental details, including configuration and setup. Section 4.4 analyzes the model’s computational cost and inference efficiency through comparison experiments. Section 4.5 evaluates segmentation performance and cross-region generalization through supervised evaluation on the DeepGlobe test set and adaptive inference experiments. Section 4.6 presents a series of ablation studies to validate the effectiveness of the proposed loss function and the adaptive inference strategy, as well as to explore the relatively optimal settings of key hyperparameters.
4.1. Datasets and Pre-Processing
4.1.1. DeepGlobe—Main Training & Test Set
We adopt the publicly available DeepGlobe road extraction dataset as the primary benchmark for model training and evaluation. This dataset was released for the CVPR 2018 DeepGlobe Road Extraction Challenge, and consists of high-resolution satellite imagery from Thailand, Indonesia, and India, covering urban, suburban, and rural regions. Since only the training subset provides both satellite images and pixel-level annotations, we exclusively use the training portion. After processing, the dataset contains a total of 8834 training images, 553 validation images, and 553 test images.
The dataset was preprocessed as follows:
- Cropping: All images were cropped into non-overlapping patches.
- Filtering: Samples with a foreground road–pixel ratio lower than 3% were discarded.
- Splitting: The resulting dataset was divided into training, validation, and test sets in an 8:1:1 ratio.
- Augmentation: The top 20% training images (ranked by road pixel proportion) were augmented using five common strategies, including flipping, rotation, brightness adjustment, noise addition, and affine transformations.
4.1.2. Google Satellite—Generalization Validation Set
To assess the generalization of our model and the effectiveness of the adaptive inference algorithm in real-world remote sensing scenarios, we collect additional test sets from three cities: Changsha (China), Rome (Italy), and Los Angeles (USA). For each region, a single large-scale high-resolution satellite image was obtained from the Google Satellite platform via SAS Planet and used exclusively for academic research purposes. Detailed statistics are provided in Table 1. The regions span Asia, Europe, and North America, exhibiting distinct urban morphologies and road network structures: Changsha contains diverse road categories with complex layouts, Rome features dense historical streets with narrow and intertwined roads, and Los Angeles presents a modern grid-like road network. Road annotations were manually annotated by the authors following the labeling protocol of the DeepGlobe dataset. The annotations consist of pixel-level binary masks, where roads are labeled as foreground and non-road areas as background. During annotation, structural connectivity and approximate road widths were carefully preserved, approximate road widths were maintained, and the same conventions were applied for small or ambiguous segments as in the training dataset. All imagery was used strictly for academic research, in compliance with the terms of service of Google Maps 3.65 and Google Earth 7.3.7, and no raw imagery was redistributed. This geographically and structurally diverse dataset enables robust evaluation of the proposed method’s adaptability and transferability across continents and urban forms.
Table 1.
External test datasets from three cities.
4.2. Evaluation Metrics
To comprehensively evaluate the performance of our proposed method, we adopt the following three categories of metrics:
- Model Efficiency: To assess the lightweight property of the model, three aspects are considered: computational complexity, runtime efficiency, and deployment efficiency. Specifically, GFLOPs and the number of parameters are used to measure computational complexity and model size, respectively. FPS during inference is adopted to evaluate runtime efficiency under standardized settings. In addition, inference latency on CPU and GPU is reported to assess practical deployment efficiency under resource-constrained hardware environments.
- Segmentation Accuracy: For quantitative evaluation of road segmentation performance, we employ Precision, Recall, Dice Coefficient, and Intersection over Union (IoU). Here, , , and denote the number of true positive pixels (correctly predicted as road), false positive pixels (incorrectly predicted as road), and false negative pixels (road pixels missed by prediction), respectively. The metrics are defined as:where TP, FP, and FN denote the numbers of correctly predicted road pixels, incorrectly predicted road pixels, and missed road pixels, respectively.
- Topological Connectivity: We further adopt the Average Path Length Similarity (APLS), which reflects the structural connectivity of predicted road networks and is particularly suitable for remote sensing applications. Formally, APLS is defined as:where P denotes the set of all valid node pairs, is the shortest path length between nodes s and t in the ground-truth graph, and is the corresponding shortest path length in the predicted graph. A higher APLS indicates better structural connectivity preservation.
4.3. Implementation Details
4.3.1. Experimental Configuration
To comprehensively evaluate both the training efficiency and cross-platform deployability of LiteRoadSegNet, the experimental environment was organized into a high-performance training workstation and a multi-tier inference testing suite, as detailed below.
- Primary Workstation (Training and Benchmarking): Model training and primary performance evaluation were conducted on a workstation equipped with an Intel Core i9-13900K CPU and an NVIDIA GeForce RTX 4080 GPU with 16 GB of video memory. This configuration provides a high-throughput computational environment suitable for extensive ablation experiments and benchmark comparisons.
- Resource-Constrained Platforms (Deployability Verification): To further examine the lightweight efficiency and practical deployability of LiteRoadSegNet, inference performance was evaluated on hardware with substantially limited computational resources, including an Intel Core i5 CPU (11th generation) and an entry-level mobile GPU, the NVIDIA GeForce MX 230, with 2 GB of video memory.
- Software Environment: All experiments were implemented using the PyTorch 2.0.0 framework with CUDA 11.8 support on the Ubuntu 22.04 LTS operating system. Code development and experiment management were carried out using the PyCharm community version 2024.1 integrated development environment.
4.3.2. Experimental Setup
During training, our model updates only the parameters of the image encoder and decoder, while all other modules remain frozen. The image encoder is initialized with pre-trained weights from TinySAM, which employs the TinyViT architecture and has demonstrated strong performance on semantic segmentation tasks. To enhance model generalization, four data augmentation strategies are applied: random horizontal flipping, brightness adjustment, contrast adjustment, and affine transformations.
The model is trained with a batch size of 4 using the AdamW optimizer, with an initial learning rate of , and the learning rate is adjusted using a cosine annealing schedule. Early stopping is employed with a patience of 20 epochs to prevent overfitting. The total loss function combines the main segmentation loss (BCE + Dice) with the semantic–topological pixel-level contrastive loss, where the contrastive loss weight is set to 0.1. For the proposed topology-aware pixel-level contrastive learning, the contrastive loss parameters are set as follows: 256 anchor points, which empirically provide a favorable balance between representation diversity and training stability; Top-k = 32, corresponding to retaining a small fraction of the hardest negatives from the sampled candidates for hard negative mining; and a temperature coefficient of 0.1, following common practice in contrastive learning.
Furthermore, the Dice coefficient and Intersection over Union (IoU) are used as evaluation metrics during training to monitor model convergence and performance improvement. These metrics also guide the early stopping strategy and aid in selecting the optimal model weights, ensuring that the model maintains high segmentation accuracy while effectively avoiding overfitting.
4.4. Computational Performance Comparison
To ensure a fair comparison, we evaluated against a wide range of representative semantic segmentation models, including classic encoder–decoder architectures (UNet [21], LinkNet 18/34/50 [22], and DeepLabv3 [24]), traditional road segmentation methods (DLinknet34 [25]), recent high-capacity models (SAM_MLoRA [48], SegRoadv2 [30]), and lightweight networks specifically designed for efficient inference (Pp-liteseg [9], Pidnet [10], and Dsnet [11]). Except for SAM_MLoRA, which was evaluated using its official pretrained weights, all models were retrained within a unified experimental setting on the DeepGlobe dataset to ensure comparability and consistency.
Table 2 reports the computational complexity, runtime efficiency, and segmentation accuracy of all methods on the DeepGlobe test set. Classical architectures generally fail to achieve an effective balance between segmentation accuracy and computational efficiency. Although DLinkNet34 improves IoU to 67.00%, it still incurs relatively high computational complexity (59.93 GFLOPs), a large number of parameters (31.10 M), and limited inference speed (140.58 FPS). Advanced models such as SAM_MLoRA achieve strong segmentation performance but introduce substantially higher computational cost, making them less suitable for deployment on resource-constrained platforms. Lightweight models, while efficient in terms of parameters and GFLOPs, often exhibit notable accuracy degradation, limiting their practical utility for reliable road extraction.
Table 2.
Computational complexity and runtime efficiency comparison of different models.
In contrast, LiteRoadSegNet achieves a more favorable balance between segmentation accuracy and computational efficiency, attaining an IoU of 70.89% with only 26.38 GFLOPs and 6.33 M parameters, while maintaining competitive inference speed (147.39 FPS). To further analyze the overall trade-off between segmentation accuracy and computational efficiency, we conducted a Pareto frontier analysis [49] using IoU as the performance metric as well as GFLOPs and parameter count as efficiency indicators. As shown in Figure 3, LiteRoadSegNet is positioned on the Pareto frontier and remains non-dominated across accuracy and computational cost, confirming its effectiveness as a balanced solution for road segmentation.
Figure 3.
Pareto frontier analysis of segmentation accuracy versus computational budget.
Beyond the above computational metrics, we further evaluate the practical deployment efficiency of lightweight models under realistic hardware constraints. Inference experiments were conducted on a resource-constrained platform using full-resolution inputs (768 × 768) and a batch size of 1, which reflects typical operational settings in real-world geospatial applications. CPU and GPU inference latency were measured as the average end-to-end forward-pass time per image over 50 runs following five warm-up iterations.
As summarized in Table 3, LiteRoadSegNet achieves the highest IoU among all lightweight models while maintaining stable inference performance on both CPU and entry-level GPU hardware. Notably, the segmentation accuracy obtained on the resource-constrained platform remains consistent with that achieved on a high-end RTX 4080 GPU, indicating strong numerical stability and stable inference behavior across different hardware platforms. Although some lightweight models exhibit lower latency, they suffer from substantial accuracy degradation, which limits their applicability for reliable road extraction. These results demonstrate that LiteRoadSegNet offers a favorable balance between segmentation accuracy and deployment efficiency, enabling dependable deployment under practical resource constraints.
Table 3.
Inference latency and segmentation accuracy of lightweight models on resource-constrained platforms.
4.5. Performance Comparison
4.5.1. Supervised Performance on the DeepGlobe Dataset
Quantitative performance comparisons on the DeepGlobe test set are presented in Table 4. Traditional baselines generally achieve high recall but are limited in terms of Precision, DICE, and IoU, often resulting in fragmented predictions or excessive road extraction. Lightweight models exhibit further degradation across most segmentation metrics. In contrast, LiteRoadSegNet achieves a balanced and robust performance, ranking second in IoU (70.89%) among all compared methods. Beyond conventional segmentation metrics, further analysis reveals differences in topological preservation among the compared methods. While LinkNet variants exhibit higher APLS scores, their significantly lower Precision suggests that their relatively high connectivity scores may be partially influenced by over-segmentation. In such cases, redundant pixel predictions can create artificial connections between disconnected road segments, leading to an inflated representation of network continuity. LiteRoadSegNet, however, maintains a competitive APLS (62.27%) alongside high Precision (80.10%), indicating that its preservation of road continuity is derived from precise alignment with the actual road backbone rather than excessive pixel coverage. This balance allows our model to effectively suppress false topological links while ensuring strong network connectivity.
Table 4.
Results on DeepGlobe Dataset.
Furthermore, compared to state-of-the-art heavy-weight models, LiteRoadSegNet demonstrates superior efficiency. Although SAM_MLoRA slightly outperforms LiteRoadSegNet in IoU (70.89% vs. 71.99%), it does so at the cost of significantly higher computational complexity. These results indicate that LiteRoadSegNet achieves segmentation performance comparable to advanced models while maintaining a substantially lower computational footprint, making it more suitable for operational road extraction tasks.
Visual comparisons in Figure 4 further illustrate the structural advantages of LiteRoadSegNet. For rural road scenarios (first row), which are characterized by slender paths and vegetation occlusion, many baseline models tend to produce fragmented predictions. In contrast, the proposed method exhibits improved continuity and appears more effective in recovering road segments in moderately occluded areas. In the scenes presented in the second row, where roads show high spectral similarity to the surrounding bare land, LiteRoadSegNet shows stronger discriminative capability, effectively reducing false detections while maintaining relatively precise road boundaries. In complex urban environments (rows 3–5), where building shadows and tree canopies often interfere with road features, LiteRoadSegNet maintains structural integrity comparable to the state-of-the-art SAM_MLoRA. Notably, in the region highlighted by the red box in the fifth row, where the road is heavily obscured, our model demonstrates a more robust recovery of the road morphology compared to other models. Overall, these visual results suggest that LiteRoadSegNet effectively balances local detail preservation and global road connectivity across diverse scenes.
Figure 4.
Visualized results of our model and other deep learning models on the DeepGlobe dataset. The red box highlights areas where our model is superior to others.
4.5.2. Cross-Region Generalization Performance
To evaluate cross-region generalization, we assessed model performance on three geographically and structurally diverse regions: Changsha, Roma, and Los Angeles. For fair comparison, models containing batch normalization layers employed the AdaBN strategy to adapt normalization statistics using unlabeled target-domain data while keeping all other parameters fixed.
As reported in Table 5, LiteRoadSegNet achieves leading or competitive performance across all regions. In Changsha, which contains numerous rural and semi-paved roads with complex layouts, the proposed model outperforms other methods in both DICE (74.48%) and IoU (60.14%), while maintaining a strong balance between precision and recall. In Rome, characterized by dense historical streets and narrow road structures, LiteRoadSegNet achieves competitive results across all metrics, demonstrating its ability to handle fine-grained urban patterns. In Los Angeles, which features large-scale highways and diverse urban layouts, LiteRoadSegNet significantly outperforms all compared methods in DICE (80.17%) and IoU (67.25%), highlighting its strong adaptability across different road scales.
Table 5.
Performance comparison of different models across three regions.
Figure 5 presents representative qualitative results from three distinct regions, encompassing a wide range of road types, including ring roads, curved rural roads, narrow alleyways, densely built urban roads, and complex modern road networks. Compared with other methods, the proposed model yields more complete and spatially coherent road segmentation results across heterogeneous geographic environments. These observations indicate strong adaptability and superior generalization performance across diverse scenes and spatial contexts.
Figure 5.
Visualized results of our model and other deep learning models on the cross-region datasets. The red box highlights areas where our model is superior to others.
To further examine regional performance variations, the overall segmentation errors across the three regions are visualized using error maps. Beyond overall metrics, a connectivity-oriented analysis was conducted by examining spatial error distribution patterns at critical road structures. Specifically, error maps were generated based on the differences between ground-truth labels and predicted segmentation results, and comparative analyses were conducted against the relatively well-performing lightweight model Dsnet and the advanced model SAM_MLoRA. As shown in Figure 6, Dsnet exhibits pronounced error aggregation along narrow roads, intersection areas, and regions subject to strong background interference. From a geographic perspective, these clusters of errors correspond to secondary road branches and critical network junctions, where the preservation of topological connectivity is essential for maintaining the reachability of the road network skeleton. In contrast, the proposed model substantially reduces both omission and commission errors in these areas, resulting in more continuous and structurally coherent road extraction.
Figure 6.
Large-scale road mappings in Generalization Validation Set.
When compared with SAM_MLoRA, the proposed model demonstrates slightly inferior performance in highly complex road scenarios, such as multi-lane highways, overpasses, and dense intersections, which require fine-grained boundary delineation and precise intersection reconstruction. However, the proposed approach consistently outperforms SAM_MLoRA in preserving connectivity in weakly structured roads, which are topologically critical for practical routing applications. As highlighted in the magnified red-box region in Figure 6c, roads extracted by the proposed model exhibit superior connectivity among small branches and curved segments, effectively preserving the structural integrity of the road graph compared to the fragmented results generated by SAM_MLoRA. Overall, these results suggest that, despite certain limitations in highly complex transportation infrastructures, the proposed model offers clear advantages in maintaining topologically critical road components.
4.6. Ablation Experiments
4.6.1. Effectiveness of the Semantic–Topological Contrastive Loss
To validate the effectiveness of the proposed semantic–topological pixel-level contrastive loss, we conduct ablation experiments based on a baseline segmentation loss (DICE + BCE) and progressively introduce different contrastive components. As reported in Table 6, the model performance consistently improves with the progressive introduction of different contrastive loss components. The complete model incorporating the semantic–topological pixel-level joint contrastive loss achieves the best results across all evaluation metrics, highlighting the strong complementarity between semantic and topological constraints for road extraction.
Table 6.
Ablation Study on Contrastive Loss Design.
Introducing the topological contrastive loss alone leads to only marginal improvements in overlap-based metrics but yields a notable gain in APLS, indicating enhanced road network connectivity. Incorporating the semantic pixel-level contrastive loss substantially improves precision, Dice, IoU, and APLS, demonstrating its effectiveness in strengthening road–background discrimination and intra-class feature consistency. When both semantic and topological contrastive losses are jointly applied, the model achieves optimal performance across all metrics, with IoU and APLS improving by 2.98% and 1.84%, respectively, compared with the segmentation-only baseline. These results confirm the complementary roles of semantic and topological constraints in enhancing both region accuracy and structural coherence.
4.6.2. Hyperparameter Sensitivity Analysis
A sensitivity analysis was conducted to assess the impact of key hyperparameters on model performance, including the weighting factor for balancing the BCE and Dice losses, the weight of the contrastive loss in the overall loss function , the weight of the topological term , and the number of sampled anchor–positive pairs.
As shown in Table 7, the selected parameter configuration provides a balanced trade-off among segmentation accuracy, structural preservation, and training stability, thereby validating the robustness of the adopted parameter settings. For , values of 0.5, 0.7, 0.8, and 0.9 were evaluated. Although a weight of 0.9 resulted in slightly lower APLS performance relative to some other settings, it achieved substantially higher precision, DICE, and IoU scores. Accordingly, 0.9 was selected as the optimal value. For , values of 0.05, 0.1, and 0.2 were examined. While a weight of 0.05 achieved marginally higher APLS, it resulted in reductions of 4%, 5.45%, and 6.89% in precision, Dice, and IoU, respectively, compared with the 0.1 setting. In addition, performance at a weight of 0.2 was consistently inferior to that at 0.1 across all evaluated metrics. Consequently, a contrastive loss weight of 0.1 was adopted. With respect to , values of 0.5, 1.0, and 1.5 were explored, with the best overall performance observed at a weight of 1.0. Finally, the number of anchor–positive pairs sampled for pixel-level contrastive learning, which directly affects contrastive stability and computational efficiency, was assessed. The results indicate that sampling 256 pairs provides the most effective trade-off between representational diversity and computational cost. Overall, the optimal configuration is obtained by setting the DICE loss weight, contrastive loss weight, topological term weight, and anchor-positive pair number to 0.9, 0.1, 1.0, and 256, respectively, under which the proposed method achieves the best comprehensive performance across multiple evaluation metrics.
Table 7.
Sensitivity analysis of loss weights and sampling size on the DeepGlobe validation set.
4.6.3. Impact of AdaBN on Cross-Region Inference
Table 8 compares model performance with and without the AdaBN inference strategy across the three regions. In Changsha, although the application of AdaBN leads to a slight decrease of 0.35% in the APLS, it yields substantial improvements in precision, DICE, and IoU by 2.97%, 1.08%, and 1.31%, respectively. These results indicate that the strategy effectively enhances model adaptability in regions characterized by complex and heterogeneous road structures. In Rome, the application of AdaBN increases precision from 72.78% to 75.37%, while DICE and IoU remain nearly unchanged. However, APLS decreases by 1.36%, suggesting that the strategy provides limited benefits in densely built environments dominated by narrow street networks. In Los Angeles, AdaBN improves performance across all evaluated metrics, with a notable increase of 0.79% in APLS, demonstrating its effectiveness in adapting to modern and structurally complex road networks. Overall, these findings indicate that the AdaBN inference strategy significantly enhances the cross-region generalization capability of the proposed model.
Table 8.
Comparison of model performance with/without AdaBN across cities.
5. Discussion
The experimental results and ablation studies validate that LiteRoadSegNet achieves a superior balance between architectural compactness and segmentation performance. To better understand the internal logic of this balance, this section further explores the structural trade-offs of the decoder, the model’s practical deployability, and its current limitations in complex scenarios.
5.1. Aggressive Lightweight Decoder Exploration
To investigate the efficiency–accuracy trade-offs of the decoder, we conducted four aggressive modifications on the LinkNet-style decoder. DecoderV1 removes the shallowest decoder layer (decoder1) to reduce computation with minimal feature refinement. DecoderV2 reduces the intermediate channel width in all decoder blocks from one-fourth to one-eighth of the input channels, lowering GFLOPs and parameters. DecoderV3 adds an extra 3 × 3 convolution within each decoder block to increase representational capacity at the cost of higher computational overhead. DecoderV4 increases the intermediate channel width from one-fourth to one-half of the input channels to enhance feature propagation, further increasing parameters and computation. These modifications provide a systematic exploration of the trade-offs between model complexity, segmentation accuracy, and topological preservation. As shown in Table 9, among all variants, the current decoder configuration (Ours) achieves the best balance, maintaining high performance while keeping computational cost moderate.
Table 9.
Aggressive Lightweight Decoder Exploration.
5.2. Practical Deployment on Resource-Constrained Hardware
The aforementioned architectural balance directly contributes to efficient deployment on resource-constrained hardware. The primary advantage of LiteRoadSegNet lies in its effective balance between architectural compactness and segmentation accuracy, rendering it well suited for real-time geospatial intelligence applications. While high-capacity models such as SAM_MLORA achieve competitive IoU performance, their substantial computational demands severely limit applicability on edge and resource-constrained platforms. In contrast, LiteRoadSegNet reduces computational complexity to 26.38 GFLOPs with only 6.33 M parameters, achieving an approximate 91.7% reduction in computational cost relative to SAM-based variants while incurring only a marginal decrease in IoU.
Practical deployability is further confirmed through inference evaluations on entry-level hardware equipped with limited memory resources, representative of non-server computing environments commonly encountered in geospatial workflows. LiteRoadSegNet successfully performs full-resolution inference without memory overflow and demonstrates stable performance on both CPU and mobile GPU hardware. Combined with the region-adaptive batch normalization strategy, the proposed framework offers a scalable and reliable solution for operational road segmentation in real-world geospatial applications.
5.3. Limitations
Despite the favorable balance between prediction accuracy, topological preservation, and computational efficiency, certain limitations remain. Local connectivity disruptions are still observed in dense intersections or heavily occluded areas, indicating that modeling complex topological structures remains challenging. Future work could integrate graph-based modeling or additional topological constraints to further enhance structural continuity. Moreover, although the current design effectively balances accuracy and efficiency under a lightweight configuration, highly efficient inference on large-scale remote sensing images may require further optimization to trade off computational speed and resource consumption.
6. Conclusions
This paper presents LiteRoadSegNet, a lightweight road segmentation framework that integrates a TinyViT-based encoder with a streamlined LinkNet-style decoder. By incorporating a semantic–topological contrastive learning strategy and an adaptive inference mechanism based on Adaptive Batch Normalization (AdaBN), the proposed method achieves a favorable balance among segmentation accuracy, efficiency, and topological integrity while maintaining a compact architecture.
Experimental results demonstrate that LiteRoadSegNet substantially reduces parameters and GFLOPs compared to state-of-the-art models without compromising structural connectivity. Notably, our cross-region evaluations confirm that the adaptive inference strategy significantly enhances generalization capability across diverse geographic scenarios, ensuring stable performance under data distribution shifts. Such efficiency and adaptability make LiteRoadSegNet particularly suitable for real-time geospatial tasks on edge devices, such as autonomous navigation and emergency mapping.
Future work will focus on incorporating more advanced topology-aware regularization and deployment optimization strategies to facilitate efficient large-scale road mapping.
Author Contributions
Conceptualization, Y.W.; methodology, T.W., Y.P. and J.Q.; validation, T.W., Y.P. and J.Q.; formal analysis, J.Q.; investigation, T.W., Y.P. and Y.W.; writing—original draft preparation, T.W. and Y.P.; writing—review and editing, T.W., Y.P., J.Q., Y.W. and Y.H.; visualization, Y.P.; supervision, Y.W.; funding acquisition, T.W. and Y.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported in part by the Scientific Research Foundation of Hunan Provincial Education Department under Grant 25A0083, and in part by the National Natural Science Foundation of China under Grant 42271486.
Data Availability Statement
The dataset used and analyzed in this study is available from the following source: http://deepglobe.org/challenge.html (accessed on 12 November 2024).
Acknowledgments
The authors would like to thank editors and anonymous reviewers for their valuable comments on the manuscript.
Conflicts of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
References
- Jiang, F.; Ma, L.; Broyd, T.; Li, J.; Jia, J.; Luo, H. Systematic framework for sustainable urban road alignment planning. Transp. Res. Part Transp. Environ. 2023, 120, 103796. [Google Scholar] [CrossRef] [Scilit]
- Singh, G.; Akrigg, S.; Maio, M.D.; Fontana, V.; Alitappeh, R.J.; Khan, S.; Saha, S.; Jeddisaravi, K.; Yousefi, F.; Culley, J.; et al. ROAD: The Road Event Awareness Dataset for Autonomous Driving. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 1036–1054. [Google Scholar] [CrossRef] [Scilit]
- Kim, J.; Park, S.; Kim, M. Safety map: Disaster management road network for urban resilience. Sustain. Cities Soc. 2023, 96, 104650. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Jin, X.; Dai, Z.; Wu, Y.; Chehri, A. Deep Learning-Based Methods for Road Extraction from Remote Sensing Images: A Vision, Survey, and Future Directions. IEEE Geosci. Remote Sens. Mag. 2025, 13, 55–78. [Google Scholar] [CrossRef] [Scilit]
- Duan, Y.; Yang, D.; Qu, X.; Zhang, L.; Chao, L.; Gan, P.; Yuan, S.; Qin, H.; Qu, J. LCIRE-Net: Lightweight Cross-Modal Information Interaction for Road Feature Extraction From Remote Sensing Images and GPS Trajectory/LiDAR. IEEE Trans. Geosci. Remote Sens. 2025, 63, 2000418. [Google Scholar] [CrossRef] [Scilit]
- Wang, C.; Lu, J.; Chen, Z. BMDCNet: A Satellite Imagery Road Extraction Algorithm Based on Multilevel Road Feature. IEEE Geosci. Remote Sens. Lett. 2024, 21, 6017205. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Yang, L.; Jia, Q.; Xiong, W. RoadFocusNet: Road extraction from remote sensing imagery using focused transformer and focused masked image modeling. Int. J. Digit. Earth 2025, 18, 2549435. [Google Scholar] [CrossRef] [Scilit]
- Wu, K.; Zhang, J.; Peng, H.; Liu, M.; Xiao, B.; Fu, J.; Yuan, L. TinyViT: Fast Pretraining Distillation for Small Vision Transformers. arXiv 2022, arXiv:2207.10666. [Google Scholar]
- Peng, J.; Liu, Y.; Tang, S.; Hao, Y.; Chu, L.; Chen, G.; Wu, Z.; Chen, Z.; Yu, Z.; Du, Y.; et al. PP-LiteSeg: A Superior Real-Time Semantic Segmentation Model. arXiv 2022, arXiv:2204.02681. [Google Scholar]
- Xu, J.; Xiong, Z.; Bhattacharyya, S.P. PIDNet: A Real-Time Semantic Segmentation Network Inspired by PID Controllers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–24 June 2023; pp. 19529–19539. [Google Scholar] [CrossRef] [Scilit]
- Guo, Z.; Bian, L.; Wei, H.; Li, J.; Ni, H.; Huang, X. DSNet: A Novel Way to Use Atrous Convolutions in Semantic Segmentation. IEEE Trans. Circuits Syst. Video Technol. 2025, 35, 3679–3692. [Google Scholar] [CrossRef] [Scilit]
- Mohammadzadeh, A.; Tavakoli, A.; Valadan Zoej, M.J. Road extraction based on fuzzy logic and mathematical morphology from pan-sharpened ikonos images. Photogramm. Rec. 2006, 21, 44–60. [Google Scholar] [CrossRef] [Scilit]
- Sirmacek, B.; Unsalan, C. Road Network Extraction Using Edge Detection and Spatial Voting. In Proceedings of the 2010 20th International Conference on Pattern Recognition, Istanbul, Turkey, 23–26 August 2010; pp. 3113–3116. [Google Scholar] [CrossRef] [Scilit]
- Sghaier, M.O.; Lepage, R. Road Extraction From Very High Resolution Remote Sensing Optical Images Based on Texture Analysis and Beamlet Transform. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2016, 9, 1946–1958. [Google Scholar] [CrossRef] [Scilit]
- Song, M.; Civco, D. Road extraction using SVM and image segmentation. Photogramm. Eng. Remote Sens. 2004, 70, 1365–1371. [Google Scholar] [CrossRef] [Scilit]
- Zhou, J.; Bischof, W.F.; Caelli, T. Road tracking in aerial images based on human–computer interaction and Bayesian filtering. ISPRS J. Photogramm. Remote Sens. 2006, 61, 108–124. [Google Scholar] [CrossRef] [Scilit]
- Kirthika, A.; Mookambiga, A. Automated road network extraction using artificial neural network. In Proceedings of the 2011 International Conference on Recent Trends in Information Technology (ICRTIT), Chennai, India, 3–5 June 2011; pp. 1061–1065. [Google Scholar] [CrossRef] [Scilit]
- Ji, S.; Jiang, K.; Wang, P.; He, M. RE-Net: Road Extraction from Remote Sensing Images with Deep Learning and Geometric Priors. In Proceedings of the 2024 IEEE 19th Conference on Industrial Electronics and Applications (ICIEA), Kristiansand, Norway, 5–8 August 2024; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Lu, X.; Weng, Q. Deep learning-based road extraction from remote sensing imagery: Progress, problems, and perspectives. ISPRS J. Photogramm. Remote Sens. 2025, 228, 122–140. [Google Scholar] [CrossRef] [Scilit]
- Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; pp. 3431–3440. [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); Springer: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar] [CrossRef] [Scilit]
- Chaurasia, A.; Culurciello, E. LinkNet: Exploiting Encoder Representations for Efficient Semantic Segmentation. In Proceedings of the 2017 IEEE Visual Communications and Image Processing (VCIP), St. Petersburg, FL, USA, 10–13 December 2017; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.C.; Papandreou, G.; Kokkinos, I.; Murphy, K.; Yuille, A.L. DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 834–848. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Zhou, L.; Zhang, C.; Wu, M. D-LinkNet: LinkNet with Pretrained Encoder and Dilated Convolution for High Resolution Satellite Imagery Road Extraction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Salt Lake City, UT, USA, 18–22 June 2018; pp. 192–1924. [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. arXiv 2021, arXiv:2010.11929. [Google Scholar] [CrossRef] [Scilit]
- 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; pp. 10012–10022. [Google Scholar] [CrossRef] [Scilit]
- Dong, X.; Bao, J.; Chen, D.; Zhang, W.; Yu, N.; Yuan, L.; Chen, D.; Guo, B. CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 12114–12124. [Google Scholar] [CrossRef] [Scilit]
- Yang, Z.; Zhou, D.; Yang, Y.; Zhang, J.; Chen, Z. TransRoadNet: A Novel Road Extraction Method for Remote Sensing Images via Combining High-Level Semantic Feature and Context. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6509505. [Google Scholar] [CrossRef] [Scilit]
- Yu, Z.; Chen, Z.; Xiao, K.; Lei, X.; Tang, R.; He, Q.; Sun, Z.; Guo, H. SegRoadv2: A hybrid deformable self-attention and convolutional network for road extraction with connectivity structure. Int. J. Digit. Earth 2025, 18, 2480267. [Google Scholar] [CrossRef] [Scilit]
- Yao, H.; Yang, Z.; Li, Q.; Wang, Q. FSNet: Frequency–Spatial Joint Learning for Road Extraction From Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2026, 64, 5609110. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Li, Z.; Wu, J.; Xiong, W.; Du, C. SemiRoadExNet: A semi-supervised network for road extraction from remote sensing imagery via adversarial learning. ISPRS J. Photogramm. Remote Sens. 2023, 198, 169–183. [Google Scholar] [CrossRef] [Scilit]
- Fu, J.; Wang, C.; Lv, H.; Lu, H.; Shi, W.; Liao, X. TopoRF-Net: Topology-Aware Road Segmentation in Multi-Resolution Remote Sensing via Multi-Receptive Field Adaptation. Sensors 2025, 25, 7428. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Y.; Chen, Z.; Zhao, Z.; Li, C.; Bai, Y.; Wu, Z.; Wang, D.; Chen, P. A deeply supervised vertex network for road network graph extraction in high-resolution images. Int. J. Appl. Earth Obs. Geoinf. 2024, 133, 104082. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Xiang, L.; Wang, M.; Wang, X.; Jiao, F. MT-RoadNet: A heterogeneous network with local–global joint enhancement for road surface and centerline extraction. Int. J. Appl. Earth Obs. Geoinf. 2026, 146, 105080. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal Loss for Dense Object Detection. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 2999–3007. [Google Scholar] [CrossRef] [Scilit]
- Milletari, F.; Navab, N.; Ahmadi, S.A. V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation. In Proceedings of the 2016 Fourth International Conference on 3D Vision (3DV), Stanford, CA, USA, 25–28 October 2016; pp. 565–571. [Google Scholar] [CrossRef] [Scilit]
- Nanni, L.; Brahnam, S.; Loreggia, A. An Enhanced Loss Function for Semantic Road Segmentation in Remote Sensing Images. IEEE Access 2024, 12, 74218–74229. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Zhou, X.; Wang, C.; Chen, S.; Kong, H. Fourier-Deformable Convolution Network for Road Segmentation From Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 4415117. [Google Scholar] [CrossRef] [Scilit]
- Feng, R.; Guo, Z.; Du, X.; Wu, T. SAM2-RoadNet: Topology-Aware Multi-Scale Road Extraction from High-Resolution Remote Sensing Images. Remote Sens. 2026, 18, 913. [Google Scholar] [CrossRef] [Scilit]
- van den Oord, A.; Li, Y.; Vinyals, O. Representation Learning with Contrastive Predictive Coding. arXiv 2019, arXiv:1807.03748. [Google Scholar] [CrossRef] [Scilit]
- Wang, W.; Zhou, T.; Yu, F.; Dai, J.; Konukoglu, E.; Gool, L.V. Exploring Cross-Image Pixel Contrast for Semantic Segmentation. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Los Alamitos, CA, USA, 10–17 October 2021; pp. 7283–7293. [Google Scholar] [CrossRef] [Scilit]
- Muhtar, D.; Zhang, X.; Xiao, P.; Li, Z.; Gu, F. CMID: A Unified Self-Supervised Learning Framework for Remote Sensing Image Understanding. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5607817. [Google Scholar] [CrossRef] [Scilit]
- Luo, Y.; Sun, B.; Li, S.; Hu, Y. Hierarchical Augmentation and Region-Aware Contrastive Learning for Semi-Supervised Semantic Segmentation of Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2025, 63, 4401311. [Google Scholar] [CrossRef] [Scilit]
- Ye, Y.; Dai, J.; Zhou, L.; Duan, K.; Tao, R.; Li, W.; Hong, D. Tuple Perturbation-Based Contrastive Learning Framework for Multimodal Remote Sensing Image Semantic Segmentation. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5613615. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Wang, N.; Shi, J.; Liu, J.; Hou, X. Revisiting Batch Normalization For Practical Domain Adaptation. arXiv 2016, arXiv:1603.04779. [Google Scholar] [CrossRef] [Scilit]
- Howard, A.; Sandler, M.; Chu, G.; Chen, L.C.; Chen, B.; Tan, M.; Wang, W.; Zhu, Y.; Pang, R.; Vasudevan, V.; et al. Searching for MobileNetV3. arXiv 2019, arXiv:1905.02244. [Google Scholar] [CrossRef] [Scilit]
- Lu, X.; Weng, Q. Multi-LoRA Fine-Tuned Segment Anything Model for Urban Man-Made Object Extraction. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5637519. [Google Scholar] [CrossRef] [Scilit]
- Nia, V.P.; Ghaffari, A.; Zolnouri, M.; Savaria, Y. Rethinking Pareto Frontier for Performance Evaluation of Deep Neural Networks. arXiv 2022, arXiv:2202.09275. [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.





