Subtree Mode and Applications
Jialong Zhou, Ben Bals, Matei Tinca, Ai Guan, Panagiotis Charalampopoulos, Grigorios Loukides, Solon P. Pissis
摘要
The mode of a collection of values (i.e., the most frequent value in the collection) is a key summary statistic. Finding the mode in a given range of an array of values is thus of great importance, and constructing a data structure to solve this problem is in fact the well-known Range Mode problem. In this work, we introduce the Subtree Mode (SM) problem, the analogous problem in a leaf-colored tree, where the task is to compute the most frequent color in the leaves of the subtree of a given node. SM is motivated by several applications in domains such as text analytics and biology, where the data are hierarchical and can thus be represented as a (leaf-colored) tree. Our central contribution is a time-optimal algorithm for SM that computes the answer for every node of an input -node tree in time. We further show how our solution can be adapted for node-colored trees, or for computing the most frequent colors, for any given , in the optimal time. Moreover, we prove that a similarly fast solution for when the input is a sink-colored directed acyclic graph instead of a leaf-colored tree is highly unlikely. Our experiments on real datasets with trees of up to billion nodes demonstrate that our algorithm is faster than baselines by at least one order of magnitude and much more space efficient. They also show that it is effective in pattern mining, sequence-to-database search, and biology applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper5
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 次引用
- Truly Subcubic Min-Plus Product for Less Structured Matrices, with ApplicationsVirginia Vassilevska Williams, Yinzhan XuSODA 2020 · 19 次引用
- Finding the Best of Both Worlds: Faster and More Robust Top-k Document RetrievalOmar Khattab, Mohammad Hammoud, Tamer ElsayedSIGIR 2020 · 12 次引用
- New Graph Decompositions and Combinatorial Boolean Matrix Multiplication AlgorithmsAmir Abboud, Nick Fischer, Zander Kelley, Shachar Lovett 等STOC 2024 · 2 次引用
- Top-k Document Retrieval in Compressed SpaceGonzalo Navarro, Yakov NekrichSODA 2025
相关 Paper
- HOPS: Probabilistic Subtree Mining for Small and Large GraphsPascal Welke, Florian Seiffarth, Michael Kamp, Stefan WrobelKDD 2020 · 5 次引用
- Finding Good Subtrees for Constraint Optimization Problems Using Frequent Pattern MiningHongbo Li, Jimmy Lee, He Mi, Minghao YinAAAI 2020 · 6 次引用
- Finding the Best k in Core Decomposition: A Time and Space Optimal SolutionDeming Chu, Fan Zhang, Xuemin Lin, Wenjie Zhang 等ICDE 2020 · 31 次引用
- Efficient Top-k Frequent Subgraph Mining Using Tight Upper and Lower BoundsSeonho Lee, Yeunjun Lee, Kunsoo ParkVLDB 2025 · 1 次引用
- Efficient and near-optimal algorithms for sampling connected subgraphsMarco BressanSTOC 2021
