PassGPT+: Leveraging Linguistic Priors for Password Modeling
Rajneesh Anand, Neeraj Lakshmanan, Masoud Yari
Key points
From the paper's conclusion- PassGPT+ adapts the linguistic prior of GPT-2 to password observations through character-aware tokenization, and PassDiffusion is introduced as the first absorbing-state discrete diffusion model for password generation.
- Autoregressive modeling is substantially better matched than iterative denoising to the discrete, exact-match nature of password generation.
Abstract
Passwords remain the dominant online authentication mechanism, and understanding how humans choose them is essential for defensive strength estimation and attack simulation alike. Recent learning-based approaches such as PassGAN and PassGPT have shown that deep generative models can learn password structure directly from leaked corpora. However, both train from random initialization on password data alone. The role of linguistic prior knowledge in password modeling, and what it reveals about how humans create secrets, remains largely underexplored. Here, we address this gap with PassGPT+, which adapts the linguistic prior of GPT-2 to password observations through character-aware tokenization. We also introduce PassDiffusion, the first absorbing-state discrete diffusion model for password generation, as a probe of whether non-autoregressive approaches are competitive. On the RockYou benchmark, PassGPT+ recovers 22.53% of held-out passwords at 108 guesses, a 16% relative gain over PassGPT, and retains 79% of this match rate when transferred without retraining to a disjoint 2020 leak dataset, demonstrating that linguistic priors capture persistent regularities of human password generation. PassDiffusion underperforms by two to three orders of magnitude, indicating that autoregressive modeling is substantially better matched than iterative denoising to the discrete, exact-match nature of password generation.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- PassGPT+ adapts the linguistic prior of GPT-2 to password observations through character-aware tokenization, and PassDiffusion is introduced as the first absorbing-state discrete diffusion model for password generation.
- Autoregressive modeling is substantially better matched than iterative denoising to the discrete, exact-match nature of password generation.
Readers' thoughts
No reader thoughts yet.
Related papers
- PassCluster: A New Segmented Password Cracking ModelACM Transactions on Privacy and Security · 2026
- BBPE‐AE: A Byte‐Pair Encoding–Based Auto Encoder for Password GuessingSecurity and Communication Networks · 2026
- FGPass: Feature-guided targeted password guessing with gated fine-tuning strategy.Neural networks : the official journal of the International Neural Network Society · 2026
- Large Language Models as Distributional Baselines for Language Tasks.Open mind : discoveries in cognitive science · 2026
- Prior Aware Memorization: An Efficient Metric for Distinguishing Memorization from Generalization in Large Language ModelsOpen MIND · 2026
- A Unified Framework of Extractability in Large Language ModelsMachine Learning and Knowledge Extraction · 2026