Skip to main content
QUICK REVIEW

[Paper Review] Generic Inverted Index on the GPU

Jingbo Zhou, Qi Guo|arXiv (Cornell University)|Mar 28, 2016
Advanced Image and Video Retrieval TechniquesComputer Science66 references7 citations
TL;DR

This paper proposes GENIE, a generic inverted index framework for GPU-accelerated similarity search across diverse data types such as documents, sequences, and high-dimensional vectors. By leveraging Locality Sensitive Hashing (LSH) and unified GPU parallelization, GENIE enables efficient approximate nearest neighbor search under multiple similarity measures while supporting both hashed and original data, achieving high performance across real-world datasets.

ABSTRACT

Data variety, as one of the three Vs of the Big Data, is manifested by a growing number of complex data types such as documents, sequences, trees, graphs and high dimensional vectors. To perform similarity search on these data, existing works mainly choose to create customized indexes for different data types. Due to the diversity of customized indexes, it is hard to devise a general parallelization strategy to speed up the search. In this paper, we propose a generic inverted index on the GPU (called GENIE), which can support similarity search of multiple queries on various data types. GENIE can effectively support the approximate nearest neighbor search in different similarity measures through exerting Locality Sensitive Hashing schemes, as well as similarity search on original data such as short document data and relational data. Extensive experiments on different real-life datasets demonstrate the efficiency and effectiveness of our system.

Motivation & Objective

  • Address the challenge of supporting similarity search across heterogeneous data types—such as documents, sequences, graphs, and vectors—within a single, scalable framework.
  • Overcome the limitations of custom indexes per data type by designing a unified indexing and search system optimized for GPU parallelism.
  • Enable efficient approximate nearest neighbor search using Locality Sensitive Hashing (LSH) across multiple similarity measures.
  • Support similarity search on both transformed (e.g., hashed) and original data representations without requiring data-specific index designs.

Proposed method

  • Design a generic inverted index structure that maps data items to hash buckets using Locality Sensitive Hashing (LSH) schemes tailored to different similarity measures.
  • Implement GPU-optimized data structures and kernel routines to parallelize index construction and query processing across all data types.
  • Support both approximate search via LSH and exact search on original data by maintaining dual indexing paths within the same framework.
  • Utilize GPU memory coalescing and thread block scheduling to maximize throughput during hash computation and candidate retrieval.
  • Integrate a unified query processing pipeline that dynamically selects the appropriate LSH scheme based on the query's similarity metric.
  • Apply workload-aware memory management to handle variable-sized data and reduce GPU memory access latency.

Experimental results

Research questions

  • RQ1Can a single GPU-optimized indexing framework efficiently support similarity search across diverse data types without requiring custom index designs per data type?
  • RQ2How effective is the use of LSH within a generic inverted index for accelerating approximate nearest neighbor search under multiple similarity measures?
  • RQ3To what extent does the proposed GPU parallelization strategy improve query throughput compared to CPU-based or specialized index solutions?
  • RQ4Can the system efficiently support both approximate search (via LSH) and exact search (on original data) within the same framework?

Key findings

  • GENIE achieves significant speedups in query processing time by leveraging GPU parallelism across diverse data types, outperforming CPU-based baselines.
  • The system supports multiple similarity measures through adaptable LSH schemes, enabling effective approximate nearest neighbor search without reindexing.
  • GENIE demonstrates high scalability on real-life datasets, including short documents and high-dimensional vectors, with consistent performance gains.
  • The unified indexing approach reduces engineering overhead compared to maintaining multiple specialized indexes for different data types.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.