Learning the Signature of Memorization in Autoregressive Language Models
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
All prior membership inference attacks for fine-tuned language models use hand-crafted heuristics (e.g., loss thresholding, Min-K%, reference calibration), each bounded by the designer's intuition. We introduce the first transferable learned attack, enabled by the observation that fine-tuning any model on any corpus yields unlimited labeled data, since membership is known by construction. This removes the shadow model bottleneck and brings membership inference into the deep learning era: learning what matters rather than designing it, with generalization through training diversity and scale. We discover that fine-tuning language models produces an invariant signature of memorization detectable across architectural families and data domains. We train a membership inference classifier exclusively on transformer-based models. It transfers zero-shot to Mamba (state-space), RWKV-4 (linear attention), and RecurrentGemma (gated recurrence), achieving 0.963, 0.972, and 0.936 AUC respectively. Each evaluation combines an architecture and dataset never seen during training, yet all three exceed performance on held-out transformers (0.908 AUC). These four families share no computational mechanisms, their only commonality is gradient descent on cross-entropy loss. Even simple likelihood-based methods exhibit strong transfer, confirming the signature exists independently of the detection method. Our method, Learned Transfer MIA (LT-MIA), captures this signal most effectively by reframing membership inference as sequence classification over per-token distributional statistics. On transformers, LT-MIA achieves 2.8× higher TPR at 0.1% FPR than the strongest baseline. The method also transfers to code (0.865 AUC) despite training only on natural language texts. Code and trained classifier available at https://github.com/JetBrains-Research/learned-mia.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 28 of its 35 references that are in the map. First posted on arXiv 3 Apr 2026.
Builds on
28 of 35 references.
Closest ancestors · 5
Same direction, newest first
- 2026Powerful Training-Free Membership Inference Against Autoregressive Language Models17 Jan
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Models6 Jan
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2021Membership Inference Attacks From First Principles7 Dec
Other references · 23
- 2017Attention Is All You Needcited by 59,932
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2023Qwen Technical Reportcited by 3,273
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2016Deep Learning with Differential Privacycited by 2,682
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
11 more
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2015Teaching Machines to Read and Comprehendcited by 1,039
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2023Detecting Pretraining Data from Large Language Modelscited by 375
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
- 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 102
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 61
- 2022News Category Datasetcited by 42
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution
- 2026Extracting Training Data from Diffusion Language Models via Infilling
- 2024Rethinking LLM Memorization through the Lens of Adversarial Compression
- 2026Membership Inference Attacks Against Fine-tuned Diffusion Language Models
- 2024Self-Comparison for Dataset-Level Membership Inference in Large (Vision-)Language Models
- 2026Characterizing Memorization in Diffusion Language Models: Generalized Extraction and Sampling Effects
- 2024Undesirable Memorization in Large Language Models: A Survey
- 2025Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing