Skip to main content
QUICK REVIEW

[Paper Review] Behavior Query Discovery in System-Generated Temporal Graphs

Bo Zong, Xusheng Xiao|arXiv (Cornell University)|Nov 18, 2015
Graph Theory and AlgorithmsComputer Science30 references5 citations
TL;DR

This paper proposes TGMiner, a system for discovering discriminative temporal graph patterns from system-generated logs to automate behavior query formulation. By leveraging temporal ordering and growth trend analysis, TGMiner prunes unpromising search branches, achieving 6–32× speedup over baselines while maintaining high precision (97%) and recall (91%) in expert validation.

ABSTRACT

Computer system monitoring generates huge amounts of logs that record the interaction of system entities. How to query such data to better understand system behaviors and identify potential system risks and malicious behaviors becomes a challenging task for system administrators due to the dynamics and heterogeneity of the data. System monitoring data are essentially heterogeneous temporal graphs with nodes being system entities and edges being their interactions over time. Given the complexity of such graphs, it becomes time-consuming for system administrators to manually formulate useful queries in order to examine abnormal activities, attacks, and vulnerabilities in computer systems. In this work, we investigate how to query temporal graphs and treat query formulation as a discriminative temporal graph pattern mining problem. We introduce TGMiner to mine discriminative patterns from system logs, and these patterns can be taken as templates for building more complex queries. TGMiner leverages temporal information in graphs to prune graph patterns that share similar growth trend without compromising pattern quality. Experimental results on real system data show that TGMiner is 6-32 times faster than baseline methods. The discovered patterns were verified by system experts; they achieved high precision (97%) and recall (91%).

Motivation & Objective

  • To address the challenge of manually formulating high-level behavior queries from low-level system logs due to semantic and structural complexity.
  • To reduce the time and expertise required for system administrators to detect anomalies, attacks, and vulnerabilities in dynamic, heterogeneous system logs.
  • To bridge the semantic gap between high-level system behaviors and low-level system entity interactions recorded in temporal graphs.
  • To develop an efficient, scalable method for mining discriminative temporal graph patterns that serve as reusable query templates.

Proposed method

  • TGMiner formulates behavior query discovery as a discriminative temporal graph pattern mining problem.
  • It uses temporal ordering and growth trend similarity to guide pattern exploration and prune unpromising branches early.
  • The method incorporates temporal constraints by treating timestamps as part of the pattern structure, avoiding loss of multi-edge information.
  • It applies canonical labeling with temporal-aware isomorphism checks to ensure pattern uniqueness and avoid redundancy.
  • It leverages a bottom-up pattern growth strategy enhanced with pruning based on temporal similarity and discriminative power.
  • The algorithm integrates a scoring function that evaluates patterns based on their ability to distinguish between normal and anomalous behaviors.

Experimental results

Research questions

  • RQ1How can discriminative temporal graph patterns be efficiently mined from system logs to serve as templates for behavior queries?
  • RQ2What role does temporal ordering play in reducing the search space while preserving pattern quality?
  • RQ3How can multi-edge patterns be preserved during mining without collapsing them into single edges?
  • RQ4To what extent can temporal similarity between patterns be used to prune non-discriminative candidates early in the search process?
  • RQ5How effective are the mined patterns in capturing real-world system behaviors as validated by system experts?

Key findings

  • TGMiner achieves 6–32 times faster performance compared to baseline methods on real system log datasets.
  • The mined patterns demonstrated high precision (97%) and recall (91%) when validated by system experts.
  • The use of temporal growth trend analysis enabled effective pruning of non-promising search branches without sacrificing pattern quality.
  • The method successfully preserves multi-edge patterns by avoiding the collapse of edges into single labels.
  • The discovered patterns were semantically meaningful and directly applicable as templates for complex behavior queries in cybersecurity and datacenter monitoring.
  • The approach outperforms non-temporal pattern mining methods by maintaining temporal semantics and avoiding redundancy from non-temporal pattern over-generation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.