Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone
Abstract
When a base language model is fine-tuned with Low-Rank Adaptation (LoRA), how much of the training data domain leaks into the resulting artifact? This paper studies whether a simple classifier can recover the domain of a fine-tune given only the model artifact (weight deltas, internal activations on a fixed probe set, or generated text) without ever observing the training data. Using one base model (Qwen3.5-0.8B), 36 LoRA fine-tunes are produced over 18 public datasets in five domains (medical, code, mathematics, non-English text, narrative prose), and three feature families are extracted at decreasing levels of access: white-box weights, gray-box activations, and black-box outputs. A leave-one-dataset-out (LODO) protocol, frozen before any result was seen, tests whether the domain of a fine-tune trained on a previously unseen dataset can be identified. The domain is recoverable well above chance (20%) from gray-box activations (61%) and black-box outputs (64%); white-box weight statistics reach 42%. Contrary to the pre-registered hypothesis that signal decays monotonically from weights to activations to outputs, activations and outputs were more informative than the weight-delta statistics. The black-box result holds unchanged (64%) when only generated text is used, without token probabilities. Domain accuracy is also stable when a third run per dataset is trained on an independently drawn data subsample, and black-box predictions are unaffected by the LoRA rank (8-64). All code and per-run feature vectors are released.
Create a lesson
Related papers
Restoring General and Improving Domain-Specific Safety in Fine-Tuned LLMs Without Retraining
Shared title terminology · Vishnu Kabir Chhabra, Ding Zhu, Zhihui Zhu et al.
Homeopathic Learning: Diluting poisoned fine-tuning data can strengthen its effect
Shared title terminology · Matt Clarke, Jan Dubiński, James Chua et al.
Beyond Single-Turn Privacy: Training-Data Leakage in Conversational RAG
Shared title terminology · Syed Khaderi, Karima Makhlouf, Sami Zhioua
CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data
Shared title terminology · Devansh Arpit
Learning Adaptive Defense Strategies: Fine-Tuned LLMs for Network Security Games under Network Mobility
Shared title terminology · Md Abu Sayed, Asif Rahman, Ahmed Ryen et al.
Pediatric ECG foundation model via adult-to-pediatric fine-tuning: downstream tasks and clinical evaluation
Shared title terminology · Yu Cao, Haiyan Xu, Xiaohan Li et al.