[Paper Review] FAST: Frequency-Aware Spatio-Textual Indexing for In-Memory Continuous Filter Query Processing
FAST is a frequency-aware, in-memory spatio-textual indexing method that dynamically adapts indexing strategies based on keyword frequency and spatial distribution, using a spatial pyramid and a lightweight textual index with cell sharing to reduce memory usage. It achieves up to 3x faster search and 5x faster insertion than state-of-the-art indexes, while using one-third the memory.
Many applications need to process massive streams of spatio-textual data in real-time against continuous spatio-textual queries. For example, in location-aware ad targeting publish/subscribe systems, it is required to disseminate millions of ads and promotions to millions of users based on the locations and textual profiles of users. In this paper, we study indexing of continuous spatio-textual queries. There exist several related spatio-textual indexes that typically integrate a spatial index with a textual index. However, these indexes usually have a high demand for main-memory and assume that the entire vocabulary of keywords is known in advance. Also, these indexes do not successfully capture the variations in the frequencies of keywords across different spatial regions and treat frequent and infrequent keywords in the same way. Moreover, existing indexes do not adapt to the changes in workload over space and time. For example, some keywords may be trending at certain times in certain locations and this may change as time passes. This affects the indexing and searching performance of existing indexes significantly. In this paper, we introduce FAST, a Frequency-Aware Spatio-Textual index for continuous spatio-textual queries. FAST is a main-memory index that requires up to one third of the memory needed by the state-of-the-art index. FAST does not assume prior knowledge of the entire vocabulary of indexed objects. FAST adaptively accounts for the difference in the frequencies of keywords within their corresponding spatial regions to automatically choose the best indexing approach that optimizes the insertion and search times. Extensive experimental evaluation using real and synthetic datasets demonstrates that FAST is up to 3x faster in search time and 5x faster in insertion time than the state-of-the-art indexes.
Motivation & Objective
- To address the inefficiency of existing spatio-textual indexes in handling high-velocity, real-time streams of spatial and textual data.
- To overcome the limitations of current indexes that assume prior knowledge of the full keyword vocabulary and treat all keywords uniformly regardless of frequency.
- To design an adaptive indexing system that accounts for spatially varying keyword frequencies and workload dynamics over time.
- To minimize main-memory usage while maintaining low-latency insertion and search performance for continuous filter queries.
- To enable scalable, real-time processing of millions of continuous spatio-textual queries in streaming environments.
Proposed method
- Integrates a spatial pyramid to partition the spatial domain and enable efficient spatial range queries.
- Employs a frequency-aware textual index that selects optimal indexing strategies (e.g., inverted lists or keyword tries) based on keyword frequency within each spatial cell.
- Uses a lightweight, lazy-cleaning mechanism to remove expired queries and adapt to changing keyword frequencies without full rebuilds.
- Applies cell-sharing to reduce memory overhead by sharing textual index structures across spatial cells with overlapping query sets.
- Dynamically adjusts indexing structure per spatial cell based on the selectivity of keywords—favoring efficient structures for frequent vs. infrequent keywords.
- Avoids prior knowledge of the full vocabulary by building indexes incrementally as new queries arrive.
Experimental results
Research questions
- RQ1How can a spatio-textual index efficiently handle continuous filter queries in real-time streaming workloads with high data velocity?
- RQ2To what extent can indexing performance be improved by adapting to the frequency distribution of keywords across spatial regions?
- RQ3Can a main-memory index be designed to require significantly less memory than existing state-of-the-art indexes while maintaining or improving performance?
- RQ4How does the system adapt to dynamic changes in keyword popularity and workload distribution over time?
- RQ5What is the impact of varying spatial range and number of keywords on indexing and query processing performance?
Key findings
- FAST reduces main-memory usage by up to 66% compared to the state-of-the-art AP-tree index.
- FAST achieves up to 3x faster search performance than the AP-tree on both real and synthetic datasets.
- FAST achieves up to 5x faster query insertion (indexing) time than the AP-tree.
- The performance advantage of FAST is consistent across varying spatial ranges, from 0.01% to 10% of the total spatial domain.
- FAST maintains its performance edge when scaling to 20 million indexed queries, outperforming the AP-tree in both search and indexing times.
- The cell-sharing and frequency-aware indexing strategy enables FAST to scale efficiently while minimizing memory footprint.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.