Abstract
Few-shot semantic segmentation aims to learn accurate pixel-level classification from limited annotated samples, a critical capability for real-world applications where data acquisition is expensive or impractical. However, existing methods often struggle with fine-grained texture details and complex boundaries under data-scarce conditions, particularly when applied to domains with intricate visual patterns (such as batik patterns). To address this few-shot learning challenge, we constructed a few-shot batik pattern dataset and proposed a novel network architecture centered on attention weighting and hierarchical decoding. Our method leverages a pre-trained ResNet101 backbone for transfer learning to establish a strong feature foundation. It incorporates a dual-attention module that combines spatial and channel attention to dynamically highlight semantically rich regions and intricate texture boundaries specific to batik. For multi-scale context aggregation, a lightweight module utilizing parallel dilated convolutions is introduced to efficiently capture features from varying receptive fields. Finally, a hierarchical decoder progressively integrates these enhanced, multi-scale features with high-resolution shallow features to reconstruct precise segmentation maps. Comprehensive evaluations on a dedicated batik dataset show that our model achieves state-of-the-art performance, with a mean Intersection over Union (mIoU) of 79.22% and a pixel accuracy (PA) of 92.47%. It notably improves over the strong DeepLabV3+ baseline by 3.3% in mIoU and 0.95% in PA, demonstrating its effectiveness for the task of batik pattern segmentation under data-scarce conditions.
1. Introduction
Semantic segmentation, as a core technology in the field of computer vision, has demonstrated significant value in scenarios such as autonomous driving [1,2], remote sensing monitoring [3,4], and medical diagnosis [5,6,7]. However, general-purpose segmentation models (e.g., U-Net [8], DeepLab [9]) perform poorly in the face of complex art images, and their limitations become more and more prominent, especially in the digitization of intangible cultural heritage such as batik patterns. Batik patterns are characterized by fine handmade textures, interlaced geometric patterns, and unique wax cracking effects [10,11]; traditional models are prone to losing details due to deep network downsampling, and the large number of parameters leads to high arithmetic demand, which makes it difficult to achieve adaptation to low-power embedded process equipment [12]. How to achieve high-precision and lightweight semantic segmentation under limited labeled data has become a key challenge for the digital preservation and innovative application of traditional crafts.
The unique attributes of batik art require models with both texture sensitivity and cultural adaptability. For example, the hierarchical difference between traditional blue and white batik and multi-color gradient patterns and the distinction between natural texture formed by handmade wax cracking and machine-printed patterns require the model to incorporate the understanding of artistic features in pixel-level prediction [10]. Existing research mostly focuses on natural images and lacks a targeted design for the complexity of artistic patterns, resulting in fuzzy segmentation boundaries and low-detail reproduction. In addition, industrialized applications, textile printing equipment, or mobile design tools have urgent needs for lightweight models, while the high computational power dependence of general-purpose models makes it difficult to meet the requirements of real-time processing and low-cost deployment. These problems not only hinder the efficiency of the digital preservation of cultural heritage but also limit the innovative transformation of batik art in contemporary design. To address the above challenges, this paper contributes as follows:
- We propose a novel few-shot semantic segmentation framework that integrates a dual-attention module for texture-sensitive feature enhancement, a lightweight multi-scale dilated convolution module for efficient context aggregation, and a hierarchical decoder for progressive detail recovery. This architecture is specifically optimized to handle the challenges of fine-grained texture segmentation under data-scarce conditions. To validate our method on a challenging real-world scenario, we present the first dedicated few-shot batik pattern dataset, constructed and annotated in collaboration with cultural heritage experts. This dataset serves as a benchmark for future research on the digitization of intangible cultural heritage and demonstrates the practical applicability of our approach.
- Aiming at the problems of complicated texture details and blurred salient regions in batik images, this paper designs a multi-scale feature extraction network combining parallel dual-path structure and cavity convolution to realize feature capture and fusion from fine-grained to coarse-grained, which on the one hand effectively expands the sensory field of the network and on the other hand makes use of auxiliary paths for feature compression and lightweighting, which reduces the amount of computation and guarantees the completeness of the key features at the same time.
- In the feature fusion stage, a dual-attention module combining channel attention and spatial attention is introduced, where channel attention can strengthen features with high information content and spatial attention highlights the localization of key regions in the image, especially in the segmentation of complex patterns and abstract textures in batik, which shows higher accuracy and effectively counteracts the defects of traditional methods that tend to ignore subtle features or key textures.
- Through the combination of the hierarchical fusion decoding module and data enhancement strategy, not only is the complementary relationship between high-level semantics and low-level details fully explored during the decoding process, which improves the adaptability of the model to diversified interferences and deformations, but the overfitting risk of few-shot samples is also alleviated through various data enhancement operations such as rotating, flipping, cropping, etc., and the model’s robustness and generalization ability are further strengthened.
Through comparative experiments conducted with mainstream semantic image segmentation methods such as Google’s DeepLabV3+, the method in this paper achieved significant improvement in both the segmentation accuracy of batik images and the attention to batik patterns, which provides a strong technical support for the automated processing and inheritance of batik images.
2. Related Works
Few-shot sample semantic segmentation refers to the mining of generalizable feature representations to achieve high-precision pixel-level segmentation of new categories of targets when the available annotation samples are extremely limited to effectively address segmentation needs in data-scarce scenarios. A series of achievements have already been made in the field of few-shot semantic segmentation. Guo et al. [13] propose a novel end-to-end model named GFormer to enhance generalization on unseen classes. Its key contribution is the introduction of an adversarial prototype generator that distinguishes between positive and negative examples. By using different but visually similar categories as negative samples against the target (positive) support classes, the model learns more discriminative features. Combined with a modified ViT encoder that reduces overfitting to image content and a prototype-guided decoder, this approach significantly improves segmentation accuracy for novel classes in few-shot settings. Lee et al. [14] propose a semi-supervised, few-shot learning framework for pointwise vortex-induced vibration detection in structural health monitoring. Its core contribution is a practical methodology that requires only a small set of labeled real non-VIV samples and synthetic VIV data to bootstrap an initial model. This model then pseudo-labels large-scale unlabeled data and is refined through sequential transfer learning, effectively eliminating the need for extensive manual annotation. The integration of regularization techniques (high softmax threshold and label smoothing) ensures robustness against diverse, unseen environmental conditions, providing a scalable and cost-effective solution for real-world monitoring. He et al. [15] proposed a new cross-domain few-shot sample semantic segmentation framework called APSeg, which realizes cross-domain adaptation without additional fine-tuning by using the Segment Anything Model (SAM) with huge pretrained features and combining it with the Dual Prototype Anchor Transform (DPAT) and MetaPrompt Generation (MPG) modules, robustly maps semantic features and automatically generates semantic features by fusing the support with the query samples’ prototype information, and then automatically generates semantic features by fusing the support with the query samples’ prototype information. By fusing support and query sample prototype information to robustly map semantic features and automatically generate cue vectors instead of manual input, it significantly improves segmentation accuracy and simplifies the reasoning process, providing an efficient and robust end-to-end solution for cross-domain semantic segmentation in low-labeling environments. Aiming at the association noise problem caused by cross-category local similarities and intra-class differences in few-shot sample semantic segmentation, Liu et al. [16] proposed FECANet based on feature enhancement and context awareness: firstly, noise is suppressed and semantic consistency is enhanced by cross-attention and channel-attention and then an association reconstruction module that integrates dense overall associations and multi-scale self-similar contextual information is constructed, which guides the network to capture more complete and fine-grained query-support matching patterns and finally introduces a residual decoder to refine the output multiple times and extract the target boundary effectively. To address the challenge of few-shot sample semantic segmentation relying on large-scale annotations, Ding et al. [17] proposed the Self-Regularizing Prototype Network (SRPN): by comprehensively evaluating the prototyping effect in the support set, explicitly optimizing the prototype’s representation of interclass distinguishability and intraclass completeness, and utilizing a distance metric named the fidelity distance metric and iterative query inference mechanism to fully retain key semantic and detail information to effectively migrate to the query set under the premise of accurately reconstructing the semantics of the support set, it achieves more accurate and robust pixel-level segmentation of unseen classes. Cao et al. [18] proposed a support set prototype vector as the query of the transformer decoder, which is combined with the key–value mechanism of the query image to generate an adaptive segmentation kernel (ProtoFormer), which significantly enhances the ability of spatial detail capture and target focusing and thus achieves excellent segmentation performance under the condition of few-shot samples. Lu et al. [19] proposed a fractional normalization fusion and a cross-covariance transformer-based prediction correction method (PCN) to deal with the problems of skewed prediction and over-confidence for the base and new classes. This is based on the prediction correction method (PCN), which effectively alleviates bias while improving generalized few-shot sample semantic segmentation accuracy.
The aforementioned few-shot segmentation methods generally face bottlenecks such as insufficient cross-domain adaptability, feature expression susceptibility to noise interference, insufficiently fine-grained prototype generation and detail capture, etc. APSeg focuses on interactive cueing and out-of-domain generalization, while FECANet emphasizes feature augmentation and contextual reconfiguration, but relatively insufficiently balances the frequency-domain details and category imbalance; the auto-regularized prototype network (ARPN) inverts constraints on the quality of the prototypes but does not take full advantage of the complex texture and multi-scalar semantic segmentation. ProtoFormer and PCN focus on prototype matching or predictive correction transformers. This is based on the above limitations and shortcomings of the few-shot sample semantic segmentation models for batik data.
Cross-domain transfer learning is a method of feature mapping and knowledge migration between source and target domains to mitigate data distribution differences and improve the learning performance of the target task. There are different schemes for cross-domain migration learning in different application scenarios. Gao et al. [20], for the domain difference between ground and UAV images, based on a deep convolutional network and differential preprocessing strategy to achieve accurate recognition of multi-source weed images by a single model, successfully migrated the training results of the source domain to the target domain. Cuttano et al. [21] proposed the CoRTe method, which can be applied to the target domain through relative confidence screening and a self-refined pseudo-labeling strategy. This achieves reliable cross-domain migration learning from black-box source models to lightweight target models without direct access to source data and model details. Tan et al. [22] proposed two new metrics, F-OTCE and JC-OTCE, which achieve accurate quantification of cross-domain cross-task migration learning through optimal transfer and conditional entropy without additional auxiliary tasks and applied the results of cross-domain cross-task migration learning to the target domain. Li et al. [23] proposed a single-model cross-domain migration framework for multi-target load monitoring by fixing the feature extraction layer and fine-tuning the output layer of the target domain to achieve efficient migration and adaptation of cross-domain power features, which can be used in different datasets. By fixing the feature extraction layer and fine-tuning the target domain output layer, efficient migration and adaptation of power features across domains can be realized, which significantly reduces the annotation requirement and maintains excellent decomposition accuracy on different datasets and equipment types. For the cross-modal domain problem caused by the difference between optical and SAR imaging, Gao et al. [24] proposed the ADCG network, which uses lightweight dense connections and a convolutional attention module to perform pixel-level feature conversion, effectively alleviating the insufficient labeling and category imbalance of SAR data and significantly improving the ship identification accuracy. Fang et al. [25] proposed a new framework of deep cross-domain migration learning based on a particle swarm algorithm, which significantly improves the cross-domain anomaly detection accuracy by separating the conditional domain differences between normal and abnormal samples and integrating the edge distribution and conditional distribution. Wang et al. [26] propose a novel Cross-Dimensional Information Transfer Framework (CDITF) to bridge the fundamental gap between computer vision (CV) and bioelectrical signal domains. Its key contribution is a cross-task domain adaptation method (CDITF-CTDA) that jointly addresses the dimensional disparity (1D vs. 2D data) and task/label inconsistency between these domains. By using parallel encoding–decoding modules to map both data types into a shared feature space while preserving their discriminative characteristics and synergistically integrating feature and label information for adaptation, the framework enables effective knowledge transfer from label-rich CV data to label-scarce bioelectrical signal analysis. This achieves successful cross-dimensional, cross-domain learning with limited medical labels, consistently improving performance metrics like AUC.
Existing research focuses on cross-domain migration in general-purpose scenarios, including feature mapping between optical-radar images, cross-domain fusion of multi-source remote sensing images, non-intrusive load monitoring, multicategory target detection and identification, etc. Although it is effective in reducing annotation requirements and improving generalization ability, most of the methods rely on domains where the feature distribution is relatively stable or the size of the training samples is large. For the scene of batik pattern segmentation details and lack of annotation, these methods have limitations in feature extraction fineness and embedded deployment requirements.
To address the above issues, this paper proposes improved methods. In the field of few-shot semantic segmentation, this paper designs a two-way coding feature extraction architecture, a hierarchical fusion decoding architecture, and a two-phase fusion decoding architecture to address the difficulties in batik images such as sparse samples, varied textures, and category imbalance. In cross-domain transfer learning, we employ a fine-tuning strategy leveraging pre-trained models, freezing low-level generic features, tuning high-level decision modules, and integrating targeted optimizations via data augmentation and lightweight architecture design.
3. Methods
As a typical representative of intangible cultural heritage, the batik pattern dataset has few-shot samples, high complexity, and unique process characteristics. On the one hand, the handmade characteristics lead to a limited data size that is unlikely to meet the comprehensive training requirements of deep learning models. On the other hand, the interweaving of the gradient texture formed by the halo-dye penetration of batik and the fine ice crack texture leads traditional segmentation models to easily fall into the dual predicament of overfitting and computational redundancy, making it difficult to balance segmentation accuracy and operational efficiency. Aiming at the above problems, this study proposes a lightweight semantic segmentation framework for few-shot sample scenarios. First, a cross-domain feature migration mechanism was constructed based on the idea of transfer learning, and deep semantic a priori features were extracted from a pre-trained model using ResNet101, which can effectively alleviate the problem of insufficient feature characterization under few-shot sample training and improve the robustness and generalization ability of the model at the same time. Secondly, to reduce the model parameter size while strengthening the ability to focus on the haloed boundaries and detail regions in the batik image, this study designed a lightweight dual-attention module, which adopts spatial-channel separated weight calculation to strengthen the focus on the target region from multiple perspectives and suppress background redundant information. In addition, to take into account the multi-scale feature capture of microstructure and macro-morphology, this study constructed a multi-branch inflationary convolutional structure, which reduces the computation amount while maintaining the comprehensive characterization capability of texture details and global semantics through parallel dilated convolutional layers. A progressive feature fusion strategy is adopted in the hierarchical decoder, which makes full use of the encoder’s shallow texture features and deep semantic features for dynamic multiplexing, thus effectively improving the segmentation accuracy in the decoding stage.
3.1. Modeling Framework
The model framework of this study is shown in Figure 1; its core architecture adopts a hierarchical progressive feature processing mechanism to realize efficient extraction and reconstruction of semantic information through multi-module collaboration. The algorithmic process contains four modules: depth migration-based trunk feature extraction module, dual-attention feature enhancement module, lightweight multi-scale feature fusion module, and hierarchical semantic decoding module. This model framework reduces the parameter scale and computational complexity while guaranteeing the model accuracy.
Figure 1.
Overall network structure.
Aiming at the characteristic of the scarcity of batik pattern samples, this model adopts ResNet101 as the backbone network and effectively migrates the pre-trained knowledge to the target domain through the migration learning strategy. In the dual-attention feature enhancement module in the spatial dimension, PAM constructs the dynamic sensory field by deformable convolution and realizes pixel-level feature recalibration by using a spatial location correlation matrix; in the channel dimension, CAM adopts a lightweight module to generate the channel weight vectors by global average pooling. The outputs of both are fused by adaptive weighting to form an enhanced feature map. This module introduces a parameter-sharing mechanism so that the dual-attention sub-network shares the underlying convolutional kernel, effectively controlling the model complexity. Hollow space pyramid pooling is adopted for multi-scale context extraction of attention enhancement features and parallel convolution with differentiated expansion rates is used to capture different granularity features and reduce computational redundancy. The feature reorganization unit is designed to achieve channel compression by a 1 × 1 convolution and cross-scale feature interaction using depth-separable convolution. To achieve a balance between detail preservation and semantic restoration, the upsampling phase of this model adopts a lightweight progressive feature decoding strategy.
3.2. Backbone Feature Extraction Module
ResNet101 is a deep convolutional neural network based on a residual learning framework, and its core design idea mitigates the gradient vanishing problem in deep networks through Skip Connection, thus supporting the stable training of ultra-hundred-layer networks. As shown in the model structure (Figure 2), the network adopts a staged feature extraction strategy, which compresses the feature map resolution by downsampling step by step and gradually increases the channel dimensions to capture multi-level semantic information.
Figure 2.
Backbone residual network diagram.
In the input stage, the conv0 layer uses 7 × 7 large-size convolutional kernels (number of channels 64, stride size 2) to downsample the input image from the original resolution of 380 × 380 to 190 × 190. This design quickly captures the local texture features through a larger sensory field and at the same time realizes the compression of spatial dimensions by utilizing a stride size of 2, which significantly reduces the amount of subsequent computation. Subsequently, the conv1_x layer further reduces the feature map size to 95 × 95 by 3 × 3 maximum pooling (stride 2), an operation that effectively reduces redundant computation while preserving significant features. Low-level features (LLFs) then enter the decoder module, where shallow features may be multiplexed through cross-layer connections to enhance detail retention in few-shot sample scenarios.
The core residual module (conv2_x to conv4_x) adopts the classic bottleneck structure, with the conv2_x stage downsampling the feature map from 95 × 95 to 48 × 48 with a stride of 2 while extending the number of channels from 64 to 512 through a 1 × 1/128 → 3 × 3/128 → 1 × 1/512 structure. The high-level feature extraction stage (conv3_x vs. conv4_x) strengthens the semantic characterization capability through progressive channel expansion (512 → 1024 → 2048). conv3_x uses a stride of 2 to downsample the resolution to 24 × 24, while conv4_x maintains the resolution constant through a stride of 1, at which point a dilated convolution is used to expand the receptive field without increasing the number of parameters. This is to extend the sensory field to improve the generalization ability in few-shot sample learning. Global average pooling (GAP) compresses the 24 × 24 × 2048 feature map into 2048-dimensional vectors, which are mapped to 1000 classes of classification results by a fully connected layer.
3.3. Dual-Attention Feature Enhancement Module
In the dual-attention mechanism shown in Figure 3, the green module PAM on the left (centered on the spatial dimensionality operations of Q, K, and V) is mainly responsible for capturing the long-range dependencies of features on the spatial domain. The input feature map is rearranged into three tensors of queries (Q), keys (K), and values (V) for generating the spatial attention distributions: the queries and keys are transformed into versus , respectively, to obtain a spatial attention distribution via matrix multiplication to obtain a correlation map of , followed by softmax normalization to obtain a spatial attention matrix . This attention matrix can be viewed as a weighted mapping that establishes explicit associations between spatial locations to measure the degree of dependency between different pixels (or feature locations). The attention matrix is then multiplied by the numerical tensor to obtain the feature representation that incorporates the global spatial context. After the corresponding reshape operation, it is multiplied element by element with the original feature map according to the channel dimension to obtain , which enables the network to explicitly capture pixel correlations in the global context and feed such global information into the feature map. The spatial attention module effectively improves the sensitivity to the target or scene, enabling the network to have better performance in tasks such as parsing object edges, region consistency, and detail inference.
Figure 3.
Dual-attention feature enhancement module diagram.
In contrast, the blue module CAM on the right side focuses on modeling global relationships on the channel domain, adopting a similar idea of attention computation as on the left side, but transforming the shapes of Q, K, and V into forms that are capable of interacting in the channel dimension: the query and key features are rearranged to and , respectively, so that the resulting attention matrix is computed as , used to characterize the degree of inter-channel dependence. By softmax normalization, this channel attention matrix reveals which channels are more discriminative or more correlated with other channels. is multiplied by the numerical tensor to obtain the channel-enhanced contextual features , which are then multiplied element by element with the original features to obtain . After the two modules have captured the information in the spatial domain and the channel domain, respectively, the features are fused with the original features by concatenating them with subsequent operations, such as space pyramid pooling (ASPP). The features are then fused through concatenation and subsequent operations such as ASPP, thus giving the network the ability to model long-term dependencies at both the pixel and channel levels. The final output features can take into account the global context of spatial locations and channel relationships, which not only preserve the fine boundaries of the target but also strengthen the collaborative effect of the channels in determining the target category or scene semantics, which enables the model to achieve better representation in semantic segmentation visual tasks.
3.4. Lightweight Multi-Scale Feature Fusion Module
This paper adopts a lightweight multi-scale feature fusion module shown in Figure 4, whose core design is based on a parallel multi-branch structure with an efficient feature interaction mechanism, aiming to capture multi-level spatial context information with a low number of parameters and low computational complexity. The main body of the module consists of four heterogeneous branches: the main branch performs channel dimensionality reduction on the input features through a 1 × 1 convolution to reduce the subsequent computation; the three parallel subbranches adopt the 3 × 3 depth-separable expansion convolution with expansion rates of 6, 12, and 18, respectively, and construct multi-level sensory fields by differentiating the expansion rates under the premise of avoiding explicit downsampling to efficiently capture the local details, medium-scope semantics, and global context information. The last branch uses a global image pooling layer to extract spatially independent global statistical features, which are spliced with the outputs of the first four branches after adjusting the dimensionality by a 1 × 1 convolution to form a cross-scale complementary feature representation.
Figure 4.
Lightweight multi-scale feature fusion module map.
In terms of lightweight design, the introduction of expansion convolution makes the network expand the effective sensory field without increasing the number of parameters. The feature fusion stage adopts channel splicing instead of element-by-element summation to avoid the problem of information suppression between features of different scales, while the output channels of each branch are compressed by the front 1 × 1 convolution to ensure that the total number of channels after splicing does not exceed the input dimensions, to control the memory occupation.
Compared with existing multi-scale fusion approaches such as AFPN [27], CM-NET [28], and Zoom Text Detector [29], which are primarily designed for object detection or text recognition with large-scale training data, our lightweight module offers distinct advantages for few-shot texture segmentation: (1) parameter efficiency through depth-separable convolutions, reducing overfitting risk; (2) texture-sensitive receptive field design using dilated convolutions with carefully chosen rates; (3) explicit global context modeling via a separate pooling branch; and (4) seamless integration with attention mechanisms for feature refinement. These characteristics make our module particularly suitable for fine-grained segmentation tasks with limited training samples.
This module achieves multi-granularity feature decoupling at the microscopic level through heterogeneous expansion rate design and attention co-optimization. The nested structure of depthwise separable convolution and channel compression is used to reduce the computational density under the premise of guaranteeing the feature expressive power. The complementary design of global pooled branches and local convolutional branches enables the network to model long-range dependencies and local structural patterns at the same time.
3.5. Hierarchical Semantic Decoding Module
To better demonstrate the decoding process of the whole network, this model is multi-optimized in terms of feature fusion and upsampling strategies. As shown in Figure 5, the decoder consists of four serial layers that combine the multi-level features from ResNet101 with the information provided by the dilated convolution (DC) and attention (DA) modules at different stages to achieve accurate recovery of the target region. The core idea of this decoding structure is: first reduce the computational cost by average pooling and upsampling while retaining the necessary spatial details; then extract the multi-scale semantic representations by using the dilation convolution and enhance the key regions by combining them with the attention module; and, finally, fuse with the shallow features from ResNet101 to ensure the finesse and accuracy of the high-resolution output.
Figure 5.
Hierarchical semantic decoding module diagram.
The first layer of the decoder extracts features mainly from the second layer of ResNet101 and performs dimensionality reduction through average pooling to reduce the subsequent computational complexity. After an upsampling operation, these features are scaled to a higher resolution.
Based on this, the features from the inflated convolution module are further fused and combined with the features from ResNet101 through the same upsampling operation to form the F1 features. The main goal of this layer is to utilize the multi-scale features extracted by the expansion convolution and the low-level features extracted by ResNet101 to improve the spatial resolution through the upsampling operation and provide richer feature information for the subsequent layers.
In the second layer, the decoder receives the F1 features from the previous layer and fuses them with the features from the attention module. DA features are processed by a 1 × 1 convolution and then upsampled. These processed DA features are subjected to a concatenation operation with F1 features to generate F2 features. This process ensures that the decoder can fully utilize the useful information learned from the attentional feature module while combining the details of the F1 features to lay the foundation for subsequent feature fusion.
The main function of the third-layer decoder is to fuse the F2 features with the output of the inflated convolution module. The DC features are upsampled to restore spatial resolution. The F2 features are then concatenated with the upsampled DC features to generate F3 features. The focus of this layer is to continue to utilize the multi-scale information to enhance the spatial details of the F2 features while keeping the semantic information of the original image undistorted.
The final layer of the decoder is responsible for combining the F3 features with inputs from ResNet101 low-level features. At this layer, the F3 features are first fused with the low-level features from ResNet101 to generate F4 features. The F4 features are processed by a 3 × 3 convolution to further extract finer features. After the upsampling operation, the final semantic segmentation result is obtained. The core purpose of this layer is to recover more detailed information by fusing low-level features, which, in turn, improves the accuracy and quality of the semantic segmentation graph.
Through the above-layered design, the model can fully retain the key information from the deep and shallow layers in the decoding stage, which ensures the completeness of the segmentation result at the semantic level and also takes into account the accuracy of the spatial resolution. The synergistic effect of the expansion convolution and the attention mechanism enables the multi-scale context to be effectively utilized while suppressing the interference of background noise. Ultimately, by fusing with low-level features again at the last layer, the model can output a more detailed semantic segmentation map, providing robust feature representation and high-quality segmentation results for tasks such as scene understanding and target detection.
While our hierarchical decoder shares high-level similarities with feature pyramid networks [30], it differs fundamentally in three aspects: (1) progressive bidirectional fusion: unlike standard top-down FPNs, our decoder integrates features in a layered manner where each stage combines outputs from previous layers with newly processed features (DA, DC) to enable gradual refinement; (2) multi-stage attention integration: attention enhancement is applied not once but at multiple stages (Layer2), and attention-weighted features are subsequently fused with multi-scale context (Layer3), creating a synergistic effect; and (3) texture-optimized design: the specific combination of dilated rates (6,12,18) and hierarchical fusion order is empirically optimized for capturing the multi-scale nature of batik textures, from fine wax cracks to overall pattern structures.
4. Experimental Evaluation
4.1. Datasets
A sample of the batik dataset is shown in Figure 6, where the same category of batik patterns contains a variety of styles that are richly textured and abstracted.
Figure 6.
Examples of batik patterns and their labeled drawings.
This study used the LabelMe tool to label batik patterns and generate image labels in PASCAL VOC data format for subsequent training. In this study, image data was collected and organized from various sources, which contain 106 images of butterfly patterns, 109 images of fish patterns, and 47 images of multi-category patterns. Each image was cropped into 380 × 380 pixel image blocks as input images. Dataset statistics are shown in Table 1.
Table 1.
Dataset statistics.
As shown in Figure 6, the intra-class variation included (a) butterfly: wing shape (symmetric/asymmetric), pattern density (sparse/dense), orientation (various angles), size variation; (b) fish: body shape (elongated/round), fin types, scale patterns, tail shapes; and (c) multi-category: spatial arrangements (overlapping/separated), relative sizes, composition complexity.
The details of annotation granularity were as follows: (a) tool used: LabelMe annotation tool, (b) annotation process: each image was annotated with polygon masks at the object level and then converted to pixel-level semantic labels, (c) expert involvement: annotation protocol was developed in collaboration with batik cultural heritage experts to ensure accurate identification of pattern elements, (d) quality control: each annotation was reviewed by a second annotator; ambiguous cases were resolved through expert consultation.
In the experiment, the dataset was divided into training and validation sets for each category, following an 80/20 split. Specifically, from the 106 butterfly images, 85 were used for training and 21 for validation; from the 109 fish images, 87 were used for training and 22 for validation; and from the 47 multi-category images, 38 were used for training and 9 for validation. This resulted in a total of 210 training images and 52 validation images. The validation set included images containing only fish patterns, only butterfly patterns, and composite images containing elemental patterns (such as fish and butterflies). These images covered every category and level of complexity to better reflect the model’s semantic segmentation ability and generalization.
4.2. Experimental Environment and Parameter Settings
In this study, Linux Ubuntu 20.04 was used as the experimental environment, based on the hardware configuration of Intel(R) Core(TM) i7 13700F, 32 GB of RAM, and a GeForce RTX 4090 GPU with 24 GB of graphics memory. The software tools used included PyTorch 2.0.1 and CUDA 12.2.
To improve the diversity of the data and the generalization ability of the model, data augmentation operations such as scaling, rotating, and flipping were performed on the original images in this paper. Feature backbone extraction was performed using four convolutional layers and one average pooling layer of ResNet101 and pretrained on PASCAL VOC. To ensure fairness, the input image size of all comparison models was 380 × 380, the learning rate was 1 × 10−2, the momentum was 0.9, the batch size was 8, and the training termination condition was set to 20 consecutive epochs of model performance without enhancement, and the optimal model parameters were saved.
To account for split sensitivity in few-shot segmentation, we performed 5-fold cross-validation with 3 random seeds per fold, resulting in 15 independent runs for each experiment. The reported results are the means across all runs, with standard deviations and 95% confidence intervals.
4.3. Evaluation Indicators
To evaluate the semantic segmentation performance of the model, this study analyzed and compared the experimental results in terms of both quantitative assessment and subjective evaluation. The quantitative evaluation mainly quantified the segmentation accuracy and robustness of the model by calculating two evaluation metrics, pixel accuracy (PA) and Mean Intersection over Union (mIoU). The subjective evaluation mainly focused on analyzing the model’s segmentation effect on batik patterns of different categories and complexity by observing the resultant images of semantic segmentation.
Pixel accuracy (PA), also known as global accuracy, is a metric for measuring the number of correctly classified pixels as a percentage of the total number of pixels. As shown in Equation (1), PA reflects a classification model’s ability to predict all samples, and a higher accuracy indicates a more accurate model. denotes the number of correctly categorized samples in category j, denotes the total number of samples in category j, and the accuracy rate is defined as the ratio of the number of correctly categorized samples to the total number of samples in all categories.
The Intersection over Union (IoU) for a specific category is given in Equation (2), where denotes the number of categories and represents the number of pixels with true label that are predicted as label . The IoU is calculated as the ratio of the intersection (i.e., correctly classified pixels ) to the union (i.e., total pixels in either the ground truth or prediction for category ). This metric reflects the segmentation accuracy for each individual category.
Mean Intersection over Union (mIoU), shown in Equation (3), is a metric used to evaluate the performance of a semantic segmentation model that calculates the degree of overlap between the true and predicted labels. mIoU was higher, which indicated that the model was more capable of predicting all the categories. mIoU was the number of pixels that calculated the IoU for each category; then, the average value of all the category IoUs was found.
4.4. Ablation Study
4.4.1. Encoder Ablation Experiment
The results of the ablation experiments in Table 2 systematically reveal the mechanisms by which different encoder modules contributed to the semantic segmentation performance.
Table 2.
Encoder ablation experiment results.
The baseline model based on ResNet101 achieved 54.51% and 82.37% in mIoU and PA metrics, respectively, a result that validates the effectiveness of the baseline architecture at the level of feature extraction but also exposes its limitations in terms of insufficient feature characterization capability in complex scenarios. When the dual-attention feature enhancement module was introduced, this significantly improved to 76.02% (relative improvement of 21.51%), and the PA reached 91.34% (relative improvement of 8.97%), which confirms that the module could effectively enhance the response strength of the key features through the dual-attention mechanism of channel and space. After further adopting the lightweight multi-scale feature fusion module, the model performance continued to improve to mIoU 79.22% and PA 92.47%; the 3.2 percentage point gain in mIoU verifies the importance of cross-scale feature fusion for spatial detail preservation. The module achieves a balance between sensory field expansion and local feature preservation through the feature fusion mechanism.
It should be noted that the baseline ResNet101 model was fine-tuned from ImageNet pre-trained weights, not trained from scratch. However, its relatively low performance (54.51% mIoU) can be attributed to two factors: (1) the substantial domain gap between natural images and batik patterns, which featured unique handmade textures, wax-cracking effects, and gradient halos not present in ImageNet, and (2) the limited training data (210 images) in the few-shot setting, which constrained effective fine-tuning. The significant improvement (21.51% absolute gain) achieved by adding the dual-attention module demonstrates that attention mechanisms were particularly effective at bridging this domain gap by dynamically enhancing batik-specific features while suppressing irrelevant patterns.
4.4.2. Decoder Ablation Experiment
To explore the effect of different decoders on the performance of semantic segmentation models, ablation experiments were done for the decoders. As shown in Table 3, this systematically verified the optimization effect of layered decoding on the performance of semantic segmentation by gradually introducing the layered decoder module.
Table 3.
Decoder ablation experiment results.
When Layer1 (containing AvgPool and DC features of ResNet101 Layer2) and Layer4 (low-level feature fusion module) were used to form the base decoder, the model obtained 73.43% of mIoU and 90.65% of PA on the test set, which indicates that the combination of void convolution-based context modeling and shallow features already possessed basic segmentation capability. After the introduction of Layer2 (with the DA dual-attention mechanism and extended convolution), this was significantly improved by 2.22 percentage points to 75.65%, and the PA increased by 0.83 percentage points to 91.48%, which was attributed to the fact that the dual-attention module effectively enhanced feature discrimination through channel and spatial co-modeling, while the extended convolution maintained the feature resolution while enlarging the sensory field, and the two of them synergistically optimized the semantic representation of middle and high-level features.
When the complete integration of Layer3 (with DC feature upsampling and cross-layer connectivity) was used to build a four-level decoding architecture, the model performance achieved the most substantial improvement, with mIoU reaching 79.22% and PA rising to 92.47%, which was 5.79% and 1.82% higher than for the baseline model, respectively. This result shows that Layer3 achieves dynamic alignment of deep semantic information with mid-level detailed features through multi-scale feature extraction with a progressive upsampling mechanism by cavity convolution, while cross-layer connectivity constructs a hierarchical feature pyramid through feature splicing operations, which enables the model to capture both global context and local boundary information. It is worth noting that the performance gain showed a nonlinear growth trend with the deepening of decoder layers, and the introduction of Layer3 brought a 3.57% jump in mIoU, which was significantly higher than the gain magnitude of Layer2, verifying the necessity of the multi-level feature refinement mechanism in complex scene parsing. The experimental results fully demonstrate that the layer decoder designed in this study realizes the progressive reconstruction of semantic information from coarse-grained to fine-grained through the refined feature recalibration of the DA module, the multi-scale context fusion of the DC module, and the progressive feature upsampling strategy, which provides an effective decoding scheme to improve segmentation accuracy.
4.4.3. Decoder Ablation with Progressive Component Addition
The results of the decoder ablation study with progressive component addition are shown in Table 4.
Table 4.
Decoder ablation study result.
Baseline Decoder (A): Simple decoder with two upsampling layers and skip connections from ResNet101, achieving 71.23% mIoU.
+Attention Weighting (B): Adding the dual-attention module at the decoder input improves mIoU by 4.59% (to 75.82%), confirming that attention effectively enhances feature discriminability.
+Hierarchical Structure (C): Implementing the four-layer progressive fusion without attention improves mIoU by 5.71% (to 76.94%), validating that hierarchical decoding alone captures multi-scale information.
Full Model (D): The complete model with both hierarchical structure and integrated attention achieves 79.22% mIoU, with the attention mechanism providing an additional 2.28% gain on top of the hierarchical structure.
To systematically evaluate the contribution of each decoder component, we conducted an ablation study with progressive integration. As shown in Table 5, the baseline decoder (simple upsampling + skip connections) achieved 71.23% mIoU. Adding the dual-attention module improved performance by 4.59%, demonstrating its effectiveness in enhancing texture-sensitive features. Implementing the hierarchical structure without attention yielded a 5.71% improvement, indicating that progressive multi-scale fusion alone captures valuable information. The full model, combining both components, achieved 79.22% mIoU, with the attention mechanism providing an additional 2.28% gain on top of the hierarchical structure. This confirms that attention weighting and hierarchical decoding are complementary—hierarchical fusion provides rich multi-scale context, while attention selectively enhances the most discriminative features within that context.
Table 5.
Comparative experimental results of multi-scale feature fusion modules.
4.5. Comparative Experiment
4.5.1. Comparative Experiments of Multi-Scale Feature Fusion Modules
The lightweight multi-scale feature fusion module proposed in this paper improves the model’s ability to represent complex visual patterns by hierarchically integrating features from different receptive fields and attention mechanisms.
As shown in Figure 7c, a three-level feature fusion mechanism was adopted to capture multi-scale spatial context information through dilated convolution, whose differential expansion rate could effectively cover the feature distribution from local details to global structure; a dual-attention mechanism was introduced to perform adaptive recalibration of channel and spatial dimensions to strengthen the response strength of important feature regions; and the original input features (X) were deeply spliced to the above-optimized features through cross-layer connections, forming a model with both detail-preserving and semantic features. Compared with the traditional baseline model (e.g., Figure 7a using only linear superposition), this design avoids the problem of detail loss caused by the traditional cascade operation (e.g., Figure 7b simply splicing DA and DC) by introducing the hopping connection to retain the underlying high-resolution information. During the feature fusion process, the inflated sampling strategy of dilated convolution complements the feature selection property of the attention mechanism, where the former explicitly constructs a multi-scale feature pyramid by parameterization and the latter implicitly mines long-distance dependencies between features in a data-driven manner.
Figure 7.
Comparison of multi-scale feature fusion modules, (a) linear cascade; (b) simple concatenation; (c) three-level fusion with hopping connection.
This section validates the superiority of the proposed hierarchical fusion architecture by systematically comparing the performance differences of different multi-scale feature fusion strategies in semantic segmentation tasks, as shown in Table 5.
The experimental data show that the baseline model (a) with the serial structure achieved 92.32% in pixel accuracy (PA), but its mean intersection and merger ratio (mIoU) was only 77.89%, reflecting the significant deficiencies of the model in category boundary delineation and complex scene adaptation; the model (b) with simple parallel splicing suffered from insufficient feature interactions, resulting in a comprehensive degradation of performance (mIoU 75.79%, PA 91.44%). In contrast, model (c) achieved a breakthrough improvement of 79.22% in mIoU through a three-level feature fusion mechanism, which was statistically significant (p < 0.01) in terms of performance gains of 1.33% and 3.43% over models (a) and (b), respectively. The significant advantage of the mIoU of model (c) confirms that it is more suitable for the core requirement of semantic segmentation—the metric integrates the accuracy of category prediction with the completeness of region coverage, whereas model (c) effectively mitigates intra-class discrepancy and inter-class confusion through the multi-scale context capture by dilated convolution and the dual-attention feature recalibration problems.
4.5.2. Dominant Model Comparison Experiment
In the segmentation task of the batik dataset, the quantitative comparison in Table 6 shows that the mainstream model and the proposed method present significant performance stratification in terms of parameter size (Params), mean intersection, merger ratio (mIoU), and pixel accuracy (PA).
Table 6.
Validation results of the dominant model on the batik dataset.
Few-shot segmentation is known to exhibit high variance due to sample sensitivity. To address this, we report the mean performance with standard deviations and confidence intervals across 15 independent runs. Our method achieved the lowest variance (σ = 1.43) among all compared methods, indicating that the attention-weighted hierarchical decoder provides more stable and reliable performance across different data splits and initializations. Statistical significance testing confirms that the improvements over all baselines are highly significant (p < 0.001).
Among the traditional models, DeepLabV3+ achieved the optimal baseline performance (mIoU = 75.92%, PA = 91.52%) by the 59.34 M parameter count and the context fusion capability of space pyramid pooling (ASPP), with an improvement of 8.22% compared to SegNet (72.55 M, mIoU = 67.70%) with similar parameter counts, verifying the effectiveness of multi-scale feature extraction. FCN8 (134.28 M), which had the largest number of parameters, had only 64.69% more due to the lack of a dynamic feature weighting mechanism, exposing the imbalance between model capacity and efficiency. The proposed method achieved mIoU = 79.22% with PA = 92.47%, with 76.65 M parameters (17.31% increase over DeepLabV3+), which is a 3.3% and 0.95% improvement over the optimal baseline.
In the analysis of the validation curves of the batik dataset (shown in Figure 8), the models showed significant divergence in data trends, convergence speed, stability, and final performance. Traditional models (e.g., FCN8, SegNet) had a slow mIoU growth rate at the initial stage (epoch ≤ 500) and fell into performance saturation after epoch ≥ 2000 due to insufficient feature fusion capability, accompanied by periodic oscillations. DeepLabV3+ reached a peak near epoch = 1500 by the cavity convolution but subsequently showed a slight degradation due to the fixed receptive field limitation. In contrast, the proposed method was enhanced by dual-attention features, and the mIoU exceeded 75% at epoch = 800 and converged stably to 79.22% after epoch = 2000. Stability analysis showed that the traditional model fluctuated at the late stage of training due to the insufficient adaptation ability of the few-shot samples. The performance comparison showed that the proposed method improved the mIoU by 3.3% over the optimal baseline (DeepLabV3+) under the condition that the number of parameters (76.65 M) only increased by 17.31%, which verifies its superiority in terms of accuracy and lightweight trade-off.
Figure 8.
Comparison of mIoU curves of mainstream models on batik dataset.
To evaluate the effectiveness of the proposed method in semantic segmentation and texture recognition of batik patterns, this section compares the visual detection results of UperNet, DeepLabV3+, and the proposed model on the batik dataset, as shown in Figure 9: Figure 9a is the original RGB image, Figure 9b is the manually labeled real labels, Figure 9c,d represent the segmentation prediction results of UperNet and DeepLabV3+ segmentation prediction results, and Figure 9e shows the output of the proposed model in this study. The blue boxes label the classification differences in different categories or texture regions, while the red boxes compare the accuracy of the engraving of edges and detailed textures.
Figure 9.
Visualization of segmentation results on the batik dataset: (a) RGB input images; (b) ground truth labels; (c) UperNet results; (d) DeepLabV3+ results; (e) our proposed method (BMFNet). Blue boxes highlight the comparison of category classification: row 1 (butterfly antenna), row 2 (fish eye), and row 3 (overlapping pattern separation). Red boxes indicate the comparison of edge texture information: row 1 (wing edge precision), row 2 (scale texture detail), and row 3 (fine ice-crack texture preservation).
To provide a more detailed analysis, we highlight specific regions using colored boxes. The blue boxes in Figure 9 indicate areas where classification accuracy differs between methods. For example, as shown in the first row, the butterfly antenna was correctly identified only by our method, while baseline models misclassified it as background. As shown in the second row, the fish eye region was completely missed by UperNet and only partially captured by DeepLabV3+, whereas our method accurately segmented it. As shown in the third row, the overlapping butterfly and fish patterns were incorrectly merged by baseline models, but our method successfully separated them.
The red boxes highlight boundary precision and texture details. As shown in the first row, the butterfly wing edges produced by our method were significantly smoother and more accurate than the blurred or jagged boundaries from baseline models. As shown in the second row, the fine scale texture of the fish was preserved only by our method, while baseline models either smoothed over or completely lost this detail. As shown in the third row, the delicate ice-crack texture, a characteristic feature of batik, was successfully captured by our method but was absent in the baseline results. These visual comparisons demonstrate that our approach not only improves classification accuracy but also enhances boundary precision and texture preservation, which are critical for high-quality segmentation of cultural heritage patterns.
From the results, it can be seen that UperNet may suffer from texture erosion in localized areas, while DeepLabV3+ has a limited ability to differentiate fine boundaries and misclassified blocks. The proposed model achieves an improvement in the accuracy of overall texture boundary, detailed parts, and complex contours, which not only improves the integrity of target category recognition but also effectively suppresses background noise interference and makes the segmented region more compatible with the real label. Its superior performance in multi-scale feature fusion and high-precision texture segmentation is demonstrated.
To further illustrate the role of the attention-weighting mechanism, this study visualized the attention heatmaps of representative samples and compared the responses of shallow and deep attention layers. Specifically, Figure 10 presents the comparison of shallow and deep attention heatmaps for a single-category sample, while Figure 11 presents the comparison for a composite-category sample. The results show that PAM1 mainly exhibited sparse, local, high-response regions, whereas PAM3 formed more continuous activations over a wider range, indicating that as the network depth increased, the model’s focus gradually shifted from local salient patterns to the modeling of overall structure and contextual information. For both single-category and composite-category samples, the deep attention layer demonstrated stronger global perceptual capability than the shallow attention layer. Overall, the visualization results of the attention heatmaps are consistent with the quantitative experimental results, indicating that the collaborative effect of attention weighting and hierarchical decoding helped improve the model’s performance.
Figure 10.
Comparison of shallow and deep attention heatmaps for a single-category sample.
Figure 11.
Comparison of shallow and deep attention heatmaps for a composite-category sample.
5. Conclusions
This paper proposed a few-shot sample semantic segmentation algorithm for batik based on attention weighting and hierarchical decoding. The innovative architecture realizes accurate parsing of complex textures through a multi-level feature interaction mechanism. The network uses ResNet101 as the backbone network to construct the migration learning module, extracts the base features using the pre-training parameters, and combines the dual-attention feature enhancement module to achieve the spatial and channel cocalibration—the spatial attention strengthens the texture contour response through the feature map positional correlation modeling, while the channel attention is based on the global pooling dynamic recalibration of feature channel weights, and their cascade operation enables the model to effectively focus on key texture regions under few-shot samples. The architecture achieves a balance between texture detail preservation and model generalization capability under very-few-shot sample constraints through the synergistic optimization of migration learning initialization, attention-guided feature selection, lightweight multi-scale fusion, and hierarchical decoding, which provides a reliable technical solution for the digital preservation of intangible cultural heritage. The algorithm proposed in this paper demonstrates robustness to noise and localized fuzzy regions in the actual batik pattern segmentation task and maintains good feature discrimination performance under few-shot sample conditions. For batik patterns of different sizes, shapes, and texture styles, the experimental results further demonstrate the model’s adaptability to complex scenes.
Future work includes the following: (1) Aiming at the fine features of batik, such as “fine wax cracks and gradient halos”, a super-resolution fusion mechanism will be introduced to first improve the detail resolution of images before segmentation, thereby reducing the missed segmentation and missegmentation of small-scale textures. (2) Combining the textual information of intangible cultural heritage, a multi-modal semantic segmentation method will be designed to enhance the segmentation quality of batik images. (3) This study lacked a sufficient comparison with strong baselines such as PANet (Prototype Alignment Network), PFENet, and HSNet, which could be included in future studies.
Author Contributions
Conceptualization, Y.M. and W.L.; methodology Y.M. and W.L.; software, H.Q.; validation, Y.M., H.Q. and W.L.; data curation, Y.M.; writing—original draft preparation, Y.M.; writing—review and editing, Y.M. and W.L.; visualization, H.Q.; supervision, W.L.; project administration, W.L.; funding acquisition, W.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Key Research Project of Anhui Provincial Department of Education, China (2022AH053089). Outstanding Scientific Research and Innovation Team of Anhui Police College (2023GADT06).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The source code (version v1.0) presented in the study is openly available at GitHub: https://github.com/TeacherWLee/BaticSemanticSegmentation (accessed on 7 January 2026).
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Tian, J.; Xin, P.; Bai, X.; Xiao, Z.; Li, N. An Efficient Semantic Segmentation Framework with Attention-Driven Context Enhancement and Dynamic Fusion for Autonomous Driving. Appl. Sci. 2025, 15, 8373. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Zhang, J.; Chen, Y.; Yuan, H.; Wu, C. An Automated Learning Method of Semantic Segmentation for Train Autonomous Driving Environment Understanding. IEEE Trans. Ind. Inform. 2024, 20, 6913–6922. [Google Scholar] [CrossRef] [Scilit]
- Cheng, J.; Deng, C.; Su, Y.; An, Z.; Wang, Q. Methods and Datasets on Semantic Segmentation for Unmanned Aerial Vehicle Remote Sensing Images: A Review. ISPRS J. Photogramm. Remote Sens. 2024, 211, 1–34. [Google Scholar] [CrossRef] [Scilit]
- Yu, A.; Quan, Y.; Yu, R.; Guo, W.; Wang, X.; Hong, D.; Zhang, H.; Chen, J.; Hu, Q.; He, P. Deep Learning Methods for Semantic Segmentation in Remote Sensing with Small Data: A Survey. Remote Sens. 2023, 15, 4987. [Google Scholar] [CrossRef] [Scilit]
- Azad, R.; Aghdam, E.K.; Rauland, A.; Jia, Y.; Avval, A.H.; Bozorgpour, A.; Karimijafarbigloo, S.; Cohen, J.P.; Adeli, E.; Merhof, D. Medical Image Segmentation Review: The Success of U-Net. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 10076–10095. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Gou, S.; Zhou, Y.; Jiao, C.; Liu, W.; Shi, M.; Luo, Z. Object Knowledge-Aware Multiple Instance Learning for Small Tumor Segmentation. Biomed. Signal Process. Control 2026, 115, 109400. [Google Scholar] [CrossRef] [Scilit]
- Lu, Y.; Li, W.; Cui, Z.; Zhang, Y. Beyond Low-Dimensional Features: Enhancing Semi-Supervised Medical Image Semantic Segmentation with Advanced Consistency Learning Techniques. Expert Syst. Appl. 2025, 261, 125456. [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; Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar]
- 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. 2017, 40, 834–848. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Ren, X.; Zhang, Z. Cultural Heritage as Rural Economic Development: Batik Production amongst China’s Miao Population. J. Rural Stud. 2021, 81, 182–193. [Google Scholar] [CrossRef] [Scilit]
- Gu, Z.; Zhang, Y.; Xian, S.; Pan, S.; Wang, L. Conservation and Inheritance of Cultural Heritage in Regeneration of Urban Villages: A Tale of Two Villages in Guangzhou, China. J. Rural Stud. 2026, 122, 103989. [Google Scholar] [CrossRef] [Scilit]
- Yuan, X.; Li, H.; Ota, K.; Dong, M. Building Energy Efficient Semantic Segmentation in Intelligent Edge Computing. IEEE Trans. Green Commun. Netw. 2023, 8, 572–582. [Google Scholar] [CrossRef] [Scilit]
- Guo, F.; Zhou, D. Few-Shot Semantic Segmentation Network for Distinguishing Positive and Negative Examples. Appl. Sci. 2025, 15, 3627. [Google Scholar] [CrossRef] [Scilit]
- Lee, S.; Kim, S. Semi-Supervised Pointwise VIV Detection via Few-Shot and Sequential Transfer Learning. Eng. Struct. 2026, 351, 122058. [Google Scholar] [CrossRef] [Scilit]
- He, W.; Zhang, Y.; Zhuo, W.; Shen, L.; Yang, J.; Deng, S.; Sun, L. Apseg: Auto-Prompt Network for Cross-Domain Few-Shot Semantic Segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; pp. 23762–23772. [Google Scholar]
- Liu, H.; Peng, P.; Chen, T.; Wang, Q.; Yao, Y.; Hua, X.-S. Fecanet: Boosting Few-Shot Semantic Segmentation with Feature-Enhanced Context-Aware Network. IEEE Trans. Multimed. 2023, 25, 8580–8592. [Google Scholar] [CrossRef] [Scilit]
- Ding, H.; Zhang, H.; Jiang, X. Self-Regularized Prototypical Network for Few-Shot Semantic Segmentation. Pattern Recognit. 2023, 133, 109018. [Google Scholar] [CrossRef] [Scilit]
- Cao, L.; Guo, Y.; Yuan, Y.; Jin, Q. Prototype as Query for Few Shot Semantic Segmentation. Complex Intell. Syst. 2024, 10, 7265–7278. [Google Scholar] [CrossRef] [Scilit]
- Lu, Z.; He, S.; Li, D.; Song, Y.-Z.; Xiang, T. Prediction Calibration for Generalized Few-Shot Semantic Segmentation. IEEE Trans. Image Process. 2023, 32, 3311–3323. [Google Scholar] [CrossRef] [Scilit]
- Gao, J.; Liao, W.; Nuyttens, D.; Lootens, P.; Xue, W.; Alexandersson, E.; Pieters, J. Cross-Domain Transfer Learning for Weed Segmentation and Mapping in Precision Farming Using Ground and UAV Images. Expert Syst. Appl. 2024, 246, 122980. [Google Scholar]
- Cuttano, C.; Tavera, A.; Cermelli, F.; Averta, G.; Caputo, B. Cross-Domain Transfer Learning with CoRTe: Consistent and Reliable Transfer from Black-Box to Lightweight Segmentation Model. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023; pp. 1412–1422. [Google Scholar]
- Tan, Y.; Zhang, E.; Li, Y.; Huang, S.-L.; Zhang, X.-P. Transferability-Guided Cross-Domain Cross-Task Transfer Learning. IEEE Trans. Neural Netw. Learn. Syst. 2025, 36, 2423–2436. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, D.; Li, J.; Zeng, X.; Stankovic, V.; Stankovic, L.; Xiao, C.; Shi, Q. Transfer Learning for Multi-Objective Non-Intrusive Load Monitoring in Smart Building. Appl. Energy 2023, 329, 120223. [Google Scholar] [CrossRef] [Scilit]
- Gao, G.; Dai, Y.; Zhang, X.; Duan, D.; Guo, F. ADCG: A Cross-Modality Domain Transfer Learning Method for Synthetic Aperture Radar in Ship Automatic Target Recognition. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5109114. [Google Scholar] [CrossRef] [Scilit]
- Fang, J.; Wang, Z.; Liu, W.; Chen, L.; Liu, X. A New Particle-Swarm-Optimization-Assisted Deep Transfer Learning Framework with Applications to Outlier Detection in Additive Manufacturing. Eng. Appl. Artif. Intell. 2024, 131, 107700. [Google Scholar]
- Wang, Y.; Hu, S.; Liu, J.; Wang, A.; Zhou, G.; Yang, C. Bridging the Gap between Computer Vision and Bioelectrical Signal Analysis. Inf. Fusion 2026, 129, 104047. [Google Scholar] [CrossRef] [Scilit]
- Dong, Y.; Mao, C.; Zheng, L.; Wu, Q.; Zhang, M.; Li, X. AFPN: Alignment Feature Pyramid Network for Real-Time Semantic Segmentation. Pattern Recognit. 2026, 170, 112019. [Google Scholar] [CrossRef] [Scilit]
- Yang, C.; Chen, M.; Xiong, Z.; Yuan, Y.; Wang, Q. CM-Net: Concentric Mask Based Arbitrary-Shaped Text Detection. IEEE Trans. Image Process. 2022, 31, 2864–2877. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, C.; Chen, M.; Yuan, Y.; Wang, Q. Zoom Text Detector. IEEE Trans. Neural Netw. Learn. Syst. 2024, 35, 15745–15757. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lin, T.-Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature Pyramid Networks for Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar]
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.










