Fast Search-By-Classification for Large-Scale Databases Using Index-Aware Decision Trees and Random Forests
Christian Lülf, Denis Mayr Lima Martins, Marcos Antonio Vaz Salles, Yongluan Zhou, Fabian Gieseke
Abstract
The vast amounts of data collected in various domains pose great challenges to modern data exploration and analysis. To find "interesting" objects in large databases, users typically define a query using positive and negative example objects and train a classification model to identify the objects of interest in the entire data catalog. However, this approach requires a scan of all the data to apply the classification model to each instance in the data catalog, making this method prohibitively expensive to be employed in large-scale databases serving many users and queries interactively. In this work, we propose a novel framework for such search-by-classification scenarios that allows users to interactively search for target objects by specifying queries through a small set of positive and negative examples. Unlike previous approaches, our framework can rapidly answer such queries at low cost without scanning the entire database. Our framework is based on an index-aware construction scheme for decision trees and random forests that transforms the inference phase of these classification models into a set of range queries, which in turn can be efficiently executed by leveraging multidimensional indexing structures. Our experiments show that queries over large data catalogs with hundreds of millions of objects can be processed in a few seconds using a single server, compared to hours needed by classical scanning-based approaches.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on4
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
- Meta-Learning to Detect Rare ObjectsYu-Xiong Wang, Deva Ramanan, Martial HebertICCV 2019 · 339 citations
- ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
- REDS: Rule Extraction for Discovering ScenariosVadim Arzamasov, Klemens BöhmSIGMOD 2021 · 2 citations
Related papers
- Learn to Explore: on Bootstrapping Interactive Data Exploration with Meta-learningYukun Cao, Xike Xie, Kexin HuangICDE 2023 · 6 citations
- Interactive Rare-Category-of-Interest Mining from Large DatasetsZhenguang Liu, Sihao Hu, Yifang Yin, Jianhai Chen et al.AAAI 2020 · 2 citations
- Cost-Effective Algorithms for Average-Case Interactive Graph SearchQianhao Cong, Jing Tang, Yuming Huang, Lei Chen et al.ICDE 2022 · 8 citations
- Guided SQL-Based Data Exploration with User FeedbackAntonis Mandamadiotis, Georgia Koutrika, Sihem Amer-YahiaICDE 2024 · 3 citations
- Very Fast, Approximate Counterfactual Explanations for Decision ForestsMiguel Á. Carreira-Perpiñán, Suryabhan Singh HadaAAAI 2023 · 7 citations
