TL;DR
This paper introduces DeepAID, a framework for interpreting and improving deep learning (DL) based anomaly detection systems in security applications. It addresses the "black-box" problem of DL models by providing human-understandable explanations for detected anomalies and uses these explanations to enhance system practicality, leading to better trust, debugging, and reduced false positives.
What Problem Does This Paper Address?
Deep learning (DL) models have shown great promise in security applications for anomaly detection, especially for identifying novel, unforeseen threats. However, their "black-box" nature poses a significant barrier to adoption. Security operators need to trust the system's decisions, understand why an anomaly is flagged, and be able to debug errors or incorporate expert knowledge. Existing interpretation methods often fall short because they are designed for supervised learning or non-security domains, failing to meet the specific requirements of unsupervised anomaly detection in security, such as high fidelity, human readability, stability, robustness, and efficiency. This lack of interpretability hinders trust, makes debugging difficult, and exacerbates the challenge of reducing false positives.
Methods
DeepAID is a two-part framework:
- Interpreter: This component provides high-fidelity, human-readable, stable, robust, and efficient interpretations for unsupervised DL anomaly detection systems. It formulates anomaly interpretation as an optimization problem to find a "normal" reference point that the DL model would consider normal. The interpretation is then derived from the difference between the anomaly and this reference. The authors propose novel techniques to handle security-specific constraints and adapt this approach to tabular, time-series, and graph data.
- Distiller: This component acts as a model-based extension to improve system practicality. It distills the high-level heuristics from DL models and expert feedback into a simpler, interpretable Finite State Machine (FSM)-based model. This allows security operators to more easily understand, modify, and interact with the system, enabling human-in-the-loop detection and feedback.
Datasets
The paper utilizes several publicly available datasets for training and evaluation:
- Kitsune dataset: Used for tabular data-based anomaly detection (network intrusion detection).
- HDFS dataset: Used for time-series data-based anomaly detection (system log anomaly detection).
- LANL-CMSCSE dataset: Used for graph data-based anomaly detection (lateral movement in APT campaigns).
- CIC-IDS2017 dataset: Used for evaluating Distiller's performance in multi-class anomaly detection and handling unknown threats.
The paper does not introduce new benchmarks but leverages existing ones to demonstrate the effectiveness of DeepAID.
Key Insights and Ideas
- Interpreting "deviation" is key for unsupervised anomaly detection: Unlike supervised methods where interpretation focuses on why something is an anomaly, for unsupervised methods, the focus shifts to why an anomaly deviates from what the model considers normal.
- Security domains have unique interpretation needs: Interpretations must be not only accurate but also human-readable, stable, robust to noise and attacks, and fast enough for real-time systems.
- Distiller bridges the gap to human-in-the-loop systems: By translating complex DL model decisions into simpler FSMs and incorporating expert feedback, Distiller makes security systems more actionable and adaptable.
- DeepAID's optimization-based approach offers inherent robustness: The iterative search for a reference point, rather than direct gradient reliance, makes DeepAID naturally more resistant to certain adversarial attacks.
Key Results
- High-quality interpretations: DeepAID's Interpreter significantly outperforms baseline methods in fidelity, stability, and robustness, especially when using fewer dimensions.
- Improved system practicality: DeepAID helps security operators understand model decisions, diagnose system mistakes, and incorporate expert knowledge.
- Reduced false positives: Distiller effectively helps in reducing false positives by allowing operators to define rules for known anomalies and handle concept drift.
- Efficiency: DeepAID's Interpreter is orders of magnitude faster than many baseline methods.
- Robustness: DeepAID demonstrates strong robustness against optimization-based and distance-based attacks, and is less sensitive to noise.
- Distiller's generalization: Distiller shows superior performance in matching existing rules and generalizing to similar threats compared to traditional ML/DL classifiers.
Limitations and Future Work
- Adversarial Robustness: While DeepAID is robust against certain attacks, it may be vulnerable to others, such as poisoning original models or crafting anomalies that force interpretations to use many features (spoiling conciseness). Future work will investigate robustness against more attacks.
- Hyper-parameter Configuration: DeepAID's hyper-parameters are currently configured empirically. Future work aims to develop more systematic strategies for configuration, especially in the absence of anomalies.
- Distiller Extension: Distiller is currently implemented for tabular data. Future work will focus on extending it to time-series and graph data.
- Expert Knowledge Dependency: The practical effectiveness of DeepAID may depend on the operator's prior knowledge. Future work will explore ways to relax this requirement.
Summary updated