IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0358329.html

FH-Net: Frequency-domain and hierarchical dual enhancement for few-shot surface defect segmentation

Author

Listed:
  • Lili Fan
  • Zhanglin Yang
  • Fan Guo
  • Ping Fang

Abstract

In real-world industrial manufacturing, surface defect segmentation is severely challenged by the extreme scarcity of annotated defect samples, which renders exhaustively supervised approaches impractical. Although meta-learning based few-shot segmentation paradigms have made initial progress, existing methods still suffer from two prominent limitations. First, the limited number of support set samples leads to insufficient feature diversity, rendering the model prone to overfitting during training. Second, feature extraction restricted to a single hierarchical level and lacking contextual guidance constrains the representational capacity for complex and multi-scale defects. To address these issues, a novel few-shot surface defect segmentation method termed FH-Net is proposed, which aims to achieve high-precision segmentation of previously unseen categories using only a limited number of annotated samples. Specifically, a Semantic-Preserving Frequency Perturbation (SPFP) module is designed, which enriches support set feature diversity through foreground- and global-level amplitude perturbations in the Fourier domain, thereby mitigating the risk of overfitting under limited supervision. Furthermore, a Hierarchical Context Aggregation Module (HCAM) is constructed, which strengthens multi-scale defect representation via parallel feature extraction branches coupled with an attention-driven adaptive weighting fusion mechanism. Extensive experiments on FSSD-12 and Surface Defects-4i demonstrate that FH-Net achieves competitive segmentation performance compared with representative recent methods under both the 1-shot and 5-shot settings. Ablation studies further confirm the contribution of each core module to the overall performance improvement.

Suggested Citation

  • Lili Fan & Zhanglin Yang & Fan Guo & Ping Fang, 2026. "FH-Net: Frequency-domain and hierarchical dual enhancement for few-shot surface defect segmentation," PLOS ONE, Public Library of Science, vol. 21(9), pages 1-29, September.
  • Handle: RePEc:plo:pone00:0358329
    DOI: 10.1371/journal.pone.0358329
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0358329
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0358329&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0358329?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0358329. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.