RoleMine: Mining Behavioral Patterns in Heterogeneous Call Graphs
Abstract
Large event graphs often contain rich edge attributes that describe how interactions occur. In call graphs, such attributes include response codes, durations, delays, and inter-arrival times, which are crucial for detecting suspicious entities. However, node-level anomaly detection remains challenging because anomaly labels are rarely available, normal behavior is highly heterogeneous, and operators require interpretable evidence. In this paper, we propose RoleMine, an unsupervised probabilistic framework for node-level anomaly detection in heterogeneous attributed call graphs. RoleMine has three key properties. (a) Accurate: it models role-dependent predictive distributions over heterogeneous edge attributes without anomaly labels. (b) Scalable: it uses observed-edge inference with linear training cost in the number of observed edges. (c) Explainable: it represents nodes by behavioral roles and explains anomalies through communication contexts and attribute-level deviations. Experiments on large real-world daily call graphs show that RoleMine achieves pAUC above 0.995, improves average precision by up to 2.8× over the strongest baseline, and scales linearly, easily handling 34.3M edges in our experiments.