On Optimizing List Intersection and Early Termination in Search Engines
- Author
- ZhangFan
- Advisor
- LiuXiaoGuang , WangGang , Liu
- School
- Nankai University
- Major
- Applied Computer Technology
- Classification
- TP391.3 Retrieval machine
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 62
- Citations
- 0
Abstract
A huge number of user queries are processed by search engines every day. Thequality of results and the efficiency of query processing are the two most importantcriteria to evaluate a search engine’s performance. In recent years, both academic andindustry community made greate effort to improve the efficiency of query processing.We focus on optimizing the efficiency of query processing of the search engines.List intersection is an important operation in the processing of conjunctive booleanqueries. We systematically review the state-of-the-art list intersection algorithms andevaluate them with different kinds of intersection and search strategies using real worldquery sets on GOV and GOV2data sets. Previous works on list intersection usuallyuse the number of comparisons as the measure of the algorithm’s complexity.However,reducing the number of comparisons does not necessarily lead to performance improve-ment. We also investigate the intersection algorithms in terms of branch prediction andcache misses which may also affect the performance of the algorithms, and find thathash segmentation approach with “in-segment” linear search benefit from less cacheand branch prediction misses, it has the best CPU running time. We study the impactof document reordering on the performance of list intersection algorithms. Most of thealgorithms achieve better performance on the URL-sorted index than a random one.We find that the intersection algorithms have less cache and branch prediction misseson the URL-sorted index. We also analyze the performance according to the relativelength ratio of the lists, and design a heuristic scheduling policy which results in sig-nificant speedup over the best single intersection algorithm. Last, we investigate theperformance of intersection of compressed lists.The Graphics Processing Units (GPU) has massive parallel computation power.In this paper, we study how to improve the efficiency of the query processing in thesearch engine using GPU. In particular, we focus on optimizing system throughputwhen the system is under heavy query traffic or processing non-interactive queries. Wepropose a CPU-GPU cooperative model to accelerate the list intersection operation in the search engine. Experimental results show our methods can significantly improvethe throughput of query processing. When system is in high query traffic or processingnon-interactive queries, the synchronous mode is used. In this mode, several queriesare grouped at CPU end and sent to GPU in batches to be processed. Since GPU hasmassive parallel processing power, the throughput of query processing can be great-ly increased. We extensively study the search algorithms used in the GPU intersec-tion algorithm. In particular, when two inverted lists1and2are to be intersected(|1|≤|2|), for each element of1, the GPU thread performs some search algorithm tofind whether the element appears in2. The simplest search algorithm is binary search,we choose it as the baseline algorithm, and we also propose the linear regression searchalgorithm, hash segmentation algorithm and bloom filter based algorithm. The exper-imental results show that the hash segmentation has the best performance in terms ofGPU running time. In this paper we also study the impact of document reorderingon the performance of GPU intersection algorithms. Last, we study the performanceof the document evaluation and ranking steps in the query processing, and propose abatch ranking algorithm which is suitable for GPU processing.One important technique to improve retrieval efficiency is early termination, whichspeeds up query processing by avoiding scanning the entire inverted lists. Most earlytermination techniques first build new inverted indexes by sorting the inverted lists inthe order of either the term-dependent information, e.g., term frequencies or term IRscores, or the term-independent information, e.g., static rank of the document and thenapply appropriate retrieval strategies on the resulting indexes. Although the methodsbased only on the static rank have been shown to be ineffective for the early termina-tion, there are still many advantages of using the methods based on term-independentinformation. We propose new techniques to organize inverted indexes based on the ter-m independent information beyond static rank and study the new retrieval strategies onthe resulting indexes. We perform a detailed experimental evaluation on our new tech-niques and compare them with the existing approaches. Our results on the GOV andGOV2data sets show that our techniques can improve query efficiency significantly.
Table of contents
Chinese abstract 5-7
Abstract 7-14
first chapter 14-24
Section Introduction 14 - Section 15
search engine About 15-19
1.2.1 search engine architecture 15-18
Evaluation 1.2.2 search engine 18-19
III research and innovation 19-21
fourth article organizational structure 21-24
Chapter II background and related work 24-48
Section inverted index 24-25
Section search engine query processing 25-28
2.2 .1 query processing 25-27
2.2.2 query processing mode 27-28
III document reordering 28
fourth section index table intersection 28-31
2.4.1 problem Description 28-29
2.4.2 intersection index table serial algorithm 29-30
2.4.3 intersection index table parallel algorithm 30-31
Section V index compression and decompression 31-33
2.5.1 problem Description 31-32
2.5.2 compression algorithm 32
2.5.3 evaluate compression algorithm 32-33
VI sorting function 33 - 37
2.6.1 Frequencies score (IR score ) 34-35
2.6.2 documentation static ranking score (SR scores ) 35-36
2.6. 3 tightness fraction (TP score ) 36
2.6.4 Total 36-37
2.6.5 TopK score calculation 37
seventh Festival advance technical 37-40
2.7.1 problem definition 37-38
2.7.2 stopped prematurely existing technical presentations 38-40 <br / > VIII CUDA graphics cards and computing platforms 40-46
2.8.1 for parallel computing using graphics cards 40-43
2.8.2 Nvidia graphics card hardware system 43
2.8.3 on the GPU using CUDA programming 43-46
2.8.4 GPU algorithm algorithm complexity 46
IX, search engine design tradeoffs 46-47
section X. Summary 47-48
Chapter intersection index table analysis and optimization algorithms CPU 48 -82
The first section describes 48-49
second section of this chapter contribution 49
III related work and background knowledge 49-51
3.3.1 document reordering 49-50
source 3.3.2 delayed existing computer architecture 50-51
fourth intersection algorithm 51-55
3.4.1 table intersection algorithm 51-52
3.4.2 by elements intersection algorithm 52-55
fifth section search algorithm 55-63
3.5.1 linear search 55
3.5.2 binary search 55
3.5.3 interpolation search 55-56
3.5.4 doubling search and Golomb search 56
3.5.5 uniform segmentation method 56-57
3.5.6 hash Break method 57-62
3.5.7 intersection classification algorithm for further discussion of 62-63
VI compressed index table intersection 63 - 64
VII experimental setting 64-66
3.7.1 Web document data sets 64-65
3.7.2 query set 65
3.7.3 experimental environment 65-66
VIII results 66-79
3.8.1 SvS algorithm performance 66-69 <br / > detailed analysis 3.8.2 uniform segmentation method and hash segmentation method 69-70
3.8.3 performance Evaluation of two tables based on the relative length ratio 70-75 <br / > 3.8.4 intersection Algorithm various performance 75-77
3.8.5 intersection index compression performance analysis 77-79
Section IX summary and future Work 79-82
Chapter IV use GPU acceleration search engine query processing 82-116
the first section describes 82-83
Article section II study of motivation and assumptions 83-84
4.2.1 non-interactive queries 83-84
4.2.2 assumptions and limitations 84
Article three chapter contribution 84-85
fourth query processing mode 85-86
4.4.1 asynchronous mode 85
4.4.2 synchronization mode 85-86
Section V single query GPU intersection algorithm 86-89
4.5.1 thread allocation 86-88
4.5. 2 search 88
nbsp 4.5.3 scan and shrink operations ; 88
4.5.4 data 88-89
4.5.5 algorithm complexity analysis 89
4.5.6 use flow to improve throughput 89
VI GPU batch intersection algorithm 89-91
4.6.1 thread allocation 90
4.6.2 CPU pretreatment 90-91
4.6.3 GPU processing 91
VII search algorithm 91-100
4.7.1 binary search algorithm 91-92
4.7.2 interpolation search algorithm 92-93
4.7.3 linear regression search algorithm 93-96
4.7.4 hash segmentation algorithm 96-97
4.7.5 Bloom Filter intersection algorithm 97-100
VIII score calculation and sorting 100-103
4.8.1 score calculation 100-101
4.8.2 Sort 101-103
experimental Section IX set 103-105
4.9.1 dataset and query set 103-104
4.9.2 experimental environment 104-105
Section X. experimental results 105-114
GPU 4.10.1 single query mode intersection algorithm performance 105-109
4.10.2 GPU batch algorithm performance 109-111
4.10.3 running of time proportional 111-112
weigh 4.10.4 space and time 112-113
4.10.5 speedup performance query processing 113
4.10.6 containing fraction calculated 113-114
section XI summary and future work 114-116
Article chapters optimize global ranking index stopped prematurely effect 116-140
the first section describes 116-118
second section of this chapter contribution 118-119 <br / > sorting function using 5.2.1 This chapter 119
Section analysis 119-126
5.3.1 theoretical analysis 119-124 <br / > 5.3.2 simulation 124-126
fourth method 126-130
5.4.1 UBIR and UBTF 127
5.4.2 create a new index 127-128
5.4.3 query processing strategies 128-130
Section V experimental setting 130-132
5.5. a Web document data sets 130
5.5.2 query set 130-131
nbsp 5.5.3 experimental environment ; 131
5.5.4 evaluation 131-132
VI results 132-137
5.6.1 overall performance Comparison 132-133
5.6.2 various index structure potential 133-134
nbsp 5.6.3 experiment with different parameters ; 134-135
5.6.4 approximate query processing 135-136
5.6. analysis of query categories 136-137
5.6.6 intersection segmentation algorithm using a hash query processing performance analysis 137
VII summary and future work 137-140
Chapter VI summary and future work 140-144
section Full Summary 140-142
section nbsp future work prospects ; 142-144
References 144-156
Thanks 156-158
CVs 158-161
Related dissertations
- How Consumer Personality Affects Online Choice
- Research and Implementation of Academic Search Engine Based on Nutch
- Design and Implementation of Web Information Extraction System for Evaluation of Search Engine
- Research on Technologies of Query Semantic Dependency Parsing
- The Real-time Search Engine of Social Network Service
- Design and Implementation of the Sohu News Search Engine Based on Crawler
- Query Expansion Research in Personalized Intelligent Search Engine
- Research of Classification Display Technology in Search Engine
- The Research in the Improvement and Optimization of Chinese Automatic Word Segmentation
- A Information Extraction Technology Based Knowledge Searching System
- Research and Implement of Distributed Crawler System Supporting AJAX
- Research on Personalized Engine Based on Client and Fuzzy Network Agent
- Design and Implementation of a Search Engine Used in Optical Jukebox
- The Design and Implementation of Intelligent Information Retrieval System
- The Research and Implementation of Malicious Web Pages Detection from Search Engine Based on Decision Tree
- The Research and Implementation of Detection System on Cloaked Web Pages
- A Study of Page Sorting Algorithm Based on User’s Habit
- Design and Implementation of the Network Tour Information Search System
- The Research of Vertical Search Engine Based on Nutch for Food Safety
- Interactive quiz answer community credibility analysis