Skip to content

Commit 173cfbb

Browse files
authored
Merge pull request #13 from zjs123/zjs123-patch-1
Add anot project page
2 parents 246464f + 1655e42 commit 173cfbb

File tree

9 files changed

+77
-1
lines changed

9 files changed

+77
-1
lines changed

app/projects/anot/assets/accuracy.png

440 KB
Loading
404 KB
Loading

app/projects/anot/assets/datasets.png

103 KB
Loading
85 KB
Loading
189 KB
Loading
268 KB
Loading
156 KB
Loading

app/projects/anot/page.mdx

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
import { Authors, Badges } from '@/components/utils'
2+
3+
# Online Detection of Anomalies in Temporal Knowledge Graphs with Interpretability
4+
5+
<Authors
6+
authors="Jiasheng Zhang, University of Electronic Science and Technology of China; Rex Ying, Yale University; Jie Shao, University of Electronic Science and Technology of China"
7+
/>
8+
9+
<Badges
10+
venue="SIGMOD 2025"
11+
github="https://github.com/zjs123/ANoT"
12+
arxiv="https://arxiv.org/abs/2408.00872"
13+
pdf="https://arxiv.org/pdf/2408.00872"
14+
/>
15+
16+
17+
## Introduction
18+
Temporal knowledge graphs (TKGs) are valuable resources for capturing evolving relationships among entities,
19+
yet they are often plagued by noise, necessitating robust anomaly detection mechanisms. Existing dynamic
20+
graph anomaly detection approaches struggle to capture the rich semantics introduced by node and edge
21+
categories within TKGs, while TKG embedding methods lack interpretability, undermining the credibility of
22+
anomaly detection. Moreover, these methods falter in adapting to pattern changes and semantic drifts resulting
23+
from knowledge updates. To tackle these challenges, we introduce AnoT, an efficient TKG summarization
24+
method tailored for interpretable online anomaly detection in TKGs. AnoT begins by summarizing a TKG into
25+
a novel rule graph, enabling flexible inference of complex patterns in TKGs. When new knowledge emerges,
26+
AnoT maps it onto a node in the rule graph and traverses the rule graph recursively to derive the anomaly
27+
score of the knowledge. The traversal yields reachable nodes that furnish interpretable evidence for the validity
28+
or the anomalous of the new knowledge. Overall, AnoT embodies a detector-updater-monitor architecture,
29+
encompassing a detector for offline TKG summarization and online scoring, an updater for real-time rule
30+
graph updates based on emerging knowledge, and a monitor for estimating the approximation error of the rule
31+
graph. Experimental results on four real-world datasets demonstrate that AnoT surpasses existing methods
32+
significantly in terms of accuracy and interoperability.
33+
34+
## Anomalies in Temporal Knowledge Graphs
35+
![Three different kinds of anomalies in temporal knowledge graphs.|scale=0.5](./assets/anomalies.png)
36+
37+
- **Conceptual Errors**: Extraction methods may introduce noised facts with error entities or relations in TKGs, e.g., (𝐽𝑜𝑒𝐵𝑖𝑑𝑒𝑛, 𝐵𝑜𝑟𝑛𝐼𝑛, 𝐼𝑟𝑒𝑙𝑎𝑛𝑑, 1942/11/20).
38+
- **Time Errors**: Knowledge updating may make existing facts invalid, but update delays will let these invalid facts not be removed from TKGs, e.g., (𝑂𝑏𝑎𝑚𝑎, 𝑃𝑟𝑒𝑠𝑖𝑑𝑒𝑛𝑡 𝑜𝑓,𝑈𝑛𝑖𝑡𝑒𝑑 𝑆𝑡𝑎𝑡𝑒𝑠, 2023/10/21).
39+
- **Missing Errors**: Insufficient updates also prevent some correct facts not being added to TKGs. For instance, a TKG might include the knowledge Barack Obama left office but lacked his
40+
inauguration.
41+
42+
## Motivation
43+
we recognize that a rule-based summarization approach could effectively tackle these issues.
44+
- First, rules encapsulate the most common patterns within a graph in a human-readable form. If we can map new knowledge as a set of rules, then they can provide interpretable evidence for its validity.
45+
- Second, the complex patterns observed in TKGs stem from the composition of simpler, independent patterns. If we can appropriately link these simple rules, then the complex patterns can be flexibly deduced based on the individual rules.
46+
- Last, rules describe the properties of a TKG in a more compact and refined way. Thus ideally, any semantic and pattern shifts can be described as modifications of the rules.
47+
48+
## Solution
49+
![Overall architecture of ANoT.|scale=0.5](./assets/framework.png)
50+
51+
In this paper, we propose AnoT, a novel summarization method for TKG anomaly detection. As depicted in the above Figure, AnoT takes an online updating TKG as input, identifies anomalies,
52+
and then filters valid knowledge. The process initiates with the detector module, which constructs
53+
a rule graph based on the offline preserved part of TKG. Upon the arrival of new knowledge, this
54+
module evaluates it against the rule graph to compute an anomaly score. Subsequently, the updater
55+
module receives valid knowledge identified by the detector module, and then reforms them as edit
56+
operations on the rule graph to handle online semantic and pattern changes. The monitor module
57+
estimates the approximate error of the rule graph in representing the TKG. When the approximate
58+
error exceeds the threshold, the monitor will inform the detector to refresh the rule graph based
59+
on the current TKG. In this way, the reachable nodes during walking will give readable evidence
60+
for detection, while the complex patterns can be flexibly described by the walking paths, and the
61+
online changes are uniformly handled.
62+
63+
## Experiments
64+
![Statistics of datasets.|scale=0.5](./assets/datasets.png)
65+
66+
### Anomaly detection accuracy
67+
![Performance comparison of baseline models and ANoT on inductive anomaly detection. The best results are boldfaced and the second best results are underlined.|scale=0.5](./assets/accuracy.png)
68+
69+
### Long-term inductive detection performance
70+
![ Inductive detection performance of ANoT across different timestamps on the ICEWS 14 and GDELT datasets.|scale=0.5](./assets/long_term.png)
71+
72+
### Rule graph construction efficiency
73+
![Model building time, the sizes of the obtained optimal rule graph, and the proportions of explained facts under different settings of category number.|scale=0.5](./assets/efficiency.png)
74+
75+
### Extracted rule edge examples
76+
![Examples of rule edges in the obtained optimal rule graph.|scale=0.5](./assets/rule_example.png)

config/publications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const publications: Publication[] = [
9494
title: "Online Detection of Anomalies in Temporal Knowledge Graphs with Interpretability",
9595
authors: "Jiasheng Zhang, Rex Ying, Jie Shao",
9696
venue: "SIGMOD 2025",
97-
page: null,
97+
page: "anot",
9898
code: "https://github.com/zjs123/ANoT",
9999
paper: "https://arxiv.org/abs/2408.00872",
100100
abstract: "we introduce AnoT, an efficient TKG summarization method tailored for interpretable online anomaly detection in TKGs. AnoT begins by summarizing a TKG into a novel rule graph, enabling flexible inference of complex patterns in TKGs.",

0 commit comments

Comments
 (0)