All models

DeepCASE

Attention-based sequence model that weighs the events preceding a security event to explain and triage it.

28 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (35 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
221.7K
Operations
28
Framework
PyTorch
Recurrent
No
Published
IEEE Symposium on Security and Privacy (S&P) 2022
Cited by
90 (as of 30 October 2026)
Authors
Thijs van Ede, Hojjat Aghakhani, Noah Spahn and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15891
Graph hash
7a5048f65c1ef59ddad5da3c11e8683e80115919fa42ee934bad3438170d51dd
Skeleton hash
fc7adf703262abdc854e0b1327580d824f38f6e90518a565b98e8e1c8ccfcf81
Architecture hash
23e2f645cccdb79d3884fa58cd0e705b5085ff8ef68f8652e1245b77431e0e30
Diagram SHA-256
9f23727d3273382f2766320d3ae618b982624bdf286ec62b14f4802fb3e9e9b7
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DeepCASE is a system for security operations that uses the context around a security event, meaning the events that came before it, to decide which events need further inspection. The problem it addresses is volume: the number of events that must be correlated overloads security operators, who then ignore some events and may miss attacks.

The neural network here is its Context Builder, an encoder-decoder architecture combined with an attention mechanism. For each event it takes a sliding window of the 10 preceding events from the same device as context. A single layer of Gated Recurrent Units (GRU) encodes that window into a 128-dimensional context vector. An attention decoder then turns the vector into a weight, or relevance, for each context event. The network is trained to predict the event from its weighted context, but the prediction is not the goal: the authors want the attention vector that made it possible.

A second component, the Interpreter, clusters event sequences with DBSCAN. The paper reports that the approach automatically filters 86.72% of events and reduces the manual workload of security operators by 90.53%, while underestimating the risk of potential threats in less than 0.001% of cases. The repository's main branch offers DeepCASE as a tool, and the paper's original experiments are on the sp branch.

Key idea. The paper introduces a semi-supervised deep learning approach that explains and classifies security events in relation to the events preceding them.

  • DeepCASE
  • security event analysis
  • contextual analysis of security events
  • alert triage
  • alert fatigue
  • intrusion detection
  • security operations center
  • security event sequences
  • semi-supervised

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@inproceedings{Ede_2022, title={DEEPCASE: Semi-Supervised Contextual Analysis of Security Events}, url={http://dx.doi.org/10.1109/SP46214.2022.9833671}, DOI={10.1109/sp46214.2022.9833671}, booktitle={2022 IEEE Symposium on Security and Privacy (SP)}, publisher={IEEE}, author={Ede, Thijs van and Aghakhani, Hojjat and Spahn, Noah and Bortolameotti, Riccardo and Cova, Marco and Continella, Andrea and Steen, Maarten van and Peter, Andreas and Kruegel, Christopher and Vigna, Giovanni}, year={2022}, month=May, pages={522–539} }