# DRIFT: Drift-Resilient Invariant-Feature Transformer for DGA Detection

Source: [DRIFT: Drift-Resilient Invariant-Feature Transformer for DGA Detection](<https://www.sota2.com/research/paper/6a02b47bdbc836b87d824c28>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-08-05T05:00:12.726Z

Authors: Chaeyoung Lee, Chaeri Jung, Seonghoon Jeong

Published: 2026-05-11T12:08:41.000Z

## Abstract

Domain Generation Algorithms (DGAs) evolve continuously to evade botnet detection, posing a persistent challenge for dependable network defense. While deep learning-based detectors achieve strong performance under static conditions, they suffer severe degradation when facing temporal drift. Through a 9-year longitudinal study (2017-2025), we empirically show that state-of-the-art character- and word-based DGA classifiers rapidly lose effectiveness as new DGA variants emerge.   To address this problem, we propose a drift-resilient Transformer-based framework that learns invariant representations through a hybrid tokenization strategy and multi-task self-supervised pre-training. The model integrates (i) character-level encoding to capture stochastic morphological patterns and (ii) subword-level encoding for word-based DGAs. Three pre-training tasks enable the model to learn robust structural and contextual features prior to supervised fine-tuning. Comprehensive evaluations demonstrate that our method significantly mitigates temporal degradation and consistently outperforms state-of-the-art baselines in forward-chaining experiments. The proposed approach offers a dependable foundation for long-term DGA defense in evolving threat landscapes. Our code is available at: https://github.com/snsec-net/2026-DSN-DRIFT.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [DGA Detection on 2020–2025 (test)](<https://www.sota2.com/research/sota/dga-detection-on-2020-2025-test.md>): DGA Detection; 2020–2025 (test); Accuracy: 95.2763.

- [DGA Detection on DGA Unseen-Families 2020–2025 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-unseen-families-2020-2025-test.md>): DGA Detection; DGA Unseen-Families 2020–2025 (test); FNR: 14.3913.

- [DGA Detection on DGA 2024 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2024-test.md>): DGA Detection; DGA 2024 (test); FPR: 8.1483.

- [DGA Detection on DGA 2025 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2025-test.md>): DGA Detection; DGA 2025 (test); FPR: 8.966.

- [DGA Detection on DGA 2020 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2020-test.md>): DGA Detection; DGA 2020 (test); FPR: 3.1638.

- [DGA Detection on DGA 2021 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2021-test.md>): DGA Detection; DGA 2021 (test); False Positive Rate: 0.030062.

- [DGA Detection on DGA 2022 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2022-test.md>): DGA Detection; DGA 2022 (test); False Positive Rate (FPR): 3.2776.

- [DGA Detection on DGA 2023 (test)](<https://www.sota2.com/research/sota/dga-detection-on-dga-2023-test.md>): DGA Detection; DGA 2023 (test); FPR: 3.8314.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2605.10436>)

[PDF](<https://arxiv.org/pdf/2605.10436.pdf>)
