GRELA: Exploiting graph representation learning in effective approximate query processing
Abstract Approximate query processing ( AQP ) plays a critical role in modern data analytics. Although machine learning models are used for AQP, existing methods fail to uncover implicit relationships among the underlying data, the aggregate functions in queries, and the query predicates. In this work, we propose a G raph RE presentation L earning-based A QP model ( GRELA for short) for answering queries with multiple aggregate functions. GRELA models the aggregate functions and the query predicates as task and clause nodes respectively in a graph and then learns appropriate node representations via its two modules. In particular, the $$\texttt {Encoder}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>Encoder</mml:mi> </mml:math> module coalesces query predicates and underlying data into the representations of clause nodes. The $$\mathbf {\texttt {Graph}}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mi>Graph</mml:mi> </mml:math> module bridges task nodes and clause nodes such that each task node can aggregate the information from its neighborhood into its representation. Through the inner products of clause and task representations, GRELA is able to make accurate estimates for queries with multiple aggregate functions. Extensive experimental results verify that GRELA outperforms the state-of-the-art AQP methods on different kinds of datasets.
Authors
- Rong Zhu (ORCID: https://orcid.org/0000-0001-9976-9490)
- Shu‐Xian Hu (ORCID: https://orcid.org/0000-0003-0127-3353)
- Bolin Ding (ORCID: https://orcid.org/0000-0003-1535-9692)
- Yong Zhang (ORCID: https://orcid.org/0000-0001-6650-6790)
- Hua Lu (ORCID: https://orcid.org/0000-0003-1199-6678)
- Pengfei Li (ORCID: https://orcid.org/0000-0002-1484-0698)
- Wenqing Wei
- Jingren Zhou
Institutions
- Roskilde University (DK)
- Alibaba Group (China) (CN)
- Aalborg University (DK)
- Baidu (China) (CN)
Publication Details
- Journal
- The VLDB Journal
- Published
- 2025-04-24
- DOI
- https://doi.org/10.1007/s00778-025-00914-y
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00