PML: Conditional Password Generation via USER+COUNTRY Tag-Conditioned LLaMA
TL;DR: Two open-source 46M-parameter LLaMA-style models that generate passwords conditioned on USERNAME + COUNTRY. Same param budget, two shapes: 12L-512E (wide) vs 22L-384E (deep). The deep one wins: learns cultural patterns ~3× faster, higher cover rate at every guess budget. Also: the models spontaneously learned country-specific password habits (Turkish users → "1453", Fenerbahçe fans → "1907"). We present PML, a family of conditional password generation models that leverage both USERNAME and COUNTRY tags as conditioning signals. Trained on 57 million organic username–password pairs extracted from publicly available stealer logs, we introduce two architectures at the same 46M parameter budget: PML-12L-O (12-layer, 512-wide) and PML-22L-O (22-layer, 384-wide). Despite nearly identical validation loss, the deeper model learns culturally-aware password patterns 3× faster and achieves 1.65% cover rate at 1000 guesses per credential (vs. 1.40% for the wider variant). At over 1000 passwords per second via optimized beam search on consumer GPU hardware, both models support five conditioning modes and automatic length enforcement. We open-source model weights and code and provide an analysis distinguishing genuinely country-driven cultural patterns from username-mediated ones.
Authors
- Mübeşşir Yusuf Akhan
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-08-12
- DOI
- https://doi.org/10.5281/zenodo.21904561
- Primary Topic
- User Authentication and Security Systems
- Type
- preprint