Skip to main content
QUICK REVIEW

[Paper Review] Generative Deep Learning Techniques for Password Generation

David Biesner, Kostadin Cvejoski|arXiv (Cornell University)|Dec 10, 2020
User Authentication and Security SystemsComputer Science26 references5 citations
TL;DR

This paper evaluates deep learning models—including attention-based Transformers, GANs, and a novel variational autoencoder (VAE)—for generating realistic password candidates. The proposed VAE achieves state-of-the-art performance in password matching and enables advanced sampling techniques like interpolation and targeted generation, outperforming prior autoencoding and GAN-based methods.

ABSTRACT

Password guessing approaches via deep learning have recently been investigated with significant breakthroughs in their ability to generate novel, realistic password candidates. In the present work we study a broad collection of deep learning and probabilistic based models in the light of password guessing: attention-based deep neural networks, autoencoding mechanisms and generative adversarial networks. We provide novel generative deep-learning models in terms of variational autoencoders exhibiting state-of-art sampling performance, yielding additional latent-space features such as interpolations and targeted sampling. Lastly, we perform a thorough empirical analysis in a unified controlled framework over well-known datasets (RockYou, LinkedIn, Youku, Zomato, Pwnd). Our results not only identify the most promising schemes driven by deep neural networks, but also illustrate the strengths of each approach in terms of generation variability and sample uniqueness.

Motivation & Objective

  • To evaluate and compare the effectiveness of deep learning and probabilistic models in generating realistic password candidates.
  • To develop and analyze a novel variational autoencoder (VAE) model for password generation with enhanced latent space capabilities.
  • To assess the impact of pre-training on general language data versus training on pure password data for deep learning models.
  • To provide a unified empirical framework for comparing diverse generative models across standard password datasets.
  • To investigate the complementarity of different models in recovering unique passwords, enhancing overall recovery performance.

Proposed method

  • Employs attention-based Transformers (e.g., GPT-2 variants) fine-tuned on password datasets to generate sequences with contextual awareness.
  • Applies generative adversarial networks (GANs) and Wasserstein GANs to learn the distribution of real passwords through adversarial training.
  • Introduces a novel variational autoencoder (VAE) with improved latent space modeling, enabling interpolation and conditional sampling.
  • Uses a unified evaluation framework across five benchmark datasets: RockYou, LinkedIn, Youku, Zomato, and Pwnd.
  • Trains models on both password-specific data and general language data to compare the impact of pre-training on performance.
  • Employs standard metrics such as password matching rate (percentage of test passwords recovered) and evaluates diversity and uniqueness of generated samples.

Experimental results

Research questions

  • RQ1How do attention-based Transformers compare to autoencoders and GANs in generating realistic password candidates?
  • RQ2To what extent does pre-training on general language data improve password generation performance compared to training on password-only data?
  • RQ3Can a variational autoencoder (VAE) achieve state-of-the-art performance in password matching while enabling advanced sampling capabilities?
  • RQ4How much unique password recovery is achieved by combining multiple models, and what is the overlap in recovered passwords across models?
  • RQ5How sensitive is the latent space geometry of VAEs to training and regularization, and what implications does this have for targeted sampling?

Key findings

  • The proposed VAE model achieves state-of-the-art password matching performance, recovering 1.18 million passwords from the RockYou dataset, outperforming previous autoencoding methods.
  • The VAE enables advanced sampling techniques such as latent space interpolation and targeted sampling, offering greater flexibility than standard autoencoders.
  • GPT-2-based models trained on RockYou data recovered approximately 40% of the test set passwords, with significant overlap but also substantial unique recovery across models.
  • Combining multiple models (e.g., GPT2F, GPT2S, VAE, PassGAN) recovered 1.5 million unique passwords from the RockYou test set—30% more than the best single model.
  • When tested on the Pwnd dataset, the ensemble of models recovered 13.1 million unique passwords—55% more than the best single model (VAE with 8.45 million recovered).
  • Models trained on RockYou data significantly outperformed those trained on Pwnd data, with 391,000 unique passwords recovered by RockYou-trained models that were missed by Pwnd-trained models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.