Retrieval of Temporal Event Sequences from Textual Descriptions

Zefang Liu, Yinzhu Quan

NAACL 2025 Workshop on Knowledge-Augmented Methods for NLP (KnowledgeNLP), 2024

Abstract

Retrieving temporal event sequences from textual descriptions is crucial for applications such as analyzing e-commerce behavior, monitoring social media activities, and tracking criminal incidents. To advance this task, we introduce TESRBench, a comprehensive benchmark for temporal event sequence retrieval (TESR) from textual descriptions. TESRBench includes diverse real-world datasets with synthesized and reviewed textual descriptions, providing a strong foundation for evaluating retrieval performance and addressing challenges in this domain. Building on this benchmark, we propose TPP-Embedding, a novel model for embedding and retrieving event sequences. The model leverages the TPP-LLM framework, integrating large language models (LLMs) with temporal point processes (TPPs) to encode both event texts and times. By pooling representations and applying a contrastive loss, it unifies temporal dynamics and event semantics in a shared embedding space, aligning sequence-level embeddings of event sequences and their descriptions. TPP-Embedding demonstrates superior performance over baseline models across TESRBench datasets, establishing it as a powerful solution for the temporal event sequence retrieval task.

Recommended citation: Liu, Zefang and Quan, Yinzhu. "Retrieval of Temporal Event Sequences from Textual Descriptions." arXiv preprint arXiv:2410.14043 (2024).
[Download Paper] [Download Code] [Download Data]