paper-with-me

Papers

Memorization for Good: Encryption with Autoregressive Language Models

2023-05-15 · Samuel Stevens, Yu Su

Over-parameterized neural language models (LMs) can memorize and recite long sequences of training data. While such memorization is normally associated with undesired properties such as overfitting and information leaking, our work casts memorization as an unexplored capability of LMs. We propose the first symmetric encryption algorithm with autoregressive language models (SELM). We show that autoregressive LMs can encode arbitrary data into a compact real-valued vector (i.e., encryption) and then losslessly decode the vector to the original message (i.e., decryption) via random subspace optimization and greedy decoding. While SELM is not amenable to conventional cryptanalysis, we investigate its security through a novel empirical variant of the classic IND-CPA (indistinguishability under chosen-plaintext attack) game and show promising results on security. Our code and datasets are available at https://github.com/OSU-NLP-Group/SELM.

📄 PDF Abstract BibTeX arXiv:2305.10445

Code (1)

osu-nlp-group/selm 공식 구현 pytorch

Tasks

CryptanalysisMemorization

Similar Papers 제목 키워드 기반

Localizing and Mitigating Memorization in Image Autoregressive Models

2025-08-30 · Aditya Kasliwal, Franziska Boenisch, Adam Dziedzic arxiv

Image AutoRegressive (IAR) models have achieved state-of-the-art performance in speed and quality of generated images. However, they also raise concerns about memorization of their training data and its implications for …

Characterizing Memorization in Diffusion Language Models: Generalized Extraction and Sampling Effects

2026-03-02 · Xiaoyu Luo, Wenrui Yu, Qiongxiu Li, Johannes Bjerva arxiv

Autoregressive language models (ARMs) have been shown to memorize and occasionally reproduce training data verbatim, raising concerns about privacy and copyright liability. Diffusion language models (DLMs) have recently …

Quantifying and Analyzing Entity-level Memorization in Large Language Models

2023-08-30 · Zhenhong Zhou, Jiuyang Xiang, Chaomeng Chen, Sen Su

Large language models (LLMs) have been proven capable of memorizing their training data, which can be extracted through specifically designed prompts. As the scale of datasets continues to grow, privacy risks arising fro…

Language ModelingLanguage ModellingMemorizationProbing Language Models

Extracting Training Data from Diffusion Language Models via Infilling

2026-05-22 · Yihan Wang, N. Asokan arxiv

Memorization in large language models has been studied almost exclusively through prefix-conditioned extraction, a natural choice for autoregressive models. However, diffusion language models (DLMs) can denoise masked to…

Cross-Border Data Security and Privacy Risks in Large Language Models and IoT Systems

2026-01-10 · Chalitha Handapangoda arxiv

The reliance of Large Language Models and Internet of Things systems on massive, globally distributed data flows creates systemic security and privacy challenges. When data traverses borders, it becomes subject to confli…