Few-shot fine-tuning after massive unsupervised pretraining improves attack forensics
DUPIN can detect APT attacks using only a few labeled examples after pretraining on large audit logs
Security & privacy arXiv 31 Aug 2026 Method Prototype evidence
Published as “DUPIN: Attack Learning Is Still Needed! Demonstrating Few-Shot after Unsupervised Pretraining Is A Nimble Forensics Learner”
Why it matters
The approach could enable forensic detection with far fewer labeled attacks, reducing analyst workload in large-scale enterprise environments.
Summary
DUPIN improves detection accuracy by 16% over baselines by first pretraining on massive benign audit logs (38-52 days, 7.3 TB) and then fine-tuning with a few attack examples; it is evaluated on 25 APT campaigns from four sources using a cross-source split. The claim is supported by an ablation study and a multi-source evaluation, but detailed detection rates or false-positive numbers are not provided.
What they found 3
- Pretraining yields a 16% accuracy gain
“the ablation study demonstrates that our approach achieves a 16% improvement in accuracy as a result of extensive pretraining of the DUPIN model.”
- Evaluation spans 25 APT campaigns across four data sources
“We evaluate DUPIN across 25 representative APT attack sets from four different dataset sources.”
- Large-scale pretraining on up to 52 days of logs
“We pretrain DUPIN on up to 38 - 52 days of audit logs (7.3TB total) and evaluate it against various baselines on 25 APT campaigns across four different data sources, facilitating the scalable evaluation.”
Caveats 2
- We assume that the AI component is secure and do not account for the presence of adversarial attacks against our models or the possibility of poisoning during any training phase.
- we assume the integrity of audit logging components and log data, even though attackers may engage in long-term operations, resulting in a substantial volume of logs.
What’s new here 4
- Massive unsupervised pretraining on provenance graphs derived from weeks of real audit logs.
- Masked node and edge prediction tasks applied to graph data for self-supervision.
- Few-shot supervised fine-tuning on a small set of labeled attacks.
- Cross-dataset (author-wise) validation to avoid data leakage.