27 August 2026 in Journal of King Saud University Computer and Information Sciences
Large language model training commonly relies on multidimensional parallelism, including data, tensor, pipeline, and context parallelism, to support long-context and large-scale workloads. However, real pretraining corpora consist of highly heterogeneous variable-length samples, which create a complex coupling between the internal structure of packed documents and their actual execution cost. Existing approaches typically optimize upstream packing and downstream context parallelism separately, while paying limited attention to their coupled impact on execution block completion time, local load balance, and communication overhead. To address this issue, we propose ATAC, an anchor-tail aware framework for jointly optimizing packed-document construction and context-parallel sharding in large language model training. ATAC consists of two complementary components: WFAP, which constructs execution-friendly packed documents by jointly considering workload structure and sample fragmentation during packing, and ATP-CP, which performs hierarchical sharding by exploiting the anchor-tail structure of packed documents so as to mitigate intra-block stragglers while controlling additional key-value transfer overhead. In an A800-calibrated pipeline-level evaluation, ATAC improves normalized throughput over the strongest implemented baseline, achieving an overall geometric mean speedup of 1.93\(\times \). Further analysis shows that WFAP substantially reduces runtime dispersion across packed documents, while ATP-CP provides a more effective balance between runtime equalization and communication overhead. Overall, this work demonstrates that input-structure-aware co-design of packing and context parallelism is an effective approach to improving calibrated pipeline-level execution efficiency in large language model training.
30 July 2026 in SSRN Electronic Journal
Password-based authentication remains dominant, yet real-world leaked datasets exhibit extreme long-tail distributions shaped by human cognition. Existing generative models rely on flat character-level representations and lack explicit structural modeling, causing them to collapse into high-frequency patterns while sampling blindly in the long-tail region.This paper proposes PassCog, a structure-aware password guessing framework that adopts a "macro-cognitive planning---micro-implicit collaboration'' paradigm. At the representation level, a cognition-driven fine-grained tokenization scheme reveals the "granularity balance principle,'' providing core design guidelines for password language model inputs. At the architecture level, an implicit mixture-of-experts network achieves load balancing and redundancy coverage via end-to-end routing, avoiding the capacity competition bottleneck of dense models. At the search level, an MCTS-based cognitive planner, informed by human memory patterns, precisely allocates computational resources to high-value long-tail patterns while pruning noise.Experiments on RockYou show PassCog achieves a 57.49% hit rate under 109 guesses, improving by 7.37 percentage points over a dense baseline of comparable scale while reducing repetition from 0.521 to 0.122 (a 76.6% reduction). Cross-dataset generalization further demonstrates that structural patterns transfer better than lexical distributions, with relative gains increasing as domain divergence grows. Furthermore, a blind-spot penetration analysis against zxcvbn reveals that PassCog discovers 1.15 million passwords misclassified as "strong'' (Deceptive Strong Rate of 8.30%), significantly outperforming the baseline (7.79%, 535K). These results demonstrate that PassCog achieves directed long-tail coverage with compressed redundancy, and exposes critical structural blind spots in current strength meters, providing a new paradigm that combines guessing efficiency, interpretability, and penetrability.