Semantic Indexes for Machine Learning-based Queries over Unstructured Data
Not on the map. Why?
Abstract (arXiv)
Unstructured data (e.g., video or text) is now commonly queried by using computationally expensive deep neural networks or human labelers to produce structured information, e.g., object types and positions in video. To accelerate queries, many recent systems (e.g., BlazeIt, NoScope, Tahoma, SUPG, etc.) train a query-specific proxy model to approximate a large target labelers (i.e., these expensive neural networks or human labelers). These models return proxy scores that are then used in query processing algorithms. Unfortunately, proxy models usually have to be trained per query and require large amounts of annotations from the target labelers. In this work, we develop an index (trainable semantic index, TASTI) that simultaneously removes the need for per-query proxies and is more efficient to construct than prior indexes. TASTI accomplishes this by leveraging semantic similarity across records in a given dataset. Specifically, it produces embeddings for each record such that records with close embeddings have similar target labeler outputs. TASTI then generates high-quality proxy scores via embeddings without needing to train a per-query proxy. These scores can be used in existing proxy-based query processing algorithms (e.g., for aggregation, selection, etc.). We theoretically analyze TASTI and show that a low embedding training error guarantees downstream query accuracy for a natural class of queries. We evaluate TASTI on five video, text, and speech datasets, and three query types. We show that TASTI's indexes can be 10× less expensive to construct than generating annotations for current proxy-based methods, and accelerate queries by up to 24×.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 6; 2026: 2.
10 papers.
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Datacited by 11
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guaranteescited by 8
- 2023Extract-Transform-Load for Video Streamscited by 7
- 2025D'ej`a Vu: Efficient Video-Language Query Engine with Learning-based Inter-Frame Computation Reusecited by 5
- 2025Querying Autonomous Vehicle Point Clouds: Enhanced by 3D Object Counting with CounterNetcited by 1
- 2024Hydro: Adaptive Query Processing of ML Queriescited by 0
- 2025LAVA: Language Driven Scalable and Versatile Traffic Video Analyticscited by 0
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMscited by 0
- 2026Search over the Visual World: Persistent Visual Memory, Layered Indexes, and Source-Grounded Evidencecited by 0
- 2026Concord: A Video Relational Algebra for Cross-Modal Query Optimizationcited by 0
- 2026Concord: A Video Relational Algebra for Cross-Modal Query Optimization4 Sep 2026
- 2026Search over the Visual World: Persistent Visual Memory, Layered Indexes, and Source-Grounded Evidence8 Aug 2026
- 2025Flash-Fusion: Enabling Expressive, Low-Latency Queries on IoT Sensor Streams with LLMs14 Nov 2025
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Data10 Nov 2025
- 2025Cut Costs, Not Accuracy: LLM-Powered Data Processing with Guarantees2 Sep 2025
- 2025LAVA: Language Driven Scalable and Versatile Traffic Video Analytics26 Jul 2025
- 2025Querying Autonomous Vehicle Point Clouds: Enhanced by 3D Object Counting with CounterNet25 Jul 2025
- 2025D'ej`a Vu: Efficient Video-Language Query Engine with Learning-based Inter-Frame Computation Reuse17 Jun 2025
- 2024Hydro: Adaptive Query Processing of ML Queries22 Mar 2024
- 2023Extract-Transform-Load for Video Streams7 Oct 2023