Hey, That's My Data! Token-Only Dataset Inference in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) rely on massive training datasets, often including proprietary data, which raises concerns about unauthorized usage and copyright infringement. Existing dataset inference methods typically require access to log probabilities or other internal signals, but many modern LLMs restrict such access, motivating token-only inference approaches. We propose CatShift, a token-only dataset inference framework based on catastrophic forgetting, where models overwrite prior knowledge when trained on new data. Fine-tuning an LLM on a subset of its training data induces larger output shifts than fine-tuning on unseen data. CatShift compares these shifts against those from a known non-member validation set to infer whether a dataset was included in training. Experiments on both open-source and API-based LLMs show that CatShift remains effective without logit access, enabling practical protection of proprietary datasets.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
18 of 30 references.
References · 18
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
- 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 116
- 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
- 2024Blind Baselines Beat Membership Inference Attacks for Foundation Modelscited by 69
- 2024Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Methodcited by 55
- 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 38
6 more
- 2025Towards Label-Only Membership Inference Attack against Pre-trained Large Language Modelscited by 37
- 2022Dataset Inference for Self-Supervised Modelscited by 36
- 2023Overconfidence is a Dangerous Thing: Mitigating Membership Inference Attacks by Enforcing Less Confident Predictioncited by 29
- 2023Memorization Through the Lens of Curvature of Loss Function Around Samplescited by 27
- 2024Noisy Neighbors: Efficient membership inference attacks against LLMscited by 21
- 2024Unveiling Privacy, Memorization, and Input Curvature Linkscited by 10
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2025Membership Inference Attacks on Tokenizers of Large Language Modelscited by 3
- 2026How to Compress KV Cache in RL Post-Training? Shadow Mask Distillation for Memory-Efficient Alignmentcited by 2
- 2026From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlascited by 0
- 2026How to Compress KV Cache in RL Post-Training? Shadow Mask Distillation for Memory-Efficient Alignment7 May 2026
- 2026From Knowledge to Inference: Formalizing Specialized Public Health Reasoning on GlobalHealthAtlas31 Jan 2026
- 2025Membership Inference Attacks on Tokenizers of Large Language Models7 Oct 2025