LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphs
Bing Hao, Minglai Shao, Zengyi Wo, Yunlong Chu, Yuhang Liu, Ruijie Wang

TL;DR
This paper introduces LLMTM, a comprehensive benchmark for evaluating LLMs on temporal motif analysis in dynamic graphs, and proposes a cost-effective, structure-aware dispatching method to optimize performance and resource use.
Contribution
It systematically benchmarks LLMs on temporal motif tasks, develops a high-accuracy tool-augmented agent, and proposes a structure-aware dispatcher to balance accuracy and cost.
Findings
LLMs can effectively analyze temporal motifs with tailored prompts.
The structure-aware dispatcher reduces costs while maintaining high accuracy.
Different LLMs show varying performance on temporal motif tasks.
Abstract
The widespread application of Large Language Models (LLMs) has motivated a growing interest in their capacity for processing dynamic graphs. Temporal motifs, as an elementary unit and important local property of dynamic graphs which can directly reflect anomalies and unique phenomena, are essential for understanding their evolutionary dynamics and structural features. However, leveraging LLMs for temporal motif analysis on dynamic graphs remains relatively unexplored. In this paper, we systematically study LLM performance on temporal motif-related tasks. Specifically, we propose a comprehensive benchmark, LLMTM (Large Language Models in Temporal Motifs), which includes six tailored tasks across nine temporal motif types. We then conduct extensive experiments to analyze the impacts of different prompting techniques and LLMs (including nine models: openPangu-7B, the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdvanced Graph Neural Networks · Topic Modeling · Complex Network Analysis Techniques
