Enhancing Coastal Safety with AI: A Lightweight Deep Learning Framework for Rip Current Segmentation via Architectural Co-Design and Model Compression
Rip currents pose significant threats to coastal safety and to autonomous marine vehicles operating nearshore. However, deploying high-precision monitoring models on resource-limited platforms remains challenging. This paper proposes a comprehensive framework that combines a novel architecture and compression methodology. First, we introduce RipSegNet, integrating a re-parameterized backbone network to efficiently extract multi-scale features from amorphous, low-contrast rip currents; a content-aware upsampling neck structure to preserve diffuse boundaries; and a lightweight shared convolutional segmenter to improve parameter efficiency. Second, we propose a collaborative two-stage compression pipeline: the first stage employs a task-aware, dimension-compensated macro-architecture pruning strategy; the second stage applies a knowledge distillation scheme guided by soft labels with a cosine annealing weight schedule. The final model, RipSegNet-Lite, achieves a Mask mAP of 0.919 with just 4.0 GFLOPs, reaching near lossless compression with over 58% compression. Qualitative analysis using heat maps and result masks, along with statistical significance evaluations confirm the model’s advantages in improving accuracy while reducing costs. This study provides an efficient, scalable solution for rip current monitoring, enabling reliable real-time instance segmentation on resource-limited platforms and enhancing coastal public safety and environmental awareness in autonomous marine systems.
Authors
- Wanlin Zhai
- Huimin Zou (ORCID: https://orcid.org/0000-0003-1622-6330)
- Jianhua Zhu (ORCID: https://orcid.org/0000-0002-6659-8442)
- Xin Hu (ORCID: https://orcid.org/0000-0001-9043-9639)
- Xu Gao (ORCID: https://orcid.org/0000-0003-3513-225X)
- Ning Zhang (ORCID: https://orcid.org/0009-0009-9660-0978)
- Xiangtao Zhao (ORCID: https://orcid.org/0009-0005-0935-7510)
- Zhifeng Li (ORCID: https://orcid.org/0009-0009-9352-4965)
Institutions
- Ludong University (CN)
- Ministry of Natural Resources (CN)
Publication Details
- Journal
- Journal of Marine Science and Engineering
- Published
- 2026-10-09
- DOI
- https://doi.org/10.3390/jmse14201878
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00