Online Test-Time Adaptation for Generalizable Dynamic Graph Anomaly Detection

arXiv cs.LG Papers

Summary

The paper proposes OTTA-DGAD, a method for online test-time adaptation in dynamic graph anomaly detection that uses dynamic prototypes and memory buffers to handle unseen target domains without retraining.

arXiv:2608.19858v1 Announce Type: new Abstract: Generalizable dynamic graph anomaly detection (DGAD) enables pretrained detectors to identify anomalies in unseen target domains without costly retraining. However, existing methods often fail for two reasons. First, they mainly rely on domain-agnostic patterns and miss domain-specific patterns that keep evolving. Second, they assume access to the full target domain data, whereas in more practical online test-time adaptation settings, target data arrive sequentially in unlabeled chunks. To address these limitations, we formulate online test-time adaptation for generalizable DGAD and propose OTTA-DGAD. OTTA-DGAD first extracts dynamic prototypes, i.e., evolving representations of normal and anomalous patterns, from temporal ego-graphs and stores them in a memory buffer. The buffer selectively retains general patterns shared across the source domains used for pretraining while incorporating new patterns from the target domain. An anomaly scorer then compares incoming edge representations against these prototypes to identify both general and domain-specific anomalies. During adaptation, OTTA-DGAD updates the memory buffer using reliable pseudo-labels identified through confidence-based detection. It further enriches each target chunk with relevant representations retained from previous chunks, compensating for information loss resulting from the sequential arrival of data. Extensive experiments under strict test-then-adapt OTTA settings demonstrate state-of-the-art performance on ten real-world datasets from diverse domains.
Original Article
View Cached Full Text

Cached at: 08/21/26, 10:29 AM

# Online Test-Time Adaptation for Generalizable Dynamic Graph Anomaly Detection
Source: [https://arxiv.org/html/2608.19858](https://arxiv.org/html/2608.19858)
## Online Test\-Time Adaptation for Generalizable Dynamic Graph Anomaly DetectionThanks:Jialun Zheng, Hanchen Yang and Jiannong Cao are with the Department of Computing, The Hong Kong Polytechnic University, Hong Kong, China \(22069255r@connect\.polyu\.hk, jiannong\.cao@polyu\.edu\.hk and hanchen\.yang@connect\.polyu\.hk\)\. Yuanjing Feng is with the Institute of Information Processing and Automation, Zhejiang University of Technology, Zhejiang, China \(fyjing@zjut\.edu\.cn\)\. Yankai Chen and Philip S\. Yu are with the Department of Computer Science, University of Illinois at Chicago \(UIC\), Chicago, IL, USA \(yankaichen@acm\.org, psyu@uic\.edu\)\. Yankai Chen and Yuanjing Feng are the corresponding authors\.

Hanchen Yang[https://orcid.org/0000-0002-9011-0355](https://orcid.org/0000-0002-9011-0355)Jiannong Cao[https://orcid.org/0000-0002-2725-2529](https://orcid.org/0000-0002-2725-2529)Fellow, IEEEYankai Chen[https://orcid.org/0000-0001-5741-2047](https://orcid.org/0000-0001-5741-2047)Affiliation:Yuanjing Feng[https://orcid.org/0000-0002-9398-5456](https://orcid.org/0000-0002-9398-5456)and Philip S\. Yu[https://orcid.org/0000-0002-3491-5968](https://orcid.org/0000-0002-3491-5968),Life Fellow, IEEE

###### Abstract

Generalizable dynamic graph anomaly detection \(DGAD\) enables pretrained detectors to identify anomalies in unseen target domains without costly retraining\. However, existing methods often fail for two reasons\. First, they mainly rely on domain\-agnostic patterns and miss domain\-specific patterns that keep evolving\. Second, they assume access to the full target domain data, whereas in more practical online test\-time adaptation settings, target data arrive sequentially in unlabeled chunks\. To address these limitations, we formulate online test\-time adaptation for generalizable DGAD and propose OTTA\-DGAD\. OTTA\-DGAD first extracts dynamic prototypes, i\.e\., evolving representations of normal and anomalous patterns, from temporal ego\-graphs and stores them in a memory buffer\. The buffer selectively retains general patterns shared across the source domains used for pretraining while incorporating new patterns from the target domain\. An anomaly scorer then compares incoming edge representations against these prototypes to identify both general and domain\-specific anomalies\. During adaptation, OTTA\-DGAD updates the memory buffer using reliable pseudo\-labels identified through confidence\-based detection\. It further enriches each target chunk with relevant representations retained from previous chunks, compensating for information loss resulting from the sequential arrival of data\. Extensive experiments under strict test\-then\-adapt OTTA settings demonstrate state\-of\-the\-art performance on ten real\-world datasets from diverse domains\.

###### Index Terms:

Online Test\-time Adaptation, Dynamic Graph Anomaly Detection, Graph Neural Networks\.

## IIntroduction

Graph anomaly detection \(GAD\) aims to identify unusual nodes or edges from their features and structural relations\. It has become increasingly important in applications such as fraud detection, transaction monitoring, and social\-network security\[[8](https://arxiv.org/html/2608.19858#bib.bib23),[39](https://arxiv.org/html/2608.19858#bib.bib22),[30](https://arxiv.org/html/2608.19858#bib.bib31)\]\. In practice, however, many graphs are evolving rather than static\[[56](https://arxiv.org/html/2608.19858#bib.bib5),[20](https://arxiv.org/html/2608.19858#bib.bib34),[14](https://arxiv.org/html/2608.19858#bib.bib35),[57](https://arxiv.org/html/2608.19858#bib.bib40)\]\. For examples, new accounts being added with existing entities update their profiles, and interactions evolve over time\. These making anomalous behaviors inherently dynamic rather than fixed\. This motivates dynamic graph anomaly detection \(DGAD\), which capture not only abnormal patterns, but also how such abnormality evolves over time\[[26](https://arxiv.org/html/2608.19858#bib.bib24),[16](https://arxiv.org/html/2608.19858#bib.bib13),[43](https://arxiv.org/html/2608.19858#bib.bib30),[47](https://arxiv.org/html/2608.19858#bib.bib33),[44](https://arxiv.org/html/2608.19858#bib.bib1)\]\. Existing DGAD\[[39](https://arxiv.org/html/2608.19858#bib.bib22),[24](https://arxiv.org/html/2608.19858#bib.bib6)\]often leverage transformers, or unsupervised methods to detect anomalies by measuring deviations from normal patterns\.

However, this one\-model\-per\-domain\[[46](https://arxiv.org/html/2608.19858#bib.bib7),[5](https://arxiv.org/html/2608.19858#bib.bib8),[18](https://arxiv.org/html/2608.19858#bib.bib12)\]paradigm generalizes poorly due to following limitations\. Firstly, new domains exhibit different anomaly semantics and feature, namely domain shift\[[32](https://arxiv.org/html/2608.19858#bib.bib25),[37](https://arxiv.org/html/2608.19858#bib.bib26),[51](https://arxiv.org/html/2608.19858#bib.bib36)\]\. For example, a sudden increase in transactions involving a small group of accounts may indicate suspicious collusion in a transaction network\. However, a similar surge in traffic flow around a small set of locations may simply be caused by the opening of a new shopping mall rather than anomalous behavior\. As a result, a detector trained on one domain may fail to generalize to another\. A straightforward solution is to retrain the detector for each new domain\. Nevertheless, this is costly and difficult to scale, especially in real world where new domains continuously emerge and domain shift continuously happen\[[57](https://arxiv.org/html/2608.19858#bib.bib40),[56](https://arxiv.org/html/2608.19858#bib.bib5)\]\. Moreover, target data arrive continuously in chunks rather than becoming available all at once\[[11](https://arxiv.org/html/2608.19858#bib.bib43),[49](https://arxiv.org/html/2608.19858#bib.bib42)\]\. Waiting for the complete data stream delays timely adaptation\. On the other hand, directly updating on each chunk will cause overfit to short term patterns since a single chunk only contains limited local observations\.

These limitations motivate online test\-time adaptation\[[22](https://arxiv.org/html/2608.19858#bib.bib52),[41](https://arxiv.org/html/2608.19858#bib.bib53),[15](https://arxiv.org/html/2608.19858#bib.bib49),[1](https://arxiv.org/html/2608.19858#bib.bib50)\]for generalizable DGAD\. Specifically, a detector pretrained on a source domain can adapt to sequentially arriving unlabeled target chunks under continuous domain shift while maintaining anomaly detection accuracy\.

![Refer to caption](https://arxiv.org/html/2608.19858v1/teaser.png)Fig\. 1:Motivating experiments\. \(a\) Anomalous patterns change over time, chunks and cross datasets\. \(b\) Existing generalist methods capture only domain agnostic patterns, without cross chunk information preservation\. \(c\) Our method, OTTA\-DGAD, captures both domain\-agnostic and domain\-specific patterns\. Cross chunk information is also preserved\.Under this problem, the first major challenge is anomaly pattern, such as feature space, evolving over time between and within domain as shown in Fig\.[1](https://arxiv.org/html/2608.19858#S1.F1)\(a\)\[[38](https://arxiv.org/html/2608.19858#bib.bib20),[32](https://arxiv.org/html/2608.19858#bib.bib25),[37](https://arxiv.org/html/2608.19858#bib.bib26),[51](https://arxiv.org/html/2608.19858#bib.bib36)\]\. A pattern that appears abnormal at an early stage may later become common as the target domain evolves\. This makes adaptation fundamentally difficult\. Methods based on temporal ego\-graphs\[[46](https://arxiv.org/html/2608.19858#bib.bib7)\]can capture evolving local anomaly patterns within a domain\. However, these patterns are often closely tied to the domain’s graph structure and anomaly semantics\. Directly adapting them to a new domain may therefore lead to substantial mismatch and cause performance degradation\. Recapturing temporal patterns for every target domain is also expensive and limits scalability\. In contrast, cross\-domain generalization methods retain domain agnostic pattern using prototypes\[[23](https://arxiv.org/html/2608.19858#bib.bib16),[31](https://arxiv.org/html/2608.19858#bib.bib15),[28](https://arxiv.org/html/2608.19858#bib.bib14)\], normalization, or prompts as shown in the upper part of Fig\.[1](https://arxiv.org/html/2608.19858#S1.F1)\(b\)\. Although these mechanisms improve generalizability, they may fail to capture newly emerging, domain specific anomaly patterns in target domain\. Therefore, model needs to preserve domain agnostic as well as specific patterns at the same time as shown in the upper part of Fig\.[1](https://arxiv.org/html/2608.19858#S1.F1)\(c\)\.

Secondly, chunk\-wise and unlabeled nature of the online target data stream also introduce another challenge\[[10](https://arxiv.org/html/2608.19858#bib.bib45),[29](https://arxiv.org/html/2608.19858#bib.bib54),[2](https://arxiv.org/html/2608.19858#bib.bib44)\]\. In dynamic graphs, each incoming chunk only provides a partial view of the target domain as shown in the lower part of Fig\.[1](https://arxiv.org/html/2608.19858#S1.F1)\(b\)\. However, many anomaly patterns depend on cross chunk interactions, historical neighbors, and evolving structural dependencies\. These information are not directly observable from the current chunk\[[33](https://arxiv.org/html/2608.19858#bib.bib19),[4](https://arxiv.org/html/2608.19858#bib.bib51)\]\. For example, in a social network, a user may interact with only a few accounts within one time chunk\. Notwithstanding, suspicious pattern may only become evident after linking multiple chunks\. Consequently, chunk\-wise adaptation fail to capture temporal evolution of graph structure and feature distribution, thus lead to incorrect anomaly detection\. Although OTTA can retain cross chunk information by tracking historical scores or gradients, existing methods\[[27](https://arxiv.org/html/2608.19858#bib.bib46),[9](https://arxiv.org/html/2608.19858#bib.bib3)\]are mainly designed for sequential data\. Moreover, they lack an explicit module for incorporating structural information across chunks\. The problem is further complicated by the absence of labels\[[30](https://arxiv.org/html/2608.19858#bib.bib31),[36](https://arxiv.org/html/2608.19858#bib.bib27)\]\. Therefore, the model needs to preserve cross chunk information as shown in lower part of Fig\.[1](https://arxiv.org/html/2608.19858#S1.F1)\(c\)\.

To address the aforementioned challenges, we propose Online Test\-Time Adapted Generalizable Dynamic Graph Anomaly Detector \(OTTA\-DGAD\)\. OTTA\-DGAD is pretrained on multiple source\-domain datasets to capture domain agnostic patterns\. Then, it is adapted online to chunk\-wise target data to incorporate target\-specific patterns\. Specifically, it first constructs dynamic prototypes, namely representations of normal and abnormal patterns, from spatial anomalies captured by temporal ego\-graphs\. These prototypes are further updated with edge\-level temporal attributes, allowing them to reflect how anomalous patterns evolve over time\. Prototypes collected from different source domains are stored in a memory buffer, which is then updated with prototypes from the new domain\. Thus, the memory buffer preserves both domain\-agnostic knowledge and domain\-specific knowledge for adaptation\. After that, OTTA\-DGAD derives normal and abnormal distributions from the buffered prototypes for anomaly scoring\.

A preliminary version of this work was published in\[[55](https://arxiv.org/html/2608.19858#bib.bib2)\]\. Although DP\-DGAD performed well, it had three major limitations that prevent it from real world deployment\. First, it cannot handle the missing information cross chunks, which we call context\[[34](https://arxiv.org/html/2608.19858#bib.bib55)\], caused by chunked target data stream\. To address this issue, we preserve representations that are representative of the chunk distribution and distinct from one another in a context buffer\. We measure the former using a coverage score and the latter using a difference score\. These representations are later used to enhance the similar query representations in the next chunk\. Moreover, DP\-DGAD uses low\-entropy detection pairs as confident predictions and uses their pseudo labels to update the prototypes\. However, entropy alone measures only prediction certainty, not whether the prediction is structurally consistent with the graph\. It can therefore select confidently incorrect samples\. Moreover, selecting a fixed number of pseudo\-labeled samples per class can bias prototype updates when target chunks are class\-imbalanced, causing errors to accumulate over time\. To address these issues, we assess pseudo\-label quality using two complementary signals\. The first is prediction entropy, which reflects model confidence\. The second is structural support, which reflects whether a node’s predicted label agrees with those of its neighbors\. We combine these signals into a reliability score, and normalize the score within each pseudo\-label class to ensure comparability across classes\. We then rank all detections together, regardless of their predicted classes, to select the most reliable ones\. This allows the number of selected normal and anomalous detections to vary naturally with the confidence distribution of each chunk\. Third, DP\-DGAD has not been evaluated in an OTTA setting, leaving its effectiveness under realistic online test\-time adaptation unclear\. Therefore, in this work, we reformulate the task under the OTTA\-DGAD setting\. Unlike prior evaluations that assume fully available target data, we re\-run all experiments under a strict chunk\-wise online adaptation protocol, covering all baselines across all ten datasets\.

- ∙\\bulletWe propose a new and more realistic research problem, online test\-time adaptation for generalizable dynamic graph anomaly detection\. The pretrained DGAD model must adapt to unlabeled target dynamic graphs that arrive sequentially in chunks under continuous domain shifts\.
- ∙\\bulletWe equip OTTA\-DGAD with two new components: a structurally supported pseudo\-labeling strategy and a cross\-chunk information preserving mechanism\. Together, they enable the detector to capture anomaly patterns that are both shared across chunks and specific to the current chunk under OTTA constraints\.
- ∙\\bulletWe conduct extensive experiments on a large\-scale cross\-domain benchmark containing ten real\-world datasets from diverse domains\. The results show that our method achieves state\-of\-the\-art performance with improved stability and generalization\.

## IIRelated Work

### II\-AGeneralizable Dynamic Graph Anomaly Detection

Existing dynamic graph anomaly detection \(DGAD\) follow a general pipeline by modeling structural and temporal dependencies jointly\. For example, TADDY\[[24](https://arxiv.org/html/2608.19858#bib.bib6)\]employs a transformer\-based architecture to encode temporal evolution and spatial dependencies for anomaly detection\. StrGNN and DynAnom\[[3](https://arxiv.org/html/2608.19858#bib.bib10),[13](https://arxiv.org/html/2608.19858#bib.bib11)\]focus on local subgraphs to efficiently identify structural irregularities in evolving graphs\. In semi\-supervised settings, methods such as SAD and CoLA\[[35](https://arxiv.org/html/2608.19858#bib.bib9),[24](https://arxiv.org/html/2608.19858#bib.bib6)\]exploit limited anomaly labels to learn discriminative representations\[[7](https://arxiv.org/html/2608.19858#bib.bib39)\]\. Meanwhile, unsupervised DGAD methods\[[46](https://arxiv.org/html/2608.19858#bib.bib7)\]have received increasing attention because anomaly labels are often unavailable in practical applications\. These methods generally assume that the training data are dominated by normal samples and detect anomalies according to their deviations from learned normal patterns\. For instance, FALCON\[[5](https://arxiv.org/html/2608.19858#bib.bib8)\]exploits fine\-grained temporal information through enhanced sampling and representation learning, while SLADE\[[18](https://arxiv.org/html/2608.19858#bib.bib12)\]models long\-term evolving interactions to characterize normal behavioral patterns\. Despite their effectiveness, most existing DGAD methods are developed under a closed\-world, one\-model\-per\-domain paradigm\. They assume that the source and test graphs share similar feature distributions, structural patterns, and anomaly semantics\. As a result, their performance can degrade substantially when deployed on unseen domains with distribution shifts\[[52](https://arxiv.org/html/2608.19858#bib.bib37),[6](https://arxiv.org/html/2608.19858#bib.bib38)\]\. To alleviate cross\-domain distribution shifts, recent studies have explored generalist detection models, which aims to learn general domain agnostic patterns from multiple source domains and apply it to unseen target domains\[[23](https://arxiv.org/html/2608.19858#bib.bib16),[31](https://arxiv.org/html/2608.19858#bib.bib15),[28](https://arxiv.org/html/2608.19858#bib.bib14),[42](https://arxiv.org/html/2608.19858#bib.bib32)\]\. Existing approaches typically reduce domain discrepancies through unified representation strategies, including normalization\[[54](https://arxiv.org/html/2608.19858#bib.bib17),[19](https://arxiv.org/html/2608.19858#bib.bib18)\], prototype\-based modeling\[[40](https://arxiv.org/html/2608.19858#bib.bib21),[33](https://arxiv.org/html/2608.19858#bib.bib19),[38](https://arxiv.org/html/2608.19858#bib.bib20)\], and prompt\-based adaptation\[[25](https://arxiv.org/html/2608.19858#bib.bib28)\]\. These methods seek to preserve domain\-invariant patterns shared across graphs and thereby avoid retraining a dedicated detector for every target domain\. Most generalist GAD methods are designed for static graphs and primarily preserve domain agnostic pattern, making them inadequate for evolving, domain specific anomaly patterns in unseen domains\. Our method addresses this limitation by maintaining dynamic prototypes from temporal ego\-graphs in a memory buffer, which retains general pattern while incorporating domain specific patterns\.

### II\-BOnline Test Time Adaptation for Dynamic Graph Anomaly Detection

Online test\-time adaptation \(OTTA\)\[[29](https://arxiv.org/html/2608.19858#bib.bib54),[22](https://arxiv.org/html/2608.19858#bib.bib52),[41](https://arxiv.org/html/2608.19858#bib.bib53)\]aims to adapt a source\-pretrained model to an unlabeled target stream that arrives sequentially\. Unlike conventional domain adaptation\[[57](https://arxiv.org/html/2608.19858#bib.bib40),[56](https://arxiv.org/html/2608.19858#bib.bib5),[48](https://arxiv.org/html/2608.19858#bib.bib56),[21](https://arxiv.org/html/2608.19858#bib.bib57)\], OTTA performs adaptation without accessing source data or target labels\. Existing OTTA methods often update selected model parameters using self\-supervised objectives on incoming target data\. For example, CMF\[[17](https://arxiv.org/html/2608.19858#bib.bib41)\]filters momentum in the parameter space to stabilize continual adaptation, while TEA\[[49](https://arxiv.org/html/2608.19858#bib.bib42)\]performs adaptation by aligning target representations with class\-wise energy distributions\. SoTTA\[[11](https://arxiv.org/html/2608.19858#bib.bib43)\]improves robustness to noisy online streams by selecting reliable target samples and reducing the influence of noisy pseudo\-labels\. Protected TTA\[[2](https://arxiv.org/html/2608.19858#bib.bib44)\]further introduces online entropy matching and a statistical protection mechanism to avoid harmful self\-training updates\. Other methods use target\-data selection, memory mechanisms, or diverse augmented views to improve adaptation stability\. For instance, Universal TTA\[[27](https://arxiv.org/html/2608.19858#bib.bib46)\]combines weight ensembling, diversity\-aware weighting, and prior correction to improve robustness across different test\-time shifts\. In addition, Dual Memory Networks\[[53](https://arxiv.org/html/2608.19858#bib.bib47)\]maintain complementary memory representations to support adaptation, whereas prompt\-based approaches adapt a small set of prompts or lightweight modules while retaining the pretrained backbone\[[50](https://arxiv.org/html/2608.19858#bib.bib48),[15](https://arxiv.org/html/2608.19858#bib.bib49)\]\. These methods improve adaptation efficiency and mitigate domain shift\. However, they lack module for dynamic graphs that both need temporal as well spatial adaptation\.

For dynamic graphs, recent studies have begun to investigate test\-time adaptation through lightweight prompt tuning and continual adaptation\. PromptDyG\[[1](https://arxiv.org/html/2608.19858#bib.bib50)\]performs test\-time prompt adaptation on dynamic graphs by keeping the pretrained backbone fixed and updating lightweight prompts to accommodate evolving patterns\. ADCSD\[[12](https://arxiv.org/html/2608.19858#bib.bib4)\]retains a frozen source\-pretrained backbone and refines its predictions through a short\-term correction module conditioned on the current chunk’s statistics and a long\-term module based on an exponential\-moving\-average historical state\. Followed by LCoTTA\[[9](https://arxiv.org/html/2608.19858#bib.bib3)\]that maintain a queue of recent adaptation gradients, estimates their principal subspace online, and projects each current update onto this subspace before updating lightweight adaptation parameters\. Notwithstanding, these methods do not explicitly preserve or retrieve cross chunk information that capture evolving structural dependencies and can suffer from suboptimal performance when required to identify anomalies in dynamic graph streams\.

## IIIProblem Formulation

Definition 1\. \(Dynamic Graph Anomaly Detection\)A dynamic graph can be denoted as𝒢=\{G1,G2,…,GT\}\\mathcal\{G\}=\\\{G\_\{1\},G\_\{2\},\\ldots,G\_\{T\}\\\}, whereTTis the number of intervals, and intervalttconsists ofMtM\_\{t\}timestamps\. Specifically,Gt=\(Vt,Et\)G\_\{t\}=\(V\_\{t\},E\_\{t\}\), whereVtV\_\{t\}is a node set andEtE\_\{t\}is an edge set, withAVt∈ℝNVt×NVtA^\{V\_\{t\}\}\\in\\mathbb\{R\}^\{N^\{V\_\{t\}\}\\times N^\{V\_\{t\}\}\}andAEt∈ℝNEt×NEtA^\{E\_\{t\}\}\\in\\mathbb\{R\}^\{N^\{E\_\{t\}\}\\times N^\{E\_\{t\}\}\}denoting the node and edge adjacency matrices \(NVt=\|Vt\|N^\{V\_\{t\}\}=\|V\_\{t\}\|,NEt=\|Et\|N^\{E\_\{t\}\}=\|E\_\{t\}\|\), andXVt∈ℝNVt×DV×MtX^\{V\_\{t\}\}\\in\\mathbb\{R\}^\{N^\{V\_\{t\}\}\\times D^\{V\}\\times M\_\{t\}\},XEt∈ℝNEt×DE×MtX^\{E\_\{t\}\}\\in\\mathbb\{R\}^\{N^\{E\_\{t\}\}\\times D^\{E\}\\times M\_\{t\}\}denoting the temporal node and edge features,DE,DVD^\{E\},D^\{V\}is the dimension of features, respectively\. Each edge is associated with a label vectoryt∈\{0,1\}NEty\_\{t\}\\in\\\{0,1\\\}^\{N^\{E\_\{t\}\}\}, partitioningEtE\_\{t\}into the normal edge setEtnE\_\{t\}^\{n\}and the abnormal edge setEtaE\_\{t\}^\{a\}\.

Following existing online test\-time adaptation methods\[[41](https://arxiv.org/html/2608.19858#bib.bib53)\], we further divide𝒢\\mathcal\{G\}intoQQdata chunks\{𝒞1,𝒞2,…,𝒞Q\}\\\{\\mathcal\{C\}\_\{1\},\\mathcal\{C\}\_\{2\},\\ldots,\\mathcal\{C\}\_\{Q\}\\\}for online processing\. Each chunk𝒞q=\(Vq,Eq\)\\mathcal\{C\}\_\{q\}=\(V\_\{q\},E\_\{q\}\), aggregatesMqM\_\{q\}consecutive timestamps and contains a fixed number of edges\|Eq\|=B\|E\_\{q\}\|=B\(e\.g\.,B=128B=128interactions\)\.𝒞q\\mathcal\{C\}\_\{q\}inherits the same notation asGtG\_\{t\}\(i\.e\.,AVqA^\{V\_\{q\}\},AEqA^\{E\_\{q\}\},XVqX^\{V\_\{q\}\},XEqX^\{E\_\{q\}\},EqnE\_\{q\}^\{n\},EqaE\_\{q\}^\{a\},yqy\_\{q\}\)\. The goal of dynamic graph anomaly detection is to distinguish abnormal edges from normal ones based on the evolving graph structure and temporal features\.

Definition 2\. \(Continuous Domain Shift\)Given\{𝒢1,𝒢2,…,𝒢S\+K\}\\\{\\mathcal\{G\}\_\{1\},\\mathcal\{G\}\_\{2\},\\ldots,\\mathcal\{G\}\_\{S\+K\}\\\}being a collection of\(S\+K\)\(S\+K\)dynamic graphs from different domains, where\{𝒢1,𝒢2,…,𝒢S\}\\\{\\mathcal\{G\}\_\{1\},\\mathcal\{G\}\_\{2\},\\ldots,\\mathcal\{G\}\_\{S\}\\\}are from source domain and\{𝒢S\+1,𝒢S\+2,…,𝒢S\+K\}\\\{\\mathcal\{G\}\_\{S\+1\},\\mathcal\{G\}\_\{S\+2\},\\ldots,\\mathcal\{G\}\_\{S\+K\}\\\}are from target domains\. For two dynamic graphs from different domains,𝒢i\\mathcal\{G\}\_\{i\}and𝒢j\\mathcal\{G\}\_\{j\}wherei≠ji\\neq j, we define domain shift as a difference between their distributions of node and edge features, graph structures, such as the adjacency matrices or their mappings from edges to anomaly labels\. Such domain shifts occur among any two dynamic graphs in the dataset collection\{𝒢1,𝒢2,…,𝒢S\+K\}\\\{\\mathcal\{G\}\_\{1\},\\mathcal\{G\}\_\{2\},\\ldots,\\mathcal\{G\}\_\{S\+K\}\\\}\.

Problem Definition\. \(Online Test\-Time Adaptation for Generalizable Dynamic Graph Anomaly Detection\)GivenSSsource dynamic graphs\{𝒢1,…,𝒢S\}\\\{\\mathcal\{G\}\_\{1\},\\ldots,\\mathcal\{G\}\_\{S\}\\\}, we first train a source detectorΨ0\\Psi\_\{0\}that distinguishes abnormal from normal edges on source dynamic graphs\. Given an unseen target dynamic graph𝒢k\\mathcal\{G\}\_\{k\}partitioned intoQkQ\_\{k\}chunks\{𝒞1,…,𝒞Qk\}\\\{\\mathcal\{C\}\_\{1\},\\ldots,\\mathcal\{C\}\_\{Q\_\{k\}\}\\\}, our goal is to sequentially adaptΨ0\\Psi\_\{0\}into a series of detectors\{Ψ1,…,ΨQk\}\\\{\\Psi\_\{1\},\\ldots,\\Psi\_\{Q\_\{k\}\}\\\}that minimize the anomaly detection error across all chunks of𝒢k\\mathcal\{G\}\_\{k\}, without access to any target label\. Specifically, for each chunk𝒞q\\mathcal\{C\}\_\{q\}, the detectorΨq−1\\Psi\_\{q\-1\}adapted via previous chunk𝒞q−1\\mathcal\{C\}\_\{q\-1\}first predicts anomaly scores on the current unlabeled chunk𝒞q\\mathcal\{C\}\_\{q\}as:

y^q=Ψq−1​\(AVq,AEq,XVq,XEq\),\\hat\{y\}\_\{q\}=\\Psi\_\{q\-1\}\\\!\\left\(A^\{V\_\{q\}\},A^\{E\_\{q\}\},X^\{V\_\{q\}\},X^\{E\_\{q\}\}\\right\),\(1\)
and is then updated toΨq\\Psi\_\{q\}using only𝒞q\\mathcal\{C\}\_\{q\}andy^q\\hat\{y\}\_\{q\}, without access toyqy\_\{q\}or future chunks\.

## IVMethodology

![Refer to caption](https://arxiv.org/html/2608.19858v1/model.png)Fig\. 2:General framework of OTTA\-DGAD\. \(a\) Starting with the first source dataset, we extract ego\-graphs to capture temporal patterns and store the most distinct prototype pairs in a memory buffer\. \(b\) As we pretrain on the following source datasets, new domain\-specific patterns are added while general domain\-agnostic patterns are retained\. Prototype distributions are then compared with edge embeddings for anomaly scoring\. \(c\) On target chunks, reliable detections, measured by prediction entropy and agreement with neighboring edges, provide pseudo\-labels for memory updates\. The buffer retains representations with high similarity to chunk distribution, which we define as coverage score and different with stored entries\. These representations enrich subsequent chunks with cross\-chunk context, while the generalist model remains frozen\.As shown in Fig\.[2](https://arxiv.org/html/2608.19858#S4.F2), OTTA\-DGAD first extracts evolving patterns using dynamic prototype extraction and stores them in a memory buffer\. Then, during cross\-domain anomaly scoring, it retains general patterns shared among pretrained source datasets while incorporating domain\-specific ones\. These dynamic prototypes are compared with embeddings to calculate anomaly scores\. On target data, it measure detection with a reliability score that combines prediction entropy and structural support, where structural support reflects agreement between a node and its neighbors\. These detections provide pseudo\-labels for updating the memory buffer\. Besides, a context buffer stores representations is used to enrich cross chunk information\. We select samples using two scores\. The coverage score measures similarity to the distribution of the current chunk, while the difference score measures dissimilarity from entries already stored in the buffer\. When a new chunk arrives, its query representations is enriched by cross chunk information from this buffer\.

### IV\-ADynamic Prototype Extraction

In this section, our goal is to extract dynamic prototypes as the evolving representations of normal and anomalous patterns\. Particularly, we align prototypes with both abnormal and normal patterns to fully exploit anomaly discriminability\. This approach enables a more effective capture of evolving anomalous patterns over time\.

For each edgeeie\_\{i\}, its anomalous pattern can be captured by the ego\-graph consisting of its neighbors, thereby reflecting how it deviates from or resembles them\[[31](https://arxiv.org/html/2608.19858#bib.bib15)\]\. To capture not only the anomalous pattern but also its evolution over time, temporal ego\-graphs are utilized\. These graphs\[[46](https://arxiv.org/html/2608.19858#bib.bib7)\]extractkk\-hop neighboring edges occurring on or before timestampttaround edgeeie\_\{i\}and form a subgraphGe​g​oG\_\{ego\}\. The temporal ego\-graph is then input into a simple backbone model consisting of a Graph Neural Network \(GNN\), followed by a transformer to retrieve representations\. The GNN first outputs representationHl∈ℝ\|Ee​g​o\|×dH\_\{l\}\\in\\mathbb\{R\}^\{\|E\_\{ego\}\|\\times d\}as follows:

Hl=σ⁡\(Ae​g​o​Hl−1​W1l\+Hl−1​W2l\),H\_\{l\}=\\sigma\(A\_\{ego\}H\_\{l\-1\}W\_\{1\}^\{l\}\+H\_\{l\-1\}W\_\{2\}^\{l\}\),\(2\)
whereddis the dimension of representation andllis the GNN layer index\.W2l,W1l∈ℝDl−1×DlW\_\{2\}^\{l\},W\_\{1\}^\{l\}\\in\\mathbb\{R\}^\{D^\{l\-1\}\\times D^\{l\}\}are learnable parameter matrix of layerllandσ\\sigmais the activation function\.Ae​g​oA\_\{ego\}refers to the edge adjacency matrix of the ego\-graph\. To encourage the representation to capture more domain\-agnostic features, a residual module is applied here to smooth edge\-specific representationhi∈Hlh\_\{i\}\\in H\_\{l\}as follows:

h′i=hi−1\|Ee​g​o\|∑ej∈Ee​g​ohj\.h^\{\{\}^\{\\prime\}\}\_\{i\}=h\_\{i\}\-\\frac\{1\}\{\|E\_\{ego\}\|\}\\sum\_\{e\_\{j\}\\in E\_\{ego\}\}h\_\{j\}\.\(3\)
Then, the processedH′lH^\{\{\}^\{\\prime\}\}\_\{l\}is fed into a transformer\. This transformer’s role is to identify the similarity between edgeeie\_\{i\}and its k\-hop neighbors\. In this way, we encode the spatial anomalous patterns ofeie\_\{i\}as they evolve over time into its embeddingziz\_\{i\}\.

zi=∑h′j∈H′le​x​p​\(<wQh′i,wKh′j\>do​u​t\)∑h′j∈H′lexp\(<wQh′i,wKh′j\>do​u​t\)wVh′j,z\_\{i\}=\\sum\_\{h^\{\{\}^\{\\prime\}\}\_\{j\}\\in H^\{\{\}^\{\\prime\}\}\_\{l\}\}\\frac\{exp\(\\frac\{<w\_\{Q\}h^\{\{\}^\{\\prime\}\}\_\{i\},w\_\{K\}h^\{\{\}^\{\\prime\}\}\_\{j\}\>\}\{\\sqrt\{d\_\{out\}\}\}\)\}\{\\sum\_\{h^\{\{\}^\{\\prime\}\}\_\{j\}\\in H^\{\{\}^\{\\prime\}\}\_\{l\}\}exp\(\\frac\{<w\_\{Q\}h^\{\{\}^\{\\prime\}\}\_\{i\},w\_\{K\}h^\{\{\}^\{\\prime\}\}\_\{j\}\>\}\{\\sqrt\{d\_\{out\}\}\}\)\}w\_\{V\}h^\{\{\}^\{\\prime\}\}\_\{j\},\(4\)
where<\.,\.\><\.,\.\>denotes the dot product,do​u​td\_\{out\}refers to the dimension of the output representationziz\_\{i\}of edgeeie\_\{i\}\.wQ,wK,wVw\_\{Q\},w\_\{K\},w\_\{V\}refer to the Query, Key, and Value matrix\.

After obtaining the representation of each edge, we align dynamic prototypes with both the abnormal and normal edges’ representations\. Formally, we havepn∈ℝdpp\_\{n\}\\in\\mathbb\{R\}^\{d\_\{p\}\}as the dynamic normal prototypes whilepa∈ℝdpp\_\{a\}\\in\\mathbb\{R\}^\{d\_\{p\}\}represents the dynamic abnormal prototypes\. Both for the abnormaleie\_\{i\}inEtaE^\{a\}\_\{t\}and that inEtnE^\{n\}\_\{t\}, we can obtain the ego\-graph representation\. We denote the representation of abnormal edges asZaZ\_\{a\}and the representations of normal edges asZnZ\_\{n\}\. To alignpap\_\{a\}andpnp\_\{n\}withZaZ\_\{a\}andZnZ\_\{n\}, we define alignment loss function as follows:

LA=∑i=1\|Et\|Iyi=0​‖zi−pn‖22\+Iyi=1​‖zi−pa‖22,L\_\{A\}=\\sum^\{\|E\_\{t\}\|\}\_\{i=1\}I\_\{y\_\{i\}=0\}\|\|z\_\{i\}\-p\_\{n\}\|\|^\{2\}\_\{2\}\+I\_\{y\_\{i\}=1\}\|\|z\_\{i\}\-p\_\{a\}\|\|^\{2\}\_\{2\},\(5\)
whereIyi=0I\_\{y\_\{i\}=0\}represents indicator function\. This function returns 1 when the conditionyi=0y\_\{i\}=0is met, and 0 otherwise\.

These aligned dynamic prototypes are further stored in the dynamic prototype bufferℬ\\mathcal\{B\}that has sizeℳ\\mathcal\{M\}, set as 10% of the training source dataset size\. The buffer is updated during each iteration to capture diverse aspects of the abnormal and normal patterns as possible\. Due to limitations in size and memory, we retain only the most discriminative prototypes\. This is achieved by ranking all prototypes currently in the buffer in ascending order based on the distance score\. The prototype pairs with the smallest distance score, indicating weak separability between normal and abnormal patterns are therefore replaced\. The distance score is calculated as the mean Euclidean distance between pairs of prototypes:

sd=1dp​∑m=1dp‖pam−pnm‖2,s\_\{d\}=\\frac\{1\}\{\{d\_\{p\}\}\}\\sum\_\{m=1\}^\{\{d\_\{p\}\}\}\|\|p\_\{a\}^\{m\}\-p\_\{n\}^\{m\}\|\|\_\{2\},\(6\)
wheredpd\_\{p\}refer to the dimension of prototypes,pam,pnmp\_\{a\}^\{m\},p\_\{n\}^\{m\}refer to the corresponding dimensionmm’s feature in prototypes\. In each training epoch, the system identifies the pair of prototypes that exhibits the highest distance score\. This most distinct pair is then used to set the initial values forpnp\_\{n\}andpap\_\{a\}for that specific epoch\. This strategy ensures that the dynamic prototypes are continuously refined to be more distinguishable\.

### IV\-BCross Domain Anomaly Scoring

Distribution\-based anomaly scoring surpasses traditional binary classifiers in its ability to generalize across different domains\. It captures higher\-order statistics of data distributions by comparing data with both abnormal and normal distributions\. However, our current dynamic prototypes are domain\-specific, which prevents their direct application across different domains\. To generalize them to new domains, we identify and save domain\-agnostic ones, while adding new prototypes from new domains\. Subsequently, we build anomaly scoring module to leverage these enhanced prototypes\.

For identifying domain\-agnostic patterns, they should already be present in the memory buffer, which stores information from previously encountered source datasets\. Additionally, they should also exhibit similarity to the feature representations found in the subsequent source dataset\. The similarityses\_\{e\}is calculated as the mean Euclidean distance between the dynamic prototype pair and the representations of edges in the new domain dataset:

se=1\|Et\|​∑i=1\|Et\|‖zi−pn‖2\+‖zi−pa‖2\.s\_\{e\}=\\frac\{1\}\{\|E\_\{t\}\|\}\\sum\_\{i=1\}^\{\|E\_\{t\}\|\}\|\|z\_\{i\}\-p\_\{n\}\|\|\_\{2\}\+\|\|z\_\{i\}\-p\_\{a\}\|\|\_\{2\}\.\(7\)
Notably, the representationziz\_\{i\}is projected to the same dimension as that of the dynamic prototypes\. To ensuresds\_\{d\}andses\_\{e\}are on a comparable scale before combination,ses\_\{e\}is likewise normalized viadpd\_\{p\}\. A lower distance indicates higher similarity, meaning more general prototypes\. This will be combined withsds\_\{d\}in the following manner:

sr=λd​sd−λe​se,s\_\{r\}=\\lambda\_\{d\}s\_\{d\}\-\\lambda\_\{e\}s\_\{e\},\(8\)
whereλd\\lambda\_\{d\}andλe\\lambda\_\{e\}are parameters used to control the contribution of the two scores\. A highersrs\_\{r\}indicates greater pairwise distance and similarity to the new source dataset, representing more general domain\-agnostic patterns\. For new domain patterns, we rank buffer prototypes bysrs\_\{r\}in ascending order and replace the lowest\-scoring pair with one from the new domain\. We then initializepnp\_\{n\}andpap\_\{a\}using the highestsrs\_\{r\}pairs to ensure dynamic prototypes capture both domain\-agnostic and domain\-specific patterns\.

With these dynamic prototypes in the memory buffer, we build an anomaly scoring module by measuring edge representation similarity to both normal and abnormal distributions\. Top prototype pairs alone cannot fully represent distributions, so we iteratively update statistical measures \(mean and covariance\)\. Each iteration incorporates new data and existing statistics to capture evolving distributions\. The mean update is as follows:

μn,t=α​μn,t−1\+\(1−α\)​∑i=1ℳpn,i,\\mu\_\{n,t\}=\\alpha\\mu\_\{n,t\-1\}\+\(1\-\\alpha\)\\sum^\{\\mathcal\{M\}\}\_\{i=1\}p\_\{n,i\},\(9\)μa,t=α​μa,t−1\+\(1−α\)​∑i=1ℳpa,i,\\mu\_\{a,t\}=\\alpha\\mu\_\{a,t\-1\}\+\(1\-\\alpha\)\\sum^\{\\mathcal\{M\}\}\_\{i=1\}p\_\{a,i\},\(10\)
whereμn\\mu\_\{n\}andμa\\mu\_\{a\}are the mean values for normal and abnormal distributions\.α\\alphais a momentum parameter to control the ratio of updating based on prototypes and the existing mean value\.

For covariance updates, we first calculate center embedding, which captures how individual prototypes differ from the overall average\. Then, we use center embeddings to update the covariance that inherently measures how data points vary together around their mean values:

Cn=\[pn,1−μn,t,pn,2−μn,t,…,pn,ℳ−μn,t\]T,C\_\{n\}=\[p\_\{n,1\}\-\\mu\_\{n,t\},p\_\{n,2\}\-\\mu\_\{n,t\},\.\.\.,p\_\{n,\\mathcal\{M\}\}\-\\mu\_\{n,t\}\]^\{T\},\(11\)Ca=\[pa,1−μa,t,pa,2−μa,t,…,pa,ℳ−μa,t\]T,C\_\{a\}=\[p\_\{a,1\}\-\\mu\_\{a,t\},p\_\{a,2\}\-\\mu\_\{a,t\},\.\.\.,p\_\{a,\\mathcal\{M\}\}\-\\mu\_\{a,t\}\]^\{T\},\(12\)Σn,t=α​Σn,t−1\+\(1−α\)​CnT​Cnm​a​x​\(1,ℳ−1\),\\Sigma\_\{n,t\}=\\alpha\\Sigma\_\{n,t\-1\}\+\(1\-\\alpha\)\\frac\{C\_\{n\}^\{T\}C\_\{n\}\}\{max\(1,\\mathcal\{M\}\-1\)\},\(13\)Σa,t=α​Σa,t−1\+\(1−α\)​CaT​Cam​a​x​\(1,ℳ−1\),\\Sigma\_\{a,t\}=\\alpha\\Sigma\_\{a,t\-1\}\+\(1\-\\alpha\)\\frac\{C\_\{a\}^\{T\}C\_\{a\}\}\{max\(1,\\mathcal\{M\}\-1\)\},\(14\)
whereCnC\_\{n\}andCaC\_\{a\}are the center embeddings, and,Σn\\Sigma\_\{n\}andΣa\\Sigma\_\{a\}are the covariance values\.

Then we compute a learned discriminant score between the edge representationziz\_\{i\}and each distribution using a bilinear form parameterized byμ\\muandΣ\\Sigma:

sn,i=ziT​μn−λn​ziT​Σn​zi,s\_\{n,i\}=z\_\{i\}^\{T\}\\mu\_\{n\}\-\\lambda\_\{n\}z\_\{i\}^\{T\}\\Sigma\_\{n\}z\_\{i\},\(15\)sa,i=ziT​μa−λa​ziT​Σa​zi,s\_\{a,i\}=z\_\{i\}^\{T\}\\mu\_\{a\}\-\\lambda\_\{a\}z\_\{i\}^\{T\}\\Sigma\_\{a\}z\_\{i\},\(16\)
whereλa,λn\\lambda\_\{a\},\\lambda\_\{n\}are learnable parameters, adjusting the relative contribution of the second\-order term, that are learned during source pretraining and kept fixed throughout target\-time adaptation\. Next, we compute the anomaly scoresi=sa,i−sn,is\_\{i\}=s\_\{a,i\}\-s\_\{n,i\}, which measures the similarity gap to determine if an edge is closer to the abnormal or normal distribution\. This score is then converted into a probability \(pip\_\{i\}\) using a sigmoid function, representing the likelihood of the edge being anomalous\. The overall learning objective combines binary cross\-entropy loss with the previous alignment loss \(LAL\_\{A\}\):

LB​C​E=−1\|Et\|∑i=1\|Et\|yilog\(pi\)\+\(1−yi\)log\(1−pi\),L\_\{BCE\}=\-\\frac\{1\}\{\|E\_\{t\}\|\}\\sum^\{\|E\_\{t\}\|\}\_\{i=1\}y\_\{i\}\\log\(p\_\{i\}\)\+\(1\-y\_\{i\}\)\\log\(1\-p\_\{i\}\),\(17\)L=λB​C​E​LB​C​E\+λA​LA,L=\\lambda\_\{BCE\}L\_\{BCE\}\+\\lambda\_\{A\}L\_\{A\},\(18\)
whereλA\\lambda\_\{A\}andλB​C​E\\lambda\_\{BCE\}are parameters controlling the contribution ratio of these two losses to the final loss\.

### IV\-CEntropy\-Structural Guided Prototype Update

To adapt the source\-pretrained detector to an unlabeled target stream, we update the dynamic prototype memory using only reliable pseudo\-labeled target edges\. Unlike DP\-DGAD\[[55](https://arxiv.org/html/2608.19858#bib.bib2)\], which relies solely on entropy\-ranked confident detections, we add structural support as an additional criterion, and then perform class\-wise memory updates to alleviate the bias caused by imbalanced confident pseudo\-labels\.

Given an incoming target chunk𝒞q\\mathcal\{C\}\_\{q\}, the pretrained anomaly scorer produces an anomaly probabilitypi∈\[0,1\]p\_\{i\}\\in\[0,1\]for each target edgeeie\_\{i\}based on the enhanced representation𝐳~i\\tilde\{\\mathbf\{z\}\}\_\{i\}, together with its pseudo\-label

y^i=𝕀⁡\(pi\>0\.5\),\\hat\{y\}\_\{i\}=\\mathbb\{I\}\(p\_\{i\}\>0\.5\),\(19\)wherey^i=1\\hat\{y\}\_\{i\}=1andy^i=0\\hat\{y\}\_\{i\}=0denote abnormal and normal pseudo\-labels, respectively\.

We first estimate the prediction confidence using entropy:

ℋ⁡\(pi\)=−pi​log⁡\(pi\+ϵ\)−\(1−pi\)​log⁡\(1−pi\+ϵ\),\\mathcal\{H\}\(p\_\{i\}\)=\-p\_\{i\}\\log\(p\_\{i\}\+\\epsilon\)\-\(1\-p\_\{i\}\)\\log\(1\-p\_\{i\}\+\\epsilon\),\(20\)where lower entropy indicates higher prediction confidence\. We further convert it into a normalized confidence score:

e​ci=1−ℋ⁡\(pi\)ln⁡2\.ec\_\{i\}=1\-\\frac\{\\mathcal\{H\}\(p\_\{i\}\)\}\{\\ln 2\}\.\(21\)
However, confidence alone is insufficient under continuous domain shift\. We therefore introduce a structural support score to evaluate whether the predicted class ofeie\_\{i\}is supported by its local neighborhood\. Let𝒩i\\mathcal\{N\}\_\{i\}denote the neighboring edges ofeie\_\{i\}in its temporal ego\-graph\. The structural support score is defined as

s​si=\{∑j∈𝒩i\(1−pj\),y^i=0,∑j∈𝒩ipj,y^i=1,ss\_\{i\}=\\begin\{cases\}\\sum\\limits\_\{j\\in\\mathcal\{N\}\_\{i\}\}\(1\-p\_\{j\}\),&\\hat\{y\}\_\{i\}=0,\\\\\[6\.0pt\] \\sum\\limits\_\{j\\in\\mathcal\{N\}\_\{i\}\}p\_\{j\},&\\hat\{y\}\_\{i\}=1,\\end\{cases\}\(22\)In this way, a pseudo\-labeled normal edge is supported by normal\-like neighbors, while a pseudo\-labeled abnormal edge is supported by abnormal\-like neighbors\. Based on the above two criteria, we assign each target edge a raw reliability score:

ri=e​ci⋅s​si\.r\_\{i\}=ec\_\{i\}\\cdot ss\_\{i\}\.\(23\)
Since the structural support score is computed in a class\-conditional manner, the raw reliability scores of pseudo\-labeled normal and abnormal edges may be on different scales\. To make the scores comparable for global ranking, we further normalize them within each pseudo\-label class\. Specifically, let:

rmin\(y\)=min\{i∣y^i=y\}⁡ri,rmax\(y\)=max\{i∣y^i=y\}⁡ri,r\_\{\\min\}^\{\(y\)\}=\\min\_\{\\\{i\\mid\\hat\{y\}\_\{i\}=y\\\}\}r\_\{i\},\\qquad r\_\{\\max\}^\{\(y\)\}=\\max\_\{\\\{i\\mid\\hat\{y\}\_\{i\}=y\\\}\}r\_\{i\},\(24\)wherey∈\{0,1\}y\\in\\\{0,1\\\}\. The class\-normalized reliability score is defined as

r~i=ri−rmin\(y^i\)rmax\(y^i\)−rmin\(y^i\)\+ϵ\.\\tilde\{r\}\_\{i\}=\\frac\{r\_\{i\}\-r\_\{\\min\}^\{\(\\hat\{y\}\_\{i\}\)\}\}\{r\_\{\\max\}^\{\(\\hat\{y\}\_\{i\}\)\}\-r\_\{\\min\}^\{\(\\hat\{y\}\_\{i\}\)\}\+\\epsilon\}\.\(25\)
We then select the topNc​o​nN\_\{con\}target edges with the highest normalized reliability scores as confident detections\. According to their pseudo\-labels, the selected confident detections are further divided into abnormal and normal subsetsEqa,Eqn\{E\}\_\{q\}^\{a\},\{E\}\_\{q\}^\{n\}\. Using the selected confident detections, we construct class wise confident detection for the current chunk by normalized reliability weighted aggregation:

𝐳qa=∑ei∈Eqar~i​𝐳~i∑ei∈Eqar~i\+ϵ,𝐳qn=∑ei∈Eqnr~i​𝐳~i∑ei∈Eqnr~i\+ϵ\.\\mathbf\{z\}\_\{q\}^\{a\}=\\frac\{\\sum\\limits\_\{e\_\{i\}\\in E\_\{q\}^\{a\}\}\\tilde\{r\}\_\{i\}\\tilde\{\\mathbf\{z\}\}\_\{i\}\}\{\\sum\\limits\_\{e\_\{i\}\\in E\_\{q\}^\{a\}\}\\tilde\{r\}\_\{i\}\+\\epsilon\},\\qquad\\mathbf\{z\}\_\{q\}^\{n\}=\\frac\{\\sum\\limits\_\{e\_\{i\}\\in E\_\{q\}^\{n\}\}\\tilde\{r\}\_\{i\}\\tilde\{\\mathbf\{z\}\}\_\{i\}\}\{\\sum\\limits\_\{e\_\{i\}\\in E\_\{q\}^\{n\}\}\\tilde\{r\}\_\{i\}\+\\epsilon\}\.\(26\)
We then align the classwise confident detections with the corresponding memory prototypes through the alignment lossℒA\\mathcal\{L\}\_\{A\}\. Thus, only reliable pseudo\-labeled target edges contribute to memory adaptation\. By normalizing the reliability scores within each pseudo\-label class before global ranking, the proposed strategy reduces the scale bias across classes while still allowing the numbers of selected abnormal and normal detections to adapt to the confidence distribution of each target chunk\.

### IV\-DCross Chunk Context Enrichment

Temporal ego\-graph of a target edge, which contain temporal and structural context, may be incomplete within a single chunk\. As a result, the pretrained detector may generate incorrect pseudo labels because of insufficient context\. To address this issue, we introduce a Cross Chunk Context Enrichment module, which supplements the current target chunk with historical context distilled from recent chunks before reliable pseudo\-label selection and memory adaptation\.

To remain consistent with the online test\-time adaptation setting, we do not replay or reprocess full historical target chunks\. Instead, we stores only representation of ego graphs\. Specifically, after processing chunk𝒞q−1\\mathcal\{C\}\_\{q\-1\}, we retain edges whose ego\-graph representations representative of current chunk while remaining dissimilar to representations already stored in the bufferℬc\\mathcal\{B\}\_\{c\}\. Here, representative is measured by the extent of a certain representation similarity to other representations in the chunk\. We denote this measurement coverage score and is defined as:

csi=1\|Eq−1\|−1​∑ej∈Eq−1j≠isim⁡\(𝐳i,𝐳j\),\\mathrm\{cs\}\_\{i\}=\\frac\{1\}\{\\left\|E\_\{q\-1\}\\right\|\-1\}\\sum\_\{\\begin\{subarray\}\{c\}e\_\{j\}\\in E\_\{q\-1\}\\\\ j\\neq i\\end\{subarray\}\}\\mathrm\{sim\}\\left\(\\mathbf\{z\}\_\{i\},\\mathbf\{z\}\_\{j\}\\right\),\(27\)
wheresim⁡\(⋅,⋅\)\\mathrm\{sim\}\(\\cdot,\\cdot\)denotes a similarity function, such as cosine similarity\. The difference score that measure the dissimilarity to representations that already in buffer is defined as:

dsi=1−max𝐳j∈ℬc⁡sim⁡\(𝐳i,𝐳j\)\.\\mathrm\{ds\}\_\{i\}=1\-\\max\_\{\\mathbf\{z\}\_\{j\}\\in\\mathcal\{B\}\_\{c\}\}\\mathrm\{sim\}\\left\(\\mathbf\{z\}\_\{i\},\\mathbf\{z\}\_\{j\}\\right\)\.\(28\)
Then we multiply two score, also the temporal component beingqiq−1\\frac\{q\_\{i\}\}\{q\-1\}, whereqiq\_\{i\}being the chunk id of specific representation\. To ensure that the context buffer only contains only the most recent, representative, distinct, and informative representations, we compare each normalized multiplication score against the scores of the entries already inℬc\\mathcal\{B\}\_\{c\}and retain the topℳc\\mathcal\{M\}\_\{c\}entries\. The capacity grows online by 10% of each incoming chunk’s size, up to a fixed maximum capacityℳc,max\\mathcal\{M\}\_\{c,\\max\}\.

Given a target edgeeie\_\{i\}in chunk𝒞q\\mathcal\{C\}\_\{q\}with representation𝐳i\\mathbf\{z\}\_\{i\}, we retrieve its cross chunk context from the context buffer by identifying stored representation that are semantically similar to the current edge\. For each stored context representationzj∈ℬcz\_\{j\}\\in\\mathcal\{B\}\_\{c\}, we compute a cross chunk similarity score using above like similarity function\. TopNc​o​nN\_\{con\}representation with the highest similarity scores as the historical context ofeie\_\{i\}\. Based on these retrieved context representation, we construct a cross chunk context vectorcic\_\{i\}by weighted aggregation via aforementioned temporal component\. Thecic\_\{i\}is then fused with the current edge representation to obtain a context\-enhanced target representation:

𝐳~i=λc​𝐳i\+\(1−λc\)​𝐜i,\\tilde\{\\mathbf\{z\}\}\_\{i\}=\\lambda\_\{c\}\\mathbf\{z\}\_\{i\}\+\(1\-\\lambda\_\{c\}\)\\mathbf\{c\}\_\{i\},\(29\)whereλc\\lambda\_\{c\}is parameter controlling the proportion of enrichment\. For the first target chunk, the historical context buffer is empty\. Therefore, no cross chunk context is retrieved and the enhanced representation degenerates to the current representation\. The enhanced representation𝐳~i\\tilde\{\\mathbf\{z\}\}\_\{i\}is subsequently used during the target adaptation stage\.

## VExperiments

### V\-ADatasets

We use 10 real\-world datasets\[[24](https://arxiv.org/html/2608.19858#bib.bib6),[18](https://arxiv.org/html/2608.19858#bib.bib12),[45](https://arxiv.org/html/2608.19858#bib.bib29)\]from various domains for evaluation, and the detailed statistics of datasets are presented in Table[I](https://arxiv.org/html/2608.19858#S5.T1)\. For a dataset with no ground truth anomalies\. We follow previous work\[[24](https://arxiv.org/html/2608.19858#bib.bib6)\]to inject anomalies in random timestamps of the dataset\. Specifically, takeppto be the proportion of the totalmmnumber of samples in the dataset\. We linkp×mp\\times mnumber of original disconnected nodes to be the injected anomalies\.

TABLE I:Statistics of datasets
### V\-BPerformance Metrics and Baselines

We adopt AUROC and AUPRC as the evaluation metrics\[[24](https://arxiv.org/html/2608.19858#bib.bib6),[31](https://arxiv.org/html/2608.19858#bib.bib15),[19](https://arxiv.org/html/2608.19858#bib.bib18)\]\. Higher metric value indicates better detection performance\.

Since AUROC and AUPRC are undefined when a chunk contains only one class, we exclude such chunks from chunk\-level metric computation\. Let𝒦v​a​l​i​d\\mathcal\{K\}\_\{valid\}denote the set of valid target chunks that contain at least one normal edge and one abnormal edge\. The final online evaluation results are obtained by averaging the chunk\-level metrics over all valid chunks:

AUROCa​v​g=1\|𝒦v​a​l​i​d\|​∑k∈𝒦v​a​l​i​dAUROCk,\\mathrm\{AUROC\}\_\{avg\}=\\frac\{1\}\{\|\\mathcal\{K\}\_\{valid\}\|\}\\sum\_\{k\\in\\mathcal\{K\}\_\{valid\}\}\\mathrm\{AUROC\}\_\{k\},\(30\)AUPRCa​v​g=1\|𝒦v​a​l​i​d\|​∑k∈𝒦v​a​l​i​dAUPRCk\.\\mathrm\{AUPRC\}\_\{avg\}=\\frac\{1\}\{\|\\mathcal\{K\}\_\{valid\}\|\}\\sum\_\{k\\in\\mathcal\{K\}\_\{valid\}\}\\mathrm\{AUPRC\}\_\{k\}\.\(31\)
This protocol evaluates the model in a strictly online manner, where adaptation and prediction are both performed sequentially along the target stream without revisiting full historical target chunks\. In this way, the reported results reflect not only the anomaly discrimination capability of the model, but also its ability to continuously adapt to evolving target distributions under the OTTA setting\. We select following baseline methods for comparison:

- ∙\\bulletDP\-DGAD\[[55](https://arxiv.org/html/2608.19858#bib.bib2)\]: DP\-DGAD is pretrained on labeled source dynamic graphs to learn normal and anomalous prototypes, then adapts to unlabeled target streams by updating its prototype memory with high\-confidence pseudo\-labels\. As it supports online target adaptation, we include it as an OTTA baseline\.
- ∙\\bulletGeneralDyG\[[46](https://arxiv.org/html/2608.19858#bib.bib7)\]: For fair comparison, we extend the GeneralDyG with a transformer module and a binary classification head, enabling it to learn discriminative temporal ego\-graph representations from labeled normal and anomalous source edges\. During online target adaptation, it updates target\-side prototypes using only reliable pseudo\-labeled edges\.
- ∙\\bulletFALCON\[[5](https://arxiv.org/html/2608.19858#bib.bib8)\]: We extend the FALCON with label\-aware supervision and a BCE loss, enabling it to learn discriminative temporal representations from normal and anomalous source edges\. During online target adaptation, FALCON incrementally refines its temporal representation space using reliable pseudo\-labeled target edges for anomaly scoring\.
- ∙\\bulletSLADE\[[18](https://arxiv.org/html/2608.19858#bib.bib12)\]: We enhance SLADE with a binary classification objective to learn discriminative representations of normal and anomalous dynamic patterns from source data\. During online target adaptation, it updates its temporal self\-supervised objective using reliable pseudo\-labeled target edges\.
- ∙\\bulletSAD\[[35](https://arxiv.org/html/2608.19858#bib.bib9)\]: We combine SAD’s deviation loss with label\-aware contrastive learning to separate normal and anomalous temporal structures on source data\. On target dataset, reliable pseudo\-labeled edges are used to update its memory bank and refine target\-side representations\.
- ∙\\bulletTADDY\[[24](https://arxiv.org/html/2608.19858#bib.bib6)\]: Following the core idea of TADDY, we use a GNN encoder and a transformer\-based temporal encoder to represent each dynamic graph chunk\. The model is trained on labeled source edges with BCE loss and adapted online using reliable pseudo\-label\.
- ∙\\bulletARC\[[23](https://arxiv.org/html/2608.19858#bib.bib16)\]: We extend ARC with a transformer\-based temporal encoder to model dynamic graphs\. It learns anomaly\-aware representations from labeled source temporal neighborhoods and is adapted online using reliable pseudo\-labeled target edges\.
- ∙\\bulletAnomalyGFM\[[31](https://arxiv.org/html/2608.19858#bib.bib15)\]: We extend AnomalyGFM with a transformer\-based temporal encoder to learn graph\-agnostic normal and anomalous prototypes from labeled source data\. During online target adaptation, the source encoder and abnormal prototype are fixed, while the normal prototype is incrementally refined using reliable pseudo\-labeled target edges\.
- ∙\\bulletUNPrompt\[[28](https://arxiv.org/html/2608.19858#bib.bib14)\]: We replace UNPrompt’s backbone with a GNN\-transformer encoder to model temporal subgraphs in dynamic graphs\. It is pretrained on source data with dynamic graph contrastive learning and adapted online by updating neighborhood prompts using reliable pseudo\-labeled target edges\.
- ∙\\bulletGraphPrompt\[[25](https://arxiv.org/html/2608.19858#bib.bib28)\]:We replace GraphPrompt’s backbone with a GNN\-transformer encoder for temporal subgraph modeling\. It aligns source representations with normal and anomalous prototypes and incrementally refines the prompt using reliable pseudo\-labeled target edges during online adaptation\.
- ∙\\bulletADCSD\[[12](https://arxiv.org/html/2608.19858#bib.bib4)\]: We freeze the source\-pretrained OTTA\-DGAD backbone and replace cross chunk recovery and prototype evolution with lightweight short\- and long\-term score\-correction modules\. These modules are updated online using confident pseudo\-labels to refine anomaly scores, while no cross chunk information or prototype memory is maintained\.
- ∙\\bulletLCoTTA\[[9](https://arxiv.org/html/2608.19858#bib.bib3)\]: We construct LCoTTA\-DGAD by freezing the source\-pretrained DGAD backbone and adapting only lightweight parameters\. For each target chunk, reliable pseudo\-labels are used to compute adaptation gradients, which are projected onto the online tracked principal subspace of recent gradients before updating the adaptation parameters; no cross chunk recovery, prototype update, or graph\-specific replay is used\.

To evaluate models under continually evolving target distributions, we adopt an online test\-time adaptation \(OTTA\) setting on chunked target dynamic graphs\. Specifically, 1\) the model is first pre\-trained on multiple labeled source datasets and then adapted to an unlabeled target dataset\. To comply with the OTTA setting, the source\-pretrained backbone is frozen during target\-time adaptation, and only lightweight adaptation modules are allowed to be updated\. 2\) Each target dynamic graph is chronologically divided into temporally ordered chunks, where each chunk contains a fixed number of target edges, here we set as 128\. For each incoming chunk, the model first performs inference on the current chunk, and then updates using only the current chunk , without accessing any future information\. 3\) This test\-then\-adapt process is repeated sequentially over the whole target stream, and the final performance is reported by averaging over all target chunks\.

### V\-CExperimental Settings

All methods undergo pretraining on two source datasets, Wikipedia and MOOC\[[24](https://arxiv.org/html/2608.19858#bib.bib6)\], chosen because they have available ground truth anomalies\. Parameters for ego\-graph extraction, GNN, and the transformer are aligned with those of GeneralDyG\[[46](https://arxiv.org/html/2608.19858#bib.bib7)\]\. The number of confident detections for pseudo\-labeling,Nc​o​nN\_\{con\}, is 10% of the chunk size\.ℳc,max\\mathcal\{M\}\_\{c,\\max\}is set to be 10% of the bigger training source dataset, MOOC\. The momentumα\\alphais set to 0\.9\. The value ofppis varied at 1%, 5%, and 10%\. The loss ratiosλA\\lambda\_\{A\}andλB​C​E\\lambda\_\{BCE\}are set to 0\.1 and 0\.9, respectively, whileλd\\lambda\_\{d\}andλe\\lambda\_\{e\}are set to 0\.3 and 0\.7\.λc\\lambda\_\{c\}is set to 0\.5\.

TABLE II:Overall model performance under the OTTA setting across eight datasets with three anomaly percentages\.
### V\-DExperiments Results

In this section, we evaluate OTTA\-DGAD’s performance against three types of baselines, normal DGADs without specifically designed generalization module, generalists with specifically designed module and OTTA models that sepcifcially designed for OTTA settings\. To the end, we have following observations: \(1\) OTTA\-DGAD consistently perform better than all other baselines\. DP\-DGAD, can still have good performance, but sometimes fall back behind ADCSD and LCoTTA that have specific OTTA moduels designed, making them more good at adapting online\. Although generalists generally perform well, they cannot effectively incorporate domain specific patterns, resulting in lower performance than OTTA models\. DGADs have the worse performance, mostly due to the fact that they fall short in generalization\. \(2\) Compared with the table in DP\-DGAD, most models suffer from performance degradation, DGADs suffer most due to the continuously emerging new chunks to make model overfit\. Generalist are relatively stables as aforementioned that they have generalist modules\. DP\-DGAD also have drop since there confident detection models overly rely on the entropy loss, not to mention the lose of information overchunks\. \(3\) We take 10% anomaly ratio TAX51 data that have most edge numbers for better visualization chunk wise performance and the coefficient of variation over chunk and domains for stability analysis\. As shown in Fig\.[3](https://arxiv.org/html/2608.19858#S5.F3)\(a\) and \(d\), OTTA\-DGAD consistently outperforms the other baselines\. Also from Fig\.[3](https://arxiv.org/html/2608.19858#S5.F3)\(b\),\(c\),\(f\) and \(e\) that OTTA\-DGAD is generally the most stable one across chunks and domains, while DP\-DGAD and the other two OTTA baselines are among the next most stable methods\.

In summary, from the above results, OTTA\-DGAD has shown is state\-of\-art online performance as well as stability\.

![Refer to caption](https://arxiv.org/html/2608.19858v1/stability.png)Fig\. 3:Visualization of chunk\-wise metric and coefficient of variation over domain/chunks on TAX51 10% anomaly ratio\.TABLE III:Ablation results of different variants of OTTA\-DGAD\.
### V\-EAblation Study

In this section, we conduct experiments by removing key components in OTTA\-DGAD to study their effectiveness: \(1\)w/o DPAreplaces the dynamic prototype\-based anomaly scoring with a normal binary classifier\. \(2\)w/o DPADsetsλe\\lambda\_\{e\}to 0 andλd\\lambda\_\{d\}to 1, thereby removing the domain adaptation module from the domain adaptive anomaly scoring in OTTA\-DGAD\. \(3\)w/o CDGAremoves the confident detection guided memory buffer update on the target dataset, using the model and buffer pretrained on source datasets\. \(4\)w/o Wikipretrains OTTA\-DGAD on MOOC only\. \(5\)w/o MOOCpretrains OTTA\-DGAD on Wiki only\. \(6\)w/o CCCEremoves the cross chunk context enrichment\. \(7\)w/o SGPUremoves the structural guided prototype update, using entropy based update only\.

From the above Table\.[III](https://arxiv.org/html/2608.19858#S5.T3), OTTA\-DGAD outperforms all ablated versions\. Additionally, we have several observations: \(1\) The adaptation modules enable the model to better adapt to new domains while dynamic prototype updates allow it to adapt to individual chunks within each domain\. Removing such module will lead to performance degradation\. \(2\) Cross chunk information is highly important, because it helps the model generalize across chunks and prevents it from forgetting important historical pattern\. \(3\) Removing the confident detection will lead to fail of capturing new patterns in unlabeled new domain\. However, entropy based detection is not enough as w/o SGPU also suffer from perfromance dropping campred with the OTTA\-DGAD\.

![Refer to caption](https://arxiv.org/html/2608.19858v1/hyper_main.png)Fig\. 4:Impact of dynamic prototype memory buffer sizeℳ\\mathcal\{M\}, momentumα\\alpha, confident detectionNc​o​nN\_\{con\}and chunk size on the OTTA\-DGAD performance\.
### V\-FHyperparameter Analysis

To analyze OTTA\-DGAD’s sensitivity to hyperparameters, we examine four key parameters: the dynamic prototype memory buffer sizeℳ\\mathcal\{M\}, the momentumα\\alpha, top confident detection numberNc​o​nN\_\{con\}\(Here we set it as a different proportion to the full dataset size\) and the chunks size every time processed\. We vary these values and observe their impact on model performance in Fig\.[4](https://arxiv.org/html/2608.19858#S5.F4)\. Our findings are as follows\.\(1\) Increasing the memory buffer size generally improve performance\.This is because a larger memory buffer contains more prototype pairs, thus covering broader aspects of the distribution of abnomal patterns\. However, we observe an intriguing pattern on some datasets, that Larger buffer sizes actually degrade performance\. This occurs because oversized buffers may include irrelevant prototype pairs, which are neither similar to nor distinct enough from the new domains\. They introduce bias and interfere with anomaly scoring, which relies on buffer prototypes to extract distributions\.\(2\) Using the top 10% most confident detections appears to be the optimal setting\.On most datasets, performance improves as the top confident detection number increases\. However, performance begins to drop when this percentage exceeds 10%\. This decline occurs because including more than the top 10% of detections reduces reliability\. These less confident detections have high entropy and introduce additional noise into the pseudo\-labeling process\.\(3\) OTTA\-DGAD remains stable under different momentum\.We vary the momentum value and find OTTA\-DGAD remains stable across all datasets with no clear trend as momentum increases\. This stability arises from the fact that the memory buffer already captures sufficient similar abnormal and normal patterns through the selection scoresrs\_\{r\}constraint\. As a result, the extracted distributions remain stable regardless ofα\\alpha’s value\.\(4\) Chunk size equal to 128 appears to be the optimal setting\.This results is reason from that big chunk size such as 256 and 512 may lead to overfit to certain chunks while small chunk size may lead to unbalanced issues\.

![Refer to caption](https://arxiv.org/html/2608.19858v1/Vis.png)Fig\. 5:Effect of Cross\-Chunk Context Enrichment and Structural\-Guided Pseudo\-labeling accuracy\.

## VIVisualization

In this section, we visualize the representation enriched by cross chunk context and also the comparison between entropy only and structural support added pseduo\-labeling\.

It can be observed from left part of Fig\.[5](https://arxiv.org/html/2608.19858#S5.F5)that 97\.6% of normal edges and 86\.1% of anomalous edges move closer to the true distribution after enrichment and more nodes fall in the bottom right corner of the no change diagonal line\. Combining structural support with entropy\-based confidence corrects cases where a prediction is confidently wrong but structurally inconsistent with its neighborhood\. As shown in Fig\.[5](https://arxiv.org/html/2608.19858#S5.F5)right part, among the 1,654 chunks where the two criteria diverge, structural supported model wins 66\.6% of the time, and McNemar’s test confirms this advantage is highly significant, rather than attributable to chance\. The large number of ties is expected since many chunks have limited anomaly samples\.

## VIIConclusion

In this paper, we propose a generalist DGAD detector that achieves robust performance when target data arrive as online unlabeled chunks\. Specifically, we aim to capture the evolving anomalous patterns that are both domain agnostic and domain specific, thereby achieving better generalizability than existing methods\. To this end, we introduce OTTA\-DGAD, a generalist detector that leverages dynamic prototypes extracted from temporal ego\-graphs to model evolving anomalies\. We further update the memory buffer using confident pseudo\-labels, enabling effective adaptation to an unlabeled target domain\. A Cross chunk context enrichment module is added to preserve historical evolving patterns\. Extensive experiments across 10 real\-world datasets from diverse domains validate the effectiveness of OTTA\-DGAD\.

## References

- \[1\]G\. Ai, C\. Niu, H\. Yan, J\. T\. Zhou, Y\. Ong, and G\. Pang\(2026\)PromptDyG: test\-time prompt adaptation on dynamic graphs\.arXiv preprint arXiv:2606\.22914\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p3.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p2.1)\.
- \[2\]Y\. Bar, S\. Shaer, and Y\. Romano\(2024\)Protected test\-time adaptation via online entropy matching: a betting approach\.Advances in Neural Information Processing Systems37,pp\. 85467–85499\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[3\]L\. Cai, Z\. Chen, C\. Luo, J\. Gui, J\. Ni, D\. Li, and H\. Chen\(2021\)Structural temporal graph neural networks for anomaly detection in dynamic graphs\.InProceedings of the 30th ACM international conference on Information & Knowledge Management,pp\. 3747–3756\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[4\]Q\. Cai, Z\. Qiao, R\. Cai, H\. Liu, J\. Li, X\. Luo, and H\. Xiong\(2026\)Continual test\-time training on graphs via adaptive prompts integration\.IEEE Transactions on Pattern Analysis and Machine Intelligence\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1)\.
- \[5\]D\. Chen, X\. Zhao, and W\. Xiao\(2024\)Fine\-grained anomaly detection on dynamic graphs via attention alignment\.In2024 IEEE 40th International Conference on Data Engineering \(ICDE\),pp\. 3178–3190\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix3.p1.1.1)\.
- \[6\]Y\. Chen, Q\. Truong, X\. Shen, J\. Li, and I\. King\(2024\)Shopping trajectory representation learning with pre\-training for e\-commerce customer understanding and recommendation\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 385–396\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[7\]Y\. Chen, T\. Wang, Y\. Fang, and Y\. Xiao\(2025\)Semi\-supervised node importance estimation with informative distribution modeling for uncertainty regularization\.InProceedings of the ACM on Web Conference 2025,pp\. 3108–3118\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[8\]L\. Deng, D\. Lian, Z\. Huang, and E\. Chen\(2022\)Graph convolutional adversarial networks for spatiotemporal anomaly detection\.IEEE Transactions on Neural Networks and Learning Systems33\(6\),pp\. 2416–2428\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[9\]D\. Duan, R\. Xu, P\. Liu, and F\. Wen\(2026\)Lifelong test\-time adaptation via online learning in tracked low\-dimensional subspace\.Advances in Neural Information Processing Systems38,pp\. 19024–19053\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p2.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix12.p1.1.1)\.
- \[10\]C\. Fuchs, M\. Zanella, and C\. De Vleeschouwer\(2025\)Online gaussian test\-time adaptation of vision\-language models\.In2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops \(CVPRW\),pp\. 128–137\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1)\.
- \[11\]T\. Gong, Y\. Kim, T\. Lee, S\. Chottananurak, and S\. Lee\(2023\)Sotta: robust test\-time adaptation on noisy data streams\.Advances in Neural Information Processing Systems36,pp\. 14070–14093\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[12\]P\. Guo, P\. Jin, Z\. Li, L\. Bai, and Y\. Zhang\(2025\)Online test\-time adaptation of spatial–temporal traffic flow forecasting\.IEEE Transactions on Intelligent Transportation Systems\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p2.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix11.p1.1.1)\.
- \[13\]X\. Guo, B\. Zhou, and S\. Skiena\(2022\)Subset node anomaly tracking over large dynamic graphs\.InProceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 475–485\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[14\]B\. He, X\. He, Y\. Zhang, R\. Tang, and C\. Ma\(2023\)Dynamically expandable graph convolution for streaming recommendation\.InProceedings of the ACM Web Conference 2023,pp\. 1457–1467\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[15\]A\. Karmanov, D\. Guan, S\. Lu, A\. El Saddik, and E\. Xing\(2024\)Efficient test\-time adaptation of vision\-language models\.In2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 14162–14171\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p3.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[16\]L\. Kong, W\. Li, H\. Yang, Y\. Zhang, J\. Guan, and S\. Zhou\(2024\)Causalformer: an interpretable transformer for temporal causal discovery\.IEEE Transactions on Knowledge and Data Engineering\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[17\]J\. Lee and J\. Chang\(2024\)Continual momentum filtering on parameter space for online test\-time adaptation\.InInternational Conference on Learning Representations,Vol\.2024,pp\. 53311–53343\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[18\]J\. Lee, S\. Kim, and K\. Shin\(2024\)Slade: detecting dynamic anomalies in edge streams without labels via self\-supervised learning\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 1506–1517\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix4.p1.1.1),[§V\-A](https://arxiv.org/html/2608.19858#S5.SS1.p1.1)\.
- \[19\]A\. Li, C\. Qiu, M\. Kloft, P\. Smyth, M\. Rudolph, and S\. Mandt\(2023\)Zero\-shot anomaly detection via batch normalization\.Advances in Neural Information Processing Systems36,pp\. 40963–40993\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[§V\-B](https://arxiv.org/html/2608.19858#S5.SS2.p1.1)\.
- \[20\]D\. Li, S\. Kosugi, Y\. Zhang, M\. Okumura, F\. Xia, and R\. Jiang\(2025\)Revisiting dynamic graph clustering via matrix factorization\.InProceedings of the ACM on Web Conference 2025,pp\. 1342–1352\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[21\]J\. Li, Z\. Yu, Z\. Du, L\. Zhu, and H\. T\. Shen\(2024\)A comprehensive survey on source\-free domain adaptation\.IEEE Transactions on Pattern Analysis and Machine Intelligence46\(8\),pp\. 5743–5762\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[22\]J\. Liang, R\. He, and T\. Tan\(2025\)A comprehensive survey on test\-time adaptation under distribution shifts\.International Journal of Computer Vision133\(1\),pp\. 31–64\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p3.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[23\]Y\. Liu, S\. Li, Y\. Zheng, Q\. Chen, C\. Zhang, and S\. Pan\(2024\)ARC: a generalist graph anomaly detector with in\-context learning\.InProceedings of the 38th International Conference on Neural Information Processing Systems,pp\. 50772–50804\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p4.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix7.p1.1.1)\.
- \[24\]Y\. Liu, S\. Pan, Y\. G\. Wang, F\. Xiong, L\. Wang, Q\. Chen, and V\. C\. Lee\(2021\)Anomaly detection in dynamic graphs via transformer\.IEEE Transactions on Knowledge and Data Engineering35\(12\),pp\. 12081–12094\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix6.p1.1.1),[§V\-A](https://arxiv.org/html/2608.19858#S5.SS1.p1.1),[§V\-B](https://arxiv.org/html/2608.19858#S5.SS2.p1.1),[§V\-C](https://arxiv.org/html/2608.19858#S5.SS3.p1.1)\.
- \[25\]Z\. Liu, X\. Yu, Y\. Fang, and X\. Zhang\(2023\)Graphprompt: unifying pre\-training and downstream tasks for graph neural networks\.InProceedings of the ACM web conference 2023,pp\. 417–428\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix10.p1.1.1)\.
- \[26\]Z\. Liu, X\. Huang, J\. Zhang, Z\. Hao, L\. Sun, and H\. Peng\(2024\)Multivariate time\-series anomaly detection based on enhancing graph attention networks with topological analysis\.InProceedings of the 33rd ACM International Conference on Information and Knowledge Management,pp\. 1555–1564\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[27\]R\. A\. Marsden, M\. Döbler, and B\. Yang\(2024\)Universal test\-time adaptation through weight ensembling, diversity weighting, and prior correction\.In2024 IEEE/CVF Winter Conference on Applications of Computer Vision \(WACV\),pp\. 2543–2553\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[28\]C\. Niu, H\. Qiao, C\. Chen, L\. Chen, and G\. Pang\(2024\)Zero\-shot generalist graph anomaly detection with unified neighborhood prompts\.arXiv preprint arXiv:2410\.14886\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p4.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix9.p1.1.1)\.
- \[29\]S\. Niu, J\. Wu, Y\. Zhang, Z\. Wen, Y\. Chen, P\. Zhao, and M\. Tan\(2023\)Towards stable test\-time adaptation in dynamic wild world\.arXiv preprint arXiv:2302\.12400\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[30\]J\. Pan, Y\. Liu, X\. Zheng, Y\. Zheng, A\. W\. Liew, F\. Li, and S\. Pan\(2025\)A label\-free heterophily\-guided approach for unsupervised graph fraud detection\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.39,pp\. 12443–12451\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1),[§I](https://arxiv.org/html/2608.19858#S1.p5.1)\.
- \[31\]H\. Qiao, C\. Niu, L\. Chen, and G\. Pang\(2025\)AnomalyGFM: graph foundation model for zero/few\-shot anomaly detection\.arXiv preprint arXiv:2502\.09254\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p4.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[§IV\-A](https://arxiv.org/html/2608.19858#S4.SS1.p2.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix8.p1.1.1),[§V\-B](https://arxiv.org/html/2608.19858#S5.SS2.p1.1)\.
- \[32\]Z\. Qiao, Q\. Cai, H\. Dong, J\. Gu, P\. Wang, M\. Xiao, X\. Luo, and H\. Xiong\(2025\)GCAL: adapting graph models to evolving domain shifts\.InForty\-second International Conference on Machine Learning,Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§I](https://arxiv.org/html/2608.19858#S1.p4.1)\.
- \[33\]H\. Sun, L\. Xu, S\. Jin, P\. Luo, C\. Qian, and W\. Liu\(2024\)Program: prototype graph model based pseudo\-label learning for test\-time adaptation\.InThe twelfth international conference on learning representations,Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[34\]J\. Tack, J\. Kim, E\. Mitchell, J\. Shin, Y\. W\. Teh, and J\. R\. Schwarz\(2024\)Online adaptation of language models with a memory of amortized contexts\.Advances in Neural Information Processing Systems37,pp\. 130109–130135\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p7.1)\.
- \[35\]S\. Tian, J\. Dong, J\. Li, W\. Zhao, X\. Xu, B\. Song, C\. Meng, T\. Zhang, L\. Chen,et al\.\(2023\)Sad: semi\-supervised anomaly detection on dynamic graphs\.arXiv preprint arXiv:2305\.13573\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix5.p1.1.1)\.
- \[36\]Y\. Tian, J\. Li, H\. Fu, L\. Zhu, L\. Yu, and L\. Wan\(2024\)Self\-mining the confident prototypes for source\-free unsupervised domain adaptation in image segmentation\.IEEE Transactions on Multimedia26,pp\. 7709–7720\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p5.1)\.
- \[37\]Y\. Tian, Y\. Qi, and F\. Guo\(2024\)Freedyg: frequency enhanced continuous\-time dynamic graph model for link prediction\.InThe twelfth international conference on learning representations,Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§I](https://arxiv.org/html/2608.19858#S1.p4.1)\.
- \[38\]G\. Wan, W\. Huang, and M\. Ye\(2024\)Federated graph learning under domain shift with generalizable prototypes\.InProceedings of the AAAI conference on artificial intelligence,Vol\.38,pp\. 15429–15437\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p4.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[39\]H\. Wang, J\. Chen, Y\. Wu, V\. C\. Leung, and D\. Wang\(2025\)Epm: evolutionary perception method for anomaly detection in noisy dynamic graphs\.IEEE Transactions on Knowledge and Data Engineering\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[40\]Y\. Wang, S\. Liu, T\. Zheng, K\. Chen, and M\. Song\(2024\)Unveiling global interactive patterns across graphs: towards interpretable graph neural networks\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 3277–3288\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[41\]Z\. Wang, Y\. Luo, L\. Zheng, Z\. Chen, S\. Wang, and Z\. Huang\(2025\)In search of lost online test\-time adaptation: a survey\.International Journal of Computer Vision133\(3\),pp\. 1106–1139\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p3.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1),[§III](https://arxiv.org/html/2608.19858#S3.p2.1)\.
- \[42\]F\. Xia, C\. Peng, J\. Ren, F\. G\. Febrinanto, R\. Luo, V\. Saikrishna, S\. Yu, and X\. Kong\(2025\)Graph learning\.Foundations and Trends® in Signal Processing19\(4\),pp\. 371–551\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[43\]H\. Yang, J\. Cao, W\. Li, S\. Wang, H\. Li, J\. Guan, and S\. Zhou\(2025\)Spatial\-temporal data mining for ocean science: data, methodologies and opportunities\.ACM Transactions on Knowledge Discovery from Data,pp\. 1–46\.External Links:ISSN 1556\-4681Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[44\]H\. Yang, J\. Cao, W\. Li, Y\. Yang, X\. Li, L\. Kong, Y\. Zhang, J\. Guan, and S\. Zhou\(2025\)Towards robust and interpretable spatial\-temporal graph modeling for traffic prediction\.ACM Transactions on Knowledge Discovery from Data19\(9\),pp\. 1–20\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[45\]J\. Yang and J\. Leskovec\(2012\)Defining and evaluating network communities based on ground\-truth\.InProceedings of the ACM SIGKDD workshop on mining data semantics,pp\. 1–8\.Cited by:[§V\-A](https://arxiv.org/html/2608.19858#S5.SS1.p1.1)\.
- \[46\]X\. Yang, X\. Zhao, and Z\. Shen\(2025\)A generalizable anomaly detection method in dynamic graphs\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.39,pp\. 22001–22009\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§I](https://arxiv.org/html/2608.19858#S1.p4.1),[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1),[§IV\-A](https://arxiv.org/html/2608.19858#S4.SS1.p2.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix2.p1.1.1),[§V\-C](https://arxiv.org/html/2608.19858#S5.SS3.p1.1)\.
- \[47\]S\. Yu, H\. Huang, Y\. Shen, P\. Wang, Q\. Zhang, K\. Sun, and H\. Chen\(2024\)Formulating and representing multiagent systems with hypergraphs\.IEEE Transactions on Neural Networks and Learning Systems36\(3\),pp\. 4599–4613\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1)\.
- \[48\]X\. Yu, Z\. Gong, C\. Zhou, Y\. Fang, and H\. Zhang\(2025\)Samgpt: text\-free graph foundation model for multi\-domain pre\-training and cross\-domain adaptation\.InProceedings of the ACM on Web Conference 2025,pp\. 1142–1153\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[49\]Y\. Yuan, B\. Xu, L\. Hou, F\. Sun, H\. Shen, and X\. Cheng\(2024\)Tea: test\-time energy adaptation\.In2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 23901–23911\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[50\]D\. Zhang, Z\. Zhou, and Y\. Li\(2024\)Robust test\-time adaptation for zero\-shot prompt tuning\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 16714–16722\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[51\]X\. Zhang, B\. Xu, Z\. Ren, X\. Wang, H\. Lin, and F\. Ma\(2024\)Disentangling id and modality effects for session\-based recommendation\.InProceedings of the 47th international ACM SIGIR conference on research and development in information retrieval,pp\. 1883–1892\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§I](https://arxiv.org/html/2608.19858#S1.p4.1)\.
- \[52\]X\. Zhang, B\. Xu, Y\. Wu, Y\. Zhong, H\. Lin, and F\. Ma\(2024\)Finerec: exploring fine\-grained sequential recommendation\.InProceedings of the 47th international ACM SIGIR conference on research and development in information retrieval,pp\. 1599–1608\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[53\]Y\. Zhang, W\. Zhu, H\. Tang, Z\. Ma, K\. Zhou, and L\. Zhang\(2024\)Dual memory networks: a versatile adaptation approach for vision\-language models\.In2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),pp\. 28718–28728\.Cited by:[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[54\]H\. Zhao, A\. Chen, X\. Sun, H\. Cheng, and J\. Li\(2024\)All in one and one for all: a simple yet effective method towards cross\-domain graph pretraining\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 4443–4454\.Cited by:[§II\-A](https://arxiv.org/html/2608.19858#S2.SS1.p1.1)\.
- \[55\]J\. Zheng, J\. Liu, J\. Cao, X\. Wang, H\. Yang, and Y\. Chen\(2026\)DP\-dgad: a generalist dynamic graph anomaly detector with dynamic prototypes\.InProceedings of the ACM Web Conference 2026,pp\. 857–868\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p7.1),[§IV\-C](https://arxiv.org/html/2608.19858#S4.SS3.p1.1),[item ∙](https://arxiv.org/html/2608.19858#S5.I1.ix1.p1.1.1)\.
- \[56\]J\. Zheng, D\. Saxena, J\. Cao, H\. Yang, and P\. Ruan\(2024\)Inductive spatial temporal prediction under data drift with informative graph neural network\.InInternational Conference on Database Systems for Advanced Applications,pp\. 169–185\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1),[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.
- \[57\]J\. Zheng, D\. Saxena, and J\. Cao\(2025\)COIN\-gnn: inductive spatial\-temporal prediction for continuous distribution shifts via graph neural networks\.IEEE Transactions on Knowledge and Data Engineering\.Cited by:[§I](https://arxiv.org/html/2608.19858#S1.p1.1),[§I](https://arxiv.org/html/2608.19858#S1.p2.1),[§II\-B](https://arxiv.org/html/2608.19858#S2.SS2.p1.1)\.

![[Uncaptioned image]](https://arxiv.org/html/2608.19858v1/JLZ.png)Jialun ZhengJialun Zheng is currently a Ph\.D\. student with the Department of Computing, The Hong Kong Polytechnic University, Hong Kong, China\. Before that, he received the B\.Eng\. degree from the Ohio State University in 2021\. His research interests include Dynamic Graph Learning, Domain Adaptation and Spatial Temporal Data Mining\.![[Uncaptioned image]](https://arxiv.org/html/2608.19858v1/jnc.png)Jiannong Cao\(Fellow, IEEE\) received the Ph\.D\. degree in computer science from Washington State University, Pullman, WA, USA, in 1990\. He is currently the Otto Poon Charitable Foundation Professor of data science and the Chair Professor of distributed and mobile computing with the Department of Computing, The Hong Kong Polytechnic University \(PolyU\), Hong Kong, where he is also the Dean of the Graduate School, the Director of the Research Institute for Artificial Intelligence of Things, and the Director of the Internet and Mobile Computing Laboratory\. His research interests include distributed systems and blockchain, big data and machine learning, wireless sensing and networking, and mobile cloud and edge computing\.![[Uncaptioned image]](https://arxiv.org/html/2608.19858v1/FYJ.jpeg)Yuanjing Fengreceived the M\.S\. degree in mechanical design and theory from Northwest A&F University, Xi’an, China, in 2001, and the Ph\.D\. degree in control science and engineering from Xi’an Jiaotong University, Xi’an, in 2005\. He is currently the Director of the Institute of Information Processing and Automation and a Professor with the Zhejiang University of Technology, Hangzhou, China\. His research interests include medical image analysis, computer vision, and data\-driven modeling and optimization in the fields of intelligent transportation systems\.![[Uncaptioned image]](https://arxiv.org/html/2608.19858v1/psy.png)Philip S\. Yu\(Fellow, IEEE\) received the Ph\.D\. degree in electrical engineering from Stanford University, Stanford, CA, USA\. He is currently a Distinguished Professor of computer science and holds the Wexler Chair in Information Technology with the Department of Computer Science, University of Illinois at Chicago \(UIC\), Chicago, IL, USA, where he is also the Editor\-in\-Chief of ACM Transactions on Knowledge Discovery from Data\. His research interests include big data, data mining \(especially graph/network mining\), social networks, privacy\-preserving data publishing, data streams, database systems, and Internet applications and technologies\.

Similar Articles

DDGAD: Trajectory Dynamics for Diffusion-Based Graph Anomaly Detection

arXiv cs.LG

Proposes DDGAD, a diffusion-based framework for graph anomaly detection that uses trajectory dynamics to distinguish normal from anomalous nodes, mitigating contamination propagation via a reliability-aware consensus mechanism and three complementary anomaly signals.

TERGAD: Structure-Aware Text-Enhanced Representations for Graph Anomaly Detection

arXiv cs.CL

TERGAD is a novel data augmentation framework that uses large language models to translate node-level topological properties into semantic narratives, then fuses these with original node attributes via a gated dual-branch autoencoder for graph anomaly detection, achieving state-of-the-art results on six datasets.