Derived Codebooks for High-Accuracy Nearest Neighbor Search

Total Page:16

File Type:pdf, Size:1020Kb

Derived Codebooks for High-Accuracy Nearest Neighbor Search Derived Codebooks for High-Accuracy Nearest Neighbor Search Fabien André Anne-Marie Kermarrec Nicolas Le Scouarnec Technicolor Inria Technicolor ABSTRACT relies almost exclusively on 8-bit quantizers (28 centroids) which High-dimensional Nearest Neighbor (NN) search is central in mul- result in small lookup tables, that are both fast to pre-compute and timedia search systems. Product Quantization (PQ) is a widespread fit the fastest CPU caches. NN search technique which has a high performance and a good Novel quantization models inspired by Product Quantization scalability. PQ compresses high-dimensional vectors into compact (PQ) have been proposed to improve ANN search accuracy. These codes thanks to a combination of quantizers. Large databases can models, such as Additive Quantization (AQ) [4] or Tree Quantiza- therefore be stored entirely in RAM, enabling fast responses to NN tion (TQ) [6] offer a higher accuracy, but some of them lead toa queries. In almost all cases, PQ uses 8-bit quantizers as they offer much increased response time. An orthogonal approach to achieve low response times. a higher accuracy is to use 16-bit quantizers instead of the common In this paper, we advocate the use of 16-bit quantizers. Com- 8-bit quantizers. However, 16-bit quantizers are generally believed pared to 8-bit quantizers, 16-bit quantizers boost accuracy but they to be intractable because they result in a 3 to 10 times increase in increase response time by a factor of 3 to 10. We propose a novel response time compared to 8-bit quantizers approach that allows 16-bit quantizers to offer the same response In this paper, we introduce a novel approach that makes 16-bit time as 8-bit quantizers, while still providing a boost of accuracy. quantizers almost as fast as 8-bit quantizers while retaining the Our approach builds on two key ideas: (i) the construction of derived increase in accuracy. Our approach builds on two key ideas: (i) we 8 codebooks that allow a fast and approximate distance evaluation, build small derived codebooks (2 centroids each) that approximate 16 and (ii) a two-pass NN search procedure which builds a candidate the codebooks of the 16-bit quantizers (2 centroids each) and set using the derived codebooks, and then refines it using 16-bit (ii) we introduce a two-pass NN search procedure which builds a quantizers. On 1 billion SIFT vectors, with an inverted index, our candidate set using the derived codebooks, and then refines it using approach offers a Recall@100 of 0.85 in 5.2 ms. By contrast, 16-bit the 16-bit quantizers. Moreover, our approach can be combined quantizers alone offer a Recall@100 of 0.85 in 39 ms, and 8-bit with inverted indexes, commonly used to manage large databases. quantizers a Recall@100 of 0.82 in 3.8 ms. More specifically, this paper makes the following contributions: • We detail how we build derived codebooks that approxi- mate the 16-bit quantizers. We describe how our two-pass 1 INTRODUCTION NN search procedure exploits derived codebooks to achieve both a low response time and a high accuracy. Over the last decade, the amount of multimedia data handled by • We evaluate our approach in the context of Product Quan- online services, such as video sharing web sites or social networks, tization (PQ) and Optimized Product Quantization (OPQ), has soared. This profusion of multimedia content calls for efficient with and without inverted indexes. We show that it offers multimedia search techniques, so as to allow users to find relevant close response time to 8-bit quantizers, while having the content. Efficient Nearest Neighbor (NN) search in high dimension- same accuracy as 16-bit quantizers. ality is key in multimedia search. High-dimensional feature vectors, • We discuss the strengths and limitations of our approach. or descriptors, can be extracted from multimedia files, capturing We show that because it increases accuracy without signif- their semantic content. Finding similar multimedia objects then icantly impacting response time, our approach compares consists in finding objects with a similar set of descriptors. favorably with the state of the art. In low dimensionality, efficient solutions to the NN search prob- lem, such as KD-trees, have been proposed. However, exact NN 2 BACKGROUND search remains challenging in high-dimensional spaces. Therefore, arXiv:1905.06900v1 [cs.CV] 16 May 2019 current research work focuses on finding Approximate Nearest In this section, we describe how Product Quantization (PQ) and Op- Neighbors (ANN) efficiently. Due to its good scalability andlow timized Product Quantization (OPQ) encode vectors into compact response time, Product Quantization (PQ) [9] is a popular approach codes. We then show how to perform ANN search in databases of [12, 14, 15] for ANN search in high-dimensional spaces. PQ com- encoded vectors. presses high-dimensional vectors into compact codes occupying only a few bytes. Therefore, large databases can be stored entirely 2.1 Vector Encoding in main memory. This enables responding to NN queries without Product Quantization (PQ) [9] is based on the principle of vector performing slow I/O operations. quantization. A vector quantizer is a function q which maps a vector PQ compresses vectors into compact codes using a combination x 2 Rd to a vector C»i¼ 2 C, where C is a predetermined set of of quantizers. To answer ANN queries, PQ first pre-computes a set d-dimensional vectors. The set of vectors C is named codebook, and of lookup tables comprising the distance between the subvectors its elements are named centroids. A quantizer which minimizes the of the query vector and centroids of the quantizers. PQ then uses quantization error maps a vector x to its closest centroid: these lookup tables to compute the distance between the query q¹xº = arg min jjx − C»i¼jj. vector and compact codes stored in the database. Previous work C»i¼2C The index i of the closest centroid C»i¼ of a vector x 2 Rd can be Algorithm 1 ANN Search used as a compact code representing the vector x: code¹xº = i such j m 1: function nns(fC g , database,y,r) that q¹xº = C»i¼. The compact code i only uses b = dlog ¹kºe bits of j=0 2 2: list index_list(database,y) . Index memory, while a d-dimensional vector stored as an array of floats j m j m 3: fD g compute_tables(y, fC g ) . Tables uses d · 32 bits of memory. The accuracy of ANN search primarily j=0 j=0 f j gm depends on the quantization error induced by the vector quantizer. 4: return scan(list, D j=0) . Scan j m Therefore, to minimize quantization error, it is necessary to use a 5: function scan(list, fD g ,r) 64 j=0 quantizer with a large number of centroids, e.g., k = 2 centroids. 6: neighbors binheap¹rº . binary heap of size r Yet, training such quantizers is not tractable. 7: for i 0 to jlistj − 1 do Product Quantization addresses this issue by allowing to gen- 8: c list»i¼ . ith compact code erate a quantizer with a large number of centroids from several f j gm 9: d adc(c, D j=0) low-complexity quantizers. To quantize a vector x 2 Rd , a prod- 10: neighbors. add¹¹i,dºº uct quantizer first splits x into m sub-vectors x = ¹x0, ::: , xm−1º. 11: return neighbors Then, each sub-vector x j is quantized using a distinct quantizer qj . j j f j gm−1 Each quantizer q has a distinct codebook C , of size k. A product 12: function adc(c, D j=0 ) quantizer maps a vector x 2 Rd as follows: 13: d 0 14: for j 0 to m do 0 0 m−1 m−1 j pq¹xº = q ¹x º, ::: , q ¹x º 15: d d + D »c»j¼¼ return d 0 m−1 = ¹C »i0¼, ::: , C »im−1¼º Thus, the codebook C of the product quantizer is the Cartesian product of the codebooks of the quantizers, C = C0 × · · · × Cm−1. been assigned to. Because they offer both a decrease in response The product quantizer has a codebook of size km, while only re- time and an increase in accuracy, inverted indexes are widely used. quiring training m codebooks of size k. Product quantizers encode They are especially useful for large databases, as exhaustive search high-dimensional vectors into compact codes by concatenating the is hardly tractable in this case. codes generated by the m quantizers: pqcode¹xº = ¹i0, ::: ,im−1º, 0 m−1 2.3 ANN Search such that q¹xº = ¹C »i0¼, ::: , C »m − 1¼º. Optimized Product Quantization (OPQ) [8] and Cartesian K- ANN Search in a database of compact codes takes three steps: Index, means (CKM) [10] are two similar quantizations schemes, both where the inverted index is used to retrieve the most appropriate relying on the same principles as Product Quantization (PQ). An inverted lists, Tables, where a set of lookup tables are pre-computed optimized product quantizer multiplies a vector x 2 Rd by an and Scan, which involves computing the distance between the query orthonormal matrix R 2 Rd×d before quantizing it in the same way vector and the compact codes stored in the inverted lists. The Index as a product quantizer: step is only necessary when non-exhaustive search is used and T skipped in the case of exhaustive search. opq¹xº = pq¹Rxº, such that R R = I Index Step. In this step, the closest cell to the query vector y The matrix R allows an arbitrary rotation of the vector x, thus is determined using the inverted index, and the corresponding enabling a better distribution of the information between the quan- inverted list are retrieved.
Recommended publications
  • Two Algorithms for Nearest-Neighbor Search in High Dimensions
    Two Algorithms for Nearest-Neighbor Search in High Dimensions Jon M. Kleinberg∗ February 7, 1997 Abstract Representing data as points in a high-dimensional space, so as to use geometric methods for indexing, is an algorithmic technique with a wide array of uses. It is central to a number of areas such as information retrieval, pattern recognition, and statistical data analysis; many of the problems arising in these applications can involve several hundred or several thousand dimensions. We consider the nearest-neighbor problem for d-dimensional Euclidean space: we wish to pre-process a database of n points so that given a query point, one can ef- ficiently determine its nearest neighbors in the database. There is a large literature on algorithms for this problem, in both the exact and approximate cases. The more sophisticated algorithms typically achieve a query time that is logarithmic in n at the expense of an exponential dependence on the dimension d; indeed, even the average- case analysis of heuristics such as k-d trees reveals an exponential dependence on d in the query time. In this work, we develop a new approach to the nearest-neighbor problem, based on a method for combining randomly chosen one-dimensional projections of the underlying point set. From this, we obtain the following two results. (i) An algorithm for finding ε-approximate nearest neighbors with a query time of O((d log2 d)(d + log n)). (ii) An ε-approximate nearest-neighbor algorithm with near-linear storage and a query time that improves asymptotically on linear search in all dimensions.
    [Show full text]
  • Rank-Approximate Nearest Neighbor Search: Retaining Meaning and Speed in High Dimensions
    Rank-Approximate Nearest Neighbor Search: Retaining Meaning and Speed in High Dimensions Parikshit Ram, Dongryeol Lee, Hua Ouyang and Alexander G. Gray Computational Science and Engineering, Georgia Institute of Technology Atlanta, GA 30332 p.ram@,dongryel@cc.,houyang@,agray@cc. gatech.edu { } Abstract The long-standing problem of efficient nearest-neighbor (NN) search has ubiqui- tous applications ranging from astrophysics to MP3 fingerprinting to bioinformat- ics to movie recommendations. As the dimensionality of the dataset increases, ex- act NN search becomes computationally prohibitive; (1+) distance-approximate NN search can provide large speedups but risks losing the meaning of NN search present in the ranks (ordering) of the distances. This paper presents a simple, practical algorithm allowing the user to, for the first time, directly control the true accuracy of NN search (in terms of ranks) while still achieving the large speedups over exact NN. Experiments on high-dimensional datasets show that our algorithm often achieves faster and more accurate results than the best-known distance-approximate method, with much more stable behavior. 1 Introduction In this paper, we address the problem of nearest-neighbor (NN) search in large datasets of high dimensionality. It is used for classification (k-NN classifier [1]), categorizing a test point on the ba- sis of the classes in its close neighborhood. Non-parametric density estimation uses NN algorithms when the bandwidth at any point depends on the ktℎ NN distance (NN kernel density estimation [2]). NN algorithms are present in and often the main cost of most non-linear dimensionality reduction techniques (manifold learning [3, 4]) to obtain the neighborhood of every point which is then pre- served during the dimension reduction.
    [Show full text]
  • Nearest Neighbor Search in Google Correlate
    Nearest Neighbor Search in Google Correlate Dan Vanderkam Robert Schonberger Henry Rowley Google Inc Google Inc Google Inc 76 9th Avenue 76 9th Avenue 1600 Amphitheatre Parkway New York, New York 10011 New York, New York 10011 Mountain View, California USA USA 94043 USA [email protected] [email protected] [email protected] Sanjiv Kumar Google Inc 76 9th Avenue New York, New York 10011 USA [email protected] ABSTRACT queries are then noted, and a model that estimates influenza This paper presents the algorithms which power Google Cor- incidence based on present query data is created. relate[8], a tool which finds web search terms whose popu- This estimate is valuable because the most recent tradi- larity over time best matches a user-provided time series. tional estimate of the ILI rate is only available after a two Correlate was developed to generalize the query-based mod- week delay. Indeed, there are many fields where estimating eling techniques pioneered by Google Flu Trends and make the present[1] is important. Other health issues and indica- them available to end users. tors in economics, such as unemployment, can also benefit Correlate searches across millions of candidate query time from estimates produced using the techniques developed for series to find the best matches, returning results in less than Google Flu Trends. 200 milliseconds. Its feature set and requirements present Google Flu Trends relies on a multi-hour batch process unique challenges for Approximate Nearest Neighbor (ANN) to find queries that correlate to the ILI time series. Google search techniques. In this paper, we present Asymmetric Correlate allows users to create their own versions of Flu Hashing (AH), the technique used by Correlate, and show Trends in real time.
    [Show full text]
  • R-Trees with Voronoi Diagrams for Efficient Processing of Spatial
    VoR-Tree: R-trees with Voronoi Diagrams for Efficient Processing of Spatial Nearest Neighbor Queries∗ y Mehdi Sharifzadeh Cyrus Shahabi Google University of Southern California [email protected] [email protected] ABSTRACT A very important class of spatial queries consists of nearest- An important class of queries, especially in the geospatial neighbor (NN) query and its variations. Many studies in domain, is the class of nearest neighbor (NN) queries. These the past decade utilize R-trees as their underlying index queries search for data objects that minimize a distance- structures to address NN queries efficiently. The general ap- based function with reference to one or more query objects. proach is to use R-tree in two phases. First, R-tree's hierar- Examples are k Nearest Neighbor (kNN) [13, 5, 7], Reverse chical structure is used to quickly arrive to the neighborhood k Nearest Neighbor (RkNN) [8, 15, 16], k Aggregate Nearest of the result set. Second, the R-tree nodes intersecting with Neighbor (kANN) [12] and skyline queries [1, 11, 14]. The the local neighborhood (Search Region) of an initial answer applications of NN queries are numerous in geospatial deci- are investigated to find all the members of the result set. sion making, location-based services, and sensor networks. While R-trees are very efficient for the first phase, they usu- The introduction of R-trees [3] (and their extensions) for ally result in the unnecessary investigation of many nodes indexing multi-dimensional data marked a new era in de- that none or only a small subset of their including points veloping novel R-tree-based algorithms for various forms belongs to the actual result set.
    [Show full text]
  • Dimensional Testing for Reverse K-Nearest Neighbor Search
    University of Southern Denmark Dimensional testing for reverse k-nearest neighbor search Casanova, Guillaume; Englmeier, Elias; Houle, Michael E.; Kröger, Peer; Nett, Michael; Schubert, Erich; Zimek, Arthur Published in: Proceedings of the VLDB Endowment DOI: 10.14778/3067421.3067426 Publication date: 2017 Document version: Final published version Document license: CC BY-NC-ND Citation for pulished version (APA): Casanova, G., Englmeier, E., Houle, M. E., Kröger, P., Nett, M., Schubert, E., & Zimek, A. (2017). Dimensional testing for reverse k-nearest neighbor search. Proceedings of the VLDB Endowment, 10(7), 769-780. https://doi.org/10.14778/3067421.3067426 Go to publication entry in University of Southern Denmark's Research Portal Terms of use This work is brought to you by the University of Southern Denmark. Unless otherwise specified it has been shared according to the terms for self-archiving. If no other license is stated, these terms apply: • You may download this work for personal use only. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying this open access version If you believe that this document breaches copyright please contact us providing details and we will investigate your claim. Please direct all enquiries to [email protected] Download date: 05. Oct. 2021 Dimensional Testing for Reverse k-Nearest Neighbor Search Guillaume Casanova Elias Englmeier Michael E. Houle ONERA-DCSD, France LMU Munich, Germany NII, Tokyo,
    [Show full text]
  • Efficient Nearest Neighbor Searching for Motion Planning
    E±cient Nearest Neighbor Searching for Motion Planning Anna Atramentov Steven M. LaValle Dept. of Computer Science Dept. of Computer Science Iowa State University University of Illinois Ames, IA 50011 USA Urbana, IL 61801 USA [email protected] [email protected] Abstract gies of con¯guration spaces. The topologies that usu- ally arise are Cartesian products of R, S1, and projective We present and implement an e±cient algorithm for per- spaces. In these cases, metric information must be ap- forming nearest-neighbor queries in topological spaces propriately processed by any data structure designed to that usually arise in the context of motion planning. perform nearest neighbor computations. The problem is Our approach extends the Kd tree-based ANN algo- further complicated by the high dimensionality of con¯g- rithm, which was developed by Arya and Mount for Eu- uration spaces. clidean spaces. We argue the correctness of the algo- rithm and illustrate its e±ciency through computed ex- In this paper, we extend the nearest neighbor algorithm amples. We have applied the algorithm to both prob- and part of the ANN package of Arya and Mount [16] to abilistic roadmaps (PRMs) and Rapidly-exploring Ran- handle general topologies with very little computational dom Trees (RRTs). Substantial performance improve- overhead. Related literature is discussed in Section 3. ments are shown for motion planning examples. Our approach is based on hierarchically searching nodes in a Kd tree while handling the appropriate constraints induced by the metric and topology. We have proven the 1 Introduction correctness of our approach, and we have demonstrated the e±ciency of the algorithm experimentally.
    [Show full text]
  • A Fast All Nearest Neighbor Algorithm for Applications Involving Large Point-Clouds à Jagan Sankaranarayanan , Hanan Samet, Amitabh Varshney
    Best Journal Paper of 2007 Award ARTICLE IN PRESS Computers & Graphics 31 (2007) 157–174 www.elsevier.com/locate/cag A fast all nearest neighbor algorithm for applications involving large point-clouds à Jagan Sankaranarayanan , Hanan Samet, Amitabh Varshney Department of Computer Science, Center for Automation Research, Institute for Advanced Computer Studies, University of Maryland, College Park, MD - 20742, USA Abstract Algorithms that use point-cloud models make heavy use of the neighborhoods of the points. These neighborhoods are used to compute the surface normals for each point, mollification, and noise removal. All of these primitive operations require the seemingly repetitive process of finding the k nearest neighbors (kNNs) of each point. These algorithms are primarily designed to run in main memory. However, rapid advances in scanning technologies have made available point-cloud models that are too large to fit in the main memory of a computer. This calls for more efficient methods of computing the kNNs of a large collection of points many of which are already in close proximity. A fast kNN algorithm is presented that makes use of the locality of successive points whose k nearest neighbors are sought to reduce significantly the time needed to compute the neighborhood needed for the primitive operation as well as enable it to operate in an environment where the data is on disk. Results of experiments demonstrate an order of magnitude improvement in the time to perform the algorithm and several orders of magnitude improvement in work efficiency when compared with several prominent existing methods. r 2006 Elsevier Ltd. All rights reserved.
    [Show full text]
  • Fast Algorithm for Nearest Neighbor Search Based on a Lower Bound Tree
    in Proceedings of the 8th International Conference on Computer Vision, Vancouver, Canada, Jul. 2001, Volume 1, pages 446–453 Fast Algorithm for Nearest Neighbor Search Based on a Lower Bound Tree Yong-Sheng Chen†‡ Yi-Ping Hung†‡ Chiou-Shann Fuh‡ †Institute of Information Science, Academia Sinica, Taipei, Taiwan ‡Dept. of Computer Science and Information Engineering, National Taiwan University, Taiwan Email: [email protected] Abstract In the past, Bentley [2] proposed the k-dimensional bi- nary search tree to speed up the the nearest neighbor search. This paper presents a novel algorithm for fast nearest This method is very efficient when the dimension of the data neighbor search. At the preprocessing stage, the proposed space is small. However, as reported in [13] and [3], its algorithm constructs a lower bound tree by agglomeratively performance degrades exponentially with increasing dimen- clustering the sample points in the database. Calculation of sion. Fukunaga and Narendra [8] constructed a tree struc- the distance between the query and the sample points can be ture by repeating the process of dividing the set of sam- avoided if the lower bound of the distance is already larger ple points into subsets. Given a query point, they used than the minimum distance. The search process can thus a branch-and-bound search strategy to efficiently find the be accelerated because the computational cost of the lower closest point by using the tree structure. Djouadi and Bouk- bound, which can be calculated by using the internal node tache [5] partitioned the underlying space of the sample of the lower bound tree, is less than that of the distance.
    [Show full text]
  • Efficient Similarity Search in High-Dimensional Data Spaces
    New Jersey Institute of Technology Digital Commons @ NJIT Dissertations Electronic Theses and Dissertations Spring 5-31-2004 Efficient similarity search in high-dimensional data spaces Yue Li New Jersey Institute of Technology Follow this and additional works at: https://digitalcommons.njit.edu/dissertations Part of the Computer Sciences Commons Recommended Citation Li, Yue, "Efficient similarity search in high-dimensional data spaces" (2004). Dissertations. 633. https://digitalcommons.njit.edu/dissertations/633 This Dissertation is brought to you for free and open access by the Electronic Theses and Dissertations at Digital Commons @ NJIT. It has been accepted for inclusion in Dissertations by an authorized administrator of Digital Commons @ NJIT. For more information, please contact [email protected]. Copyright Warning & Restrictions The copyright law of the United States (Title 17, United States Code) governs the making of photocopies or other reproductions of copyrighted material. Under certain conditions specified in the law, libraries and archives are authorized to furnish a photocopy or other reproduction. One of these specified conditions is that the photocopy or reproduction is not to be “used for any purpose other than private study, scholarship, or research.” If a, user makes a request for, or later uses, a photocopy or reproduction for purposes in excess of “fair use” that user may be liable for copyright infringement, This institution reserves the right to refuse to accept a copying order if, in its judgment, fulfillment
    [Show full text]
  • A Cost Model for Nearest Neighbor Search in High-Dimensional Data Space
    A Cost Model For Nearest Neighbor Search in High-Dimensional Data Space Stefan Berchtold Christian Böhm University of Munich University of Munich Germany Germany [email protected] [email protected] Daniel A. Keim Hans-Peter Kriegel University of Munich University of Munich Germany Germany [email protected] [email protected] Abstract multimedia indexing [9], CAD [17], molecular biology (for In this paper, we present a new cost model for nearest neigh- the docking of molecules) [24], string matching [1], etc. Most bor search in high-dimensional data space. We first analyze applications use some kind of feature vector for an efficient different nearest neighbor algorithms, present a generaliza- access to the complex original data. Examples of feature vec- tion of an algorithm which has been originally proposed for tors are color histograms [23], shape descriptors [16, 18], Quadtrees [13], and show that this algorithm is optimal. Fourier vectors [26], text descriptors [15], etc. Nearest neigh- Then, we develop a cost model which - in contrast to previous bor search on the high-dimensional feature vectors may be models - takes boundary effects into account and therefore defined as follows: also works in high dimensions. The advantages of our model Given a data set DS of d-dimensional points, find the data are in particular: Our model works for data sets with an arbi- point NN from the data set which is closer to the given query trary number of dimensions and an arbitrary number of data point Q than any other point in the data set.
    [Show full text]
  • Improving K-Nearest Neighbor Approaches for Density-Based Pixel Clustering in Hyperspectral Remote Sensing Images
    remote sensing Article Improving K-Nearest Neighbor Approaches for Density-Based Pixel Clustering in Hyperspectral Remote Sensing Images Claude Cariou 1,*, , Steven Le Moan 2 and Kacem Chehdi 1 1 Institut d’Électronique et des Technologies du numéRique, CNRS, Univ Rennes, UMR 6164, Enssat, 6 rue de Kerampont, F22300 Lannion, France; [email protected] 2 Centre for Research in Image and Signal Processing, Massey University, Palmerston North 4410, New Zealand; [email protected] * Correspondence: [email protected] Received: 30 September 2020; Accepted: 12 November 2020; Published: 14 November 2020 Abstract: We investigated nearest-neighbor density-based clustering for hyperspectral image analysis. Four existing techniques were considered that rely on a K-nearest neighbor (KNN) graph to estimate local density and to propagate labels through algorithm-specific labeling decisions. We first improved two of these techniques, a KNN variant of the density peaks clustering method DPC, and a weighted-mode variant of KNNCLUST, so the four methods use the same input KNN graph and only differ by their labeling rules. We propose two regularization schemes for hyperspectral image analysis: (i) a graph regularization based on mutual nearest neighbors (MNN) prior to clustering to improve cluster discovery in high dimensions; (ii) a spatial regularization to account for correlation between neighboring pixels. We demonstrate the relevance of the proposed methods on synthetic data and hyperspectral images, and show they achieve superior overall performances in most cases, outperforming the state-of-the-art methods by up to 20% in kappa index on real hyperspectral images. Keywords: clustering methods; density estimation; nearest neighbor search; deterministic algorithm; unsupervised learning 1.
    [Show full text]
  • Very Large Scale Nearest Neighbor Search: Ideas, Strategies and Challenges
    Int. Jnl. Multimedia Information Retrieval, IJMIR, vol. 2, no. 4, 2013. The final publication is available at Springer via http://dx.doi.org/10.1007/s13735-013-0046-4 Very Large Scale Nearest Neighbor Search: Ideas, Strategies and Challenges Erik Gast, Ard Oerlemans, Michael S. Lew Leiden University Niels Bohrweg 1 2333CA Leiden The Netherlands {gast, aoerlema, mlew} @liacs.nl Abstract Web-scale databases and Big Data collections are computationally challenging to analyze and search. Similarity or more precisely nearest neighbor searches are thus crucial in the analysis, indexing and utilization of these massive multimedia databases. In this work, we begin by reviewing the top approaches from the research literature in the past decade. Furthermore, we evaluate the scalability and computational complexity as the feature complexity and database size vary. For the experiments we used two different data sets with different dimensionalities. The results reveal interesting insights regarding the index structures and their behavior when the data set size is increased. We also summarized the ideas, strategies and challenges for the future. 1. Introduction Very large scale multimedia databases are becoming common and thus searching within them has become more important. Clearly, one of the most frequently used searching paradigms is k-nearest neighbor(k- NN), where the k objects that are most similar to the query are retrieved. Unfortunately, this k-NN search is also a very expensive operation. In order to do a k-NN search efficiently, it is important to have an index structure that can efficiently handle k-NN searches on large databases. From a theoretical and technical point of view, finding the k nearest neighbors is less than linear time is challenging and largely 1 unsolved.
    [Show full text]