Anomaly detection in attribute networks is utilized to discover patterns of individuals or groups that deviate from the majority, and is widely used in areas such as e-commerce and social media. We define a new graph rule system for the detection of anomalies in graphs, referred to as Anomaly Graph Rules (AGRs). Using the mechanism of rule inference, AGRs describe anomaly nodes and structures in the form of graph patterns, and express the logic of anomaly generation through different types of literals. In addition to enhancing the ability of the rules to capture information about complete graph features, the literals support the embedding of machine learning models. Moreover, we propose a rule-matching algorithm that applies AGRs to the entire graph for anomaly detection. This algorithm innovatively incorporates conditional determination into pattern matching, employing conditional verification to aid the pruning operation of pattern matching and thus improving efficiency. In contrast to most previous studies, both anomalous nodes and anomalous structures can be detected simultaneously, and the results can be logically interpreted. We demonstrate the accuracy and efficiency of the algorithm using both real and synthetic datasets.
- Article type
- Year
- Co-author
Open Access
Issue
Open Access
Issue
We study the problem of learning rules for graphs. Traditional methods often suffer from large search spaces due to the enumeration of all candidate rules. Although some recent neural logic methods are more efficient in learning rules, they are generally restricted to learning chain-like rules with limited expressiveness. Taking the advantage of Reinforcement Learning (RL) in reducing search space, we implement a policy network based RL method for learning graph rules, denoted as GraphRulRL. In our research, we convert graph rules into sequences of edges, transforming the task of graph rule learning into a process of sequentially adding edges that can be solved by RL. Specifically, GraphRulRL follows a two-stage framework. In the first stage, we train a policy network for graph rule learning, which evaluates graph rules using support with anti-monotonicity as rewards during training. In the second stage, we integrate the well-trained policy network with beam search for iterative searching to generate graph rules. Experimental results prove the effectiveness of the proposed method.
京公网安备11010802044758号