paper-with-me

홈 › Papers

Seed Hijacking of LLM Sampling and Quantum Random Number Defense

2026-05-08 · Ziyang You, Xiaoke Yang, Zhanling Fan, Feng Guo, Xiaogen Zhou, Xuxing Lu arxiv

Large language models (LLMs) rely on deterministic pseudorandom number generators (PRNGs) for autoregressive sampling, creating a critical supply-chain attack surface overlooked by existing defenses. We present SeedHijack, a backdoor attack that manipulates PRNG outputs to force attacker-specified token selection without altering model logits. In a 540-trial benchmark on GPT-2 (124M), the attack achieves 99.6% exact token injection across 9 sampling configurations; it reaches 100% success on four aligned models (1.5B-7B, RLHF/SFT/reasoning distillation) and bypasses all alignment methods tested in this work. We further propose a defense based on a hardware quantum random number generator (QRNG), which neutralizes the attack in our evaluated threat model with negligible median overhead (+0.6% latency, +7.7 MB memory). Our work identifies a critical sampling-layer vulnerability and provides a practical, deployable QRNG-based defense.

📄 PDF Abstract BibTeX arXiv:2605.08313

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Blind PRNG Hijacking: An Undetectable Integrity-Preserving Attack Against LLM Watermarking

2026-05-27 · Ziyang You, Huilong He, Xiaoke Yang, Xuxing Lu arxiv

Cryptographic watermarking is a leading defense for attributing text generated by large language models (LLMs). Existing schemes, including KGW, Unigram, and DipMark, derive their security guarantees from the assumption …

Schrödinger's Seed: Purr-fect Initialization for an Impurr-fect Universe

2026-03-31 · Mi chen, Renhao Ye arxiv

Context. Random seed selection in deep learning is often arbitrary -- conventionally fixed to values such as 42, a number with no known feline endorsement. Aims. We propose that cats, as liminal beings with a historicall…

QSignAI: Quantum-Randomness-Seeded Identity Signatures at the Intersection of AI for Science and Science for AI

2026-05-26 · Dongping Liu, Aoyu Zhang, Luyao Zhang arxiv

The 2024-2025 Nobel and Turing awards recognised AI and quantum science simultaneously. Yet no deployed system has brought these streams together for the public. This paper presents QSignAI, a production-deployed platfor…

Stochastic Perturbations of Tabular Features for Non-Deterministic Inference with Automunge

2022-02-18 · Nicholas J. Teague

Injecting gaussian noise into training features is well known to have regularization properties. This paper considers noise injections to numeric or categoric tabular features as passed to inference, which translates inf…

Fairness

Maximising Quantum-Computing Expressive Power through Randomised Circuits

2023-12-04 · Yingli Yang, Zongkang Zhang, Anbang Wang, Xiaosi Xu 외

In the noisy intermediate-scale quantum era, variational quantum algorithms (VQAs) have emerged as a promising avenue to obtain quantum advantage. However, the success of VQAs depends on the expressive power of parameter…