Transfer learning is devised to leverage knowledge from pre-trained models to solve new tasks with limited data and computational resources. Meanwhile, dataset distillation has emerged to synthesize a compact dataset that preserves critical information from the original large dataset. Therefore, a combination of transfer learning and dataset distillation offers promising performance in evaluations. However, a non-negligible security threat remains undiscovered in transfer learning using synthetic datasets generated by dataset distillation methods, where an adversary can perform a model hijacking attack with only a few poisoned samples in the synthetic dataset. To reveal this threat, we propose Osmosis Distillation (OD) attack, a novel model hijacking strategy that targets deep learning models using the fewest samples. Comprehensive evaluations on various datasets demonstrate that the OD attack attains high attack success rates in hidden tasks while preserving high model utility in original tasks. Furthermore, the distilled osmosis set enables model hijacking across diverse model architectures, allowing model hijacking in transfer learning with considerable attack performance and model utility. We argue that awareness of using third-party synthetic datasets in transfer learning must be raised.
Figures & tables
Fig. 1 : The overview of our work. Different from backdoor attacks, OD attack incorporates a hijacking task into the original task by generating a distilled osmosis dataset that achieves the hijacking task with the fewest samples.
Symbols
Definitions
xo
Original samples
xh
Hijacking samples
xc
Osmosis samples
xc_syn
Distilled osmosis samples
Do
Original dataset
Dh
Hijacking dataset
TABLE I : Notations
Fig. 2 : The workflow of OD attack. In stage (a), a Transporter is utilized to embed the hijacking task into the original task, producing osmosis samples, which are then distilled using image reconstruction, label reconstruction and training trajectory matching. In this stage (b), we solely use the distilled osmosis dataset for training the target model. The trained model executes either the original task or hijacking task based on varying queries.
Fig. 3 : Visualization of the output of OD attack. Figure (a) shows the samples of the Original dataset, figure (b) shows the samples of the hijacking dataset, and figure (c) shows the distilled osmosis samples.
Fig. 4 : The results between the clean model, the CAMH [ 32 ] , the Chameleon [ 2 ] and Ours (approach under IPC =50 ). The first row presents results using the ResNet18 architecture, while the second row displays results obtained with VGG16. Each figure is labeled in the sequence of the original dataset followed by the hijacking dataset. These results show that the OD attack preserves high hijacking performance even with limited samples, while delivering considerable utility.
Fig. 5 : Evaluation of Different IPC of OD attack. The left column displays results using the ResNet18 architecture, while the right column displays results obtained with VGG16 . The rows correspond to different dataset pairs.
Fig. 6 : Experimental results on data dilution robustness.
Fig. 7 : Visualization of comparing different datasets using t-distributed Stochastic Neighbor Embedding (t-SNE) [ 42 ] .
Fig. 8 : The results of the ablation study on whether training trajectory matching is used during the distillation stage, with CIFAR-10 as the original dataset, MNIST as the hijacking dataset, and IPC =50 .
Fig. 9 : Experimental results on dataset correlation.
Fig. 10 : Visualization comparison of benign distillation dataset and DOD using t-SNE.
Original task
Hijacking task
Feature Extractor
Victim Model
Utility ↑
ASR ↑
CIFAR-10
MNIST
ResNet-18
ResNet-18
68.12%
98.73%
VGG16
64.48%
95.60%
MnasNet
ResNet-18
65.25%
96.87%
VGG16
63.60%
95.52%
ImageNet-Subset (0-99)
ImageNet-Subset (100-199)
ResNet-18
ResNet-18
56.73%
69.57%
VGG16
50.17%
60.22%
TABLE II : Experiment results using different feature extractors.
Surrogate Model
Victim Model
Utility ↑
ASR ↑
ResNet-18
ResNet-18
67.84%
98.81%
DenseNet-121
65.73%
97.90%
MobileNetV3
63.87%
95.50%
ConvNeXt-T
65.38%
97.13%
TABLE III : Cross-Architecture Transferability of OD Attack.
Fig. 11 : The distribution of entropy of OD attack and entropy of benign samples.
Fig. 12 : OD under different privacy budgets. ResNet-18 as victim model.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Fig. 13 : Experimental results on different key patch numbers.
Dataset distillation compresses a large real dataset into a small synthetic one, enabling models trained on the synthetic data to achieve performance comparable to those trained on the real data. Although synthetic datasets are assumed to be privacy-preserving, we show that existing distillation methods can cause severe privacy leakage because synthetic datasets implicitly encode the weight trajectories of the distilled model, they become over-informative and exploitable by adversaries. To expose this risk, we introduce the Information Revelation Attack (IRA) against state-of-the-art distillation techniques. Experiments show that IRA accurately predicts both the distillation algorithm and model architecture, and can successfully infer membership and recover sensitive samples from the real dataset.
Huajie Chen, Tianqing Zhu, Yuchen Zhong +7
City University of Macau · CISPA Helmholtz Center for Information Security · University of Technology Sydney +1
Training machine learning models on massive datasets is expensive and time-consuming. Dataset distillation addresses this by creating a small synthetic dataset that achieves the same performance as the full dataset. Recent methods use diffusion models to generate distilled data, either by promoting diversity or matching training gradients. However, existing approaches produce redundant training signals, where samples convey overlapping information. Empirically, disjoint subsets of distilled datasets capture 80-90% overlapping signals. This redundancy stems from optimizing visual diversity or average training dynamics without accounting for similarity across samples, leading to datasets where multiple samples share similar information rather than complementary knowledge. We propose learnability-driven dataset distillation, which constructs synthetic datasets incrementally through successive stages. Starting from a small set, we train a model and generate new samples guided by learnability scores that identify what the current model can learn from, creating an adaptive curriculum. We introduce Learnability-Guided Diffusion (LGD), which balances training utility for the current model with validity under a reference model to generate curriculum-aligned samples. Our approach reduces redundancy by 39.1%, promotes specialization across training stages, and achieves state-of-the-art results on ImageNet-1K (60.1%), ImageNette (87.2%), and ImageWoof (72.9%). Our code is available on our project page https://jachansantiago.github.io/learnability-guided-distillation/.
Jeffrey A. Chan-Santiago, Mubarak Shah
Institute of Artificial Intelligence, University of Central Florida
Distillation attacks copy the reasoning capabilities of closed-source large language models, allowing bad actors to replicate state-of-the-art performance at low cost. Attackers systematically collect a large volume of frontier model reasoning traces and then train (i.e., "distill") their own models on these traces. Existing defenses against distillation attacks are typically evaluated immediately after distillation, implicitly assuming attackers do not train their models any further. In this paper, we argue that a more realistic threat model includes further training with reinforcement learning after distillation. A misspecified threat model can give a false sense of security -- some defenses that seem effective after distillation can be broken after subsequent reinforcement learning. Practically, reinforcement learning lowers the bar for a distillation attack to be effective. We show that simple attacks can steal reasoning capabilities from existing closed-source language models using data easily obtainable from current APIs, yielding reasoning improvements equivalent to more sophisticated attacks that extract the full hidden traces. Results indicate that any distillation defense that leaks sufficient information to reconstruct approximate reasoning traces is likely ineffective. We conclude by discussing broader implications and batch-level distillation defenses which could be more effective.
Shidan Javaheri, Alexander Panfilov, Oliver Britton +2
University of Oxford · ELLIS Institute Tübingen & MPI for Intelligent Systems