Maximum Inner-product Search
   HOME

TheInfoList



OR:

Maximum inner-product search (MIPS) is a search problem, with a corresponding class of search algorithms which attempt to maximise the
inner product In mathematics, an inner product space (or, rarely, a Hausdorff space, Hausdorff pre-Hilbert space) is a real vector space or a complex vector space with an operation (mathematics), operation called an inner product. The inner product of two ve ...
between a query and the data items to be retrieved. MIPS algorithms are used in a wide variety of big data applications, including
recommendation algorithm A recommender system, or a recommendation system (sometimes replacing 'system' with a synonym such as platform or engine), is a subclass of information filtering system that provide suggestions for items that are most pertinent to a particular u ...
s and
machine learning Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence. Machine ...
. Formally, for a database of vectors x_i defined over a set of labels S in an
inner product space In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space) is a real vector space or a complex vector space with an operation called an inner product. The inner product of two vectors in the space is a scalar, often den ...
with an inner product \langle \cdot, \cdot \rangle defined on it, MIPS search can be defined as the problem of determining :\underset\ \langle x_i, q \rangle for a given query q. Although there is an obvious
linear-time In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
implementation, it is generally too slow to be used on practical problems. However, efficient algorithms exist to speed up MIPS search. MIPS can be viewed as equivalent to a nearest neighbor search (NNS) problem in which maximizing the inner product is equivalent to minimizing the corresponding
distance metric In mathematics, a metric space is a set together with a notion of ''distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are the most general sett ...
in the NNS problem. Like other forms of NNS, MIPS algorithms may be approximate or exact. MIPS search is used as part of
DeepMind DeepMind Technologies is a British artificial intelligence subsidiary of Alphabet Inc. and research laboratory founded in 2010. DeepMind was List of mergers and acquisitions by Google, acquired by Google in 2014 and became a wholly owned subsid ...
's RETRO algorithm.


References


See also

* Nearest neighbor search Search algorithms Computational problems Machine learning {{algorithm-stub