Relation-driven Query of Multiple Time Series
Shuhan Liu, Yuan Tian, Zikun Deng, Weiwei Cui, Haidong Zhang, Di Weng, Yingcai Wu
TL;DR
This work tackles relation-driven querying over multiple time series by identifying a heterogeneous set of relations and designing RelaQ, a fuzzy-interactive system with a three-stage pipeline (preprocessing, query formulation, and processing). It combines a data-structure–driven graph-matching model with a matrix/time-based visualization to support complex relation queries and exploration, complemented by on-demand guidance. A formative study defines relation scope and user requirements, while case studies and a user study demonstrate practical effectiveness and usability in domains like EEG analysis and urban air pollution. The results suggest RelaQ provides intuitive, scalable retrieval of complex relation patterns and lays groundwork for integrating intelligent pattern mining in future work, with attention to scalability and learnability considerations.
Abstract
Querying time series based on their relations is a crucial part of multiple time series analysis. By retrieving and understanding time series relations, analysts can easily detect anomalies and validate hypotheses in complex time series datasets. However, current relation extraction approaches, including knowledge- and data-driven ones, tend to be laborious and do not support heterogeneous relations. By conducting a formative study with 11 experts, we concluded 6 time series relations, including correlation, causality, similarity, lag, arithmetic, and meta, and summarized three pain points in querying time series involving these relations. We proposed RelaQ, an interactive system that supports the time series query via relation specifications. RelaQ allows users to intuitively specify heterogeneous relations when querying multiple time series, understand the query results based on a scalable, multi-level visualization, and explore possible relations beyond the existing queries. RelaQ is evaluated with two use cases and a user study with 12 participants, showing promising effectiveness and usability.
