IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i11p1861-d1670476.html
   My bibliography  Save this article

Style Transfer and Topological Feature Analysis of Text-Based CAPTCHA via Generative Adversarial Networks

Author

Listed:
  • Tao Xue

    (School of Information Engineering, China University of Geosciences (Beijing), Beijing 100083, China
    Frontiers Science Center for Deep-Time Digital Earth, China University of Geosciences (Beijing), Beijing 100083, China)

  • Zixuan Guo

    (School of Information Engineering, China University of Geosciences (Beijing), Beijing 100083, China)

  • Zehang Yin

    (Faculty of Science, The University of Sydney, Sydney, NSW 2006, Australia)

  • Yu Rong

    (School of Information Engineering, China University of Geosciences (Beijing), Beijing 100083, China)

Abstract

The design and cracking of text-based CAPTCHAs are important topics in computer security. This study proposes a method for the style transfer of text-based CAPTCHAs using Generative Adversarial Networks (GANs). First, a curated dataset was used, combining a text-based CAPTCHA library and image collections from four artistic styles—Van Gogh, Monet, Cézanne, and Ukiyo-e—which were used to generate style-based text CAPTCHA samples. Subsequently, a universal style transfer model, along with trained CycleGAN models for both single- and double-style transfers, were employed to generate style-enhanced text-based CAPTCHAs. Traditional methods for evaluating the anti-recognition capability of text-based CAPTCHAs primarily focus on recognition success rates. This study introduces topological feature analysis as a new method for evaluating text-based CAPTCHAs. Initially, the recognition success rates of the three methods across four styles were evaluated using Muggle-OCR. Subsequently, the graph diameter was employed to quantify the differences between text-based CAPTCHA images before and after style transfer. The experimental results demonstrate that the recognition rates of style-enhanced text-based CAPTCHAs are consistently lower than those of the original CAPTCHA, suggesting that style transfer enhances anti-recognition capability. Topological feature analysis indicates that style transfer results in a more compact topological structure, further validating the effectiveness of the GAN-based twice-transfer method in enhancing CAPTCHA complexity and anti-recognition capability.

Suggested Citation

  • Tao Xue & Zixuan Guo & Zehang Yin & Yu Rong, 2025. "Style Transfer and Topological Feature Analysis of Text-Based CAPTCHA via Generative Adversarial Networks," Mathematics, MDPI, vol. 13(11), pages 1-16, June.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:11:p:1861-:d:1670476
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/11/1861/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/11/1861/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    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:gam:jmathe:v:13:y:2025:i:11:p:1861-:d:1670476. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.