GuARD: Effective Anomaly Detection through a Text-Rich and Graph-Informed Language Model

Yunhe Pang, Bo Chen, Fanjin Zhang, Yanghui Rao, Evgeny Kharlamov +1 more
12/5/2024
cs.CLcs.AI

No official code found. Best implementation: THUDM/WhoIsWho (54 stars, last commit 2025-03-19).

Abstract

Anomaly detection on text-rich graphs is widely prevalent in real life, such as detecting incorrectly assigned academic papers to authors and detecting bots in social networks. The remarkable capabilities of large language models (LLMs) pave a new revenue by utilizing rich-text information for effective anomaly detection. However, simply introducing rich texts into LLMs can obscure essential detection cues and introduce high fine-tuning costs. Moreover, LLMs often overlook the intrinsic structural bias of graphs which is vital for distinguishing normal from abnormal node patterns. To this end, this paper introduces GuARD, a text-rich and graph-informed language model that combines key structural features from graph-based methods with fine-grained semantic attributes extracted via small language models for effective anomaly detection on text-rich graphs. GuARD is optimized with the progressive multi-modal multi-turn instruction tuning framework in the task-guided instruction tuning regime tailed to incorporate both rich-text and structural modalities. Extensive experiments on four datasets reveal that GuARD outperforms graph-based and LLM-based anomaly detection methods, while offering up to 5$\times$ times speedup in training and 5$\times$ times speedup in inference over vanilla long-context LLMs on the large-scale WhoIsWho dataset.

View on arXivView PDF

Code Implementations(1)

THUDM/WhoIsWhoCommunity100%

KDD'23 Web-Scale Academic Name Disambiguation: the WhoIsWho Benchmark, Leaderboard, and Toolkit

5418Shell, PythonMay 30, 20231 years ago
academic-graphdata-miningname-disambiguation

Similar Papers

Cite this paper

@article{pang2024guard,
  title  = {GuARD: Effective Anomaly Detection through a Text-Rich and Graph-Informed Language Model},
  author = {Yunhe Pang and Bo Chen and Fanjin Zhang and Yanghui Rao and Evgeny Kharlamov and Jie Tang},
  year   = {2024},
  eprint = {2412.03930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03930v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03930.svg)](https://codeofpaper.com/paper/2412.03930)

Discussion