2021
Journal article  Open Access

Query filtering using two-dimensional local embeddings

Vadicamo L., Connor R., Chávez E.

Extreme pivoting  Four-point property  Metric search  Pivot based index  Supermetric space 

In high dimensional data sets, exact indexes are ineffective for proximity queries, and a sequential scan over the entire data set is unavoidable. Accepting this, here we present a new approach employing two-dimensional embeddings. Each database element is mapped to the XY plane using the four-point property. The caveat is that the mapping is local: in other words, each object is mapped using a different mapping. The idea is that each element of the data is associated with a pair of reference objects that is well-suited to filter that particular object, in cases where it is not relevant to a query. This maximises the probability of excluding that object from a search. At query time, a query is compared with a pool of reference objects which allow its mapping to all the planes used by data objects. Then, for each query/object pair, a lower bound of the actual distance is obtained. The technique can be applied to any metric space that possesses the four-point property, therefore including Euclidean, Cosine, Triangular, Jensen-Shannon, and Quadratic Form distances. Our experiments show that for all the data sets tested, of varying dimensionality, our approach can filter more objects than a standard metric indexing approach. For low dimensional data this does not make a good search mechanism in its own right, as it does not scale with the size of the data: that is, its cost is linear with respect to the data size. However, we also show that it can be added as a post-filter to other mechanisms, increasing efficiency with little extra cost in space or time. For high-dimensional data, we show related approximate techniques which, we believe, give the best known compromise for speeding up the essential sequential scan. The potential uses of our filtering technique include pure GPU searching, taking advantage of the tiny memory footprint of the mapping.

Source: Information systems (Oxf.) 101 (2021). doi:10.1016/j.is.2021.101808

Publisher: Pergamon,, Oxford , Regno Unito


Metrics



Back to previous page
BibTeX entry
@article{oai:it.cnr:prodotti:457292,
	title = {Query filtering using two-dimensional local embeddings},
	author = {Vadicamo L. and Connor R. and Chávez E.},
	publisher = {Pergamon,, Oxford , Regno Unito},
	doi = {10.1016/j.is.2021.101808},
	journal = {Information systems (Oxf.)},
	volume = {101},
	year = {2021}
}