Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Identification of shipping signals with few-shot learning: A distribution-aware approach

  • Bum-Kyu Kim,

    Roles Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Writing – original draft

    Affiliation Department of Artificial Intelligence Convergence, Pukyong National University, Busan, Korea

  • Sungho Cho,

    Roles Conceptualization, Formal analysis, Resources, Writing – review & editing

    Affiliations Department of Ocean Science, University of Science & Technology (UST), Busan, Korea, Sea Power Reinforcement· Security Research Department, Korea Institute of Ocean Science & Technology, Busan, Korea

  • Sunhyo Kim,

    Roles Data curation, Resources, Validation, Visualization

    Affiliation Sea Power Reinforcement· Security Research Department, Korea Institute of Ocean Science & Technology, Busan, Korea

  • Hansoo Kim,

    Roles Data curation, Investigation, Project administration, Resources, Validation

    Affiliations Department of Ocean Science, University of Science & Technology (UST), Busan, Korea, Sea Power Reinforcement· Security Research Department, Korea Institute of Ocean Science & Technology, Busan, Korea

  • Ye-Ji Jin,

    Roles Data curation, Formal analysis, Methodology, Validation

    Affiliation Department of Artificial Intelligence Convergence, Pukyong National University, Busan, Korea

  • Hyun-Tae Choi,

    Roles Data curation, Validation

    Affiliation Department of Artificial Intelligence Convergence, Pukyong National University, Busan, Korea

  • Won-Du Chang

    Roles Conceptualization, Data curation, Formal analysis, Methodology, Supervision, Writing – review & editing

    chang@pknu.ac.kr

    Affiliation Department of Artificial Intelligence Convergence, Pukyong National University, Busan, Korea

Abstract

Effective identification of shipping signals in underwater environments is essential for maritime operations and ecosystem monitoring. Traditional models require extensive data for each ship type, posing a significant challenge owing to the difficulty of collecting diverse signals, particularly for vessels with security constraints. Few-shot learning offers a promising solution by enabling ships identification from minimal data through accurate template matching. This study proposes a novel few-shot learning approach that leverages stochastic information within and between ship types to improve identification accuracy using limited labeled data. The proposed model is designed based on a Siamese prototype network that integrates intra- and inter-category dissimilarities, employing cosine distance to estimate similarity while accounting for variance within the data. It achieves robust performance even when trained on limited samples with an average accuracy of 87.81% in five-way identification. In addition, its ability to generalize to unseen ship classes highlights its potential for real-time marine applications, further confirming the effectiveness of few-shot learning in constrained data scenarios. This approach provides valuable insights into designing adaptive, efficient systems for underwater signal detection and has potential applications across a wide range of acoustic processing tasks.

Introduction

Underwater noise in marine environments originates from various sources, broadly categorized as natural phenomena and human activities [13]. In shallow-water zones, natural sources include wind-driven surface noise and sounds produced by marine organisms, whereas human-induced noise primarily comprises those from shipping activities, offshore construction, geological surveys, and sonar operations [38]. A significant portion of this anthropogenic underwater noise stems from commercial shipping. The trend toward larger, faster vessels has intensified noise levels, leading to acoustic saturation that adversely affects marine ecosystems [1,9]. To mitigate this impact, the International Maritime Organization (IMO) has been actively considering underwater noise regulations for ships within the Marine Environment Protection Committee since 2008. In 2014, the IMO issued guidelines to reduce noise from commercial ships, further defining international regulatory standards [9].

Following the enactment of IMO regulations, nations have been expected to manage ship traffic selectively within their territorial waters by continuously monitoring underwater noise levels. However, analyzing and detecting shipping signals requires specialized acoustic expertise and advanced analytical capabilities [10]. Recent improvements in acoustic equipment accuracy and the rise of long-term monitoring have led to an accumulation of substantial underwater noise data, increasing the need for automated, data-driven detection methods [11].

Spectrogram analysis is a common method for analyzing underwater acoustic data, visualizing sound in terms of time and frequency [12]. This technique enables the visual identification of the acoustic characteristics of underwater noise sources. For instance, the noise from a moving ship in a spectrogram exhibits a prominent U-shaped interference pattern in the 100–1,000 Hz range, reflecting temporal changes [6,7,11]. These U-shaped patterns are induced by wave interference across multiple propagation paths—direct, surface-reflected, and seabed-reflected waves—within the waveguide bound by the seabed and sea surface, particularly when broadband sources travel near the surface layer [11,13]. This interference pattern reveals a ship’s presence and movement direction, with descending patterns indicating an approaching ship and ascending patterns a receding one [1214].

Deep-learning (DL) methods have increasingly been employed in recent decades to automate feature extraction and enhance the accuracy of underwater shipping signal recognition. Doan et al. [15] employed DenseNet to classify various underwater noise sources under low signal-to-noise ratio conditions, whereas Shen et al. [16,17] extracted acoustic features using auditory filter banks and classified shipping signals via convolutional neural networks (CNNs). Hu et al. [18] focused on detecting underwater noise sources using CNNs, and Irfan et al. [19] applied a CNN-based autoencoder to classify shipping signals across four categories: cargo ships, passenger ships, tankers, and tugboats. Yuan et al. [20] leveraged multimodal DL techniques, using both shipping signal and visual imagery for signal detection.

Moreover, public datasets such as DeepShip [19], ShipsEar [21], and QiandaoEar22 [22] provide complementary scales, metadata, and channel configurations, supporting reproducible benchmarking across varied real-world conditions (season/sea-state variability, multi-target scenes, multi-channel sensing). DeepShip comprises ship‐radiated noise recorded in real seas for approximately 47 h 4 min spanning four classes. ShipsEar is an in-situ database of ship‐radiated noise that includes 11 vessel categories. QiandaoEar22 targets multi-target scenarios and contains 9 h 28 min of ship-noise recordings together with 21 h 58 min of background noise. Despite these advances, applying these methods in real-world shipping-signal recognition remains challenging owing to the difficulty of collecting datasets comprising a diverse range of signals. Most autonomous models require extensive datasets for each ship category to achieve accurate identification performance. However, obtaining signals from certain types of ships can be particularly difficult, often owing to security constraints, resulting in data scarcity for key categories. Few-shot learning offers a solution by enabling the identification of previously unseen classes using only a few examples per class [23]. It trains models to measure similarity or dissimilarity between query and key signals, enabling accurate prediction of signal classes from unseen categories, even with limited query signals from new categories.

This study proposes a novel few-shot learning approach to distinguish various underwater shipping signals without introducing additional learnable parameters. This approach leverages stochastic information within and between ship types to enhance identification accuracy with limited labeled data. By applying self-calibration (SC), inter-calibration (IC), and boundary loss (BL) to the support and query sets, the prototype computation is refined to enhance classification performance. In addition, cosine distance is employed to effectively capture similarities between data, enabling accurate classification even for previously unseen ship signals.

Related work

Few-shot learning addresses the challenge of classifying previously unseen classes with limited training examples by learning a generalized approach to identify classes [2426]. These methods are broadly categorized into model-, metric-, and optimization-based approaches. Among these, the metric-based approach has proven particularly effective for classifying new classes with limited data by measuring the distance between data points [27]. Fig 1 illustrates the prototypical concept of metric-based few-shot learning. In this approach, the model learns to calculate the dissimilarity between the mean of the support signals (prototypes) and each query signal to identify the class with the highest probability. When a new type of signal appears—such as class F—the model can readily accommodate it by simply updating the prototypes with a few examples from the new class (e.g., class C).

thumbnail
Fig 1. Prototypical networks in few-shot learning scenarios.

Prototypes (class means) are calculated from support-set embeddings, and query examples are classified based on their distance to these prototypes.

https://doi.org/10.1371/journal.pone.0352683.g001

Among conventional metric-based methods, the prototypical network

(ProtoNet) proposed by Snell et al. [23] stands out for its simplicity and effectiveness, inspiring ongoing research [2831]. Building upon these advancements, the Siamese prototype network (SPNet) was proposed to enhance the precision of few-shot learning by preserving similarity within the embedding space and achieving high classification accuracy even with limited data [32]. These studies have introduced methods to refine prototypes using mechanisms such as attention, leading to improvements in model accuracy, adaptability, and interpretability in complex classification tasks. These modifications contribute to performance gains, with a focus on efficiency, and are particularly useful in resource-constrained environments. Furthermore, they extend the applicability of few-shot learning to applications requiring rapid model adaptation with minimal data.

Several studies have leveraged metric-based few-shot learning to detect and classify shipping signals. Tian et al. [33] and Xie et al. [34] employed cosine similarity within a few-shot learning framework to identify underwater noise sources. Similarly, Nie et al. [35] employed contrastive learning based on Euclidean distance for underwater noise classification. In addition, various other studies have demonstrated the effectiveness of few-shot learning for underwater noise classification [3641].

In contrast to previous studies, this work focuses on enhancing shipping-signal identification by leveraging stochastic information both within and between ship types. This study adopts cosine distance to achieve more robust similarity estimation. Furthermore, by applying SC and IC to the support and query sets, along with incorporating BL, the prototype representations are refined, resulting in improved classification performance.

Materials and methods

Data and preprocessing

This study was conducted using underwater acoustic data recorded in the southern sea of Jeju Island [1,2]. This area is characterized by heavy ship traffic from large cargo ships and tankers traversing the East China Sea, providing a rich dataset for studying underwater acoustic signals. The region is also rich in fish resources, supporting active fishing and regular operations of cruise and passenger ships, contributing to a diverse soundscape [4,8,42]. The underwater acoustic data used in this study were collected continuously in this region from July 15–26, 2016 (Fig 2A). All acoustic measurements were conducted in open coastal waters where no specific research permits were required, as these data were acquired in non-restricted marine areas [1,2,4]. These signals were recorded using a self-recording hydrophone deployed at a depth of approximately 50 m and located about 18 km south of Jeju Island (Fig 2B). Stable, long-term data acquisition was ensured by using an underwater buoy for mid-water mooring, minimizing the risk of equipment loss owing to potential ship collisions, which is a concern with surface buoys. The hydrophone was configured with a sampling frequency of 24 kHz and a system gain of 12 dB to ensure adequate signal amplification. A high-pass filter with a cutoff frequency of 40 Hz was applied to reduce low-frequency noise in the acoustic data.

thumbnail
Fig 2. Study area and acoustic-monitoring setup (a) location of self-recording hydrophone in Jeju Island’s southern sea; (b) experimental layout for recording ship-radiated signals.

This map was generated using the M_Map mapping package for MATLAB [43]. Coastline and boundary data were derived from the Global Self-consistent, Hierarchical, High-resolution Geography (GSHHG) database [44], which is licensed under the GNU Lesser General Public License.

https://doi.org/10.1371/journal.pone.0352683.g002

The frequency components of the recorded broadband time-series data were analyzed using the short-time Fourier transform. This method involves performing a fast Fourier transform (FFT) on consecutive overlapping segments of the acoustic signal, effectively generating a spectrogram that provides a time-frequency representation. The Fourier transform decomposes the input signal into a sum of periodic functions with various frequencies, enabling detailed analysis of these components. Spectrograms, with their time–frequency representation, facilitate the analysis of acoustic characteristics from various sources, both above and underwater, rendering them a fundamental tool for source analysis in underwater acoustics.

The underwater acoustic data recorded during the observation period were saved as individual WAV files every 10 min, resulting in 1,572 audio files. Acoustic signals from ships passing within a 5 km radius of the hydrophone were extracted and segmented into 1-s intervals for training and validation (Table 1). To accurately identify passing ships and associate with their acoustic signatures, dynamic and static information, such as location, speed, and direction, was obtained in real-time from the Automatic Identification System (AIS). This study used Maritime Mobile Service Identity (MMSI) as a unique identifier for each ship to recognize it individually. In contrast, the ship type number is a unique classification code assigned by AIS, and is used to distinguish ship categories such as large cargo ships and passenger vessels. A total of 21 ships passed within the 5 km radius during the study period. Spectrograms were constructed from the acoustic signals of these ships.

thumbnail
Table 1. Information and passage times of ships crossing within 5 km of the hydrophone.

https://doi.org/10.1371/journal.pone.0352683.t001

Each spectrogram was generated by processing the corresponding acoustic signal using the FFT to calculate the dominant frequency components. The primary frequency range of shipping signals, where the characteristic U-shaped interference pattern prominently appears, was determined to be between 100 and 1000 Hz (Fig 3). Subsequently, individual datasets for each ship’s acoustic signal were constructed at 1-s intervals. These spectrograms were resized to (224, 224, 3) images for compatibility with the selected DL model and normalized to values between zero and one to enhance training efficiency. In addition, for data augmentation during training, Gaussian noise with a standard deviation of 0.02 was applied to the normalized input images before model input.

thumbnail
Fig 3. Spectrogram of a shipping signal exhibiting the characteristic U-shape interference pattern.

https://doi.org/10.1371/journal.pone.0352683.g003

Proposed method

This study proposes a method based on the Prototypical Network [23], a metric-based few-shot learning model that performs classification by calculating the distance between the embedded feature vector of a test sample and each prototype. To rigorously evaluate the ability to classify unseen classes that were not encountered during training, this study followed a meta-learning protocol. The dataset was divided into two groups: meta-training and meta-test, which comprise 16 and 5 ship classes, respectively. The meta-training set was used for episodic training, whereas the meta-test set was reserved exclusively for the final evaluation of generalization performance. The evaluation was conducted exclusively using the five unseen classes in the meta-test set with an n-way, n-shot episodic scheme. Given the limitation of having only 21 available ship classes, a separate Meta-validation set was intentionally omitted to maximize the use of available classes for meta-training and meta-test.

Meta-training was performed using an episodic learning approach composed of multiple training episodes. In each episode, C classes were randomly selected and K samples were then randomly drawn from each class to construct a C × K support set. Subsequently, a query set was constructed by randomly sampling from the same C classes. The model was then trained to classify the query samples among the C classes by minimizing the distance to the target class while maximizing the distance to the other classes. This setting is referred to as a C-way, K-shot problem, as it utilizes K samples per class in the support set. As training proceeds over episodes, the model learns commonalities across meta-tasks, such as extracting important features and comparing sample similarities, while disregarding task-specific nuances. This learning mechanism enables the trained model to generalize effectively to new, unseen meta-tasks. The entire process of data splitting and episodic learning was repeated 50 times to evaluate the generalizability of the proposed method.

Fig 4 presents the overall workflow of the proposed framework under a five-way, five-shot setting. In each episode, five support samples are selected from each of the five classes, and 16 query samples per class are simultaneously provided, corresponding to the 5 × 5 support features and 5 × 16 query features shown in the figure. The support and query spectrograms are passed through a shared VGG-16 backbone, followed by a global average pooling layer and a dense layer, to produce fixed-length embedded feature vectors. These vector representations are then used to compute the loss terms for training. Specifically, the framework adopts the original, self-calibration, and inter-calibration losses from previous studies [23,32] and further introduces boundary-calibration loss to penalize query samples that intrude into the boundary regions of non-target classes. The final objective function is formulated as a weighted combination of these loss terms. In addition, a hard-negative strategy was proposed alongside standard softmax for the conventional losses in previous studies [23,32]. Unlike standard softmax, which incorporates all class scores in the loss calculation, the proposed strategy constructs the loss by contrasting the target class with the most competitive non-target class.

thumbnail
Fig 4. Architecture of the proposed network for five-way, five-shot classification.

https://doi.org/10.1371/journal.pone.0352683.g004

Self-calibration loss (SCL) [32] is computed by measuring the distances between the embedded vectors of the support set and the class prototype , which is defined as the mean vector of the embedded support samples in class . It encourages support samples to remain close to their own class prototype while being distinguished from other class prototypes. The SCL for the support set is defined as follows:

(1)(2)(3)

where denotes the embedded vector of the sample in the support set , the label of the sample, and the mean vector of the embedded support samples in class .

Original classification loss (OCL) [23] is designed to encourage each query sample to be associated with its target support-set prototype in the embedding space. Based on the distance between an embedded query vector and each support-set prototype, class-wise scores are obtained for each query sample. The OCL is then defined from the probability assigned to the target class, formulated as follows:

(4)(5)(6)

where denotes the embedded vector of the sample in the query set , the total number of samples in the query set , and the label of the sample as defined in Eq. (3).

Inter-calibration loss (ICL) [32] is designed to encourage each support sample to be associated with its corresponding query-set prototype , thereby reversing the direction of the prototype assignment. Based on the distance between an embedded support vector and each query-set prototype, class-wise scores are obtained for each support sample. The ICL is then defined as follows:

(7)(8)(9)

where represents the embedded feature vector of the support sample, denotes the label of the sample, and is the prototype of class computed from the query set. By minimizing this loss, the model promotes consistency between support representations and query-derived prototypes.

The proposed boundary-calibration loss (BCL) is designed to improve class separation by penalizing query samples that fall within the boundary regions of non-target classes. For each class, the boundary is centered at the corresponding support-set prototype, and its radius is defined as the maximum distance from the prototype to the embedded vectors of the class. Using this boundary, the model measures the intrusion of each query sample into the regions of non-target classes. A penalty is assigned whenever a query sample lies inside any such boundary, and the total intrusion is averaged over all query samples to define the loss. The BCL is formulated as follows:

(10)(11)(12)

where denotes the embedded vector of the query sample, the label of that query sample, the embedded vector of the support sample, the support-set prototype of class , the set of support samples belonging to class , and the class-specific boundary radius.

The proposed hard-negative strategy is designed to focus training on the most competitive non-target class. Unlike standard softmax, which computes the classification loss using the scores of all classes, this strategy constructs a hard-negative logit for each sample by subtracting the highest non-target score from the target-class score. The resulting logit is optimized using binary cross-entropy, encouraging the target-class score to remain larger than that of the hardest negative class. Replacing Eqs. (5) and (8), the hard-negative strategy is defined as follows:

(13)(14)(15)

where denotes the class-wise score of sample for class , the score assigned to the target class, the highest score among non-target classes, the label of sample , and is the indicator function.

Finally, the overall objective is defined as a linear combination of these four losses as follows:

(16)

where 𝛼, 𝛽, γ, and δ are the weights of the four loss components, set to 1, 3, 7, and 0.3 during the experiments, respectively. The values of 𝛼, 𝛽, and γ were adopted as reported in [32], whereas was determined empirically. The effects on model performance are further analyzed in the Results section.

Results and discussion

The models were trained for 700 episodes, as this was empirically found to be the point at which most methods, including the proposed one, reached stable performance. Unless otherwise stated, the experiments were conducted using a 512-dimensional latent vector. Following [32], cosine distance was adopted as the distance metric, and the resulting values were scaled by a factor of 50, as proposed in that study, yielding a range from 0 to 50.

Table 2 presents a comparison between the conventional standard softmax-based classification and the proposed hard-negative strategy. The proposed strategy emphasizes the most competitive non-target class during optimization. As described in the Proposed method section, the difference between the two settings lies in the original, self-calibration, and inter-calibration losses, while the boundary-calibration loss was retained in both settings. Across 50 independent trials, the proposed strategy achieved a mean accuracy of 87.81%, slightly higher than the 87.59% obtained with the standard softmax-based setting. This result indicates that focusing on the hardest negative class can provide a modest performance gain without compromising stability.

thumbnail
Table 2. Performance comparison between the conventional softmax-based classification and the proposed hard-negative strategy.

https://doi.org/10.1371/journal.pone.0352683.t002

To evaluate the effect of the proposed BCL, a sensitivity analysis was conducted by varying its weight from 0.0 to 0.5 under a fixed training-time data augmentation of Gaussian noise with a standard deviation of 0.02 (Table 3). The highest mean accuracy, 87.81%, was achieved at a weight of 0.3, corresponding to an improvement of 0.24%p over the baseline without BCL (87.57% at weight 0.0). Although the improvement was modest, the results suggest that an appropriate BCL weight can provide a consistent performance benefit. When the weight exceeded 0.3, accuracy tended to decrease. This finding indicates that a moderate boundary constraint helps improve inter-class discriminability, whereas an excessively large weight may overemphasize the boundary term and weaken the balance with the main classification objective, ultimately reducing generalization performance.

thumbnail
Table 3. Sensitivity analysis of the BCL weight on classification performance under the hard-negative strategy and Gaussian noise (σ = 0.02).

https://doi.org/10.1371/journal.pone.0352683.t003

To examine the effect of Gaussian noise used as a training-time augmentation, a comparative experiment was conducted by adding Gaussian noise with a standard deviation of 0.02 during training (Table 4). The results showed that the model achieved a mean accuracy of 87.81% when Gaussian noise was used, compared to 87.68% when it was not used, corresponding to an improvement of approximately 0.13%p. Although the gain was modest, the result suggests that Gaussian noise can serve as an effective augmentation method by reducing overfitting to specific training patterns and improving generalization performance.

thumbnail
Table 4. Performance comparison according to the presence of Gaussian noise under the hard-negative strategy and boundary-calibration loss (BCL).

https://doi.org/10.1371/journal.pone.0352683.t004

Table 5 presents the performance of the proposed framework across various backbone architectures under identical experimental conditions without Gaussian noise augmentation. In this comparison, the proposed framework, incorporating the hard-negative strategy and boundary-calibration loss (BCL) with , was implemented with each backbone to evaluate its performance and stability. The results show that the framework achieved competitive performance across all evaluated backbones, with mean accuracies ranging from 87.37% for ViT-B/32 (latent vector size: 768) to 88.07% for VGG-16 (latent vector size 4096). The performance differences were modest across the compared architectures, while standard deviations ranged from 5.81% to 6.58%, indicating generally stable performance. Overall, these results indicate that the proposed framework performs consistently across multiple backbone architectures. However, the observed differences suggest that factors such as representation dimensionality may influence performance, and further validation will be needed to clarify their effects in future work.

thumbnail
Table 5. Performance comparison across various backbone architectures under the hard-negative strategy and boundary-calibration loss (BCL), without Gaussian noise augmentation.

https://doi.org/10.1371/journal.pone.0352683.t005

Table 6 presents the classification accuracies of the proposed network in comparison with representative few-shot learning methods. To support a fairer comparison, the primary comparison was conducted without Gaussian noise augmentation for all methods, while the Gaussian-noise-augmented version of the proposed network was additionally reported as a reference. Methods marked with “†” use the same VGG-16 backbone as our method to reduce the influence of backbone differences, whereas the unmarked methods follow their original backbone configurations. A backbone-controlled setting was not additionally introduced for MAML and MatchingNet because their original formulations differ more substantially from the prototype-based methods in terms of learning and inference procedures.

thumbnail
Table 6. Classification comparison of the proposed network with representative few-shot learning methods.

https://doi.org/10.1371/journal.pone.0352683.t006

The baseline of the proposed network achieved the highest mean accuracy (87.68%) with a modest margin over the compared methods. Under the original backbone settings, it outperformed SPNet, ProtoNet, MAML, MatchingNet, and RelationNet [45]. Under the backbone-controlled setting, it also achieved higher accuracy than SPNet† and ProtoNet†. Notably, SPNet† corresponds to a setting in which both the hard-negative strategy and boundary-calibration loss (BCL) are absent. As shown in Tables 2 and 3, the hard-negative strategy and BCL yielded improvements of 0.22%p and 0.24%p, respectively. Consistent with these findings, Table 6 shows that the proposed method achieved an accuracy improvement of 0.44%p when both the hard-negative strategy and boundary-calibration loss (BCL) were incorporated, and the additional use of Gaussian noise augmentation increased the total gain to 0.57%p.

Taken together, the results suggest that the proposed components, designed to make use of data-distribution-related information, contributed to the observed performance improvements. The hard-negative strategy, boundary-calibration loss (BCL), and Gaussian noise augmentation each showed positive effects, and their combined use produced the best overall performance. At the same time, the total improvement remained limited to approximately 0.57%p, indicating that further studies on backbone selection and parameter optimization are still needed. Nevertheless, under the backbone-controlled setting, the proposed method appears to provide a more effective extension of the original ProtoNet framework for underwater acoustic data than SPNet. For reference, the performance difference between ProtoNet and SPNet was 0.13%p, with SPNet incorporating two additional loss terms over ProtoNet. It should also be noted that the present experiments were conducted using only underwater acoustic data, and further validation using a wider variety of datasets will be needed for a more comprehensive comparison.

Conclusions

This study investigated a Siamese network-based few-shot learning approach for the identification of underwater acoustic shipping signals, achieving robust performance in data-scarce scenarios. By integrating domain-specific constraints—specifically the hard-negative softmax and BCL—the proposed framework effectively structured the embedding space to enhance inter-class discriminability. Experimental results confirmed that the proposed network achieved a peak mean accuracy of 87.81% in a five-way, five-shot setup, significantly outperforming traditional few-shot learning methods such as MAML, MatchingNet, and RelationNet. At the same time, the improvement over ProtoNet and SPNet was relatively modest, indicating a limited performance margin over closely related prototype-based methods.

A major highlight of this work is the systematic cross-backbone comparison, which revealed that a moderately complex VGG-16 architecture with a 512-dimensional latent vector provides superior stability and reliability, recording the lowest standard deviation (5.81%) among various state-of-the-art architectures. This demonstrates that the integration of boundary-aware loss functions with a stable, lightweight architecture provides a reliable solution for practical maritime surveillance. Despite these achievements, environmental variables such as water temperature and bathymetry were not explicitly modeled in this study. Future research should aim to extend this framework to multi-vessel environments and investigate self-supervised adaptation techniques to further enhance generalizability across diverse oceanic regions. Nevertheless, given its high accuracy and computational efficiency, the proposed model is well-suited for real-time deployment in autonomous maritime monitoring and embedded surveillance systems.

Supporting information

References

  1. 1. Kim S, Jung SK, Kang D, Kim M, Cho S. Application of the artificial intelligence for automatic detection of shipping noise in shallow-water. J Acoust Soc Korea. 2020;39(4):279–85.
  2. 2. Kim B-K, Chang W-D, Kim H, Kim S, Kang D, Kim M, et al. CNN-based Shipping Noise Detection using Short-time Underwater Acoustics Signal. ieie. 2023;60(3):61–8.
  3. 3. Urick RJ. Principles of underwater sound. Los Altos, CA: Peninsula Publishing. 1983.
  4. 4. Cho S, Kang D, Park JS, Hahn J. Spatial mapping of underwater noise radiated from passing vessels using automatic identification system data. Jpn J Appl Phys. 2018;57(07LG07).
  5. 5. Cho S, Kim S, Kang D, Park J. Wind-dependent ambient noise level estimation in shallow water using wind speed data. Ocean Engineering. 2021;223:108653.
  6. 6. Kim SB. A study on the sources of ambient sea noise in the coastal water of Pusan. Bull Korean Fish Tech Soc. 1990;26:180–3.
  7. 7. Lurton X. An introduction to underwater acoustics: principles and applications. Heidelberg: Springer Science & Business Media. 2002.
  8. 8. Park JS, Kang D, Cho S. Noise directionality estimated using ship tracking data in the Southern Sea of Korea. Jpn J Appl Phys. 2018;57(07LG06).
  9. 9. International Maritime Organization. Guidelines for the reduction of underwater noise from commercial shipping to address adverse impacts on marine life. London: IMO. 2014.
  10. 10. "Li C, Huang Z, Xu J, Yan Y. Underwater target classification using deep learning. In: OCEANS 2018 MTS/IEEE Charleston, 2018. 1–5. https://doi.org/10.1109/oceans.2018.8604906
  11. 11. "Song G, Guo X, Wang W, Li J, Yang H, Ma L. In: Proc. 2021 OES China Ocean Acoustics (COA), 2021. 410–4.
  12. 12. McKenna MF, Ross D, Wiggins SM, Hildebrand JA. Underwater radiated noise from modern commercial ships. J Acoust Soc Am. 2012;131(1):92–103. pmid:22280574
  13. 13. Wales SC, Heitmeyer RM. An ensemble source spectra model for merchant ship-radiated noise. J Acoust Soc Am. 2002;111(3):1211–31. pmid:11931298
  14. 14. Ross D. Mechanics of underwater noise. Amsterdam: Elsevier. 2013.
  15. 15. Doan V-S, Huynh-The T, Kim D-S. Underwater Acoustic Target Classification Based on Dense Convolutional Neural Network. IEEE Geosci Remote Sensing Lett. 2022;19:1–5.
  16. 16. Shen S, Yang H, Li J, Xu G, Sheng M. Auditory Inspired Convolutional Neural Networks for Ship Type Classification with Raw Hydrophone Data. Entropy (Basel). 2018;20(12):990. pmid:33266713
  17. 17. Shen S, Yang H, Yao X, Li J, Xu G, Sheng M. Ship Type Classification by Convolutional Neural Networks with Auditory-like Mechanisms. Sensors (Basel). 2020;20(1):253. pmid:31906314
  18. 18. Hu G, Wang K, Peng Y, Qiu M, Shi J, Liu L. Deep Learning Methods for Underwater Target Feature Extraction and Recognition. Comput Intell Neurosci. 2018;2018:1214301. pmid:29780407
  19. 19. Irfan M, Jiangbin Z, Ali S, Iqbal M, Masood Z, Hamid U. DeepShip: An underwater acoustic benchmark dataset and a separable convolution based autoencoder for classification. Expert Systems with Applications. 2021;183:115270.
  20. 20. Yuan F, Ke X, Cheng E. Joint Representation and Recognition for Ship-Radiated Noise Based on Multimodal Deep Learning. JMSE. 2019;7(11):380.
  21. 21. Santos-Domínguez D, Torres-Guijarro S, Cardenal-López A, Pena-Gimenez A. ShipsEar: An underwater vessel noise database. Appl Acoust. 2016;113:64–9.
  22. 22. Du X, Hong F. QiandaoEar22: A high-quality noise dataset for identifying specific ship from multiple targets. EURASIP J Adv Signal Process. 2024;96.
  23. 23. Snell J, Swersky K, Zemel R. Prototypical networks for few-shot learning. Adv Neural Inf Process Syst. 2017;30.
  24. 24. "Finn C, Abbeel P, Levine S. In: Proceedings of the International Conference on Machine Learning, 2017. 1126–35.
  25. 25. "Qiao S, Liu C, Shen W, Yuille A. Few-Shot Image Recognition by Predicting Parameters from Activations. In: 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2018. 7229–38. https://doi.org/10.1109/cvpr.2018.00755
  26. 26. Vinyals O, Blundell C, Lillicrap T, Wierstra D. Matching networks for one shot learning. Adv Neural Inf Process Syst. 2016;29.
  27. 27. "Koch G, Zemel R, Salakhutdinov R. Siamese neural networks for one-shot image recognition. In: Lille, 2015. 1–30.
  28. 28. Liu J, Song L, Qin Y. Prototype Rectification for Few-Shot Learning. Lecture Notes in Computer Science. Springer International Publishing. 2020. 741–56. https://doi.org/10.1007/978-3-030-58452-8_43
  29. 29. Liu X, Zhou F, Liu J, Jiang L. Meta-Learning based prototype-relation network for few-shot classification. Neurocomputing. 2020;383:224–34.
  30. 30. Wang P, Cheng J, Hao F, Wang L, Feng W. Embedded adaptive cross-modulation neural network for few-shot learning. Neural Comput & Applic. 2019;32(10):5505–15.
  31. 31. "Zhang B, Li X, Ye Y, Huang Z, Zhang L. Prototype Completion with Primitive Knowledge for Few-Shot Learning. In: 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 3753–61.https://doi.org/10.1109/cvpr46437.2021.00375
  32. 32. Cheng G, Cai L, Lang C, Yao X, Chen J, Guo L, et al. SPNet: Siamese-Prototype Network for Few-Shot Remote Sensing Image Scene Classification. IEEE Trans Geosci Remote Sensing. 2022;60:1–11.
  33. 33. Tian S, Bai D, Zhou J, Fu Y, Chen D. Few-shot learning for joint model in underwater acoustic target recognition. Sci Rep. 2023;13(1):17502. pmid:37845288
  34. 34. "Xie Y, Ren J, Xu J. Guiding the underwater acoustic target recognition with interpretable contrastive learning. In: OCEANS 2023 - Limerick, 2023. 1–6. https://doi.org/10.1109/oceanslimerick52467.2023.10244447
  35. 35. Nie L, Li C, Wang H, Wang J, Zhang Y, Yin F, et al. A Contrastive-Learning-Based Method for the Few-Shot Identification of Ship-Radiated Noises. JMSE. 2023;11(4):782.
  36. 36. Cui X, He Z, Xue Y, Tang K, Zhu P, Han J. Cross-domain contrastive learning-based few-shot underwater acoustic target recognition. J Mar Sci Eng. 2024;12(264).
  37. 37. Lingzhi X, Xiangyang Z, Xiang Y, Shuang Y. Underwater acoustic object recognition with few shot SE_RseNet_Decoder semi-supervised learning. Research Square. 2022. https://doi.org/10.21203/rs.3.rs-1947231/v1
  38. 38. Xu Q, Jiang J, Xu K, Dou Y, Gao C, Zhu B, et al. Self-Supervised Learning-For Underwater Acoustic Signal Classification With Mixup. IEEE J Sel Top Appl Earth Observations Remote Sensing. 2024;17:3530–42.
  39. 39. Cui X, He Z, Xue Y, Zhu P, Han J, Xue Y, et al. IEEE Journal of Ocean Engineering. 2025;50(2):637–48.
  40. 40. Fu B, Nie J, Wei W, Zhang L. Constructing a multi-modal based underwater acoustic target recognition method with a pre-trained language-audio model. IEEE Transactions on Geoscience and Remote Sensing. 2025;63(4200414).
  41. 41. He Z, Han J, Zhang Q, Xue Y, Shen L, Cui X. Unlabeled Samples Improve Few-Shot Underwater Acoustic Target Recognition. IEEE Trans Geosci Remote Sensing. 2025;63:1–16.
  42. 42. Bello I, Fedus W, Du X, Cubuk ED, Srinivas A, Lin TY. Revisiting ResNets: improved training and scaling strategies. Adv Neural Inf Process Syst. 2021;34:22614–27.
  43. 43. Pawlowicz R. M_Map: A mapping package for MATLAB. 2024.
  44. 44. Wessel P, Smith WHF. A global, self‐consistent, hierarchical, high‐resolution shoreline database. J Geophys Res. 1996;101(B4):8741–3.
  45. 45. "Sung F, Yang Y, Zhang L, Xiang T, Torr PHS, Hospedales TM. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. 1199–208.