Security and Communication Networks

BBPE‐AE: A Byte‐Pair Encoding–Based Auto Encoder for Password Guessing

Samane Ghafari Sabil, Leila Safari

Key points

From the paper's conclusion
  • These contributions demonstrate that BBPE‐AE is a robust and scalable solution for advancing password‐guessing research and strengthening password security assessment.

Abstract

Password guessing is a critical technique used in both cybersecurity research and real‐world attacks, with significant implications for evaluating authentication strength. However, current password‐guessing models often suffer from key limitations: They require extensive training time, rely on fixed‐length inputs, and struggle to generalize across diverse password formats. In this study, we propose byte‐level byte‐pair encoding (BBPE)‐AE, a novel autoencoder‐based framework that leverages BBPE and a dynamic sliding‐window mechanism to overcome these issues. Unlike conventional models, BBPE‐AE removes length constraints, enabling the model to learn meaningful subword units and capture complex password patterns. Experimental results on three authentic datasets—Hotmail, MySpace, and China Software Developer Network (CSDN)—show that BBPE‐AE achieves high performance, with BLEU‐Unigram and BLEU‐Bigram scores up to 0.90 and 0.82, respectively, a low duplication rate, and high Have I Been Pwned (HIBP) safety compliance. Compared to baseline models such as GNPassGAN and large language model–based approaches such as PagPassGPT, BBPE‐AE achieves comparable or superior accuracy while significantly reducing training time and computational overhead. These contributions demonstrate that BBPE‐AE is a robust and scalable solution for advancing password‐guessing research and strengthening password security assessment.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers